@chargetrip/types 1.46.2 → 1.47.1
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 +57 -11
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +57 -11
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +334 -71
- package/graphql.schema.json +1738 -715
- package/package.json +1 -1
- package/src/graphql.ts +365 -73
package/dist/ts/graphql.d.ts
CHANGED
|
@@ -100,6 +100,21 @@ export declare enum AdhocAuthorisationMethod {
|
|
|
100
100
|
QR_CODE = "QR_CODE",
|
|
101
101
|
SMS = "SMS"
|
|
102
102
|
}
|
|
103
|
+
export declare type AirPressure = {
|
|
104
|
+
/** Value of the atmospheric pressure. */
|
|
105
|
+
value: Scalars["Float"];
|
|
106
|
+
/** Atmospheric pressure unit. */
|
|
107
|
+
type: AirPressureUnit;
|
|
108
|
+
};
|
|
109
|
+
export declare type AirPressureInput = {
|
|
110
|
+
/** Value of the atmospheric pressure. */
|
|
111
|
+
value: Scalars["Float"];
|
|
112
|
+
/** Atmospheric pressure unit. */
|
|
113
|
+
type: AirPressureUnit;
|
|
114
|
+
};
|
|
115
|
+
export declare enum AirPressureUnit {
|
|
116
|
+
MILLIBAR = "millibar"
|
|
117
|
+
}
|
|
103
118
|
export declare type AlternativeStationRadius = {
|
|
104
119
|
/** Value of the alternative station radius. */
|
|
105
120
|
value: Scalars["Float"];
|
|
@@ -116,7 +131,7 @@ export declare type AlternativeStationRadiusInput = {
|
|
|
116
131
|
/** Source of inputted data. */
|
|
117
132
|
source?: Maybe<TelemetryInputSource>;
|
|
118
133
|
};
|
|
119
|
-
/** Amenities available near a station */
|
|
134
|
+
/** Amenities available near a station. */
|
|
120
135
|
export declare enum Amenities {
|
|
121
136
|
PARK = "park",
|
|
122
137
|
RESTAURANT = "restaurant",
|
|
@@ -129,30 +144,90 @@ export declare enum Amenities {
|
|
|
129
144
|
PLAYGROUND = "playground",
|
|
130
145
|
PHARMACY = "pharmacy"
|
|
131
146
|
}
|
|
132
|
-
/**
|
|
147
|
+
/** Amenity data. */
|
|
133
148
|
export declare type Amenity = {
|
|
134
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* Unique amenity ID.
|
|
151
|
+
* @deprecated Will be removed in the future.
|
|
152
|
+
*/
|
|
135
153
|
id?: Maybe<Scalars["ID"]>;
|
|
136
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* ID provided by an amenity data source as the row ID.
|
|
156
|
+
* @deprecated In favor of external_id.
|
|
157
|
+
*/
|
|
137
158
|
externalId?: Maybe<Scalars["String"]>;
|
|
138
|
-
/**
|
|
159
|
+
/** ID provided by an amenity data source as the row ID. */
|
|
160
|
+
external_id: Scalars["String"];
|
|
161
|
+
/** Name of the amenity. */
|
|
139
162
|
name?: Maybe<Scalars["String"]>;
|
|
140
|
-
/** Geo location coordinates. This is a GeoJSON Point */
|
|
141
|
-
location
|
|
142
|
-
/**
|
|
163
|
+
/** Geo location coordinates. This is a GeoJSON Point. */
|
|
164
|
+
location: Point;
|
|
165
|
+
/** Address of the amenity. */
|
|
143
166
|
address?: Maybe<Address>;
|
|
144
|
-
/** Type of amenity. An amenity can belong to multiple categories */
|
|
145
|
-
type
|
|
146
|
-
/**
|
|
147
|
-
|
|
148
|
-
|
|
167
|
+
/** Type of amenity. An amenity can belong to multiple categories. */
|
|
168
|
+
type: Array<Maybe<Scalars["String"]>>;
|
|
169
|
+
/**
|
|
170
|
+
* Computed distance between station and amenity.
|
|
171
|
+
* @deprecated In favor of station_distance.
|
|
172
|
+
*/
|
|
149
173
|
distance?: Maybe<Scalars["Int"]>;
|
|
150
|
-
/**
|
|
174
|
+
/** Computed distance between station and amenity. */
|
|
175
|
+
station_distance: Scalars["Float"];
|
|
176
|
+
/**
|
|
177
|
+
* Full path URL to amenity foursquare page.
|
|
178
|
+
* @deprecated Will be removed in the future.
|
|
179
|
+
*/
|
|
151
180
|
foursquareUrl?: Maybe<Scalars["String"]>;
|
|
152
|
-
/**
|
|
181
|
+
/** Opening hours of the amenity. */
|
|
182
|
+
opening_hours?: Maybe<AmenityOpeningHours>;
|
|
183
|
+
/** Indicates whether pets are allowed. This does not apply to assistance dogs, which may have legal access. */
|
|
184
|
+
pets_allowed?: Maybe<Scalars["Boolean"]>;
|
|
185
|
+
/** Accessibility options at the amenity. */
|
|
186
|
+
accessibility?: Maybe<AmenityAccessibility>;
|
|
187
|
+
/** Contact information for the amenity. */
|
|
188
|
+
contact?: Maybe<AmenityContact>;
|
|
189
|
+
/** Rating of an amenity, the value will be between 0.0 and 10.0. If no rating has been given, the value will be set to null. */
|
|
190
|
+
rating?: Maybe<Scalars["Float"]>;
|
|
191
|
+
/**
|
|
192
|
+
* Date and time when an amenity was created.
|
|
193
|
+
* @deprecated Will be removed in the future.
|
|
194
|
+
*/
|
|
153
195
|
createdAt?: Maybe<Scalars["String"]>;
|
|
154
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* Date and time when an amenity was last updated.
|
|
198
|
+
* @deprecated In favor of last_updated.
|
|
199
|
+
*/
|
|
155
200
|
updatedAt?: Maybe<Scalars["String"]>;
|
|
201
|
+
/** Date and time when an amenity was last updated. */
|
|
202
|
+
last_updated: Scalars["DateTime"];
|
|
203
|
+
};
|
|
204
|
+
/** Amenity data. */
|
|
205
|
+
export declare type Amenitystation_distanceArgs = {
|
|
206
|
+
unit?: Maybe<DistanceUnit>;
|
|
207
|
+
};
|
|
208
|
+
/** Accessibility options at the amenity. */
|
|
209
|
+
export declare type AmenityAccessibility = {
|
|
210
|
+
/** Type of wheelchair accessibility at the amenity. */
|
|
211
|
+
wheelchair?: Maybe<AmenityWheelchairAccessibilityType>;
|
|
212
|
+
};
|
|
213
|
+
/** Contact information for the amenity. */
|
|
214
|
+
export declare type AmenityContact = {
|
|
215
|
+
/** Phone number to contact the amenity. */
|
|
216
|
+
phone?: Maybe<Scalars["String"]>;
|
|
217
|
+
/** Website of the amenity. */
|
|
218
|
+
website?: Maybe<Scalars["String"]>;
|
|
219
|
+
};
|
|
220
|
+
/** Filter that can be applied to retrieve the amenity list. */
|
|
221
|
+
export declare type AmenityListFilter = {
|
|
222
|
+
/** Type of amenity. An amenity can belong to multiple categories. */
|
|
223
|
+
type?: Maybe<Array<Amenities>>;
|
|
224
|
+
};
|
|
225
|
+
/** Opening and access hours of the location. */
|
|
226
|
+
export declare type AmenityOpeningHours = {
|
|
227
|
+
/** True to represent 24 hours a day and 7 days a week. */
|
|
228
|
+
twentyfourseven?: Maybe<Scalars["Boolean"]>;
|
|
229
|
+
/** Regular hours, weekday-based. Only to be used if twentyfourseven=false, then this field needs to contain at least one RegularHours object. */
|
|
230
|
+
regular_hours?: Maybe<Array<Maybe<AmenityRegularHours>>>;
|
|
156
231
|
};
|
|
157
232
|
/** Amenity preferences for a route. */
|
|
158
233
|
export declare type AmenityPreferencesInput = {
|
|
@@ -161,6 +236,15 @@ export declare type AmenityPreferencesInput = {
|
|
|
161
236
|
/** Scheduled charge stops, with a specified amenity and timeline. */
|
|
162
237
|
scheduled_charge_stops?: Maybe<Array<ScheduledChargeStopInput>>;
|
|
163
238
|
};
|
|
239
|
+
/** Regular hours, weekday-based. Only to be used if twentyfourseven=false, then this field needs to contain at least one RegularHours object. */
|
|
240
|
+
export declare type AmenityRegularHours = {
|
|
241
|
+
/** Number of days in the week, from Monday (1) till Sunday (7). */
|
|
242
|
+
weekday?: Maybe<Scalars["Int"]>;
|
|
243
|
+
/** Beginning of the regular period, in local time, given in hours and minutes. Must be in 24h format with leading zeros. Example: "18:15". Hour/Minute separator: ":" Regex: ([0-1][0-9]|2[1-3]):[0-5][0-9]. */
|
|
244
|
+
period_begin?: Maybe<Scalars["String"]>;
|
|
245
|
+
/** End of the regular period, in local time, syntax as for period_begin. Must be later than period_begin. */
|
|
246
|
+
period_end?: Maybe<Scalars["String"]>;
|
|
247
|
+
};
|
|
164
248
|
/** A list of amenity types. */
|
|
165
249
|
export declare enum AmenityType {
|
|
166
250
|
PARK = "park",
|
|
@@ -174,6 +258,17 @@ export declare enum AmenityType {
|
|
|
174
258
|
PLAYGROUND = "playground",
|
|
175
259
|
PHARMACY = "pharmacy"
|
|
176
260
|
}
|
|
261
|
+
/** Type of wheelchair accessibility at the amenity. */
|
|
262
|
+
export declare enum AmenityWheelchairAccessibilityType {
|
|
263
|
+
/** Wheelchairs have full unrestricted access. */
|
|
264
|
+
YES = "yes",
|
|
265
|
+
/** Wheelchairs have partial access (e.g some areas can be accessed and others not, areas requiring assistance by someone pushing up a steep gradient). */
|
|
266
|
+
LIMITED = "limited",
|
|
267
|
+
/** Wheelchairs have no unrestricted access (e.g. stair only access). */
|
|
268
|
+
NO = "no",
|
|
269
|
+
/** The amenity is designated or purpose-built for wheelchairs (e.g. bathroom designed for wheelchair access only). */
|
|
270
|
+
DESIGNATED = "designated"
|
|
271
|
+
}
|
|
177
272
|
export declare type AuthorizeConnectedVehicleInput = {
|
|
178
273
|
/** Id from the connected vehicle */
|
|
179
274
|
id: Scalars["ID"];
|
|
@@ -260,7 +355,6 @@ export declare type ChargeSpeedInput = {
|
|
|
260
355
|
/** Source of inputted data, defaults to 'manual'. */
|
|
261
356
|
source?: Maybe<TelemetryInputSource>;
|
|
262
357
|
};
|
|
263
|
-
/** Charge speed unit. */
|
|
264
358
|
export declare enum ChargeSpeedUnit {
|
|
265
359
|
/** Return the charge speed in kilowatt hours. */
|
|
266
360
|
KILOWATT_HOUR = "kilowatt_hour",
|
|
@@ -292,7 +386,6 @@ export declare type Charger = {
|
|
|
292
386
|
/** Total number of EVSEs grouped in a charger. */
|
|
293
387
|
total?: Maybe<Scalars["Int"]>;
|
|
294
388
|
};
|
|
295
|
-
/** Status of a charger. */
|
|
296
389
|
export declare enum ChargerStatus {
|
|
297
390
|
/** The charger is free. */
|
|
298
391
|
FREE = "free",
|
|
@@ -807,6 +900,7 @@ export declare type Contact = {
|
|
|
807
900
|
};
|
|
808
901
|
/** ISO-3166 alpha-2 country codes. */
|
|
809
902
|
export declare enum CountryCodeAlpha2 {
|
|
903
|
+
AA = "AA",
|
|
810
904
|
AD = "AD",
|
|
811
905
|
AE = "AE",
|
|
812
906
|
AF = "AF",
|
|
@@ -1088,12 +1182,21 @@ export declare type CreateRoute = {
|
|
|
1088
1182
|
via?: Maybe<Array<RouteViaFeaturePoint>>;
|
|
1089
1183
|
/** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
|
|
1090
1184
|
operators?: Maybe<RouteOperatorPreferences>;
|
|
1091
|
-
/**
|
|
1092
|
-
|
|
1185
|
+
/**
|
|
1186
|
+
* Season of a route.
|
|
1187
|
+
* @deprecated In favor of weather.
|
|
1188
|
+
*/
|
|
1189
|
+
season?: Maybe<RouteSeason>;
|
|
1093
1190
|
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
1094
1191
|
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
1095
1192
|
/** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. */
|
|
1096
1193
|
departure_time: Scalars["DateTime"];
|
|
1194
|
+
/** [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. */
|
|
1195
|
+
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1196
|
+
/** [BETA] User-defined maximum speed used for this route, if provided. */
|
|
1197
|
+
maximum_speed?: Maybe<MaximumSpeed>;
|
|
1198
|
+
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1199
|
+
weather?: Maybe<RouteWeather>;
|
|
1097
1200
|
};
|
|
1098
1201
|
/** Input for the create route mutation. */
|
|
1099
1202
|
export declare type CreateRouteInput = {
|
|
@@ -1113,6 +1216,12 @@ export declare type CreateRouteInput = {
|
|
|
1113
1216
|
alternative_station_radius?: Maybe<AlternativeStationRadiusInput>;
|
|
1114
1217
|
/** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. */
|
|
1115
1218
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1219
|
+
/** [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. */
|
|
1220
|
+
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1221
|
+
/** [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. */
|
|
1222
|
+
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
1223
|
+
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1224
|
+
weather?: Maybe<RouteWeatherInput>;
|
|
1116
1225
|
};
|
|
1117
1226
|
/** Currency in the ISO 4217 format. */
|
|
1118
1227
|
export declare enum Currency {
|
|
@@ -1456,7 +1565,6 @@ export declare enum DimensionUnit {
|
|
|
1456
1565
|
/** Return the dimension in miles. */
|
|
1457
1566
|
MILE = "mile"
|
|
1458
1567
|
}
|
|
1459
|
-
/** Distance unit */
|
|
1460
1568
|
export declare enum DistanceUnit {
|
|
1461
1569
|
/** Return the distance in meters. */
|
|
1462
1570
|
METER = "meter",
|
|
@@ -1896,6 +2004,18 @@ export declare enum MappingProvider {
|
|
|
1896
2004
|
/** Mapbox instructions mapping */
|
|
1897
2005
|
MAPBOXV5 = "MapboxV5"
|
|
1898
2006
|
}
|
|
2007
|
+
export declare type MaximumSpeed = {
|
|
2008
|
+
/** Numeric value of the user-defined maximum speed. */
|
|
2009
|
+
value: Scalars["Int"];
|
|
2010
|
+
/** Unit in which speed is measured. */
|
|
2011
|
+
type: SpeedUnit;
|
|
2012
|
+
};
|
|
2013
|
+
export declare type MaximumSpeedInput = {
|
|
2014
|
+
/** Numeric value of the user-defined maximum speed. */
|
|
2015
|
+
value: Scalars["Int"];
|
|
2016
|
+
/** Unit in which speed is measured. */
|
|
2017
|
+
type: SpeedUnit;
|
|
2018
|
+
};
|
|
1899
2019
|
export declare enum MeasurementUnit {
|
|
1900
2020
|
/** Return the measurement in millimeters. */
|
|
1901
2021
|
MILLIMETER = "millimeter",
|
|
@@ -1945,10 +2065,13 @@ export declare type Mutation = {
|
|
|
1945
2065
|
* This is a premium feature, contact Chargetrip for more information.
|
|
1946
2066
|
*/
|
|
1947
2067
|
deleteUserReview: Review;
|
|
2068
|
+
/**
|
|
2069
|
+
* Deprecated: In favor of createRoute.
|
|
2070
|
+
* @deprecated In favor of `createRoute`.
|
|
2071
|
+
*/
|
|
2072
|
+
newRoute?: Maybe<Scalars["ID"]>;
|
|
1948
2073
|
/** Create a new route from the route input and its ID. */
|
|
1949
2074
|
createRoute: Scalars["ID"];
|
|
1950
|
-
/** Deprecated: In favor of createRoute. */
|
|
1951
|
-
newRoute?: Maybe<Scalars["ID"]>;
|
|
1952
2075
|
};
|
|
1953
2076
|
export declare type MutationcreateConnectedVehicleArgs = {
|
|
1954
2077
|
input?: Maybe<CreateConnectedVehicleInput>;
|
|
@@ -1983,12 +2106,12 @@ export declare type MutationaddReviewArgs = {
|
|
|
1983
2106
|
export declare type MutationdeleteUserReviewArgs = {
|
|
1984
2107
|
id: Scalars["ID"];
|
|
1985
2108
|
};
|
|
1986
|
-
export declare type MutationcreateRouteArgs = {
|
|
1987
|
-
input: CreateRouteInput;
|
|
1988
|
-
};
|
|
1989
2109
|
export declare type MutationnewRouteArgs = {
|
|
1990
2110
|
input?: Maybe<RequestInput>;
|
|
1991
2111
|
};
|
|
2112
|
+
export declare type MutationcreateRouteArgs = {
|
|
2113
|
+
input: CreateRouteInput;
|
|
2114
|
+
};
|
|
1992
2115
|
/** The navigation session data */
|
|
1993
2116
|
export declare type Navigation = {
|
|
1994
2117
|
/** ID of the navigation session */
|
|
@@ -2730,6 +2853,10 @@ export declare type Operator = {
|
|
|
2730
2853
|
export declare type OperatorListFilter = {
|
|
2731
2854
|
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
2732
2855
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2856
|
+
/** List of ranking level(s) to be retrieved. Valid values are 1 to 10. Default operator preference applied to routes created through newRoute mutation if no operator preference is specified in the request. */
|
|
2857
|
+
ranking?: Maybe<Array<Scalars["Int"]>>;
|
|
2858
|
+
/** Only retrieve operators that are in the excluded list. Default operator preference applied to routes created through newRoute mutation if no operator preference is specified in the request. */
|
|
2859
|
+
excluded?: Maybe<Scalars["Boolean"]>;
|
|
2733
2860
|
/** 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. */
|
|
2734
2861
|
ranking_levels?: Maybe<OperatorRankingLevelsFilter>;
|
|
2735
2862
|
/** 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. */
|
|
@@ -2866,7 +2993,6 @@ export declare enum PowerUnit {
|
|
|
2866
2993
|
/** Return the power in horsepower. */
|
|
2867
2994
|
HORSEPOWER = "horsepower"
|
|
2868
2995
|
}
|
|
2869
|
-
/** Pressure units. */
|
|
2870
2996
|
export declare enum PressureUnit {
|
|
2871
2997
|
/** Return the pressure in bar. */
|
|
2872
2998
|
BAR = "bar",
|
|
@@ -2918,7 +3044,7 @@ export declare type PricingListProduct = {
|
|
|
2918
3044
|
currency?: Maybe<Scalars["String"]>;
|
|
2919
3045
|
};
|
|
2920
3046
|
export declare type Query = {
|
|
2921
|
-
/** Get a full list of amenities around a station */
|
|
3047
|
+
/** Get a full list of amenities around a station. */
|
|
2922
3048
|
amenityList?: Maybe<Array<Maybe<Amenity>>>;
|
|
2923
3049
|
/** [BETA] Get a connected vehicles by id */
|
|
2924
3050
|
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
@@ -2942,16 +3068,25 @@ export declare type Query = {
|
|
|
2942
3068
|
* This is a premium feature, contact Chargetrip for more information.
|
|
2943
3069
|
*/
|
|
2944
3070
|
userReviewList?: Maybe<Array<Review>>;
|
|
2945
|
-
/**
|
|
3071
|
+
/**
|
|
3072
|
+
* Deprecated: In favor of getRouteEmissions.
|
|
3073
|
+
* @deprecated In favor of `getRouteEmissions`.
|
|
3074
|
+
*/
|
|
3075
|
+
routeEmissions: RouteEmissions;
|
|
3076
|
+
/**
|
|
3077
|
+
* Deprecated: In favor of getRoute.
|
|
3078
|
+
* @deprecated In favor of `getRoute`.
|
|
3079
|
+
*/
|
|
2946
3080
|
route?: Maybe<Route>;
|
|
2947
|
-
/**
|
|
2948
|
-
|
|
3081
|
+
/**
|
|
3082
|
+
* Deprecated: In favor of RouteDetails.path_plot.
|
|
3083
|
+
* @deprecated In favor of `RouteDetails.path_plot`.
|
|
3084
|
+
*/
|
|
3085
|
+
routePath?: Maybe<RoutePath>;
|
|
2949
3086
|
/** Get emissions for a route. */
|
|
2950
3087
|
getRouteEmissions: RouteDetailsEmissions;
|
|
2951
|
-
/**
|
|
2952
|
-
|
|
2953
|
-
/** Deprecated: In favor of RouteDetails.path_plot. */
|
|
2954
|
-
routePath?: Maybe<RoutePath>;
|
|
3088
|
+
/** Get a route by ID. */
|
|
3089
|
+
getRoute: RouteResponse;
|
|
2955
3090
|
/** Get information about a station by its ID. */
|
|
2956
3091
|
station?: Maybe<Station>;
|
|
2957
3092
|
/** Get a full list of stations. */
|
|
@@ -2968,9 +3103,16 @@ export declare type Query = {
|
|
|
2968
3103
|
vehiclePremium?: Maybe<VehiclePremium>;
|
|
2969
3104
|
/** Get a full list of vehicles. */
|
|
2970
3105
|
vehicleList?: Maybe<Array<Maybe<VehicleList>>>;
|
|
3106
|
+
/** [BETA] Get a full list of vehicle makes. */
|
|
3107
|
+
vehicleMakes: VehicleMakesResponse;
|
|
3108
|
+
/** [BETA] Get a full list of vehicle make models. */
|
|
3109
|
+
vehicleModels: VehicleModelsResponse;
|
|
2971
3110
|
};
|
|
2972
3111
|
export declare type QueryamenityListArgs = {
|
|
2973
3112
|
stationId: Scalars["ID"];
|
|
3113
|
+
filter?: Maybe<AmenityListFilter>;
|
|
3114
|
+
size?: Maybe<Scalars["Int"]>;
|
|
3115
|
+
page?: Maybe<Scalars["Int"]>;
|
|
2974
3116
|
};
|
|
2975
3117
|
export declare type QueryconnectedVehicleArgs = {
|
|
2976
3118
|
id: Scalars["ID"];
|
|
@@ -3008,24 +3150,24 @@ export declare type QueryuserReviewListArgs = {
|
|
|
3008
3150
|
size?: Maybe<Scalars["Int"]>;
|
|
3009
3151
|
page?: Maybe<Scalars["Int"]>;
|
|
3010
3152
|
};
|
|
3153
|
+
export declare type QueryrouteEmissionsArgs = {
|
|
3154
|
+
route_id: Scalars["ID"];
|
|
3155
|
+
route_alternative_id?: Maybe<Scalars["ID"]>;
|
|
3156
|
+
};
|
|
3011
3157
|
export declare type QueryrouteArgs = {
|
|
3012
3158
|
id: Scalars["ID"];
|
|
3013
3159
|
};
|
|
3014
|
-
export declare type
|
|
3160
|
+
export declare type QueryroutePathArgs = {
|
|
3015
3161
|
id: Scalars["ID"];
|
|
3162
|
+
location: PointInput;
|
|
3163
|
+
alternativeId?: Maybe<Scalars["ID"]>;
|
|
3016
3164
|
};
|
|
3017
3165
|
export declare type QuerygetRouteEmissionsArgs = {
|
|
3018
3166
|
route_id: Scalars["ID"];
|
|
3019
3167
|
route_details_id: Scalars["ID"];
|
|
3020
3168
|
};
|
|
3021
|
-
export declare type
|
|
3022
|
-
route_id: Scalars["ID"];
|
|
3023
|
-
route_alternative_id?: Maybe<Scalars["ID"]>;
|
|
3024
|
-
};
|
|
3025
|
-
export declare type QueryroutePathArgs = {
|
|
3169
|
+
export declare type QuerygetRouteArgs = {
|
|
3026
3170
|
id: Scalars["ID"];
|
|
3027
|
-
location: PointInput;
|
|
3028
|
-
alternativeId?: Maybe<Scalars["ID"]>;
|
|
3029
3171
|
};
|
|
3030
3172
|
export declare type QuerystationArgs = {
|
|
3031
3173
|
id?: Maybe<Scalars["ID"]>;
|
|
@@ -3067,6 +3209,13 @@ export declare type QueryvehicleListArgs = {
|
|
|
3067
3209
|
size?: Maybe<Scalars["Int"]>;
|
|
3068
3210
|
page?: Maybe<Scalars["Int"]>;
|
|
3069
3211
|
};
|
|
3212
|
+
export declare type QueryvehicleMakesArgs = {
|
|
3213
|
+
country?: Maybe<CountryCodeAlpha2>;
|
|
3214
|
+
};
|
|
3215
|
+
export declare type QueryvehicleModelsArgs = {
|
|
3216
|
+
filter: VehicleModelsFilter;
|
|
3217
|
+
country?: Maybe<CountryCodeAlpha2>;
|
|
3218
|
+
};
|
|
3070
3219
|
export declare type RemoveConnectedVehicleInput = {
|
|
3071
3220
|
/** Id from the connected vehicle */
|
|
3072
3221
|
id: Scalars["ID"];
|
|
@@ -3199,15 +3348,17 @@ export declare type RequestEvInput = {
|
|
|
3199
3348
|
heatPump?: Maybe<HeatPumpMode>;
|
|
3200
3349
|
/** Vehicle cabin configuration. */
|
|
3201
3350
|
cabin?: Maybe<RequestEvCabinInput>;
|
|
3351
|
+
/** Number of passengers on board. */
|
|
3352
|
+
numberOfPassengers?: Maybe<Scalars["Int"]>;
|
|
3202
3353
|
/** Number of occupants. */
|
|
3203
3354
|
occupants?: Maybe<Scalars["Int"]>;
|
|
3204
3355
|
/** Cargo weight, in kg. */
|
|
3205
3356
|
cargo?: Maybe<Scalars["Int"]>;
|
|
3206
3357
|
/** Consumption specific to the EV or inputted by the request. */
|
|
3207
3358
|
consumption?: Maybe<RequestEvConsumptionInput>;
|
|
3208
|
-
/**
|
|
3359
|
+
/** In favor of `consumption`. */
|
|
3209
3360
|
auxConsumption?: Maybe<Scalars["Float"]>;
|
|
3210
|
-
/**
|
|
3361
|
+
/** In favor of `consumption`. */
|
|
3211
3362
|
bmsConsumption?: Maybe<Scalars["Float"]>;
|
|
3212
3363
|
};
|
|
3213
3364
|
export declare type RequestEvPlug = {
|
|
@@ -3267,7 +3418,10 @@ export declare type RequestRoute = {
|
|
|
3267
3418
|
via?: Maybe<Array<Maybe<FeaturePoint>>>;
|
|
3268
3419
|
/** Radius in meters for alternative stations along a route (min 500 - max 5000). */
|
|
3269
3420
|
stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
|
|
3270
|
-
/**
|
|
3421
|
+
/**
|
|
3422
|
+
* Flag indicating wether the turn-by-turn navigation instructions should be prepared. Disclaimer: The functionality is under active development and the final API is a subject to change. Not ready for production.
|
|
3423
|
+
* @deprecated Deprecated: all routes will have turn-by-turn instructions prepared. Boolean will be ignored.
|
|
3424
|
+
*/
|
|
3271
3425
|
instructions?: Maybe<Scalars["Boolean"]>;
|
|
3272
3426
|
/** Mode that indicates if we optimize the charging time or always charge to the maximum capacity. */
|
|
3273
3427
|
chargeMode?: Maybe<ChargeMode>;
|
|
@@ -3527,6 +3681,11 @@ export declare type RouteApp = {
|
|
|
3527
3681
|
/** ID of the app who requested a route. */
|
|
3528
3682
|
id?: Maybe<Scalars["ID"]>;
|
|
3529
3683
|
};
|
|
3684
|
+
/** Types of route features that can be avoided in routing. */
|
|
3685
|
+
export declare enum RouteAvoid {
|
|
3686
|
+
TOLL_ROAD = "toll_road",
|
|
3687
|
+
FERRY = "ferry"
|
|
3688
|
+
}
|
|
3530
3689
|
export declare type RouteDestinationFeaturePoint = {
|
|
3531
3690
|
/** ID of the feature. */
|
|
3532
3691
|
id?: Maybe<Scalars["ID"]>;
|
|
@@ -3612,6 +3771,8 @@ export declare type RouteDetailsAlternativeStation = {
|
|
|
3612
3771
|
status: ChargerStatus;
|
|
3613
3772
|
/** 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. */
|
|
3614
3773
|
operator_ranking?: Maybe<OperatorRankingLevel>;
|
|
3774
|
+
/** ID of the station's operator. */
|
|
3775
|
+
operator_id?: Maybe<Scalars["ID"]>;
|
|
3615
3776
|
};
|
|
3616
3777
|
/** Aggregation of all durations of a route. */
|
|
3617
3778
|
export declare type RouteDetailsDurations = {
|
|
@@ -3684,7 +3845,7 @@ export declare type RouteDetailsLeg = {
|
|
|
3684
3845
|
range_after_charge?: Maybe<Scalars["Float"]>;
|
|
3685
3846
|
/** Type of a leg. */
|
|
3686
3847
|
type: RouteDetailsLegType;
|
|
3687
|
-
/** Information about the station at the destination of a leg.
|
|
3848
|
+
/** Information about the station at the destination of a leg. */
|
|
3688
3849
|
station?: Maybe<RouteDetailsLegStation>;
|
|
3689
3850
|
/** Polyline containing encoded coordinates. */
|
|
3690
3851
|
polyline: Scalars["String"];
|
|
@@ -3890,7 +4051,7 @@ export declare type RouteDetailsManeuverdistanceArgs = {
|
|
|
3890
4051
|
export declare type RouteDetailsPathSegment = {
|
|
3891
4052
|
/** Elevation value of a route path segment. */
|
|
3892
4053
|
elevation: Scalars["Float"];
|
|
3893
|
-
/** Average speed of a route path segment. */
|
|
4054
|
+
/** Average speed of a route path segment. This value is determined using legal maximum speed and, if provided, the user defined maximum speed. */
|
|
3894
4055
|
average_speed: Scalars["Float"];
|
|
3895
4056
|
/** Consumption, in kilowatt hours, of a route path segment. For HEVs and PHEVs this field will return null. */
|
|
3896
4057
|
consumption?: Maybe<Scalars["Float"]>;
|
|
@@ -3900,7 +4061,10 @@ export declare type RouteDetailsPathSegment = {
|
|
|
3900
4061
|
duration: Scalars["Float"];
|
|
3901
4062
|
/** State of charge, in kilowatt hours, of a route path segment. For HEVs and PHEVs this field will return null. */
|
|
3902
4063
|
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
3903
|
-
/**
|
|
4064
|
+
/**
|
|
4065
|
+
* Maximum vehicle speed of a route path segment.
|
|
4066
|
+
* @deprecated Will be removed in the future.
|
|
4067
|
+
*/
|
|
3904
4068
|
maximum_speed: Scalars["Float"];
|
|
3905
4069
|
};
|
|
3906
4070
|
export declare type RouteDetailsPathSegmentelevationArgs = {
|
|
@@ -4279,16 +4443,18 @@ export declare type RouteLegOperationalElectricityEmissionsIntensity = {
|
|
|
4279
4443
|
base_iso_14083_2023_regional_value: EmissionsFactor;
|
|
4280
4444
|
/** Electricity mix for the leg. */
|
|
4281
4445
|
energy_sources: RouteOperationalElectricityEnergySources;
|
|
4446
|
+
/** Model used to estimate the electricity mix. */
|
|
4447
|
+
energy_source_model: RouteOperationalElectricityEnergySourceModel;
|
|
4282
4448
|
/** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
|
|
4283
4449
|
infrastructure: Scalars["Float"];
|
|
4284
|
-
/** Estimated electricity demand at the time and place the electricity for this leg was obtained as a fraction of the annual average demand. */
|
|
4285
|
-
average_demand: Scalars["Float"];
|
|
4286
|
-
/** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
|
|
4287
|
-
base_load_fraction: Scalars["Float"];
|
|
4288
4450
|
/** Season for which the leg was calculated. */
|
|
4289
4451
|
season: RouteOperationalElectricitySeason;
|
|
4290
4452
|
/** Climate for which the leg was calculated. */
|
|
4291
4453
|
climate: RouteOperationalElectricityClimate;
|
|
4454
|
+
/** Estimated electricity demand at the time and place the electricity for this leg was obtained as a fraction of the annual average demand. */
|
|
4455
|
+
average_demand: Scalars["Float"];
|
|
4456
|
+
/** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
|
|
4457
|
+
base_load_fraction: Scalars["Float"];
|
|
4292
4458
|
};
|
|
4293
4459
|
/** Electricity emission intensity for a leg */
|
|
4294
4460
|
export declare type RouteLegOperationalElectricityEmissionsIntensitytotalArgs = {
|
|
@@ -4487,6 +4653,23 @@ export declare type RouteOperationalElectricityEmissionsIntensityiso_14083_2023A
|
|
|
4487
4653
|
export declare type RouteOperationalElectricityEmissionsIntensityinfrastructureArgs = {
|
|
4488
4654
|
unit?: Maybe<EmissionUnit>;
|
|
4489
4655
|
};
|
|
4656
|
+
/** Energy source models. */
|
|
4657
|
+
export declare enum RouteOperationalElectricityEnergySourceModel {
|
|
4658
|
+
/** Historical average energy mix for the month. */
|
|
4659
|
+
GRID_MONTHLY_AVERAGE = "grid_monthly_average",
|
|
4660
|
+
/** Historical average energy mix for the month and hour. */
|
|
4661
|
+
GRID_HOURLY_AVERAGE = "grid_hourly_average",
|
|
4662
|
+
/** Estimate using historical average electricity demand for the month. */
|
|
4663
|
+
GRID_DEMAND_BASED_MONTHLY_AVERAGE = "grid_demand_based_monthly_average",
|
|
4664
|
+
/** Estimate using historical average electricity demand for the month and hour. */
|
|
4665
|
+
GRID_DEMAND_BASED_HOURLY_AVERAGE = "grid_demand_based_hourly_average",
|
|
4666
|
+
/** Estimate using the seasonal average electricity demand for the climate. */
|
|
4667
|
+
CLIMATE_DEMAND_BASED_SEASONAL_AVERAGE = "climate_demand_based_seasonal_average",
|
|
4668
|
+
/** Estimate using the seasonal average electricity demand for the hour and climate. */
|
|
4669
|
+
CLIMATE_DEMAND_BASED_HOURLY_AVERAGE = "climate_demand_based_hourly_average",
|
|
4670
|
+
/** Regional default energy mix. */
|
|
4671
|
+
DEFAULT = "default"
|
|
4672
|
+
}
|
|
4490
4673
|
export declare type RouteOperationalElectricityEnergySources = {
|
|
4491
4674
|
/** Electricity produced by coal power plants. */
|
|
4492
4675
|
coal: ElectricityGenerationMethod;
|
|
@@ -4964,7 +5147,7 @@ export declare type RouteVehicle = {
|
|
|
4964
5147
|
export declare type RouteVehicleBattery = {
|
|
4965
5148
|
/** 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. */
|
|
4966
5149
|
capacity: StateOfCharge;
|
|
4967
|
-
/** 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.
|
|
5150
|
+
/** 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. */
|
|
4968
5151
|
state_of_charge: StateOfCharge;
|
|
4969
5152
|
/** 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. */
|
|
4970
5153
|
final_state_of_charge: StateOfCharge;
|
|
@@ -4983,7 +5166,7 @@ export declare type RouteVehicleBattery = {
|
|
|
4983
5166
|
export declare type RouteVehicleBatteryInput = {
|
|
4984
5167
|
/** 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. */
|
|
4985
5168
|
capacity?: Maybe<StateOfChargeInput>;
|
|
4986
|
-
/** 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.
|
|
5169
|
+
/** 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. */
|
|
4987
5170
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
4988
5171
|
/** 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. */
|
|
4989
5172
|
final_state_of_charge?: Maybe<StateOfChargeInput>;
|
|
@@ -5177,6 +5360,34 @@ export declare type RouteViaPropertiesInput = {
|
|
|
5177
5360
|
/** Station data of the via point. */
|
|
5178
5361
|
station?: Maybe<RoutePropertiesStationInput>;
|
|
5179
5362
|
};
|
|
5363
|
+
export declare type RouteWeather = {
|
|
5364
|
+
/** Weather configuration applied to the route. */
|
|
5365
|
+
type: WeatherType;
|
|
5366
|
+
/** [BETA] Custom weather conditions applied to the route. Only present when 'type' is set to 'CUSTOM'. */
|
|
5367
|
+
custom?: Maybe<RouteWeatherCustomConditions>;
|
|
5368
|
+
};
|
|
5369
|
+
export declare type RouteWeatherCustomConditions = {
|
|
5370
|
+
/** Average ambient temperature estimated along the route. */
|
|
5371
|
+
temperature: Temperature;
|
|
5372
|
+
/** Atmospheric pressure along the route. */
|
|
5373
|
+
air_pressure: AirPressure;
|
|
5374
|
+
/** Solar irradiance along the route. */
|
|
5375
|
+
solar_irradiance: SolarIrradiance;
|
|
5376
|
+
};
|
|
5377
|
+
export declare type RouteWeatherCustomConditionsInput = {
|
|
5378
|
+
/** Average ambient temperature estimated along the route. */
|
|
5379
|
+
temperature: TemperatureInput;
|
|
5380
|
+
/** Atmospheric pressure along the route. */
|
|
5381
|
+
air_pressure: AirPressureInput;
|
|
5382
|
+
/** Solar irradiance along the route. */
|
|
5383
|
+
solar_irradiance: SolarIrradianceInput;
|
|
5384
|
+
};
|
|
5385
|
+
export declare type RouteWeatherInput = {
|
|
5386
|
+
/** Weather configuration applied to the route. */
|
|
5387
|
+
type?: Maybe<WeatherType>;
|
|
5388
|
+
/** [BETA] Custom weather conditions to apply to the route. Required only when 'type' is 'CUSTOM'. Must be omitted for other weather types. */
|
|
5389
|
+
custom?: Maybe<RouteWeatherCustomConditionsInput>;
|
|
5390
|
+
};
|
|
5180
5391
|
/** Scheduled charge stop along a route. */
|
|
5181
5392
|
export declare type ScheduledChargeStopInput = {
|
|
5182
5393
|
/** List of amenity types. */
|
|
@@ -5190,11 +5401,25 @@ export declare type ScheduledChargeStopInput = {
|
|
|
5190
5401
|
/** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. */
|
|
5191
5402
|
max_distance_from_station?: Maybe<Scalars["Int"]>;
|
|
5192
5403
|
};
|
|
5404
|
+
export declare type SolarIrradiance = {
|
|
5405
|
+
/** Value of the solar irradiance. */
|
|
5406
|
+
value: Scalars["Float"];
|
|
5407
|
+
/** Solar irradiance unit. */
|
|
5408
|
+
type: SolarIrradianceUnit;
|
|
5409
|
+
};
|
|
5410
|
+
export declare type SolarIrradianceInput = {
|
|
5411
|
+
/** Value of the solar irradiance. */
|
|
5412
|
+
value: Scalars["Float"];
|
|
5413
|
+
/** Solar irradiance unit. */
|
|
5414
|
+
type: SolarIrradianceUnit;
|
|
5415
|
+
};
|
|
5416
|
+
export declare enum SolarIrradianceUnit {
|
|
5417
|
+
WATTS_PER_SQUARE_METER = "watts_per_square_meter"
|
|
5418
|
+
}
|
|
5193
5419
|
export declare enum SortDirection {
|
|
5194
5420
|
ASCENDING = "ascending",
|
|
5195
5421
|
DESCENDING = "descending"
|
|
5196
5422
|
}
|
|
5197
|
-
/** Speed units. */
|
|
5198
5423
|
export declare enum SpeedUnit {
|
|
5199
5424
|
/** Return the speed in kilometers per hour. */
|
|
5200
5425
|
KILOMETERS_PER_HOUR = "kilometers_per_hour",
|
|
@@ -5217,7 +5442,6 @@ export declare type StateOfChargeInput = {
|
|
|
5217
5442
|
/** Source of inputted data, defaults to 'manual'. */
|
|
5218
5443
|
source?: Maybe<TelemetryInputSource>;
|
|
5219
5444
|
};
|
|
5220
|
-
/** State of charge unit. */
|
|
5221
5445
|
export declare enum StateOfChargeUnit {
|
|
5222
5446
|
/** Return the state of charge in kilometers. */
|
|
5223
5447
|
KILOMETER = "kilometer",
|
|
@@ -5443,7 +5667,7 @@ export declare type StationCustomProperties = {
|
|
|
5443
5667
|
predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
|
|
5444
5668
|
/**
|
|
5445
5669
|
* Type of access to the charging station.
|
|
5446
|
-
* @deprecated In favor of station.
|
|
5670
|
+
* @deprecated In favor of station.access_type.
|
|
5447
5671
|
*/
|
|
5448
5672
|
access_type?: Maybe<AccessType>;
|
|
5449
5673
|
/** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
@@ -5609,30 +5833,30 @@ export declare enum StepType {
|
|
|
5609
5833
|
CROSSBORDER = "crossborder"
|
|
5610
5834
|
}
|
|
5611
5835
|
export declare type Subscription = {
|
|
5612
|
-
/** [BETA] Subscribe to a connected vehicle. */
|
|
5613
|
-
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
5614
|
-
/** Subscribe to an isoline in order to receive updates. */
|
|
5615
|
-
isoline?: Maybe<Isoline>;
|
|
5616
|
-
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
5617
|
-
navigationUpdatedById?: Maybe<Navigation>;
|
|
5618
5836
|
/** Deprecated: In favor of route. */
|
|
5619
5837
|
routeUpdatedById?: Maybe<Route>;
|
|
5620
5838
|
/** Subscribe to a specific route to receive system event updates. */
|
|
5621
5839
|
route: RouteResponse;
|
|
5840
|
+
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
5841
|
+
navigationUpdatedById?: Maybe<Navigation>;
|
|
5842
|
+
/** [BETA] Subscribe to a connected vehicle. */
|
|
5843
|
+
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
5844
|
+
/** Subscribe to an isoline in order to receive updates. */
|
|
5845
|
+
isoline?: Maybe<Isoline>;
|
|
5622
5846
|
};
|
|
5623
|
-
export declare type
|
|
5847
|
+
export declare type SubscriptionrouteUpdatedByIdArgs = {
|
|
5624
5848
|
id: Scalars["ID"];
|
|
5625
5849
|
};
|
|
5626
|
-
export declare type
|
|
5850
|
+
export declare type SubscriptionrouteArgs = {
|
|
5627
5851
|
id: Scalars["ID"];
|
|
5628
5852
|
};
|
|
5629
5853
|
export declare type SubscriptionnavigationUpdatedByIdArgs = {
|
|
5630
5854
|
id: Scalars["ID"];
|
|
5631
5855
|
};
|
|
5632
|
-
export declare type
|
|
5856
|
+
export declare type SubscriptionconnectedVehicleArgs = {
|
|
5633
5857
|
id: Scalars["ID"];
|
|
5634
5858
|
};
|
|
5635
|
-
export declare type
|
|
5859
|
+
export declare type SubscriptionisolineArgs = {
|
|
5636
5860
|
id: Scalars["ID"];
|
|
5637
5861
|
};
|
|
5638
5862
|
export declare type Telemetry = {
|
|
@@ -5766,7 +5990,6 @@ export declare type TelemetryInput = {
|
|
|
5766
5990
|
/** Custom input fields can be added based on telemetry architecture. */
|
|
5767
5991
|
custom?: Maybe<Scalars["JSON"]>;
|
|
5768
5992
|
};
|
|
5769
|
-
/** Telemetry input sources. */
|
|
5770
5993
|
export declare enum TelemetryInputSource {
|
|
5771
5994
|
/** Manually inputted value. */
|
|
5772
5995
|
MANUAL = "manual",
|
|
@@ -5787,7 +6010,6 @@ export declare type TemperatureInput = {
|
|
|
5787
6010
|
/** Preferred unit for the temperature. */
|
|
5788
6011
|
type: TemperatureUnit;
|
|
5789
6012
|
};
|
|
5790
|
-
/** Temperature unit. */
|
|
5791
6013
|
export declare enum TemperatureUnit {
|
|
5792
6014
|
/** Return the temperature in Celsius. */
|
|
5793
6015
|
CELSIUS = "Celsius",
|
|
@@ -6171,6 +6393,10 @@ export declare type VehicleListFilter = {
|
|
|
6171
6393
|
purpose?: Maybe<Array<VehiclePurpose>>;
|
|
6172
6394
|
/** Type of vehicle. */
|
|
6173
6395
|
type?: Maybe<Array<VehicleType>>;
|
|
6396
|
+
/** [BETA] Make of vehicle. */
|
|
6397
|
+
make?: Maybe<Scalars["String"]>;
|
|
6398
|
+
/** [BETA] Model of vehicle. */
|
|
6399
|
+
model?: Maybe<Scalars["String"]>;
|
|
6174
6400
|
};
|
|
6175
6401
|
export declare type VehicleListMedia = {
|
|
6176
6402
|
/** Featured image of the vehicle from a 45-degree angle. */
|
|
@@ -6210,6 +6436,18 @@ export declare type VehicleListRouting = {
|
|
|
6210
6436
|
/** Vehicles that support fast charging have a minimum charging speed of 43 kWh. */
|
|
6211
6437
|
fast_charging_support: Scalars["Boolean"];
|
|
6212
6438
|
};
|
|
6439
|
+
/** Vehicle make data. */
|
|
6440
|
+
export declare type VehicleMake = {
|
|
6441
|
+
/** Vehicle make name. */
|
|
6442
|
+
name: Scalars["String"];
|
|
6443
|
+
/** Vehicle make image. */
|
|
6444
|
+
image: VehicleImage;
|
|
6445
|
+
};
|
|
6446
|
+
/** Vehicle makes response object. */
|
|
6447
|
+
export declare type VehicleMakesResponse = {
|
|
6448
|
+
/** Elements of the vehicle make list. */
|
|
6449
|
+
items: Array<VehicleMake>;
|
|
6450
|
+
};
|
|
6213
6451
|
export declare type VehicleMedia = {
|
|
6214
6452
|
/** Featured image of the vehicle from a 45-degree angle. */
|
|
6215
6453
|
image: VehicleImage;
|
|
@@ -6236,6 +6474,21 @@ export declare enum VehicleMode {
|
|
|
6236
6474
|
/** Future releases of a vehicle, a concept of the vehicle, specs may change over time. */
|
|
6237
6475
|
CONCEPT = "concept"
|
|
6238
6476
|
}
|
|
6477
|
+
/** Vehicle model data. */
|
|
6478
|
+
export declare type VehicleModel = {
|
|
6479
|
+
/** Vehicle model name. */
|
|
6480
|
+
name: Scalars["String"];
|
|
6481
|
+
};
|
|
6482
|
+
/** Filter vehicle model list result. */
|
|
6483
|
+
export declare type VehicleModelsFilter = {
|
|
6484
|
+
/** Vehicle make. */
|
|
6485
|
+
make: Scalars["String"];
|
|
6486
|
+
};
|
|
6487
|
+
/** Vehicle models response object. */
|
|
6488
|
+
export declare type VehicleModelsResponse = {
|
|
6489
|
+
/** Elements of the vehicle model list. */
|
|
6490
|
+
items: Array<VehicleModel>;
|
|
6491
|
+
};
|
|
6239
6492
|
export declare type VehicleNaming = {
|
|
6240
6493
|
/** Vehicle manufacturer name. */
|
|
6241
6494
|
make: Scalars["String"];
|
|
@@ -7186,7 +7439,17 @@ export declare enum VolumeUnit {
|
|
|
7186
7439
|
/** Return the volume in cubic feet. */
|
|
7187
7440
|
CUBIC_FOOT = "cubic_foot"
|
|
7188
7441
|
}
|
|
7189
|
-
/**
|
|
7442
|
+
/** Type of weather conditions used in the route calculation. */
|
|
7443
|
+
export declare enum WeatherType {
|
|
7444
|
+
/** Fixed seasonal preset representing typical summer weather conditions. Can't be used in combination with weather.custom. */
|
|
7445
|
+
SUMMER = "summer",
|
|
7446
|
+
/** Fixed seasonal preset representing typical winter weather conditions. Can't be used in combination with weather.custom. */
|
|
7447
|
+
WINTER = "winter",
|
|
7448
|
+
/** A dynamic preset that uses real weather data based on the route's departure time. Can't be used in combination with weather.custom. */
|
|
7449
|
+
ACTUAL = "actual",
|
|
7450
|
+
/** Must be used in combination with weather.custom object. */
|
|
7451
|
+
CUSTOM = "custom"
|
|
7452
|
+
}
|
|
7190
7453
|
export declare enum WeightUnit {
|
|
7191
7454
|
/** Return the weight in kilograms. */
|
|
7192
7455
|
KILOGRAM = "kilogram",
|