@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/src/graphql.ts
CHANGED
|
@@ -102,7 +102,7 @@ export enum AdhocAuthorisationMethod {
|
|
|
102
102
|
export type AlternativeStationRadius = {
|
|
103
103
|
/** Value of the alternative station radius. */
|
|
104
104
|
value: Scalars["Float"];
|
|
105
|
-
/**
|
|
105
|
+
/** Preferred unit for the alternative station radius. */
|
|
106
106
|
type: DistanceUnit;
|
|
107
107
|
/** Source of inputted data. */
|
|
108
108
|
source: TelemetryInputSource;
|
|
@@ -111,7 +111,7 @@ export type AlternativeStationRadius = {
|
|
|
111
111
|
export 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>;
|
|
@@ -192,18 +192,18 @@ export type AuthorizeConnectedVehicleOptions = {
|
|
|
192
192
|
};
|
|
193
193
|
|
|
194
194
|
export type AuxiliaryConsumption = {
|
|
195
|
-
/** Value of the auxiliary power consumption
|
|
195
|
+
/** Value of the vehicle's auxiliary power consumption. */
|
|
196
196
|
value: Scalars["Float"];
|
|
197
|
-
/**
|
|
197
|
+
/** Preferred unit for the vehicle's auxiliary power consumption. */
|
|
198
198
|
type: AuxiliaryConsumptionUnit;
|
|
199
199
|
/** Source of inputted data. */
|
|
200
200
|
source: TelemetryInputSource;
|
|
201
201
|
};
|
|
202
202
|
|
|
203
203
|
export type AuxiliaryConsumptionInput = {
|
|
204
|
-
/** Value of the auxiliary power consumption
|
|
204
|
+
/** Value of the vehicle's auxiliary power consumption. */
|
|
205
205
|
value: Scalars["Float"];
|
|
206
|
-
/**
|
|
206
|
+
/** Preferred unit for the vehicle's auxiliary power consumption. */
|
|
207
207
|
type: AuxiliaryConsumptionUnit;
|
|
208
208
|
/** Source of inputted data, defaults to 'manual'. */
|
|
209
209
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -226,7 +226,7 @@ export enum BatteryInputType {
|
|
|
226
226
|
export type BatteryTemperatureInput = {
|
|
227
227
|
/** Value of the temperature of the battery. */
|
|
228
228
|
value: Scalars["Float"];
|
|
229
|
-
/**
|
|
229
|
+
/** Preferred unit for the temperature of the battery. */
|
|
230
230
|
type: TemperatureUnit;
|
|
231
231
|
/** Source of inputted data, defaults to 'manual'. */
|
|
232
232
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -263,16 +263,16 @@ export enum ChargeMode {
|
|
|
263
263
|
export type ChargeSpeed = {
|
|
264
264
|
/** Value of the charge speed of the battery. */
|
|
265
265
|
value: Scalars["Float"];
|
|
266
|
-
/**
|
|
266
|
+
/** Preferred unit for the battery's charge speed. */
|
|
267
267
|
type: ChargeSpeedUnit;
|
|
268
268
|
/** Source of inputted data */
|
|
269
269
|
source: TelemetryInputSource;
|
|
270
270
|
};
|
|
271
271
|
|
|
272
272
|
export type ChargeSpeedInput = {
|
|
273
|
-
/** Value of the charge speed
|
|
273
|
+
/** Value of the battery's charge speed. */
|
|
274
274
|
value: Scalars["Float"];
|
|
275
|
-
/**
|
|
275
|
+
/** Preferred unit for the battery's charge speed. */
|
|
276
276
|
type: ChargeSpeedUnit;
|
|
277
277
|
/** Source of inputted data, defaults to 'manual'. */
|
|
278
278
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -291,7 +291,7 @@ export enum ChargeSpeedUnit {
|
|
|
291
291
|
export type ChargeTotalInput = {
|
|
292
292
|
/** Value of the temperature of the battery. */
|
|
293
293
|
value: Scalars["Float"];
|
|
294
|
-
/**
|
|
294
|
+
/** Preferred unit for the total charge amount. */
|
|
295
295
|
type: StateOfChargeUnit;
|
|
296
296
|
/** Source of inputted data, defaults to 'manual'. */
|
|
297
297
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -616,7 +616,7 @@ export enum ConnectorPriceElementComponentType {
|
|
|
616
616
|
FLAT = "flat",
|
|
617
617
|
/** Parking price per hour. This fee is applicable even if the parked car is not charging. */
|
|
618
618
|
PARKING_TIME = "parking_time",
|
|
619
|
-
/** Fixed price per
|
|
619
|
+
/** Fixed price per unit of time defined in the step size. */
|
|
620
620
|
TIME = "time"
|
|
621
621
|
}
|
|
622
622
|
|
|
@@ -1155,8 +1155,12 @@ export type CreateRoute = {
|
|
|
1155
1155
|
season: RouteSeason;
|
|
1156
1156
|
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
1157
1157
|
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
1158
|
-
/**
|
|
1159
|
-
departure_time
|
|
1158
|
+
/** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. */
|
|
1159
|
+
departure_time: Scalars["DateTime"];
|
|
1160
|
+
/** [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. */
|
|
1161
|
+
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1162
|
+
/** [BETA] User-defined maximum speed used for this route, if provided. */
|
|
1163
|
+
maximum_speed?: Maybe<MaximumSpeed>;
|
|
1160
1164
|
};
|
|
1161
1165
|
|
|
1162
1166
|
/** Input for the create route mutation. */
|
|
@@ -1175,8 +1179,12 @@ export type CreateRouteInput = {
|
|
|
1175
1179
|
season?: Maybe<RouteSeason>;
|
|
1176
1180
|
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
1177
1181
|
alternative_station_radius?: Maybe<AlternativeStationRadiusInput>;
|
|
1178
|
-
/** Route departure time. */
|
|
1182
|
+
/** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. */
|
|
1179
1183
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1184
|
+
/** [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. */
|
|
1185
|
+
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1186
|
+
/** [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. */
|
|
1187
|
+
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
1180
1188
|
};
|
|
1181
1189
|
|
|
1182
1190
|
/** Currency in the ISO 4217 format. */
|
|
@@ -1590,7 +1598,7 @@ export type ElectricityGenerationMethodintensityArgs = {
|
|
|
1590
1598
|
export type ElevationInput = {
|
|
1591
1599
|
/** Value of the elevation. */
|
|
1592
1600
|
value: Scalars["Float"];
|
|
1593
|
-
/**
|
|
1601
|
+
/** Preferred unit for the elevation. */
|
|
1594
1602
|
type: DistanceUnit;
|
|
1595
1603
|
/** Source of inputted data, defaults to 'manual'. */
|
|
1596
1604
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -1809,7 +1817,9 @@ export enum HeavyVehiclesEUType {
|
|
|
1809
1817
|
/** 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). */
|
|
1810
1818
|
N2 = "N2",
|
|
1811
1819
|
/** 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). */
|
|
1812
|
-
N3 = "N3"
|
|
1820
|
+
N3 = "N3",
|
|
1821
|
+
/** 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). */
|
|
1822
|
+
N3_O4 = "N3_O4"
|
|
1813
1823
|
}
|
|
1814
1824
|
|
|
1815
1825
|
/** List of facilities in the location. */
|
|
@@ -2016,6 +2026,20 @@ export enum MappingProvider {
|
|
|
2016
2026
|
MAPBOXV5 = "MapboxV5"
|
|
2017
2027
|
}
|
|
2018
2028
|
|
|
2029
|
+
export type MaximumSpeed = {
|
|
2030
|
+
/** Numeric value of the user-defined maximum speed. */
|
|
2031
|
+
value: Scalars["Int"];
|
|
2032
|
+
/** Unit in which speed is measured. */
|
|
2033
|
+
type: SpeedUnit;
|
|
2034
|
+
};
|
|
2035
|
+
|
|
2036
|
+
export type MaximumSpeedInput = {
|
|
2037
|
+
/** Numeric value of the user-defined maximum speed. */
|
|
2038
|
+
value: Scalars["Int"];
|
|
2039
|
+
/** Unit in which speed is measured. */
|
|
2040
|
+
type: SpeedUnit;
|
|
2041
|
+
};
|
|
2042
|
+
|
|
2019
2043
|
export enum MeasurementUnit {
|
|
2020
2044
|
/** Return the measurement in millimeters. */
|
|
2021
2045
|
MILLIMETER = "millimeter",
|
|
@@ -2070,10 +2094,10 @@ export type Mutation = {
|
|
|
2070
2094
|
* This is a premium feature, contact Chargetrip for more information.
|
|
2071
2095
|
*/
|
|
2072
2096
|
deleteUserReview: Review;
|
|
2073
|
-
/**
|
|
2074
|
-
createRoute: Scalars["ID"];
|
|
2075
|
-
/** Create a new route from the route input and its ID */
|
|
2097
|
+
/** Deprecated: In favor of createRoute. */
|
|
2076
2098
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
2099
|
+
/** Create a new route from the route input and its ID. */
|
|
2100
|
+
createRoute: Scalars["ID"];
|
|
2077
2101
|
};
|
|
2078
2102
|
|
|
2079
2103
|
export type MutationcreateConnectedVehicleArgs = {
|
|
@@ -2120,14 +2144,14 @@ export type MutationdeleteUserReviewArgs = {
|
|
|
2120
2144
|
id: Scalars["ID"];
|
|
2121
2145
|
};
|
|
2122
2146
|
|
|
2123
|
-
export type MutationcreateRouteArgs = {
|
|
2124
|
-
input: CreateRouteInput;
|
|
2125
|
-
};
|
|
2126
|
-
|
|
2127
2147
|
export type MutationnewRouteArgs = {
|
|
2128
2148
|
input?: Maybe<RequestInput>;
|
|
2129
2149
|
};
|
|
2130
2150
|
|
|
2151
|
+
export type MutationcreateRouteArgs = {
|
|
2152
|
+
input: CreateRouteInput;
|
|
2153
|
+
};
|
|
2154
|
+
|
|
2131
2155
|
/** The navigation session data */
|
|
2132
2156
|
export type Navigation = {
|
|
2133
2157
|
/** ID of the navigation session */
|
|
@@ -2868,7 +2892,7 @@ export enum OICPValueAddedServices {
|
|
|
2868
2892
|
export type Odometer = {
|
|
2869
2893
|
/** Value of the vehicle's odometer. */
|
|
2870
2894
|
value: Scalars["Float"];
|
|
2871
|
-
/**
|
|
2895
|
+
/** Preferred unit for the vehicle's odometer. */
|
|
2872
2896
|
type: DistanceUnit;
|
|
2873
2897
|
/** Source of inputted data. */
|
|
2874
2898
|
source: TelemetryInputSource;
|
|
@@ -2877,7 +2901,7 @@ export type Odometer = {
|
|
|
2877
2901
|
export type OdometerInput = {
|
|
2878
2902
|
/** Value of the vehicle's odometer. */
|
|
2879
2903
|
value: Scalars["Float"];
|
|
2880
|
-
/**
|
|
2904
|
+
/** Preferred unit for the vehicle's odometer. */
|
|
2881
2905
|
type: DistanceUnit;
|
|
2882
2906
|
/** Source of inputted data, defaults to 'manual'. */
|
|
2883
2907
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -2904,20 +2928,30 @@ export type Operator = {
|
|
|
2904
2928
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2905
2929
|
/** Contact information. */
|
|
2906
2930
|
contact?: Maybe<Contact>;
|
|
2907
|
-
/**
|
|
2931
|
+
/**
|
|
2932
|
+
* 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.
|
|
2933
|
+
* @deprecated In favor of ranking_levels.
|
|
2934
|
+
*/
|
|
2908
2935
|
ranking?: Maybe<Scalars["Int"]>;
|
|
2909
|
-
/**
|
|
2936
|
+
/**
|
|
2937
|
+
* 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.
|
|
2938
|
+
* @deprecated In favor of excluded_countries.
|
|
2939
|
+
*/
|
|
2910
2940
|
excluded?: Maybe<Scalars["Boolean"]>;
|
|
2941
|
+
/** 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. */
|
|
2942
|
+
ranking_levels?: Maybe<OperatorRankingLevels>;
|
|
2943
|
+
/** 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. */
|
|
2944
|
+
excluded_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2911
2945
|
};
|
|
2912
2946
|
|
|
2913
2947
|
/** Filter which can be applied to retrieve the operator list action. */
|
|
2914
2948
|
export type OperatorListFilter = {
|
|
2915
2949
|
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
2916
2950
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2917
|
-
/** List of ranking level(s) to be retrieved.
|
|
2918
|
-
|
|
2919
|
-
/**
|
|
2920
|
-
|
|
2951
|
+
/** 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. */
|
|
2952
|
+
ranking_levels?: Maybe<OperatorRankingLevelsFilter>;
|
|
2953
|
+
/** 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. */
|
|
2954
|
+
excluded_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2921
2955
|
};
|
|
2922
2956
|
|
|
2923
2957
|
/** Filter which can be applied to retrieve the operator list action. */
|
|
@@ -2939,10 +2973,30 @@ export enum OperatorRankingLevel {
|
|
|
2939
2973
|
HIGH = "high"
|
|
2940
2974
|
}
|
|
2941
2975
|
|
|
2976
|
+
/** 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. */
|
|
2977
|
+
export type OperatorRankingLevels = {
|
|
2978
|
+
/** Low level for operators ranking. */
|
|
2979
|
+
low?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2980
|
+
/** Medium level for operators ranking. */
|
|
2981
|
+
medium?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2982
|
+
/** High level for operators ranking. */
|
|
2983
|
+
high?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2984
|
+
};
|
|
2985
|
+
|
|
2986
|
+
/** Filter operators by ranking levels. */
|
|
2987
|
+
export type OperatorRankingLevelsFilter = {
|
|
2988
|
+
/** Low level for operators ranking. */
|
|
2989
|
+
low?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2990
|
+
/** Medium level for operators ranking. */
|
|
2991
|
+
medium?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2992
|
+
/** High level for operators ranking. */
|
|
2993
|
+
high?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2994
|
+
};
|
|
2995
|
+
|
|
2942
2996
|
export type OutsideTempInput = {
|
|
2943
2997
|
/** Value of the outside temperature. */
|
|
2944
2998
|
value: Scalars["Float"];
|
|
2945
|
-
/**
|
|
2999
|
+
/** Preferred unit for the outside temperature. */
|
|
2946
3000
|
type: TemperatureUnit;
|
|
2947
3001
|
/** Source of inputted data, defaults to 'manual'. */
|
|
2948
3002
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -2951,7 +3005,7 @@ export type OutsideTempInput = {
|
|
|
2951
3005
|
export type OutsideTemperature = {
|
|
2952
3006
|
/** Value of the temperature. */
|
|
2953
3007
|
value: Scalars["Float"];
|
|
2954
|
-
/**
|
|
3008
|
+
/** Preferred unit for the outside temperature. */
|
|
2955
3009
|
type: TemperatureUnit;
|
|
2956
3010
|
/** Source of inputted data. */
|
|
2957
3011
|
source: TelemetryInputSource;
|
|
@@ -2960,7 +3014,7 @@ export type OutsideTemperature = {
|
|
|
2960
3014
|
export type OutsideTemperatureInput = {
|
|
2961
3015
|
/** Value of the outside temperature. */
|
|
2962
3016
|
value: Scalars["Float"];
|
|
2963
|
-
/**
|
|
3017
|
+
/** Preferred unit for the outside temperature. */
|
|
2964
3018
|
type: TemperatureUnit;
|
|
2965
3019
|
/** Source of inputted data. */
|
|
2966
3020
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -3026,7 +3080,7 @@ export enum PolylineInputDecimals {
|
|
|
3026
3080
|
export type PowerInput = {
|
|
3027
3081
|
/** Value of the positive or negative power. When negative the vehicle is charging. */
|
|
3028
3082
|
value: Scalars["Float"];
|
|
3029
|
-
/**
|
|
3083
|
+
/** Preferred unit for the power. */
|
|
3030
3084
|
type: PowerUnit;
|
|
3031
3085
|
/** Source of inputted data, defaults to 'manual'. */
|
|
3032
3086
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -3130,16 +3184,16 @@ export type Query = {
|
|
|
3130
3184
|
* This is a premium feature, contact Chargetrip for more information.
|
|
3131
3185
|
*/
|
|
3132
3186
|
userReviewList?: Maybe<Array<Review>>;
|
|
3133
|
-
/**
|
|
3187
|
+
/** Deprecated: In favor of getRouteEmissions. */
|
|
3188
|
+
routeEmissions: RouteEmissions;
|
|
3189
|
+
/** Deprecated: In favor of getRoute. */
|
|
3134
3190
|
route?: Maybe<Route>;
|
|
3135
|
-
/**
|
|
3191
|
+
/** Deprecated: In favor of RouteDetails.path_plot. */
|
|
3192
|
+
routePath?: Maybe<RoutePath>;
|
|
3193
|
+
/** Get a route by ID. */
|
|
3136
3194
|
getRoute: RouteResponse;
|
|
3137
|
-
/**
|
|
3195
|
+
/** Get emissions for a route. */
|
|
3138
3196
|
getRouteEmissions: RouteDetailsEmissions;
|
|
3139
|
-
/** Emissions profile for route. */
|
|
3140
|
-
routeEmissions: RouteEmissions;
|
|
3141
|
-
/** Retrieve information about a route path segment */
|
|
3142
|
-
routePath?: Maybe<RoutePath>;
|
|
3143
3197
|
/** Get information about a station by its ID. */
|
|
3144
3198
|
station?: Maybe<Station>;
|
|
3145
3199
|
/** Get a full list of stations. */
|
|
@@ -3207,10 +3261,21 @@ export type QueryuserReviewListArgs = {
|
|
|
3207
3261
|
page?: Maybe<Scalars["Int"]>;
|
|
3208
3262
|
};
|
|
3209
3263
|
|
|
3264
|
+
export type QueryrouteEmissionsArgs = {
|
|
3265
|
+
route_id: Scalars["ID"];
|
|
3266
|
+
route_alternative_id?: Maybe<Scalars["ID"]>;
|
|
3267
|
+
};
|
|
3268
|
+
|
|
3210
3269
|
export type QueryrouteArgs = {
|
|
3211
3270
|
id: Scalars["ID"];
|
|
3212
3271
|
};
|
|
3213
3272
|
|
|
3273
|
+
export type QueryroutePathArgs = {
|
|
3274
|
+
id: Scalars["ID"];
|
|
3275
|
+
location: PointInput;
|
|
3276
|
+
alternativeId?: Maybe<Scalars["ID"]>;
|
|
3277
|
+
};
|
|
3278
|
+
|
|
3214
3279
|
export type QuerygetRouteArgs = {
|
|
3215
3280
|
id: Scalars["ID"];
|
|
3216
3281
|
};
|
|
@@ -3220,17 +3285,6 @@ export type QuerygetRouteEmissionsArgs = {
|
|
|
3220
3285
|
route_details_id: Scalars["ID"];
|
|
3221
3286
|
};
|
|
3222
3287
|
|
|
3223
|
-
export type QueryrouteEmissionsArgs = {
|
|
3224
|
-
route_id: Scalars["ID"];
|
|
3225
|
-
route_alternative_id?: Maybe<Scalars["ID"]>;
|
|
3226
|
-
};
|
|
3227
|
-
|
|
3228
|
-
export type QueryroutePathArgs = {
|
|
3229
|
-
id: Scalars["ID"];
|
|
3230
|
-
location: PointInput;
|
|
3231
|
-
alternativeId?: Maybe<Scalars["ID"]>;
|
|
3232
|
-
};
|
|
3233
|
-
|
|
3234
3288
|
export type QuerystationArgs = {
|
|
3235
3289
|
id?: Maybe<Scalars["ID"]>;
|
|
3236
3290
|
evse_id?: Maybe<Scalars["String"]>;
|
|
@@ -3771,6 +3825,12 @@ export type RouteApp = {
|
|
|
3771
3825
|
id?: Maybe<Scalars["ID"]>;
|
|
3772
3826
|
};
|
|
3773
3827
|
|
|
3828
|
+
/** Types of route features that can be avoided in routing. */
|
|
3829
|
+
export enum RouteAvoid {
|
|
3830
|
+
TOLL_ROAD = "toll_road",
|
|
3831
|
+
FERRY = "ferry"
|
|
3832
|
+
}
|
|
3833
|
+
|
|
3774
3834
|
export type RouteDestinationFeaturePoint = {
|
|
3775
3835
|
/** ID of the feature. */
|
|
3776
3836
|
id?: Maybe<Scalars["ID"]>;
|
|
@@ -3814,14 +3874,14 @@ export type RouteDetails = {
|
|
|
3814
3874
|
distance: Scalars["Float"];
|
|
3815
3875
|
/** Aggregation of all durations of a route. */
|
|
3816
3876
|
durations: RouteDetailsDurations;
|
|
3817
|
-
/** Total energy used for a route in kilowatt hours. */
|
|
3818
|
-
consumption
|
|
3819
|
-
/** Range available at the
|
|
3820
|
-
range_at_origin
|
|
3821
|
-
/** Range available at the end of a trip. */
|
|
3822
|
-
range_at_destination
|
|
3877
|
+
/** Total energy used for a route in kilowatt hours. For HEVs and PHEVs this field will return null. */
|
|
3878
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
3879
|
+
/** 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. */
|
|
3880
|
+
range_at_origin?: Maybe<Scalars["Float"]>;
|
|
3881
|
+
/** 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. */
|
|
3882
|
+
range_at_destination?: Maybe<Scalars["Float"]>;
|
|
3823
3883
|
/** Polyline containing encoded coordinates. */
|
|
3824
|
-
polyline
|
|
3884
|
+
polyline: Scalars["String"];
|
|
3825
3885
|
/** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
|
|
3826
3886
|
path_plot: Array<RouteDetailsPathSegment>;
|
|
3827
3887
|
/** Details about elevation on a route. */
|
|
@@ -3830,7 +3890,7 @@ export type RouteDetails = {
|
|
|
3830
3890
|
savings?: Maybe<RouteDetailsSavings>;
|
|
3831
3891
|
/** Legs of a route. */
|
|
3832
3892
|
legs: Array<RouteDetailsLeg>;
|
|
3833
|
-
/** Alternative stations along a route within specified radius. */
|
|
3893
|
+
/** Alternative stations along a route within a specified radius. Will only return stations if alternative_station_radius was specified in the createRoute mutation. */
|
|
3834
3894
|
alternative_stations: Array<RouteDetailsAlternativeStation>;
|
|
3835
3895
|
/** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
|
|
3836
3896
|
tags: Array<RouteDetailsTag>;
|
|
@@ -3863,22 +3923,24 @@ export type RouteDetailsAlternativeStation = {
|
|
|
3863
3923
|
speed: StationSpeedType;
|
|
3864
3924
|
/** Status of a station. */
|
|
3865
3925
|
status: ChargerStatus;
|
|
3866
|
-
/**
|
|
3926
|
+
/** 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. */
|
|
3867
3927
|
operator_ranking?: Maybe<OperatorRankingLevel>;
|
|
3928
|
+
/** ID of the station's operator. */
|
|
3929
|
+
operator_id?: Maybe<Scalars["ID"]>;
|
|
3868
3930
|
};
|
|
3869
3931
|
|
|
3870
3932
|
/** Aggregation of all durations of a route. */
|
|
3871
3933
|
export type RouteDetailsDurations = {
|
|
3872
3934
|
/** Total duration, in seconds. */
|
|
3873
3935
|
total: Scalars["Int"];
|
|
3874
|
-
/** Total duration
|
|
3936
|
+
/** Total charging duration, in seconds. */
|
|
3875
3937
|
charging: Scalars["Int"];
|
|
3876
|
-
/** Total duration
|
|
3938
|
+
/** Total driving duration, in seconds. */
|
|
3877
3939
|
driving: Scalars["Int"];
|
|
3878
|
-
/** Total duration
|
|
3940
|
+
/** Total stop duration, excluding charge stops, in seconds. */
|
|
3879
3941
|
stopover: Scalars["Int"];
|
|
3880
|
-
/** Total
|
|
3881
|
-
ferry
|
|
3942
|
+
/** Total ferry duration, in seconds. */
|
|
3943
|
+
ferry: Scalars["Int"];
|
|
3882
3944
|
};
|
|
3883
3945
|
|
|
3884
3946
|
export type RouteDetailsElevation = {
|
|
@@ -3933,21 +3995,21 @@ export type RouteDetailsLeg = {
|
|
|
3933
3995
|
distance: Scalars["Float"];
|
|
3934
3996
|
/** Aggregation of all durations of a route leg. */
|
|
3935
3997
|
durations: RouteDetailsDurations;
|
|
3936
|
-
/** Total energy used in a leg in kilowatt hours. */
|
|
3937
|
-
consumption
|
|
3998
|
+
/** Total energy used in a leg in kilowatt hours. For HEVs and PHEVs this field will return null. */
|
|
3999
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
3938
4000
|
/** Origin point location. */
|
|
3939
4001
|
origin: RouteDetailsLegFeaturePoint;
|
|
3940
4002
|
/** Destination point location. */
|
|
3941
4003
|
destination: RouteDetailsLegFeaturePoint;
|
|
3942
|
-
/** Range at the
|
|
3943
|
-
range_at_origin
|
|
3944
|
-
/** Range at the
|
|
3945
|
-
range_at_destination
|
|
3946
|
-
/** Range after charging on the leg. */
|
|
4004
|
+
/** 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. */
|
|
4005
|
+
range_at_origin?: Maybe<Scalars["Float"]>;
|
|
4006
|
+
/** 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. */
|
|
4007
|
+
range_at_destination?: Maybe<Scalars["Float"]>;
|
|
4008
|
+
/** 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. */
|
|
3947
4009
|
range_after_charge?: Maybe<Scalars["Float"]>;
|
|
3948
4010
|
/** Type of a leg. */
|
|
3949
4011
|
type: RouteDetailsLegType;
|
|
3950
|
-
/** Information about the station at the
|
|
4012
|
+
/** Information about the station at the destination of a leg. */
|
|
3951
4013
|
station?: Maybe<RouteDetailsLegStation>;
|
|
3952
4014
|
/** Polyline containing encoded coordinates. */
|
|
3953
4015
|
polyline: Scalars["String"];
|
|
@@ -4033,7 +4095,7 @@ export type RouteDetailsLegFeaturePropertiestotal_cargo_weightArgs = {
|
|
|
4033
4095
|
export type RouteDetailsLegManeuverPoints = {
|
|
4034
4096
|
/** Number of polyline points which are included in this instruction. */
|
|
4035
4097
|
size: Scalars["Int"];
|
|
4036
|
-
/** Interval of points
|
|
4098
|
+
/** 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. */
|
|
4037
4099
|
interval: Array<Scalars["Int"]>;
|
|
4038
4100
|
};
|
|
4039
4101
|
|
|
@@ -4073,13 +4135,13 @@ export type RouteDetailsLegSection = {
|
|
|
4073
4135
|
/** Aggregation of tags over the current section. */
|
|
4074
4136
|
tags: Array<RouteDetailsTag>;
|
|
4075
4137
|
/** Polyline containing encoded coordinates. */
|
|
4076
|
-
polyline
|
|
4138
|
+
polyline: Scalars["String"];
|
|
4077
4139
|
/** Distance from the start to the end of a section. */
|
|
4078
4140
|
distance: Scalars["Float"];
|
|
4079
4141
|
/** Total duration of a section, in seconds. The value will be 0 for walking sections. */
|
|
4080
4142
|
duration: Scalars["Float"];
|
|
4081
4143
|
/** Total energy used in a section in kilowatt-hours. The value will be 0 for walking sections. */
|
|
4082
|
-
consumption
|
|
4144
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
4083
4145
|
};
|
|
4084
4146
|
|
|
4085
4147
|
export type RouteDetailsLegSectionpolylineArgs = {
|
|
@@ -4136,11 +4198,17 @@ export type RouteDetailsLegStation = {
|
|
|
4136
4198
|
|
|
4137
4199
|
/** Type of a leg. */
|
|
4138
4200
|
export enum RouteDetailsLegType {
|
|
4201
|
+
/** This leg ends at a charging station and the vehicle must recharge. */
|
|
4139
4202
|
STATION = "station",
|
|
4203
|
+
/** This leg ends at a via charging station and the vehicle must recharge. */
|
|
4140
4204
|
STATION_VIA = "station_via",
|
|
4205
|
+
/** This leg ends at the destination which is a charging station, and is the last leg of the route. */
|
|
4141
4206
|
STATION_FINAL = "station_final",
|
|
4207
|
+
/** This leg ends at a scheduled charging station and the vehicle must recharge. */
|
|
4142
4208
|
STATION_AMENITY = "station_amenity",
|
|
4209
|
+
/** This leg ends at a via location. */
|
|
4143
4210
|
VIA = "via",
|
|
4211
|
+
/** This leg ends at the destination, and is the last leg of the route. */
|
|
4144
4212
|
FINAL = "final"
|
|
4145
4213
|
}
|
|
4146
4214
|
|
|
@@ -4148,8 +4216,8 @@ export type RouteDetailsManeuver = {
|
|
|
4148
4216
|
/** Type of instruction. */
|
|
4149
4217
|
type: RouteDetailsLegManeuverType;
|
|
4150
4218
|
/** Location of the maneuver. */
|
|
4151
|
-
location
|
|
4152
|
-
/** Name of the street
|
|
4219
|
+
location: RouteDetailsLegSectionFeaturePoint;
|
|
4220
|
+
/** Name of the street associated with the instruction. */
|
|
4153
4221
|
name?: Maybe<Scalars["String"]>;
|
|
4154
4222
|
/** Distance, in meters, of a route instruction. */
|
|
4155
4223
|
distance: Scalars["Float"];
|
|
@@ -4162,7 +4230,7 @@ export type RouteDetailsManeuver = {
|
|
|
4162
4230
|
/** 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`. */
|
|
4163
4231
|
turn_angle?: Maybe<Scalars["Float"]>;
|
|
4164
4232
|
/** Aggregation of tags over the current maneuver. */
|
|
4165
|
-
tags
|
|
4233
|
+
tags: Array<RouteDetailsTag>;
|
|
4166
4234
|
};
|
|
4167
4235
|
|
|
4168
4236
|
export type RouteDetailsManeuverdistanceArgs = {
|
|
@@ -4172,17 +4240,20 @@ export type RouteDetailsManeuverdistanceArgs = {
|
|
|
4172
4240
|
export type RouteDetailsPathSegment = {
|
|
4173
4241
|
/** Elevation value of a route path segment. */
|
|
4174
4242
|
elevation: Scalars["Float"];
|
|
4175
|
-
/** Average speed of a route path segment. */
|
|
4243
|
+
/** Average speed of a route path segment. This value is determined using legal maximum speed and, if provided, the user defined maximum speed. */
|
|
4176
4244
|
average_speed: Scalars["Float"];
|
|
4177
|
-
/** Consumption, in kilowatt hours, of a route path segment. */
|
|
4178
|
-
consumption
|
|
4245
|
+
/** Consumption, in kilowatt hours, of a route path segment. For HEVs and PHEVs this field will return null. */
|
|
4246
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
4179
4247
|
/** Distance of a route path segment. */
|
|
4180
4248
|
distance: Scalars["Float"];
|
|
4181
4249
|
/** Duration, in seconds, of a route path segment. */
|
|
4182
4250
|
duration: Scalars["Float"];
|
|
4183
|
-
/** State of charge, in kilowatt hours, of a route path segment. */
|
|
4251
|
+
/** State of charge, in kilowatt hours, of a route path segment. For HEVs and PHEVs this field will return null. */
|
|
4184
4252
|
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
4185
|
-
/**
|
|
4253
|
+
/**
|
|
4254
|
+
* Maximum vehicle speed of a route path segment.
|
|
4255
|
+
* @deprecated Will be removed in the future.
|
|
4256
|
+
*/
|
|
4186
4257
|
maximum_speed: Scalars["Float"];
|
|
4187
4258
|
};
|
|
4188
4259
|
|
|
@@ -4619,14 +4690,14 @@ export type RouteLegOperationalElectricityEmissionsIntensity = {
|
|
|
4619
4690
|
energy_sources: RouteOperationalElectricityEnergySources;
|
|
4620
4691
|
/** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
|
|
4621
4692
|
infrastructure: Scalars["Float"];
|
|
4622
|
-
/** Estimated electricity demand at the time and place the electricity for this leg was obtained as a fraction of the annual average demand. */
|
|
4623
|
-
average_demand: Scalars["Float"];
|
|
4624
|
-
/** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
|
|
4625
|
-
base_load_fraction: Scalars["Float"];
|
|
4626
4693
|
/** Season for which the leg was calculated. */
|
|
4627
4694
|
season: RouteOperationalElectricitySeason;
|
|
4628
4695
|
/** Climate for which the leg was calculated. */
|
|
4629
4696
|
climate: RouteOperationalElectricityClimate;
|
|
4697
|
+
/** Estimated electricity demand at the time and place the electricity for this leg was obtained as a fraction of the annual average demand. */
|
|
4698
|
+
average_demand: Scalars["Float"];
|
|
4699
|
+
/** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
|
|
4700
|
+
base_load_fraction: Scalars["Float"];
|
|
4630
4701
|
};
|
|
4631
4702
|
|
|
4632
4703
|
/** Electricity emission intensity for a leg */
|
|
@@ -5000,7 +5071,7 @@ export type RouteOperationalMaintenanceEmissionsFielddisposalArgs = {
|
|
|
5000
5071
|
export type RouteOperatorPreferences = {
|
|
5001
5072
|
/** Ranking of an operator with multiple levels, each level having its own penalty value. */
|
|
5002
5073
|
ranking?: Maybe<RouteOperatorPreferencesRanking>;
|
|
5003
|
-
/**
|
|
5074
|
+
/** Operators that should be excluded for a route calculation. */
|
|
5004
5075
|
exclude?: Maybe<Array<RouteOperatorsValue>>;
|
|
5005
5076
|
};
|
|
5006
5077
|
|
|
@@ -5008,7 +5079,7 @@ export type RouteOperatorPreferences = {
|
|
|
5008
5079
|
export type RouteOperatorPreferencesInput = {
|
|
5009
5080
|
/** Ranking of an operator with multiple levels, each level having its own penalty value. */
|
|
5010
5081
|
ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
|
|
5011
|
-
/**
|
|
5082
|
+
/** Operators that should be excluded for a route calculation. */
|
|
5012
5083
|
exclude?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
5013
5084
|
};
|
|
5014
5085
|
|
|
@@ -5040,7 +5111,7 @@ export type RouteOperatorPreferencesRankingLevelsInput = {
|
|
|
5040
5111
|
low?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
5041
5112
|
/** Medium level for operator ranking. */
|
|
5042
5113
|
medium?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
5043
|
-
/** Most significant level
|
|
5114
|
+
/** Most significant level for operator ranking. */
|
|
5044
5115
|
high?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
5045
5116
|
};
|
|
5046
5117
|
|
|
@@ -5219,9 +5290,9 @@ export type RoutePropertiesStationInput = {
|
|
|
5219
5290
|
|
|
5220
5291
|
export type RoutePropertiesVehicle = {
|
|
5221
5292
|
/** Number of occupants present in the vehicle. */
|
|
5222
|
-
occupants
|
|
5293
|
+
occupants: Scalars["Int"];
|
|
5223
5294
|
/** Combined weight of the occupants. This can only be used in combination with occupants. */
|
|
5224
|
-
total_occupant_weight
|
|
5295
|
+
total_occupant_weight: TotalOccupantWeight;
|
|
5225
5296
|
/** Weight of the cargo. */
|
|
5226
5297
|
total_cargo_weight?: Maybe<TotalCargoWeight>;
|
|
5227
5298
|
};
|
|
@@ -5348,26 +5419,26 @@ export type RouteVehicle = {
|
|
|
5348
5419
|
/** ID of the vehicle. */
|
|
5349
5420
|
id: Scalars["ID"];
|
|
5350
5421
|
/** EV battery specific configuration. */
|
|
5351
|
-
battery
|
|
5422
|
+
battery: RouteVehicleBattery;
|
|
5352
5423
|
/** Charging configuration. */
|
|
5353
|
-
charging
|
|
5354
|
-
/**
|
|
5355
|
-
tire_pressure
|
|
5424
|
+
charging: RouteVehicleCharging;
|
|
5425
|
+
/** Tire pressures of all wheels, ordered from front right to front left, then rear left to rear right. */
|
|
5426
|
+
tire_pressure: TirePressure;
|
|
5356
5427
|
/** Value of the vehicle's odometer. */
|
|
5357
5428
|
odometer?: Maybe<Odometer>;
|
|
5358
5429
|
/** Value of the auxiliary power consumption of the vehicle. */
|
|
5359
|
-
auxiliary_consumption
|
|
5360
|
-
/** Flag
|
|
5361
|
-
climate
|
|
5430
|
+
auxiliary_consumption: AuxiliaryConsumption;
|
|
5431
|
+
/** Flag indicating if climate control is on. */
|
|
5432
|
+
climate: Scalars["Boolean"];
|
|
5362
5433
|
/** Vehicle Heat Pump configuration. */
|
|
5363
5434
|
heat_pump: HeatPumpMode;
|
|
5364
|
-
/** Vehicle cabin configuration. */
|
|
5435
|
+
/** Vehicle cabin configuration used for the route calculation. Applied only if vehicle.climate is set to true. */
|
|
5365
5436
|
cabin: RouteVehicleCabin;
|
|
5366
5437
|
/** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
|
|
5367
5438
|
motor_rpm?: Maybe<Scalars["Int"]>;
|
|
5368
5439
|
/** Value of the outside temperature. */
|
|
5369
5440
|
outside_temperature?: Maybe<OutsideTemperature>;
|
|
5370
|
-
/** Flag
|
|
5441
|
+
/** Flag indicating if a vehicle is in park, neutral, or turned off. */
|
|
5371
5442
|
is_parked?: Maybe<Scalars["Boolean"]>;
|
|
5372
5443
|
/** Value of the vehicle's speed. */
|
|
5373
5444
|
vehicle_speed?: Maybe<VehicleSpeed>;
|
|
@@ -5376,11 +5447,11 @@ export type RouteVehicle = {
|
|
|
5376
5447
|
};
|
|
5377
5448
|
|
|
5378
5449
|
export type RouteVehicleBattery = {
|
|
5379
|
-
/**
|
|
5450
|
+
/** 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. */
|
|
5380
5451
|
capacity: StateOfCharge;
|
|
5381
|
-
/**
|
|
5452
|
+
/** 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. */
|
|
5382
5453
|
state_of_charge: StateOfCharge;
|
|
5383
|
-
/**
|
|
5454
|
+
/** 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. */
|
|
5384
5455
|
final_state_of_charge: StateOfCharge;
|
|
5385
5456
|
/** Temperature of the battery. */
|
|
5386
5457
|
temperature?: Maybe<Temperature>;
|
|
@@ -5390,17 +5461,17 @@ export type RouteVehicleBattery = {
|
|
|
5390
5461
|
voltage?: Maybe<Scalars["Float"]>;
|
|
5391
5462
|
/** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
|
|
5392
5463
|
power?: Maybe<Scalars["Float"]>;
|
|
5393
|
-
/** Flag
|
|
5464
|
+
/** Flag indicating if the vehicle is charging. */
|
|
5394
5465
|
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
5395
5466
|
};
|
|
5396
5467
|
|
|
5397
5468
|
/** EV battery specific configuration for a create route mutation. */
|
|
5398
5469
|
export type RouteVehicleBatteryInput = {
|
|
5399
|
-
/**
|
|
5470
|
+
/** 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. */
|
|
5400
5471
|
capacity?: Maybe<StateOfChargeInput>;
|
|
5401
|
-
/**
|
|
5472
|
+
/** 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. */
|
|
5402
5473
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
5403
|
-
/**
|
|
5474
|
+
/** 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. */
|
|
5404
5475
|
final_state_of_charge?: Maybe<StateOfChargeInput>;
|
|
5405
5476
|
/** Battery temperature. */
|
|
5406
5477
|
temperature?: Maybe<TemperatureInput>;
|
|
@@ -5410,19 +5481,19 @@ export type RouteVehicleBatteryInput = {
|
|
|
5410
5481
|
voltage?: Maybe<Scalars["Float"]>;
|
|
5411
5482
|
/** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
|
|
5412
5483
|
power?: Maybe<Scalars["Float"]>;
|
|
5413
|
-
/** Flag
|
|
5484
|
+
/** Flag indicating if the vehicle is charging. */
|
|
5414
5485
|
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
5415
5486
|
};
|
|
5416
5487
|
|
|
5417
5488
|
export type RouteVehicleCabin = {
|
|
5418
|
-
/** Flag
|
|
5489
|
+
/** Flag indicating if the vehicle cabin was preconditioned for the desired temperature. */
|
|
5419
5490
|
is_preconditioned: Scalars["Boolean"];
|
|
5420
5491
|
/** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
|
|
5421
5492
|
desired_temperature: Temperature;
|
|
5422
5493
|
};
|
|
5423
5494
|
|
|
5424
5495
|
export type RouteVehicleCabinInput = {
|
|
5425
|
-
/** Flag
|
|
5496
|
+
/** Flag indicating if the vehicle cabin was preconditioned for the desired temperature. */
|
|
5426
5497
|
is_preconditioned?: Maybe<Scalars["Boolean"]>;
|
|
5427
5498
|
/** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
|
|
5428
5499
|
desired_temperature?: Maybe<TemperatureInput>;
|
|
@@ -5433,18 +5504,18 @@ export type RouteVehicleCharging = {
|
|
|
5433
5504
|
mode: ChargeMode;
|
|
5434
5505
|
/** Minimum desired power of chargers, in kWh. */
|
|
5435
5506
|
minimum_power: Scalars["Float"];
|
|
5436
|
-
/**
|
|
5507
|
+
/** 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. */
|
|
5437
5508
|
risk_margin: Scalars["Int"];
|
|
5438
|
-
/** Supported connectors. */
|
|
5439
|
-
connectors
|
|
5440
|
-
/** Supported adapters. */
|
|
5441
|
-
adapters
|
|
5509
|
+
/** Supported connectors. If not specified, it defaults to the vehicle's connectors. */
|
|
5510
|
+
connectors: Array<RouteVehicleChargingConnector>;
|
|
5511
|
+
/** Supported adapters. If not specified, adapters will not be considered. */
|
|
5512
|
+
adapters: Array<RouteVehicleChargingConnector>;
|
|
5442
5513
|
};
|
|
5443
5514
|
|
|
5444
5515
|
export type RouteVehicleChargingConnector = {
|
|
5445
5516
|
/** Type of the plug. */
|
|
5446
5517
|
standard: ConnectorType;
|
|
5447
|
-
/** Maximum charging speed for
|
|
5518
|
+
/** Maximum charging speed for this plug. */
|
|
5448
5519
|
maximum_charge_speed: ChargeSpeed;
|
|
5449
5520
|
};
|
|
5450
5521
|
|
|
@@ -5460,11 +5531,11 @@ export type RouteVehicleChargingInput = {
|
|
|
5460
5531
|
mode?: Maybe<ChargeMode>;
|
|
5461
5532
|
/** Minimum desired power of chargers, in kWh. */
|
|
5462
5533
|
minimum_power?: Maybe<Scalars["Float"]>;
|
|
5463
|
-
/**
|
|
5534
|
+
/** 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. */
|
|
5464
5535
|
risk_margin?: Maybe<Scalars["Int"]>;
|
|
5465
|
-
/** Supported connectors. */
|
|
5536
|
+
/** Supported connectors. If not specified, it defaults to the vehicle's connectors. */
|
|
5466
5537
|
connectors?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
|
|
5467
|
-
/** Supported adapters. */
|
|
5538
|
+
/** Supported adapters. If not specified, adapters will not be considered. */
|
|
5468
5539
|
adapters?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
|
|
5469
5540
|
};
|
|
5470
5541
|
|
|
@@ -5499,23 +5570,23 @@ export type RouteVehicleInput = {
|
|
|
5499
5570
|
battery?: Maybe<RouteVehicleBatteryInput>;
|
|
5500
5571
|
/** Charging configuration. */
|
|
5501
5572
|
charging?: Maybe<RouteVehicleChargingInput>;
|
|
5502
|
-
/**
|
|
5573
|
+
/** Tire pressures of all wheels, ordered from front right to front left, then rear left to rear right. */
|
|
5503
5574
|
tire_pressure?: Maybe<TirePressureInput>;
|
|
5504
5575
|
/** Odometer (mileage) reading. */
|
|
5505
5576
|
odometer?: Maybe<OdometerInput>;
|
|
5506
5577
|
/** Average auxiliary power consumption. */
|
|
5507
5578
|
auxiliary_consumption?: Maybe<AuxiliaryConsumptionInput>;
|
|
5508
|
-
/** Flag
|
|
5579
|
+
/** Flag indicating if climate control is on. */
|
|
5509
5580
|
climate?: Maybe<Scalars["Boolean"]>;
|
|
5510
5581
|
/** Vehicle Heat Pump configuration. */
|
|
5511
5582
|
heat_pump?: Maybe<HeatPumpMode>;
|
|
5512
|
-
/** Vehicle cabin configuration for
|
|
5583
|
+
/** Vehicle cabin configuration used for the route calculation. Applied only if vehicle.climate is set to true. */
|
|
5513
5584
|
cabin?: Maybe<RouteVehicleCabinInput>;
|
|
5514
5585
|
/** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
|
|
5515
5586
|
motor_rpm?: Maybe<Scalars["Int"]>;
|
|
5516
5587
|
/** Outside temperature. */
|
|
5517
5588
|
outside_temperature?: Maybe<OutsideTemperatureInput>;
|
|
5518
|
-
/** Flag
|
|
5589
|
+
/** Flag indicating if a vehicle is in park, neutral, or turned off. */
|
|
5519
5590
|
is_parked?: Maybe<Scalars["Boolean"]>;
|
|
5520
5591
|
/** Vehicle speed. */
|
|
5521
5592
|
vehicle_speed?: Maybe<VehicleSpeedInput>;
|
|
@@ -5644,16 +5715,16 @@ export enum SpeedUnit {
|
|
|
5644
5715
|
export type StateOfCharge = {
|
|
5645
5716
|
/** Value of the state of charge of the vehicle. */
|
|
5646
5717
|
value: Scalars["Float"];
|
|
5647
|
-
/**
|
|
5718
|
+
/** Preferred unit for the vehicle's state of charge. */
|
|
5648
5719
|
type: StateOfChargeUnit;
|
|
5649
5720
|
/** Source of inputted data. */
|
|
5650
5721
|
source: TelemetryInputSource;
|
|
5651
5722
|
};
|
|
5652
5723
|
|
|
5653
5724
|
export type StateOfChargeInput = {
|
|
5654
|
-
/** Value of the state of charge
|
|
5725
|
+
/** Value of the vehicle's state of charge. */
|
|
5655
5726
|
value: Scalars["Float"];
|
|
5656
|
-
/**
|
|
5727
|
+
/** Preferred unit for the vehicle's state of charge. */
|
|
5657
5728
|
type: StateOfChargeUnit;
|
|
5658
5729
|
/** Source of inputted data, defaults to 'manual'. */
|
|
5659
5730
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -6077,23 +6148,23 @@ export enum StepType {
|
|
|
6077
6148
|
}
|
|
6078
6149
|
|
|
6079
6150
|
export type Subscription = {
|
|
6151
|
+
/** Deprecated: In favor of route. */
|
|
6152
|
+
routeUpdatedById?: Maybe<Route>;
|
|
6153
|
+
/** Subscribe to a specific route to receive system event updates. */
|
|
6154
|
+
route: RouteResponse;
|
|
6155
|
+
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
6156
|
+
navigationUpdatedById?: Maybe<Navigation>;
|
|
6080
6157
|
/** [BETA] Subscribe to a connected vehicle. */
|
|
6081
6158
|
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
6082
6159
|
/** Subscribe to an isoline in order to receive updates. */
|
|
6083
6160
|
isoline?: Maybe<Isoline>;
|
|
6084
|
-
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
6085
|
-
navigationUpdatedById?: Maybe<Navigation>;
|
|
6086
|
-
/** Subscription for a specific route was updated in the system event */
|
|
6087
|
-
routeUpdatedById?: Maybe<Route>;
|
|
6088
|
-
/** [BETA] Subscription for a specific route was updated in the system event */
|
|
6089
|
-
route: RouteResponse;
|
|
6090
6161
|
};
|
|
6091
6162
|
|
|
6092
|
-
export type
|
|
6163
|
+
export type SubscriptionrouteUpdatedByIdArgs = {
|
|
6093
6164
|
id: Scalars["ID"];
|
|
6094
6165
|
};
|
|
6095
6166
|
|
|
6096
|
-
export type
|
|
6167
|
+
export type SubscriptionrouteArgs = {
|
|
6097
6168
|
id: Scalars["ID"];
|
|
6098
6169
|
};
|
|
6099
6170
|
|
|
@@ -6101,11 +6172,11 @@ export type SubscriptionnavigationUpdatedByIdArgs = {
|
|
|
6101
6172
|
id: Scalars["ID"];
|
|
6102
6173
|
};
|
|
6103
6174
|
|
|
6104
|
-
export type
|
|
6175
|
+
export type SubscriptionconnectedVehicleArgs = {
|
|
6105
6176
|
id: Scalars["ID"];
|
|
6106
6177
|
};
|
|
6107
6178
|
|
|
6108
|
-
export type
|
|
6179
|
+
export type SubscriptionisolineArgs = {
|
|
6109
6180
|
id: Scalars["ID"];
|
|
6110
6181
|
};
|
|
6111
6182
|
|
|
@@ -6268,14 +6339,14 @@ export enum TelemetryInputSource {
|
|
|
6268
6339
|
export type Temperature = {
|
|
6269
6340
|
/** Value of the temperature. */
|
|
6270
6341
|
value: Scalars["Float"];
|
|
6271
|
-
/**
|
|
6342
|
+
/** Preferred unit for the temperature. */
|
|
6272
6343
|
type: TemperatureUnit;
|
|
6273
6344
|
};
|
|
6274
6345
|
|
|
6275
6346
|
export type TemperatureInput = {
|
|
6276
6347
|
/** Value of the temperature. */
|
|
6277
6348
|
value: Scalars["Float"];
|
|
6278
|
-
/**
|
|
6349
|
+
/** Preferred unit for the temperature. */
|
|
6279
6350
|
type: TemperatureUnit;
|
|
6280
6351
|
};
|
|
6281
6352
|
|
|
@@ -6288,18 +6359,18 @@ export enum TemperatureUnit {
|
|
|
6288
6359
|
}
|
|
6289
6360
|
|
|
6290
6361
|
export type TirePressure = {
|
|
6291
|
-
/** Values for the tire pressure,
|
|
6362
|
+
/** Values for the tire pressure, ordered from front right to front left, then rear left to rear right. */
|
|
6292
6363
|
value: Array<Scalars["Float"]>;
|
|
6293
|
-
/**
|
|
6364
|
+
/** Preferred unit for the tire pressure. */
|
|
6294
6365
|
type: PressureUnit;
|
|
6295
6366
|
/** Source of inputted data. */
|
|
6296
6367
|
source: TelemetryInputSource;
|
|
6297
6368
|
};
|
|
6298
6369
|
|
|
6299
6370
|
export type TirePressureInput = {
|
|
6300
|
-
/** Values for the tire pressure,
|
|
6371
|
+
/** Values for the tire pressure, ordered from front right to front left, then rear left to rear right. */
|
|
6301
6372
|
value: Array<Scalars["Float"]>;
|
|
6302
|
-
/**
|
|
6373
|
+
/** Preferred unit for the tire pressure. */
|
|
6303
6374
|
type: PressureUnit;
|
|
6304
6375
|
/** Source of inputted data, defaults to 'manual'. */
|
|
6305
6376
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -6315,7 +6386,7 @@ export enum TorqueUnit {
|
|
|
6315
6386
|
export type TotalCargoWeight = {
|
|
6316
6387
|
/** Value of the current weight of the cargo. */
|
|
6317
6388
|
value: Scalars["Float"];
|
|
6318
|
-
/**
|
|
6389
|
+
/** Preferred unit for the current weight of the cargo. */
|
|
6319
6390
|
type: WeightUnit;
|
|
6320
6391
|
/** Source of inputted data. */
|
|
6321
6392
|
source: TelemetryInputSource;
|
|
@@ -6324,7 +6395,7 @@ export type TotalCargoWeight = {
|
|
|
6324
6395
|
export type TotalCargoWeightInput = {
|
|
6325
6396
|
/** Value of the current weight of the cargo. */
|
|
6326
6397
|
value: Scalars["Float"];
|
|
6327
|
-
/**
|
|
6398
|
+
/** Preferred unit for the current weight of the cargo. */
|
|
6328
6399
|
type: WeightUnit;
|
|
6329
6400
|
/** Source of inputted data, defaults to 'manual'. */
|
|
6330
6401
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -6333,7 +6404,7 @@ export type TotalCargoWeightInput = {
|
|
|
6333
6404
|
export type TotalOccupantWeight = {
|
|
6334
6405
|
/** Value of the combined weight of the occupants. */
|
|
6335
6406
|
value: Scalars["Float"];
|
|
6336
|
-
/**
|
|
6407
|
+
/** Preferred unit for the current weight of the occupants. */
|
|
6337
6408
|
type: WeightUnit;
|
|
6338
6409
|
/** Source of inputted data. */
|
|
6339
6410
|
source: TelemetryInputSource;
|
|
@@ -6342,7 +6413,7 @@ export type TotalOccupantWeight = {
|
|
|
6342
6413
|
export type TotalOccupantWeightInput = {
|
|
6343
6414
|
/** Value of the combined weight of the occupants. */
|
|
6344
6415
|
value: Scalars["Float"];
|
|
6345
|
-
/**
|
|
6416
|
+
/** Preferred unit for the current weight of the occupants. */
|
|
6346
6417
|
type: WeightUnit;
|
|
6347
6418
|
/** Source of inputted data, defaults to 'manual'. */
|
|
6348
6419
|
source?: Maybe<TelemetryInputSource>;
|
|
@@ -7758,16 +7829,16 @@ export type VehicleRouting = {
|
|
|
7758
7829
|
export type VehicleSpeed = {
|
|
7759
7830
|
/** Value of the vehicle speed. */
|
|
7760
7831
|
value: Scalars["Float"];
|
|
7761
|
-
/**
|
|
7832
|
+
/** Preferred unit for the vehicle's speed. */
|
|
7762
7833
|
type: SpeedUnit;
|
|
7763
7834
|
/** Source of inputted data. */
|
|
7764
7835
|
source: TelemetryInputSource;
|
|
7765
7836
|
};
|
|
7766
7837
|
|
|
7767
7838
|
export type VehicleSpeedInput = {
|
|
7768
|
-
/** Value of the vehicle speed. */
|
|
7839
|
+
/** Value of the vehicle's speed. */
|
|
7769
7840
|
value: Scalars["Float"];
|
|
7770
|
-
/**
|
|
7841
|
+
/** Preferred unit for the vehicle's speed. */
|
|
7771
7842
|
type: SpeedUnit;
|
|
7772
7843
|
/** Source of inputted data, defaults to 'manual'. */
|
|
7773
7844
|
source?: Maybe<TelemetryInputSource>;
|