@chargetrip/types 1.46.1 → 1.47.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 +14 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +10 -0
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +10 -0
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +217 -151
- package/graphql.schema.json +802 -861
- package/package.json +1 -1
- package/src/graphql.ts +225 -154
package/dist/ts/graphql.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ export declare enum AdhocAuthorisationMethod {
|
|
|
103
103
|
export declare type AlternativeStationRadius = {
|
|
104
104
|
/** Value of the alternative station radius. */
|
|
105
105
|
value: Scalars["Float"];
|
|
106
|
-
/**
|
|
106
|
+
/** Preferred unit for the alternative station radius. */
|
|
107
107
|
type: DistanceUnit;
|
|
108
108
|
/** Source of inputted data. */
|
|
109
109
|
source: TelemetryInputSource;
|
|
@@ -111,7 +111,7 @@ export declare type AlternativeStationRadius = {
|
|
|
111
111
|
export declare type AlternativeStationRadiusInput = {
|
|
112
112
|
/** Value of the alternative station radius. */
|
|
113
113
|
value: Scalars["Float"];
|
|
114
|
-
/**
|
|
114
|
+
/** Preferred unit for the alternative station radius. */
|
|
115
115
|
type: DistanceUnit;
|
|
116
116
|
/** Source of inputted data. */
|
|
117
117
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -185,17 +185,17 @@ export declare type AuthorizeConnectedVehicleOptions = {
|
|
|
185
185
|
code?: Maybe<Scalars["PlainString"]>;
|
|
186
186
|
};
|
|
187
187
|
export declare type AuxiliaryConsumption = {
|
|
188
|
-
/** Value of the auxiliary power consumption
|
|
188
|
+
/** Value of the vehicle's auxiliary power consumption. */
|
|
189
189
|
value: Scalars["Float"];
|
|
190
|
-
/**
|
|
190
|
+
/** Preferred unit for the vehicle's auxiliary power consumption. */
|
|
191
191
|
type: AuxiliaryConsumptionUnit;
|
|
192
192
|
/** Source of inputted data. */
|
|
193
193
|
source: TelemetryInputSource;
|
|
194
194
|
};
|
|
195
195
|
export declare type AuxiliaryConsumptionInput = {
|
|
196
|
-
/** Value of the auxiliary power consumption
|
|
196
|
+
/** Value of the vehicle's auxiliary power consumption. */
|
|
197
197
|
value: Scalars["Float"];
|
|
198
|
-
/**
|
|
198
|
+
/** Preferred unit for the vehicle's auxiliary power consumption. */
|
|
199
199
|
type: AuxiliaryConsumptionUnit;
|
|
200
200
|
/** Source of inputted data, defaults to 'manual'. */
|
|
201
201
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -215,7 +215,7 @@ export declare enum BatteryInputType {
|
|
|
215
215
|
export declare type BatteryTemperatureInput = {
|
|
216
216
|
/** Value of the temperature of the battery. */
|
|
217
217
|
value: Scalars["Float"];
|
|
218
|
-
/**
|
|
218
|
+
/** Preferred unit for the temperature of the battery. */
|
|
219
219
|
type: TemperatureUnit;
|
|
220
220
|
/** Source of inputted data, defaults to 'manual'. */
|
|
221
221
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -247,15 +247,15 @@ export declare enum ChargeMode {
|
|
|
247
247
|
export declare type ChargeSpeed = {
|
|
248
248
|
/** Value of the charge speed of the battery. */
|
|
249
249
|
value: Scalars["Float"];
|
|
250
|
-
/**
|
|
250
|
+
/** Preferred unit for the battery's charge speed. */
|
|
251
251
|
type: ChargeSpeedUnit;
|
|
252
252
|
/** Source of inputted data */
|
|
253
253
|
source: TelemetryInputSource;
|
|
254
254
|
};
|
|
255
255
|
export declare type ChargeSpeedInput = {
|
|
256
|
-
/** Value of the charge speed
|
|
256
|
+
/** Value of the battery's charge speed. */
|
|
257
257
|
value: Scalars["Float"];
|
|
258
|
-
/**
|
|
258
|
+
/** Preferred unit for the battery's charge speed. */
|
|
259
259
|
type: ChargeSpeedUnit;
|
|
260
260
|
/** Source of inputted data, defaults to 'manual'. */
|
|
261
261
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -272,7 +272,7 @@ export declare enum ChargeSpeedUnit {
|
|
|
272
272
|
export declare type ChargeTotalInput = {
|
|
273
273
|
/** Value of the temperature of the battery. */
|
|
274
274
|
value: Scalars["Float"];
|
|
275
|
-
/**
|
|
275
|
+
/** Preferred unit for the total charge amount. */
|
|
276
276
|
type: StateOfChargeUnit;
|
|
277
277
|
/** Source of inputted data, defaults to 'manual'. */
|
|
278
278
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -571,7 +571,7 @@ export declare enum ConnectorPriceElementComponentType {
|
|
|
571
571
|
FLAT = "flat",
|
|
572
572
|
/** Parking price per hour. This fee is applicable even if the parked car is not charging. */
|
|
573
573
|
PARKING_TIME = "parking_time",
|
|
574
|
-
/** Fixed price per
|
|
574
|
+
/** Fixed price per unit of time defined in the step size. */
|
|
575
575
|
TIME = "time"
|
|
576
576
|
}
|
|
577
577
|
export declare type ConnectorPriceElementRestrictions = {
|
|
@@ -1092,8 +1092,12 @@ export declare type CreateRoute = {
|
|
|
1092
1092
|
season: RouteSeason;
|
|
1093
1093
|
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
1094
1094
|
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
1095
|
-
/**
|
|
1096
|
-
departure_time
|
|
1095
|
+
/** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. */
|
|
1096
|
+
departure_time: Scalars["DateTime"];
|
|
1097
|
+
/** [BETA] 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. */
|
|
1098
|
+
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1099
|
+
/** [BETA] User-defined maximum speed used for this route, if provided. */
|
|
1100
|
+
maximum_speed?: Maybe<MaximumSpeed>;
|
|
1097
1101
|
};
|
|
1098
1102
|
/** Input for the create route mutation. */
|
|
1099
1103
|
export declare type CreateRouteInput = {
|
|
@@ -1111,8 +1115,12 @@ export declare type CreateRouteInput = {
|
|
|
1111
1115
|
season?: Maybe<RouteSeason>;
|
|
1112
1116
|
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
1113
1117
|
alternative_station_radius?: Maybe<AlternativeStationRadiusInput>;
|
|
1114
|
-
/** Route departure time. */
|
|
1118
|
+
/** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. */
|
|
1115
1119
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1120
|
+
/** [BETA] 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. */
|
|
1121
|
+
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1122
|
+
/** [BETA] 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. */
|
|
1123
|
+
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
1116
1124
|
};
|
|
1117
1125
|
/** Currency in the ISO 4217 format. */
|
|
1118
1126
|
export declare enum Currency {
|
|
@@ -1517,7 +1525,7 @@ export declare type ElectricityGenerationMethodintensityArgs = {
|
|
|
1517
1525
|
export declare type ElevationInput = {
|
|
1518
1526
|
/** Value of the elevation. */
|
|
1519
1527
|
value: Scalars["Float"];
|
|
1520
|
-
/**
|
|
1528
|
+
/** Preferred unit for the elevation. */
|
|
1521
1529
|
type: DistanceUnit;
|
|
1522
1530
|
/** Source of inputted data, defaults to 'manual'. */
|
|
1523
1531
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -1708,7 +1716,9 @@ export declare enum HeavyVehiclesEUType {
|
|
|
1708
1716
|
/** Only N2 type of heavy vehicles can be parked at the charging station. N2 vehicles have a maximum mass exceeding 3.5 tonnes but not exceeding 12 tonnes (26,000 lbs). */
|
|
1709
1717
|
N2 = "N2",
|
|
1710
1718
|
/** Only N3 type of heavy vehicles can be parked at the charging station. N3 vehicles have a maximum mass exceeding 12 tonnes (26,000 lbs). */
|
|
1711
|
-
N3 = "N3"
|
|
1719
|
+
N3 = "N3",
|
|
1720
|
+
/** N3 type of heavy vehicles having O4 type of trailers can be parked at the charging station. N3 vehicles have a maximum mass exceeding 12 tonnes (26,000 lbs) and O4 trailers have a maximum mass exceeding 10 tonnes (22000 lbs). */
|
|
1721
|
+
N3_O4 = "N3_O4"
|
|
1712
1722
|
}
|
|
1713
1723
|
/** List of facilities in the location. */
|
|
1714
1724
|
export declare enum HeavyVehiclesFacility {
|
|
@@ -1894,6 +1904,18 @@ export declare enum MappingProvider {
|
|
|
1894
1904
|
/** Mapbox instructions mapping */
|
|
1895
1905
|
MAPBOXV5 = "MapboxV5"
|
|
1896
1906
|
}
|
|
1907
|
+
export declare type MaximumSpeed = {
|
|
1908
|
+
/** Numeric value of the user-defined maximum speed. */
|
|
1909
|
+
value: Scalars["Int"];
|
|
1910
|
+
/** Unit in which speed is measured. */
|
|
1911
|
+
type: SpeedUnit;
|
|
1912
|
+
};
|
|
1913
|
+
export declare type MaximumSpeedInput = {
|
|
1914
|
+
/** Numeric value of the user-defined maximum speed. */
|
|
1915
|
+
value: Scalars["Int"];
|
|
1916
|
+
/** Unit in which speed is measured. */
|
|
1917
|
+
type: SpeedUnit;
|
|
1918
|
+
};
|
|
1897
1919
|
export declare enum MeasurementUnit {
|
|
1898
1920
|
/** Return the measurement in millimeters. */
|
|
1899
1921
|
MILLIMETER = "millimeter",
|
|
@@ -1943,10 +1965,10 @@ export declare type Mutation = {
|
|
|
1943
1965
|
* This is a premium feature, contact Chargetrip for more information.
|
|
1944
1966
|
*/
|
|
1945
1967
|
deleteUserReview: Review;
|
|
1946
|
-
/**
|
|
1947
|
-
createRoute: Scalars["ID"];
|
|
1948
|
-
/** Create a new route from the route input and its ID */
|
|
1968
|
+
/** Deprecated: In favor of createRoute. */
|
|
1949
1969
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
1970
|
+
/** Create a new route from the route input and its ID. */
|
|
1971
|
+
createRoute: Scalars["ID"];
|
|
1950
1972
|
};
|
|
1951
1973
|
export declare type MutationcreateConnectedVehicleArgs = {
|
|
1952
1974
|
input?: Maybe<CreateConnectedVehicleInput>;
|
|
@@ -1981,12 +2003,12 @@ export declare type MutationaddReviewArgs = {
|
|
|
1981
2003
|
export declare type MutationdeleteUserReviewArgs = {
|
|
1982
2004
|
id: Scalars["ID"];
|
|
1983
2005
|
};
|
|
1984
|
-
export declare type MutationcreateRouteArgs = {
|
|
1985
|
-
input: CreateRouteInput;
|
|
1986
|
-
};
|
|
1987
2006
|
export declare type MutationnewRouteArgs = {
|
|
1988
2007
|
input?: Maybe<RequestInput>;
|
|
1989
2008
|
};
|
|
2009
|
+
export declare type MutationcreateRouteArgs = {
|
|
2010
|
+
input: CreateRouteInput;
|
|
2011
|
+
};
|
|
1990
2012
|
/** The navigation session data */
|
|
1991
2013
|
export declare type Navigation = {
|
|
1992
2014
|
/** ID of the navigation session */
|
|
@@ -2675,7 +2697,7 @@ export declare enum OICPValueAddedServices {
|
|
|
2675
2697
|
export declare type Odometer = {
|
|
2676
2698
|
/** Value of the vehicle's odometer. */
|
|
2677
2699
|
value: Scalars["Float"];
|
|
2678
|
-
/**
|
|
2700
|
+
/** Preferred unit for the vehicle's odometer. */
|
|
2679
2701
|
type: DistanceUnit;
|
|
2680
2702
|
/** Source of inputted data. */
|
|
2681
2703
|
source: TelemetryInputSource;
|
|
@@ -2683,7 +2705,7 @@ export declare type Odometer = {
|
|
|
2683
2705
|
export declare type OdometerInput = {
|
|
2684
2706
|
/** Value of the vehicle's odometer. */
|
|
2685
2707
|
value: Scalars["Float"];
|
|
2686
|
-
/**
|
|
2708
|
+
/** Preferred unit for the vehicle's odometer. */
|
|
2687
2709
|
type: DistanceUnit;
|
|
2688
2710
|
/** Source of inputted data, defaults to 'manual'. */
|
|
2689
2711
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -2709,19 +2731,29 @@ export declare type Operator = {
|
|
|
2709
2731
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2710
2732
|
/** Contact information. */
|
|
2711
2733
|
contact?: Maybe<Contact>;
|
|
2712
|
-
/**
|
|
2734
|
+
/**
|
|
2735
|
+
* Ranking level on which the operator is placed or null in case the operator is not on any ranking level. Default operator preference applied to routes created through newRoute mutation if no operator preference is specified in the request.
|
|
2736
|
+
* @deprecated In favor of ranking_levels.
|
|
2737
|
+
*/
|
|
2713
2738
|
ranking?: Maybe<Scalars["Int"]>;
|
|
2714
|
-
/**
|
|
2739
|
+
/**
|
|
2740
|
+
* Flag which indicates if the operator is in the excluded list. Default operator preference applied to routes created through newRoute mutation if no operator preference is specified in the request.
|
|
2741
|
+
* @deprecated In favor of excluded_countries.
|
|
2742
|
+
*/
|
|
2715
2743
|
excluded?: Maybe<Scalars["Boolean"]>;
|
|
2744
|
+
/** Ranking configuration for the operator. An operator can be ranked on different levels in different countries. Default operator preference applied to routes created through createRoute mutation if no operator preference is specified in the request. */
|
|
2745
|
+
ranking_levels?: Maybe<OperatorRankingLevels>;
|
|
2746
|
+
/** List of countries where the operator is excluded. Default operator preference applied to routes created through createRoute mutation if no operator preference is specified in the request. */
|
|
2747
|
+
excluded_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2716
2748
|
};
|
|
2717
2749
|
/** Filter which can be applied to retrieve the operator list action. */
|
|
2718
2750
|
export declare type OperatorListFilter = {
|
|
2719
2751
|
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
2720
2752
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2721
|
-
/** List of ranking level(s) to be retrieved.
|
|
2722
|
-
|
|
2723
|
-
/**
|
|
2724
|
-
|
|
2753
|
+
/** List of ranking level(s) to be retrieved. An operator can be ranked on different levels in different countries. Default operator preference applied to routes created through createRoute mutation if no operator preference is specified in the request. */
|
|
2754
|
+
ranking_levels?: Maybe<OperatorRankingLevelsFilter>;
|
|
2755
|
+
/** List of countries where the operator is excluded. Default operator preference applied to routes created through createRoute mutation if no operator preference is specified in the request. */
|
|
2756
|
+
excluded_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2725
2757
|
};
|
|
2726
2758
|
/** Filter which can be applied to retrieve the operator list action. */
|
|
2727
2759
|
export declare type OperatorListQuery = {
|
|
@@ -2740,10 +2772,28 @@ export declare enum OperatorRankingLevel {
|
|
|
2740
2772
|
MEDIUM = "medium",
|
|
2741
2773
|
HIGH = "high"
|
|
2742
2774
|
}
|
|
2775
|
+
/** Ranking configuration for the operator. An operator can be ranked on different levels in different countries. Default operator preference applied to routes created through createRoute mutation if no operator preference is specified in the request. */
|
|
2776
|
+
export declare type OperatorRankingLevels = {
|
|
2777
|
+
/** Low level for operators ranking. */
|
|
2778
|
+
low?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2779
|
+
/** Medium level for operators ranking. */
|
|
2780
|
+
medium?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2781
|
+
/** High level for operators ranking. */
|
|
2782
|
+
high?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2783
|
+
};
|
|
2784
|
+
/** Filter operators by ranking levels. */
|
|
2785
|
+
export declare type OperatorRankingLevelsFilter = {
|
|
2786
|
+
/** Low level for operators ranking. */
|
|
2787
|
+
low?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2788
|
+
/** Medium level for operators ranking. */
|
|
2789
|
+
medium?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2790
|
+
/** High level for operators ranking. */
|
|
2791
|
+
high?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2792
|
+
};
|
|
2743
2793
|
export declare type OutsideTempInput = {
|
|
2744
2794
|
/** Value of the outside temperature. */
|
|
2745
2795
|
value: Scalars["Float"];
|
|
2746
|
-
/**
|
|
2796
|
+
/** Preferred unit for the outside temperature. */
|
|
2747
2797
|
type: TemperatureUnit;
|
|
2748
2798
|
/** Source of inputted data, defaults to 'manual'. */
|
|
2749
2799
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -2751,7 +2801,7 @@ export declare type OutsideTempInput = {
|
|
|
2751
2801
|
export declare type OutsideTemperature = {
|
|
2752
2802
|
/** Value of the temperature. */
|
|
2753
2803
|
value: Scalars["Float"];
|
|
2754
|
-
/**
|
|
2804
|
+
/** Preferred unit for the outside temperature. */
|
|
2755
2805
|
type: TemperatureUnit;
|
|
2756
2806
|
/** Source of inputted data. */
|
|
2757
2807
|
source: TelemetryInputSource;
|
|
@@ -2759,7 +2809,7 @@ export declare type OutsideTemperature = {
|
|
|
2759
2809
|
export declare type OutsideTemperatureInput = {
|
|
2760
2810
|
/** Value of the outside temperature. */
|
|
2761
2811
|
value: Scalars["Float"];
|
|
2762
|
-
/**
|
|
2812
|
+
/** Preferred unit for the outside temperature. */
|
|
2763
2813
|
type: TemperatureUnit;
|
|
2764
2814
|
/** Source of inputted data. */
|
|
2765
2815
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -2817,7 +2867,7 @@ export declare enum PolylineInputDecimals {
|
|
|
2817
2867
|
export declare type PowerInput = {
|
|
2818
2868
|
/** Value of the positive or negative power. When negative the vehicle is charging. */
|
|
2819
2869
|
value: Scalars["Float"];
|
|
2820
|
-
/**
|
|
2870
|
+
/** Preferred unit for the power. */
|
|
2821
2871
|
type: PowerUnit;
|
|
2822
2872
|
/** Source of inputted data, defaults to 'manual'. */
|
|
2823
2873
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -2912,16 +2962,16 @@ export declare type Query = {
|
|
|
2912
2962
|
* This is a premium feature, contact Chargetrip for more information.
|
|
2913
2963
|
*/
|
|
2914
2964
|
userReviewList?: Maybe<Array<Review>>;
|
|
2915
|
-
/**
|
|
2965
|
+
/** Deprecated: In favor of getRouteEmissions. */
|
|
2966
|
+
routeEmissions: RouteEmissions;
|
|
2967
|
+
/** Deprecated: In favor of getRoute. */
|
|
2916
2968
|
route?: Maybe<Route>;
|
|
2917
|
-
/**
|
|
2969
|
+
/** Deprecated: In favor of RouteDetails.path_plot. */
|
|
2970
|
+
routePath?: Maybe<RoutePath>;
|
|
2971
|
+
/** Get a route by ID. */
|
|
2918
2972
|
getRoute: RouteResponse;
|
|
2919
|
-
/**
|
|
2973
|
+
/** Get emissions for a route. */
|
|
2920
2974
|
getRouteEmissions: RouteDetailsEmissions;
|
|
2921
|
-
/** Emissions profile for route. */
|
|
2922
|
-
routeEmissions: RouteEmissions;
|
|
2923
|
-
/** Retrieve information about a route path segment */
|
|
2924
|
-
routePath?: Maybe<RoutePath>;
|
|
2925
2975
|
/** Get information about a station by its ID. */
|
|
2926
2976
|
station?: Maybe<Station>;
|
|
2927
2977
|
/** Get a full list of stations. */
|
|
@@ -2978,9 +3028,18 @@ export declare type QueryuserReviewListArgs = {
|
|
|
2978
3028
|
size?: Maybe<Scalars["Int"]>;
|
|
2979
3029
|
page?: Maybe<Scalars["Int"]>;
|
|
2980
3030
|
};
|
|
3031
|
+
export declare type QueryrouteEmissionsArgs = {
|
|
3032
|
+
route_id: Scalars["ID"];
|
|
3033
|
+
route_alternative_id?: Maybe<Scalars["ID"]>;
|
|
3034
|
+
};
|
|
2981
3035
|
export declare type QueryrouteArgs = {
|
|
2982
3036
|
id: Scalars["ID"];
|
|
2983
3037
|
};
|
|
3038
|
+
export declare type QueryroutePathArgs = {
|
|
3039
|
+
id: Scalars["ID"];
|
|
3040
|
+
location: PointInput;
|
|
3041
|
+
alternativeId?: Maybe<Scalars["ID"]>;
|
|
3042
|
+
};
|
|
2984
3043
|
export declare type QuerygetRouteArgs = {
|
|
2985
3044
|
id: Scalars["ID"];
|
|
2986
3045
|
};
|
|
@@ -2988,15 +3047,6 @@ export declare type QuerygetRouteEmissionsArgs = {
|
|
|
2988
3047
|
route_id: Scalars["ID"];
|
|
2989
3048
|
route_details_id: Scalars["ID"];
|
|
2990
3049
|
};
|
|
2991
|
-
export declare type QueryrouteEmissionsArgs = {
|
|
2992
|
-
route_id: Scalars["ID"];
|
|
2993
|
-
route_alternative_id?: Maybe<Scalars["ID"]>;
|
|
2994
|
-
};
|
|
2995
|
-
export declare type QueryroutePathArgs = {
|
|
2996
|
-
id: Scalars["ID"];
|
|
2997
|
-
location: PointInput;
|
|
2998
|
-
alternativeId?: Maybe<Scalars["ID"]>;
|
|
2999
|
-
};
|
|
3000
3050
|
export declare type QuerystationArgs = {
|
|
3001
3051
|
id?: Maybe<Scalars["ID"]>;
|
|
3002
3052
|
evse_id?: Maybe<Scalars["String"]>;
|
|
@@ -3497,6 +3547,11 @@ export declare type RouteApp = {
|
|
|
3497
3547
|
/** ID of the app who requested a route. */
|
|
3498
3548
|
id?: Maybe<Scalars["ID"]>;
|
|
3499
3549
|
};
|
|
3550
|
+
/** Types of route features that can be avoided in routing. */
|
|
3551
|
+
export declare enum RouteAvoid {
|
|
3552
|
+
TOLL_ROAD = "toll_road",
|
|
3553
|
+
FERRY = "ferry"
|
|
3554
|
+
}
|
|
3500
3555
|
export declare type RouteDestinationFeaturePoint = {
|
|
3501
3556
|
/** ID of the feature. */
|
|
3502
3557
|
id?: Maybe<Scalars["ID"]>;
|
|
@@ -3536,14 +3591,14 @@ export declare type RouteDetails = {
|
|
|
3536
3591
|
distance: Scalars["Float"];
|
|
3537
3592
|
/** Aggregation of all durations of a route. */
|
|
3538
3593
|
durations: RouteDetailsDurations;
|
|
3539
|
-
/** Total energy used for a route in kilowatt hours. */
|
|
3540
|
-
consumption
|
|
3541
|
-
/** Range available at the
|
|
3542
|
-
range_at_origin
|
|
3543
|
-
/** Range available at the end of a trip. */
|
|
3544
|
-
range_at_destination
|
|
3594
|
+
/** Total energy used for a route in kilowatt hours. For HEVs and PHEVs this field will return null. */
|
|
3595
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
3596
|
+
/** 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. */
|
|
3597
|
+
range_at_origin?: Maybe<Scalars["Float"]>;
|
|
3598
|
+
/** 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. */
|
|
3599
|
+
range_at_destination?: Maybe<Scalars["Float"]>;
|
|
3545
3600
|
/** Polyline containing encoded coordinates. */
|
|
3546
|
-
polyline
|
|
3601
|
+
polyline: Scalars["String"];
|
|
3547
3602
|
/** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
|
|
3548
3603
|
path_plot: Array<RouteDetailsPathSegment>;
|
|
3549
3604
|
/** Details about elevation on a route. */
|
|
@@ -3552,7 +3607,7 @@ export declare type RouteDetails = {
|
|
|
3552
3607
|
savings?: Maybe<RouteDetailsSavings>;
|
|
3553
3608
|
/** Legs of a route. */
|
|
3554
3609
|
legs: Array<RouteDetailsLeg>;
|
|
3555
|
-
/** Alternative stations along a route within specified radius. */
|
|
3610
|
+
/** Alternative stations along a route within a specified radius. Will only return stations if alternative_station_radius was specified in the createRoute mutation. */
|
|
3556
3611
|
alternative_stations: Array<RouteDetailsAlternativeStation>;
|
|
3557
3612
|
/** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
|
|
3558
3613
|
tags: Array<RouteDetailsTag>;
|
|
@@ -3580,21 +3635,23 @@ export declare type RouteDetailsAlternativeStation = {
|
|
|
3580
3635
|
speed: StationSpeedType;
|
|
3581
3636
|
/** Status of a station. */
|
|
3582
3637
|
status: ChargerStatus;
|
|
3583
|
-
/**
|
|
3638
|
+
/** The value indicates the operator's ranking based on the station's location, in accordance with the list of countries from the configuration or request. */
|
|
3584
3639
|
operator_ranking?: Maybe<OperatorRankingLevel>;
|
|
3640
|
+
/** ID of the station's operator. */
|
|
3641
|
+
operator_id?: Maybe<Scalars["ID"]>;
|
|
3585
3642
|
};
|
|
3586
3643
|
/** Aggregation of all durations of a route. */
|
|
3587
3644
|
export declare type RouteDetailsDurations = {
|
|
3588
3645
|
/** Total duration, in seconds. */
|
|
3589
3646
|
total: Scalars["Int"];
|
|
3590
|
-
/** Total duration
|
|
3647
|
+
/** Total charging duration, in seconds. */
|
|
3591
3648
|
charging: Scalars["Int"];
|
|
3592
|
-
/** Total duration
|
|
3649
|
+
/** Total driving duration, in seconds. */
|
|
3593
3650
|
driving: Scalars["Int"];
|
|
3594
|
-
/** Total duration
|
|
3651
|
+
/** Total stop duration, excluding charge stops, in seconds. */
|
|
3595
3652
|
stopover: Scalars["Int"];
|
|
3596
|
-
/** Total
|
|
3597
|
-
ferry
|
|
3653
|
+
/** Total ferry duration, in seconds. */
|
|
3654
|
+
ferry: Scalars["Int"];
|
|
3598
3655
|
};
|
|
3599
3656
|
export declare type RouteDetailsElevation = {
|
|
3600
3657
|
/** Total value driving uphill on a route. */
|
|
@@ -3640,21 +3697,21 @@ export declare type RouteDetailsLeg = {
|
|
|
3640
3697
|
distance: Scalars["Float"];
|
|
3641
3698
|
/** Aggregation of all durations of a route leg. */
|
|
3642
3699
|
durations: RouteDetailsDurations;
|
|
3643
|
-
/** Total energy used in a leg in kilowatt hours. */
|
|
3644
|
-
consumption
|
|
3700
|
+
/** Total energy used in a leg in kilowatt hours. For HEVs and PHEVs this field will return null. */
|
|
3701
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
3645
3702
|
/** Origin point location. */
|
|
3646
3703
|
origin: RouteDetailsLegFeaturePoint;
|
|
3647
3704
|
/** Destination point location. */
|
|
3648
3705
|
destination: RouteDetailsLegFeaturePoint;
|
|
3649
|
-
/** Range at the
|
|
3650
|
-
range_at_origin
|
|
3651
|
-
/** Range at the
|
|
3652
|
-
range_at_destination
|
|
3653
|
-
/** Range after charging on the leg. */
|
|
3706
|
+
/** 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. */
|
|
3707
|
+
range_at_origin?: Maybe<Scalars["Float"]>;
|
|
3708
|
+
/** 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. */
|
|
3709
|
+
range_at_destination?: Maybe<Scalars["Float"]>;
|
|
3710
|
+
/** 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. */
|
|
3654
3711
|
range_after_charge?: Maybe<Scalars["Float"]>;
|
|
3655
3712
|
/** Type of a leg. */
|
|
3656
3713
|
type: RouteDetailsLegType;
|
|
3657
|
-
/** Information about the station at the
|
|
3714
|
+
/** Information about the station at the destination of a leg. */
|
|
3658
3715
|
station?: Maybe<RouteDetailsLegStation>;
|
|
3659
3716
|
/** Polyline containing encoded coordinates. */
|
|
3660
3717
|
polyline: Scalars["String"];
|
|
@@ -3729,7 +3786,7 @@ export declare type RouteDetailsLegFeaturePropertiestotal_cargo_weightArgs = {
|
|
|
3729
3786
|
export declare type RouteDetailsLegManeuverPoints = {
|
|
3730
3787
|
/** Number of polyline points which are included in this instruction. */
|
|
3731
3788
|
size: Scalars["Int"];
|
|
3732
|
-
/** Interval of points
|
|
3789
|
+
/** Interval of points included in this instruction, represented as an array with two values: the first is the index of the polyline where the interval starts, and the second is where it ends. */
|
|
3733
3790
|
interval: Array<Scalars["Int"]>;
|
|
3734
3791
|
};
|
|
3735
3792
|
/** Type of a maneuver indicating the main action. */
|
|
@@ -3767,13 +3824,13 @@ export declare type RouteDetailsLegSection = {
|
|
|
3767
3824
|
/** Aggregation of tags over the current section. */
|
|
3768
3825
|
tags: Array<RouteDetailsTag>;
|
|
3769
3826
|
/** Polyline containing encoded coordinates. */
|
|
3770
|
-
polyline
|
|
3827
|
+
polyline: Scalars["String"];
|
|
3771
3828
|
/** Distance from the start to the end of a section. */
|
|
3772
3829
|
distance: Scalars["Float"];
|
|
3773
3830
|
/** Total duration of a section, in seconds. The value will be 0 for walking sections. */
|
|
3774
3831
|
duration: Scalars["Float"];
|
|
3775
3832
|
/** Total energy used in a section in kilowatt-hours. The value will be 0 for walking sections. */
|
|
3776
|
-
consumption
|
|
3833
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
3777
3834
|
};
|
|
3778
3835
|
export declare type RouteDetailsLegSectionpolylineArgs = {
|
|
3779
3836
|
decimals?: Maybe<PolylineInputDecimals>;
|
|
@@ -3821,19 +3878,25 @@ export declare type RouteDetailsLegStation = {
|
|
|
3821
3878
|
};
|
|
3822
3879
|
/** Type of a leg. */
|
|
3823
3880
|
export declare enum RouteDetailsLegType {
|
|
3881
|
+
/** This leg ends at a charging station and the vehicle must recharge. */
|
|
3824
3882
|
STATION = "station",
|
|
3883
|
+
/** This leg ends at a via charging station and the vehicle must recharge. */
|
|
3825
3884
|
STATION_VIA = "station_via",
|
|
3885
|
+
/** This leg ends at the destination which is a charging station, and is the last leg of the route. */
|
|
3826
3886
|
STATION_FINAL = "station_final",
|
|
3887
|
+
/** This leg ends at a scheduled charging station and the vehicle must recharge. */
|
|
3827
3888
|
STATION_AMENITY = "station_amenity",
|
|
3889
|
+
/** This leg ends at a via location. */
|
|
3828
3890
|
VIA = "via",
|
|
3891
|
+
/** This leg ends at the destination, and is the last leg of the route. */
|
|
3829
3892
|
FINAL = "final"
|
|
3830
3893
|
}
|
|
3831
3894
|
export declare type RouteDetailsManeuver = {
|
|
3832
3895
|
/** Type of instruction. */
|
|
3833
3896
|
type: RouteDetailsLegManeuverType;
|
|
3834
3897
|
/** Location of the maneuver. */
|
|
3835
|
-
location
|
|
3836
|
-
/** Name of the street
|
|
3898
|
+
location: RouteDetailsLegSectionFeaturePoint;
|
|
3899
|
+
/** Name of the street associated with the instruction. */
|
|
3837
3900
|
name?: Maybe<Scalars["String"]>;
|
|
3838
3901
|
/** Distance, in meters, of a route instruction. */
|
|
3839
3902
|
distance: Scalars["Float"];
|
|
@@ -3846,7 +3909,7 @@ export declare type RouteDetailsManeuver = {
|
|
|
3846
3909
|
/** Curvature angle between the roundabout and the exit of the roundabout. This field exists only on sign USE_ROUNDABOUT (6), otherwise this value is `null`. */
|
|
3847
3910
|
turn_angle?: Maybe<Scalars["Float"]>;
|
|
3848
3911
|
/** Aggregation of tags over the current maneuver. */
|
|
3849
|
-
tags
|
|
3912
|
+
tags: Array<RouteDetailsTag>;
|
|
3850
3913
|
};
|
|
3851
3914
|
export declare type RouteDetailsManeuverdistanceArgs = {
|
|
3852
3915
|
unit?: Maybe<DistanceUnit>;
|
|
@@ -3854,17 +3917,20 @@ export declare type RouteDetailsManeuverdistanceArgs = {
|
|
|
3854
3917
|
export declare type RouteDetailsPathSegment = {
|
|
3855
3918
|
/** Elevation value of a route path segment. */
|
|
3856
3919
|
elevation: Scalars["Float"];
|
|
3857
|
-
/** Average speed of a route path segment. */
|
|
3920
|
+
/** Average speed of a route path segment. This value is determined using legal maximum speed and, if provided, the user defined maximum speed. */
|
|
3858
3921
|
average_speed: Scalars["Float"];
|
|
3859
|
-
/** Consumption, in kilowatt hours, of a route path segment. */
|
|
3860
|
-
consumption
|
|
3922
|
+
/** Consumption, in kilowatt hours, of a route path segment. For HEVs and PHEVs this field will return null. */
|
|
3923
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
3861
3924
|
/** Distance of a route path segment. */
|
|
3862
3925
|
distance: Scalars["Float"];
|
|
3863
3926
|
/** Duration, in seconds, of a route path segment. */
|
|
3864
3927
|
duration: Scalars["Float"];
|
|
3865
|
-
/** State of charge, in kilowatt hours, of a route path segment. */
|
|
3928
|
+
/** State of charge, in kilowatt hours, of a route path segment. For HEVs and PHEVs this field will return null. */
|
|
3866
3929
|
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
3867
|
-
/**
|
|
3930
|
+
/**
|
|
3931
|
+
* Maximum vehicle speed of a route path segment.
|
|
3932
|
+
* @deprecated Will be removed in the future.
|
|
3933
|
+
*/
|
|
3868
3934
|
maximum_speed: Scalars["Float"];
|
|
3869
3935
|
};
|
|
3870
3936
|
export declare type RouteDetailsPathSegmentelevationArgs = {
|
|
@@ -4245,14 +4311,14 @@ export declare type RouteLegOperationalElectricityEmissionsIntensity = {
|
|
|
4245
4311
|
energy_sources: RouteOperationalElectricityEnergySources;
|
|
4246
4312
|
/** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
|
|
4247
4313
|
infrastructure: Scalars["Float"];
|
|
4248
|
-
/** Estimated electricity demand at the time and place the electricity for this leg was obtained as a fraction of the annual average demand. */
|
|
4249
|
-
average_demand: Scalars["Float"];
|
|
4250
|
-
/** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
|
|
4251
|
-
base_load_fraction: Scalars["Float"];
|
|
4252
4314
|
/** Season for which the leg was calculated. */
|
|
4253
4315
|
season: RouteOperationalElectricitySeason;
|
|
4254
4316
|
/** Climate for which the leg was calculated. */
|
|
4255
4317
|
climate: RouteOperationalElectricityClimate;
|
|
4318
|
+
/** Estimated electricity demand at the time and place the electricity for this leg was obtained as a fraction of the annual average demand. */
|
|
4319
|
+
average_demand: Scalars["Float"];
|
|
4320
|
+
/** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
|
|
4321
|
+
base_load_fraction: Scalars["Float"];
|
|
4256
4322
|
};
|
|
4257
4323
|
/** Electricity emission intensity for a leg */
|
|
4258
4324
|
export declare type RouteLegOperationalElectricityEmissionsIntensitytotalArgs = {
|
|
@@ -4585,14 +4651,14 @@ export declare type RouteOperationalMaintenanceEmissionsFielddisposalArgs = {
|
|
|
4585
4651
|
export declare type RouteOperatorPreferences = {
|
|
4586
4652
|
/** Ranking of an operator with multiple levels, each level having its own penalty value. */
|
|
4587
4653
|
ranking?: Maybe<RouteOperatorPreferencesRanking>;
|
|
4588
|
-
/**
|
|
4654
|
+
/** Operators that should be excluded for a route calculation. */
|
|
4589
4655
|
exclude?: Maybe<Array<RouteOperatorsValue>>;
|
|
4590
4656
|
};
|
|
4591
4657
|
/** Prioritized operators for a route calculation. */
|
|
4592
4658
|
export declare type RouteOperatorPreferencesInput = {
|
|
4593
4659
|
/** Ranking of an operator with multiple levels, each level having its own penalty value. */
|
|
4594
4660
|
ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
|
|
4595
|
-
/**
|
|
4661
|
+
/** Operators that should be excluded for a route calculation. */
|
|
4596
4662
|
exclude?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
4597
4663
|
};
|
|
4598
4664
|
export declare type RouteOperatorPreferencesRanking = {
|
|
@@ -4620,7 +4686,7 @@ export declare type RouteOperatorPreferencesRankingLevelsInput = {
|
|
|
4620
4686
|
low?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
4621
4687
|
/** Medium level for operator ranking. */
|
|
4622
4688
|
medium?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
4623
|
-
/** Most significant level
|
|
4689
|
+
/** Most significant level for operator ranking. */
|
|
4624
4690
|
high?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
4625
4691
|
};
|
|
4626
4692
|
/** Prioritized operators for a route calculation. */
|
|
@@ -4782,9 +4848,9 @@ export declare type RoutePropertiesStationInput = {
|
|
|
4782
4848
|
};
|
|
4783
4849
|
export declare type RoutePropertiesVehicle = {
|
|
4784
4850
|
/** Number of occupants present in the vehicle. */
|
|
4785
|
-
occupants
|
|
4851
|
+
occupants: Scalars["Int"];
|
|
4786
4852
|
/** Combined weight of the occupants. This can only be used in combination with occupants. */
|
|
4787
|
-
total_occupant_weight
|
|
4853
|
+
total_occupant_weight: TotalOccupantWeight;
|
|
4788
4854
|
/** Weight of the cargo. */
|
|
4789
4855
|
total_cargo_weight?: Maybe<TotalCargoWeight>;
|
|
4790
4856
|
};
|
|
@@ -4899,26 +4965,26 @@ export declare type RouteVehicle = {
|
|
|
4899
4965
|
/** ID of the vehicle. */
|
|
4900
4966
|
id: Scalars["ID"];
|
|
4901
4967
|
/** EV battery specific configuration. */
|
|
4902
|
-
battery
|
|
4968
|
+
battery: RouteVehicleBattery;
|
|
4903
4969
|
/** Charging configuration. */
|
|
4904
|
-
charging
|
|
4905
|
-
/**
|
|
4906
|
-
tire_pressure
|
|
4970
|
+
charging: RouteVehicleCharging;
|
|
4971
|
+
/** Tire pressures of all wheels, ordered from front right to front left, then rear left to rear right. */
|
|
4972
|
+
tire_pressure: TirePressure;
|
|
4907
4973
|
/** Value of the vehicle's odometer. */
|
|
4908
4974
|
odometer?: Maybe<Odometer>;
|
|
4909
4975
|
/** Value of the auxiliary power consumption of the vehicle. */
|
|
4910
|
-
auxiliary_consumption
|
|
4911
|
-
/** Flag
|
|
4912
|
-
climate
|
|
4976
|
+
auxiliary_consumption: AuxiliaryConsumption;
|
|
4977
|
+
/** Flag indicating if climate control is on. */
|
|
4978
|
+
climate: Scalars["Boolean"];
|
|
4913
4979
|
/** Vehicle Heat Pump configuration. */
|
|
4914
4980
|
heat_pump: HeatPumpMode;
|
|
4915
|
-
/** Vehicle cabin configuration. */
|
|
4981
|
+
/** Vehicle cabin configuration used for the route calculation. Applied only if vehicle.climate is set to true. */
|
|
4916
4982
|
cabin: RouteVehicleCabin;
|
|
4917
4983
|
/** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
|
|
4918
4984
|
motor_rpm?: Maybe<Scalars["Int"]>;
|
|
4919
4985
|
/** Value of the outside temperature. */
|
|
4920
4986
|
outside_temperature?: Maybe<OutsideTemperature>;
|
|
4921
|
-
/** Flag
|
|
4987
|
+
/** Flag indicating if a vehicle is in park, neutral, or turned off. */
|
|
4922
4988
|
is_parked?: Maybe<Scalars["Boolean"]>;
|
|
4923
4989
|
/** Value of the vehicle's speed. */
|
|
4924
4990
|
vehicle_speed?: Maybe<VehicleSpeed>;
|
|
@@ -4926,11 +4992,11 @@ export declare type RouteVehicle = {
|
|
|
4926
4992
|
heading?: Maybe<Scalars["Float"]>;
|
|
4927
4993
|
};
|
|
4928
4994
|
export declare type RouteVehicleBattery = {
|
|
4929
|
-
/**
|
|
4995
|
+
/** Usable capacity of a battery used to compute a route. Value must be between 50% and 150%. If not provided, it defaults to the vehicle battery.usable_kwh. */
|
|
4930
4996
|
capacity: StateOfCharge;
|
|
4931
|
-
/**
|
|
4997
|
+
/** Current amount of energy in a battery. If not provided, it is assumed the battery is fully charged and equal to the vehicle battery.capacity. */
|
|
4932
4998
|
state_of_charge: StateOfCharge;
|
|
4933
|
-
/**
|
|
4999
|
+
/** Desired final amount of energy in a battery at the and of a trip. The value must be between 0 and 60% of the vehicle battery.capacity. If not provided—or if the specified value is below the safe risk margin—the safe risk margin is used by default. */
|
|
4934
5000
|
final_state_of_charge: StateOfCharge;
|
|
4935
5001
|
/** Temperature of the battery. */
|
|
4936
5002
|
temperature?: Maybe<Temperature>;
|
|
@@ -4940,16 +5006,16 @@ export declare type RouteVehicleBattery = {
|
|
|
4940
5006
|
voltage?: Maybe<Scalars["Float"]>;
|
|
4941
5007
|
/** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
|
|
4942
5008
|
power?: Maybe<Scalars["Float"]>;
|
|
4943
|
-
/** Flag
|
|
5009
|
+
/** Flag indicating if the vehicle is charging. */
|
|
4944
5010
|
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
4945
5011
|
};
|
|
4946
5012
|
/** EV battery specific configuration for a create route mutation. */
|
|
4947
5013
|
export declare type RouteVehicleBatteryInput = {
|
|
4948
|
-
/**
|
|
5014
|
+
/** Usable capacity of a battery used to compute a route. Value must be between 50% and 150%. If not provided, it defaults to the vehicle battery.usable_kwh. */
|
|
4949
5015
|
capacity?: Maybe<StateOfChargeInput>;
|
|
4950
|
-
/**
|
|
5016
|
+
/** Current amount of energy in a battery. If not provided, it is assumed the battery is fully charged and equal to the vehicle battery.capacity. */
|
|
4951
5017
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
4952
|
-
/**
|
|
5018
|
+
/** Desired final amount of energy in a battery at the and of a trip. The value must be between 0 and 60% of the vehicle battery.capacity. If not provided—or if the specified value is below the safe risk margin—the safe risk margin is used by default. */
|
|
4953
5019
|
final_state_of_charge?: Maybe<StateOfChargeInput>;
|
|
4954
5020
|
/** Battery temperature. */
|
|
4955
5021
|
temperature?: Maybe<TemperatureInput>;
|
|
@@ -4959,17 +5025,17 @@ export declare type RouteVehicleBatteryInput = {
|
|
|
4959
5025
|
voltage?: Maybe<Scalars["Float"]>;
|
|
4960
5026
|
/** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
|
|
4961
5027
|
power?: Maybe<Scalars["Float"]>;
|
|
4962
|
-
/** Flag
|
|
5028
|
+
/** Flag indicating if the vehicle is charging. */
|
|
4963
5029
|
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
4964
5030
|
};
|
|
4965
5031
|
export declare type RouteVehicleCabin = {
|
|
4966
|
-
/** Flag
|
|
5032
|
+
/** Flag indicating if the vehicle cabin was preconditioned for the desired temperature. */
|
|
4967
5033
|
is_preconditioned: Scalars["Boolean"];
|
|
4968
5034
|
/** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
|
|
4969
5035
|
desired_temperature: Temperature;
|
|
4970
5036
|
};
|
|
4971
5037
|
export declare type RouteVehicleCabinInput = {
|
|
4972
|
-
/** Flag
|
|
5038
|
+
/** Flag indicating if the vehicle cabin was preconditioned for the desired temperature. */
|
|
4973
5039
|
is_preconditioned?: Maybe<Scalars["Boolean"]>;
|
|
4974
5040
|
/** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
|
|
4975
5041
|
desired_temperature?: Maybe<TemperatureInput>;
|
|
@@ -4979,17 +5045,17 @@ export declare type RouteVehicleCharging = {
|
|
|
4979
5045
|
mode: ChargeMode;
|
|
4980
5046
|
/** Minimum desired power of chargers, in kWh. */
|
|
4981
5047
|
minimum_power: Scalars["Float"];
|
|
4982
|
-
/**
|
|
5048
|
+
/** Minimum remaining state of charge at charging stops, expressed as a percentage. The value must be between 0 and 60. If not provided, the project configuration value is used. */
|
|
4983
5049
|
risk_margin: Scalars["Int"];
|
|
4984
|
-
/** Supported connectors. */
|
|
4985
|
-
connectors
|
|
4986
|
-
/** Supported adapters. */
|
|
4987
|
-
adapters
|
|
5050
|
+
/** Supported connectors. If not specified, it defaults to the vehicle's connectors. */
|
|
5051
|
+
connectors: Array<RouteVehicleChargingConnector>;
|
|
5052
|
+
/** Supported adapters. If not specified, adapters will not be considered. */
|
|
5053
|
+
adapters: Array<RouteVehicleChargingConnector>;
|
|
4988
5054
|
};
|
|
4989
5055
|
export declare type RouteVehicleChargingConnector = {
|
|
4990
5056
|
/** Type of the plug. */
|
|
4991
5057
|
standard: ConnectorType;
|
|
4992
|
-
/** Maximum charging speed for
|
|
5058
|
+
/** Maximum charging speed for this plug. */
|
|
4993
5059
|
maximum_charge_speed: ChargeSpeed;
|
|
4994
5060
|
};
|
|
4995
5061
|
export declare type RouteVehicleChargingConnectorInput = {
|
|
@@ -5003,11 +5069,11 @@ export declare type RouteVehicleChargingInput = {
|
|
|
5003
5069
|
mode?: Maybe<ChargeMode>;
|
|
5004
5070
|
/** Minimum desired power of chargers, in kWh. */
|
|
5005
5071
|
minimum_power?: Maybe<Scalars["Float"]>;
|
|
5006
|
-
/**
|
|
5072
|
+
/** Minimum remaining state of charge at charging stops, expressed as a percentage. The value must be between 0 and 60. If not provided, the project configuration value is used. */
|
|
5007
5073
|
risk_margin?: Maybe<Scalars["Int"]>;
|
|
5008
|
-
/** Supported connectors. */
|
|
5074
|
+
/** Supported connectors. If not specified, it defaults to the vehicle's connectors. */
|
|
5009
5075
|
connectors?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
|
|
5010
|
-
/** Supported adapters. */
|
|
5076
|
+
/** Supported adapters. If not specified, adapters will not be considered. */
|
|
5011
5077
|
adapters?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
|
|
5012
5078
|
};
|
|
5013
5079
|
export declare type RouteVehicleEmissions = {
|
|
@@ -5038,23 +5104,23 @@ export declare type RouteVehicleInput = {
|
|
|
5038
5104
|
battery?: Maybe<RouteVehicleBatteryInput>;
|
|
5039
5105
|
/** Charging configuration. */
|
|
5040
5106
|
charging?: Maybe<RouteVehicleChargingInput>;
|
|
5041
|
-
/**
|
|
5107
|
+
/** Tire pressures of all wheels, ordered from front right to front left, then rear left to rear right. */
|
|
5042
5108
|
tire_pressure?: Maybe<TirePressureInput>;
|
|
5043
5109
|
/** Odometer (mileage) reading. */
|
|
5044
5110
|
odometer?: Maybe<OdometerInput>;
|
|
5045
5111
|
/** Average auxiliary power consumption. */
|
|
5046
5112
|
auxiliary_consumption?: Maybe<AuxiliaryConsumptionInput>;
|
|
5047
|
-
/** Flag
|
|
5113
|
+
/** Flag indicating if climate control is on. */
|
|
5048
5114
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
5049
5115
|
/** Vehicle Heat Pump configuration. */
|
|
5050
5116
|
heat_pump?: Maybe<HeatPumpMode>;
|
|
5051
|
-
/** Vehicle cabin configuration for
|
|
5117
|
+
/** Vehicle cabin configuration used for the route calculation. Applied only if vehicle.climate is set to true. */
|
|
5052
5118
|
cabin?: Maybe<RouteVehicleCabinInput>;
|
|
5053
5119
|
/** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
|
|
5054
5120
|
motor_rpm?: Maybe<Scalars["Int"]>;
|
|
5055
5121
|
/** Outside temperature. */
|
|
5056
5122
|
outside_temperature?: Maybe<OutsideTemperatureInput>;
|
|
5057
|
-
/** Flag
|
|
5123
|
+
/** Flag indicating if a vehicle is in park, neutral, or turned off. */
|
|
5058
5124
|
is_parked?: Maybe<Scalars["Boolean"]>;
|
|
5059
5125
|
/** Vehicle speed. */
|
|
5060
5126
|
vehicle_speed?: Maybe<VehicleSpeedInput>;
|
|
@@ -5168,15 +5234,15 @@ export declare enum SpeedUnit {
|
|
|
5168
5234
|
export declare type StateOfCharge = {
|
|
5169
5235
|
/** Value of the state of charge of the vehicle. */
|
|
5170
5236
|
value: Scalars["Float"];
|
|
5171
|
-
/**
|
|
5237
|
+
/** Preferred unit for the vehicle's state of charge. */
|
|
5172
5238
|
type: StateOfChargeUnit;
|
|
5173
5239
|
/** Source of inputted data. */
|
|
5174
5240
|
source: TelemetryInputSource;
|
|
5175
5241
|
};
|
|
5176
5242
|
export declare type StateOfChargeInput = {
|
|
5177
|
-
/** Value of the state of charge
|
|
5243
|
+
/** Value of the vehicle's state of charge. */
|
|
5178
5244
|
value: Scalars["Float"];
|
|
5179
|
-
/**
|
|
5245
|
+
/** Preferred unit for the vehicle's state of charge. */
|
|
5180
5246
|
type: StateOfChargeUnit;
|
|
5181
5247
|
/** Source of inputted data, defaults to 'manual'. */
|
|
5182
5248
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -5573,30 +5639,30 @@ export declare enum StepType {
|
|
|
5573
5639
|
CROSSBORDER = "crossborder"
|
|
5574
5640
|
}
|
|
5575
5641
|
export declare type Subscription = {
|
|
5642
|
+
/** Deprecated: In favor of route. */
|
|
5643
|
+
routeUpdatedById?: Maybe<Route>;
|
|
5644
|
+
/** Subscribe to a specific route to receive system event updates. */
|
|
5645
|
+
route: RouteResponse;
|
|
5646
|
+
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
5647
|
+
navigationUpdatedById?: Maybe<Navigation>;
|
|
5576
5648
|
/** [BETA] Subscribe to a connected vehicle. */
|
|
5577
5649
|
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
5578
5650
|
/** Subscribe to an isoline in order to receive updates. */
|
|
5579
5651
|
isoline?: Maybe<Isoline>;
|
|
5580
|
-
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
5581
|
-
navigationUpdatedById?: Maybe<Navigation>;
|
|
5582
|
-
/** Subscription for a specific route was updated in the system event */
|
|
5583
|
-
routeUpdatedById?: Maybe<Route>;
|
|
5584
|
-
/** [BETA] Subscription for a specific route was updated in the system event */
|
|
5585
|
-
route: RouteResponse;
|
|
5586
5652
|
};
|
|
5587
|
-
export declare type
|
|
5653
|
+
export declare type SubscriptionrouteUpdatedByIdArgs = {
|
|
5588
5654
|
id: Scalars["ID"];
|
|
5589
5655
|
};
|
|
5590
|
-
export declare type
|
|
5656
|
+
export declare type SubscriptionrouteArgs = {
|
|
5591
5657
|
id: Scalars["ID"];
|
|
5592
5658
|
};
|
|
5593
5659
|
export declare type SubscriptionnavigationUpdatedByIdArgs = {
|
|
5594
5660
|
id: Scalars["ID"];
|
|
5595
5661
|
};
|
|
5596
|
-
export declare type
|
|
5662
|
+
export declare type SubscriptionconnectedVehicleArgs = {
|
|
5597
5663
|
id: Scalars["ID"];
|
|
5598
5664
|
};
|
|
5599
|
-
export declare type
|
|
5665
|
+
export declare type SubscriptionisolineArgs = {
|
|
5600
5666
|
id: Scalars["ID"];
|
|
5601
5667
|
};
|
|
5602
5668
|
export declare type Telemetry = {
|
|
@@ -5742,13 +5808,13 @@ export declare enum TelemetryInputSource {
|
|
|
5742
5808
|
export declare type Temperature = {
|
|
5743
5809
|
/** Value of the temperature. */
|
|
5744
5810
|
value: Scalars["Float"];
|
|
5745
|
-
/**
|
|
5811
|
+
/** Preferred unit for the temperature. */
|
|
5746
5812
|
type: TemperatureUnit;
|
|
5747
5813
|
};
|
|
5748
5814
|
export declare type TemperatureInput = {
|
|
5749
5815
|
/** Value of the temperature. */
|
|
5750
5816
|
value: Scalars["Float"];
|
|
5751
|
-
/**
|
|
5817
|
+
/** Preferred unit for the temperature. */
|
|
5752
5818
|
type: TemperatureUnit;
|
|
5753
5819
|
};
|
|
5754
5820
|
/** Temperature unit. */
|
|
@@ -5759,17 +5825,17 @@ export declare enum TemperatureUnit {
|
|
|
5759
5825
|
FAHRENHEIT = "Fahrenheit"
|
|
5760
5826
|
}
|
|
5761
5827
|
export declare type TirePressure = {
|
|
5762
|
-
/** Values for the tire pressure,
|
|
5828
|
+
/** Values for the tire pressure, ordered from front right to front left, then rear left to rear right. */
|
|
5763
5829
|
value: Array<Scalars["Float"]>;
|
|
5764
|
-
/**
|
|
5830
|
+
/** Preferred unit for the tire pressure. */
|
|
5765
5831
|
type: PressureUnit;
|
|
5766
5832
|
/** Source of inputted data. */
|
|
5767
5833
|
source: TelemetryInputSource;
|
|
5768
5834
|
};
|
|
5769
5835
|
export declare type TirePressureInput = {
|
|
5770
|
-
/** Values for the tire pressure,
|
|
5836
|
+
/** Values for the tire pressure, ordered from front right to front left, then rear left to rear right. */
|
|
5771
5837
|
value: Array<Scalars["Float"]>;
|
|
5772
|
-
/**
|
|
5838
|
+
/** Preferred unit for the tire pressure. */
|
|
5773
5839
|
type: PressureUnit;
|
|
5774
5840
|
/** Source of inputted data, defaults to 'manual'. */
|
|
5775
5841
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -5783,7 +5849,7 @@ export declare enum TorqueUnit {
|
|
|
5783
5849
|
export declare type TotalCargoWeight = {
|
|
5784
5850
|
/** Value of the current weight of the cargo. */
|
|
5785
5851
|
value: Scalars["Float"];
|
|
5786
|
-
/**
|
|
5852
|
+
/** Preferred unit for the current weight of the cargo. */
|
|
5787
5853
|
type: WeightUnit;
|
|
5788
5854
|
/** Source of inputted data. */
|
|
5789
5855
|
source: TelemetryInputSource;
|
|
@@ -5791,7 +5857,7 @@ export declare type TotalCargoWeight = {
|
|
|
5791
5857
|
export declare type TotalCargoWeightInput = {
|
|
5792
5858
|
/** Value of the current weight of the cargo. */
|
|
5793
5859
|
value: Scalars["Float"];
|
|
5794
|
-
/**
|
|
5860
|
+
/** Preferred unit for the current weight of the cargo. */
|
|
5795
5861
|
type: WeightUnit;
|
|
5796
5862
|
/** Source of inputted data, defaults to 'manual'. */
|
|
5797
5863
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -5799,7 +5865,7 @@ export declare type TotalCargoWeightInput = {
|
|
|
5799
5865
|
export declare type TotalOccupantWeight = {
|
|
5800
5866
|
/** Value of the combined weight of the occupants. */
|
|
5801
5867
|
value: Scalars["Float"];
|
|
5802
|
-
/**
|
|
5868
|
+
/** Preferred unit for the current weight of the occupants. */
|
|
5803
5869
|
type: WeightUnit;
|
|
5804
5870
|
/** Source of inputted data. */
|
|
5805
5871
|
source: TelemetryInputSource;
|
|
@@ -5807,7 +5873,7 @@ export declare type TotalOccupantWeight = {
|
|
|
5807
5873
|
export declare type TotalOccupantWeightInput = {
|
|
5808
5874
|
/** Value of the combined weight of the occupants. */
|
|
5809
5875
|
value: Scalars["Float"];
|
|
5810
|
-
/**
|
|
5876
|
+
/** Preferred unit for the current weight of the occupants. */
|
|
5811
5877
|
type: WeightUnit;
|
|
5812
5878
|
/** Source of inputted data, defaults to 'manual'. */
|
|
5813
5879
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -7065,15 +7131,15 @@ export declare type VehicleRouting = {
|
|
|
7065
7131
|
export declare type VehicleSpeed = {
|
|
7066
7132
|
/** Value of the vehicle speed. */
|
|
7067
7133
|
value: Scalars["Float"];
|
|
7068
|
-
/**
|
|
7134
|
+
/** Preferred unit for the vehicle's speed. */
|
|
7069
7135
|
type: SpeedUnit;
|
|
7070
7136
|
/** Source of inputted data. */
|
|
7071
7137
|
source: TelemetryInputSource;
|
|
7072
7138
|
};
|
|
7073
7139
|
export declare type VehicleSpeedInput = {
|
|
7074
|
-
/** Value of the vehicle speed. */
|
|
7140
|
+
/** Value of the vehicle's speed. */
|
|
7075
7141
|
value: Scalars["Float"];
|
|
7076
|
-
/**
|
|
7142
|
+
/** Preferred unit for the vehicle's speed. */
|
|
7077
7143
|
type: SpeedUnit;
|
|
7078
7144
|
/** Source of inputted data, defaults to 'manual'. */
|
|
7079
7145
|
source?: Maybe<TelemetryInputSource>;
|