@chargetrip/types 1.47.0 → 1.47.2

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/src/graphql.ts CHANGED
@@ -99,6 +99,24 @@ export enum AdhocAuthorisationMethod {
99
99
  SMS = "SMS"
100
100
  }
101
101
 
102
+ export type AirPressure = {
103
+ /** Value of the atmospheric pressure. */
104
+ value: Scalars["Float"];
105
+ /** Atmospheric pressure unit. */
106
+ type: AirPressureUnit;
107
+ };
108
+
109
+ export type AirPressureInput = {
110
+ /** Value of the atmospheric pressure. */
111
+ value: Scalars["Float"];
112
+ /** Atmospheric pressure unit. */
113
+ type: AirPressureUnit;
114
+ };
115
+
116
+ export enum AirPressureUnit {
117
+ MILLIBAR = "millibar"
118
+ }
119
+
102
120
  export type AlternativeStationRadius = {
103
121
  /** Value of the alternative station radius. */
104
122
  value: Scalars["Float"];
@@ -117,7 +135,7 @@ export type AlternativeStationRadiusInput = {
117
135
  source?: Maybe<TelemetryInputSource>;
118
136
  };
119
137
 
120
- /** Amenities available near a station */
138
+ /** Amenities available near a station. */
121
139
  export enum Amenities {
122
140
  PARK = "park",
123
141
  RESTAURANT = "restaurant",
@@ -131,30 +149,95 @@ export enum Amenities {
131
149
  PHARMACY = "pharmacy"
132
150
  }
133
151
 
134
- /** The amenity model */
152
+ /** Amenity data. */
135
153
  export type Amenity = {
136
- /** Unique amenity ID */
154
+ /**
155
+ * Unique amenity ID.
156
+ * @deprecated Will be removed in the future.
157
+ */
137
158
  id?: Maybe<Scalars["ID"]>;
138
- /** ID provided by an amenity data source as the row ID */
159
+ /**
160
+ * ID provided by an amenity data source as the row ID.
161
+ * @deprecated In favor of external_id.
162
+ */
139
163
  externalId?: Maybe<Scalars["String"]>;
140
- /** Name of an amenity */
164
+ /** ID provided by an amenity data source as the row ID. */
165
+ external_id: Scalars["String"];
166
+ /** Name of the amenity. */
141
167
  name?: Maybe<Scalars["String"]>;
142
- /** Geo location coordinates. This is a GeoJSON Point */
143
- location?: Maybe<Point>;
144
- /** Embedded Address */
168
+ /** Geo location coordinates. This is a GeoJSON Point. */
169
+ location: Point;
170
+ /** Address of the amenity. */
145
171
  address?: Maybe<Address>;
146
- /** Type of amenity. An amenity can belong to multiple categories */
147
- type?: Maybe<Array<Maybe<Scalars["String"]>>>;
148
- /** 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 */
149
- rating?: Maybe<Scalars["Float"]>;
150
- /** Computed distance between station and amenity */
172
+ /** Type of amenity. An amenity can belong to multiple categories. */
173
+ type: Array<Maybe<Scalars["String"]>>;
174
+ /**
175
+ * Computed distance between station and amenity.
176
+ * @deprecated In favor of station_distance.
177
+ */
151
178
  distance?: Maybe<Scalars["Int"]>;
152
- /** Full path URL to amenity foursquare page */
179
+ /** Computed distance between station and amenity. */
180
+ station_distance: Scalars["Float"];
181
+ /**
182
+ * Full path URL to amenity foursquare page.
183
+ * @deprecated Will be removed in the future.
184
+ */
153
185
  foursquareUrl?: Maybe<Scalars["String"]>;
154
- /** Date and time when an amenity was created */
186
+ /** Opening hours of the amenity. */
187
+ opening_hours?: Maybe<AmenityOpeningHours>;
188
+ /** Indicates whether pets are allowed. This does not apply to assistance dogs, which may have legal access. */
189
+ pets_allowed?: Maybe<Scalars["Boolean"]>;
190
+ /** Accessibility options at the amenity. */
191
+ accessibility?: Maybe<AmenityAccessibility>;
192
+ /** Contact information for the amenity. */
193
+ contact?: Maybe<AmenityContact>;
194
+ /** 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. */
195
+ rating?: Maybe<Scalars["Float"]>;
196
+ /**
197
+ * Date and time when an amenity was created.
198
+ * @deprecated Will be removed in the future.
199
+ */
155
200
  createdAt?: Maybe<Scalars["String"]>;
156
- /** Date and time when an amenity was last updated */
201
+ /**
202
+ * Date and time when an amenity was last updated.
203
+ * @deprecated In favor of last_updated.
204
+ */
157
205
  updatedAt?: Maybe<Scalars["String"]>;
206
+ /** Date and time when an amenity was last updated. */
207
+ last_updated: Scalars["DateTime"];
208
+ };
209
+
210
+ /** Amenity data. */
211
+ export type Amenitystation_distanceArgs = {
212
+ unit?: Maybe<DistanceUnit>;
213
+ };
214
+
215
+ /** Accessibility options at the amenity. */
216
+ export type AmenityAccessibility = {
217
+ /** Type of wheelchair accessibility at the amenity. */
218
+ wheelchair?: Maybe<AmenityWheelchairAccessibilityType>;
219
+ };
220
+
221
+ /** Contact information for the amenity. */
222
+ export type AmenityContact = {
223
+ /** Phone number to contact the amenity. */
224
+ phone?: Maybe<Scalars["String"]>;
225
+ /** Website of the amenity. */
226
+ website?: Maybe<Scalars["String"]>;
227
+ };
228
+
229
+ /** Filter that can be applied to retrieve the amenity list. */
230
+ export type AmenityListFilter = {
231
+ /** Type of amenity. An amenity can belong to multiple categories. */
232
+ type?: Maybe<Array<Amenities>>;
233
+ };
234
+
235
+ /** Opening and access hours of the location. */
236
+ export type AmenityOpeningHours = {
237
+ /** True to represent 24 hours a day and 7 days a week. */
238
+ twentyfourseven?: Maybe<Scalars["Boolean"]>;
239
+ /** Regular hours, weekday-based. Only to be used if twentyfourseven=false, then this field needs to contain at least one RegularHours object. */
240
+ regular_hours?: Maybe<Array<Maybe<AmenityRegularHours>>>;
158
241
  };
159
242
 
160
243
  /** Amenity preferences for a route. */
@@ -165,6 +248,16 @@ export type AmenityPreferencesInput = {
165
248
  scheduled_charge_stops?: Maybe<Array<ScheduledChargeStopInput>>;
166
249
  };
167
250
 
251
+ /** Regular hours, weekday-based. Only to be used if twentyfourseven=false, then this field needs to contain at least one RegularHours object. */
252
+ export type AmenityRegularHours = {
253
+ /** Number of days in the week, from Monday (1) till Sunday (7). */
254
+ weekday?: Maybe<Scalars["Int"]>;
255
+ /** 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]. */
256
+ period_begin?: Maybe<Scalars["String"]>;
257
+ /** End of the regular period, in local time, syntax as for period_begin. Must be later than period_begin. */
258
+ period_end?: Maybe<Scalars["String"]>;
259
+ };
260
+
168
261
  /** A list of amenity types. */
169
262
  export enum AmenityType {
170
263
  PARK = "park",
@@ -179,6 +272,18 @@ export enum AmenityType {
179
272
  PHARMACY = "pharmacy"
180
273
  }
181
274
 
275
+ /** Type of wheelchair accessibility at the amenity. */
276
+ export enum AmenityWheelchairAccessibilityType {
277
+ /** Wheelchairs have full unrestricted access. */
278
+ YES = "yes",
279
+ /** Wheelchairs have partial access (e.g some areas can be accessed and others not, areas requiring assistance by someone pushing up a steep gradient). */
280
+ LIMITED = "limited",
281
+ /** Wheelchairs have no unrestricted access (e.g. stair only access). */
282
+ NO = "no",
283
+ /** The amenity is designated or purpose-built for wheelchairs (e.g. bathroom designed for wheelchair access only). */
284
+ DESIGNATED = "designated"
285
+ }
286
+
182
287
  export type AuthorizeConnectedVehicleInput = {
183
288
  /** Id from the connected vehicle */
184
289
  id: Scalars["ID"];
@@ -278,7 +383,6 @@ export type ChargeSpeedInput = {
278
383
  source?: Maybe<TelemetryInputSource>;
279
384
  };
280
385
 
281
- /** Charge speed unit. */
282
386
  export enum ChargeSpeedUnit {
283
387
  /** Return the charge speed in kilowatt hours. */
284
388
  KILOWATT_HOUR = "kilowatt_hour",
@@ -313,7 +417,6 @@ export type Charger = {
313
417
  total?: Maybe<Scalars["Int"]>;
314
418
  };
315
419
 
316
- /** Status of a charger. */
317
420
  export enum ChargerStatus {
318
421
  /** The charger is free. */
319
422
  FREE = "free",
@@ -831,7 +934,11 @@ export enum ConnectorType {
831
934
  /** The connector type is NEMA 14-30, 3 pins, rating of 30 A. */
832
935
  NEMA_14_30 = "NEMA_14_30",
833
936
  /** The connector type is NEMA 14-50, 3 pins, rating of 50 A. */
834
- NEMA_14_50 = "NEMA_14_50"
937
+ NEMA_14_50 = "NEMA_14_50",
938
+ /** Guobiao GB/T 20234.2 AC socket/connector. */
939
+ GBT_AC = "GBT_AC",
940
+ /** Guobiao GB/T 20234.3 DC connector. */
941
+ GBT_DC = "GBT_DC"
835
942
  }
836
943
 
837
944
  export enum ConsumptionUnit {
@@ -867,6 +974,7 @@ export type Contact = {
867
974
 
868
975
  /** ISO-3166 alpha-2 country codes. */
869
976
  export enum CountryCodeAlpha2 {
977
+ AA = "AA",
870
978
  AD = "AD",
871
979
  AE = "AE",
872
980
  AF = "AF",
@@ -1151,16 +1259,23 @@ export type CreateRoute = {
1151
1259
  via?: Maybe<Array<RouteViaFeaturePoint>>;
1152
1260
  /** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
1153
1261
  operators?: Maybe<RouteOperatorPreferences>;
1154
- /** Season of a route. */
1155
- season: RouteSeason;
1262
+ /**
1263
+ * Season of a route.
1264
+ * @deprecated In favor of weather.
1265
+ */
1266
+ season?: Maybe<RouteSeason>;
1156
1267
  /** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
1157
1268
  alternative_station_radius?: Maybe<AlternativeStationRadius>;
1158
1269
  /** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. */
1159
1270
  departure_time: Scalars["DateTime"];
1160
1271
  /** [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
1272
  avoid?: Maybe<Array<RouteAvoid>>;
1162
- /** [BETA] User-defined maximum speed used for this route, if provided. */
1163
- maximum_speed?: Maybe<MaximumSpeed>;
1273
+ /** [BETA] Configuration options for the route's driving conditions. Includes factors to adjust average speed, set a maximum speed, and define a base driving style. If not specified, no adjustments are applied. */
1274
+ driving_preferences?: Maybe<RouteDrivingPreferences>;
1275
+ /** Weather configuration for the route. Defined by a preset or custom weather conditions. */
1276
+ weather?: Maybe<RouteWeather>;
1277
+ /** Charging stations preferences for route calculation. */
1278
+ station_preferences?: Maybe<RouteStationPreferences>;
1164
1279
  };
1165
1280
 
1166
1281
  /** Input for the create route mutation. */
@@ -1173,7 +1288,7 @@ export type CreateRouteInput = {
1173
1288
  destination: RouteDestinationFeaturePointInput;
1174
1289
  /** Optional via points of a route. */
1175
1290
  via?: Maybe<Array<RouteViaFeaturePointInput>>;
1176
- /** Prioritized operators for a route calculation. */
1291
+ /** Operator preferences and restrictions for route calculation. If not specified, excludes operators per project settings, but applies no operator ranking. */
1177
1292
  operators?: Maybe<RouteOperatorPreferencesInput>;
1178
1293
  /** Optional flag to specify the season. */
1179
1294
  season?: Maybe<RouteSeason>;
@@ -1183,8 +1298,12 @@ export type CreateRouteInput = {
1183
1298
  departure_time?: Maybe<Scalars["DateTime"]>;
1184
1299
  /** [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
1300
  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>;
1301
+ /** Weather configuration for the route. Defined by a preset or custom weather conditions. */
1302
+ weather?: Maybe<RouteWeatherInput>;
1303
+ /** Charging stations preferences for route calculation. */
1304
+ station_preferences?: Maybe<RouteStationPreferencesInput>;
1305
+ /** [BETA] Configuration options for the route's driving conditions. Includes factors to adjust average speed, set a maximum speed, and define a base driving style. If not specified, no adjustments are applied. */
1306
+ driving_preferences?: Maybe<RouteDrivingPreferencesInput>;
1188
1307
  };
1189
1308
 
1190
1309
  /** Currency in the ISO 4217 format. */
@@ -1533,15 +1652,21 @@ export enum DimensionUnit {
1533
1652
  MILE = "mile"
1534
1653
  }
1535
1654
 
1536
- /** Distance unit */
1655
+ export type DistanceInput = {
1656
+ /** Value of the distance. */
1657
+ value: Scalars["Float"];
1658
+ /** Unit of distance. */
1659
+ unit: DistanceUnit;
1660
+ };
1661
+
1537
1662
  export enum DistanceUnit {
1538
- /** Return the distance in meters. */
1663
+ /** Distance in meters. */
1539
1664
  METER = "meter",
1540
- /** Return the distance in feet. */
1665
+ /** Distance in feet. */
1541
1666
  FOOT = "foot",
1542
- /** Return the distance in kilometers. */
1667
+ /** Distance in kilometers. */
1543
1668
  KILOMETER = "kilometer",
1544
- /** Return the distance in miles. */
1669
+ /** Distance in miles. */
1545
1670
  MILE = "mile"
1546
1671
  }
1547
1672
 
@@ -1836,19 +1961,13 @@ export enum HeavyVehiclesFacility {
1836
1961
  SECURE_TRUCK_PARKING = "SECURE_TRUCK_PARKING"
1837
1962
  }
1838
1963
 
1839
- /** Navigation service providers available */
1840
- export enum InstructionsFormat {
1841
- /** Chargetrip raw instructions */
1842
- CHARGETRIP = "Chargetrip",
1843
- /** Mapbox instructions mapping */
1844
- MAPBOXV5 = "MapboxV5"
1845
- }
1846
-
1847
1964
  export type Isoline = {
1848
1965
  /** Isoline id. */
1849
1966
  id: Scalars["ID"];
1850
1967
  /** Isoline status. */
1851
1968
  status: IsolineStatus;
1969
+ /** Distance from the origin to the furthest reachable point within the isoline. Represents the longest drivable distance, not a straight-line or vehicle range. */
1970
+ maximum_distance?: Maybe<Scalars["Float"]>;
1852
1971
  /** Shape of the isoline consisting in a list of multipolygons. */
1853
1972
  polygons?: Maybe<Array<Maybe<FeatureMultiPolygon>>>;
1854
1973
  /** List of the ferries uniting islands formed by the isoline. */
@@ -1857,6 +1976,10 @@ export type Isoline = {
1857
1976
  request_input?: Maybe<IsolineRequestInput>;
1858
1977
  };
1859
1978
 
1979
+ export type Isolinemaximum_distanceArgs = {
1980
+ unit?: Maybe<DistanceUnit>;
1981
+ };
1982
+
1860
1983
  export type IsolineCabin = {
1861
1984
  /** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
1862
1985
  is_preconditioned?: Maybe<Scalars["Boolean"]>;
@@ -1914,6 +2037,8 @@ export type IsolineInput = {
1914
2037
  state_of_charge?: Maybe<StateOfChargeInput>;
1915
2038
  /** Minimum final battery state of charge. Default is 0 */
1916
2039
  final_state_of_charge?: Maybe<StateOfChargeInput>;
2040
+ /** [BETA] User-defined maximum speed used for the isoline. */
2041
+ maximum_speed?: Maybe<MaximumSpeedInput>;
1917
2042
  };
1918
2043
 
1919
2044
  /** Granularity of the isoline. */
@@ -1955,6 +2080,8 @@ export type IsolineRequestInput = {
1955
2080
  state_of_charge: Scalars["Float"];
1956
2081
  /** Minimum final battery state of charge. */
1957
2082
  final_state_of_charge: Scalars["Float"];
2083
+ /** [BETA] Maximum speed to consider when generating the isoline. In the segments where legal speed is lower than this value, the legal speed will be used instead. */
2084
+ maximum_speed?: Maybe<MaximumSpeed>;
1958
2085
  };
1959
2086
 
1960
2087
  export type IsolineRequestInputtotal_occupant_weightArgs = {
@@ -2012,20 +2139,6 @@ export enum LineStringType {
2012
2139
  LINESTRING = "LineString"
2013
2140
  }
2014
2141
 
2015
- /** Preferred language for the mapping */
2016
- export enum MappingLanguage {
2017
- /** English(US) */
2018
- EN = "en"
2019
- }
2020
-
2021
- /** Navigation service providers available */
2022
- export enum MappingProvider {
2023
- /** Chargetrip raw instructions */
2024
- CHARGETRIP = "Chargetrip",
2025
- /** Mapbox instructions mapping */
2026
- MAPBOXV5 = "MapboxV5"
2027
- }
2028
-
2029
2142
  export type MaximumSpeed = {
2030
2143
  /** Numeric value of the user-defined maximum speed. */
2031
2144
  value: Scalars["Int"];
@@ -2094,7 +2207,10 @@ export type Mutation = {
2094
2207
  * This is a premium feature, contact Chargetrip for more information.
2095
2208
  */
2096
2209
  deleteUserReview: Review;
2097
- /** Deprecated: In favor of createRoute. */
2210
+ /**
2211
+ * Deprecated: In favor of createRoute.
2212
+ * @deprecated In favor of `createRoute`.
2213
+ */
2098
2214
  newRoute?: Maybe<Scalars["ID"]>;
2099
2215
  /** Create a new route from the route input and its ID. */
2100
2216
  createRoute: Scalars["ID"];
@@ -2152,146 +2268,154 @@ export type MutationcreateRouteArgs = {
2152
2268
  input: CreateRouteInput;
2153
2269
  };
2154
2270
 
2155
- /** The navigation session data */
2271
+ /** The navigation session data. */
2156
2272
  export type Navigation = {
2157
- /** ID of the navigation session */
2273
+ /** ID of the navigation session. */
2158
2274
  id: Scalars["ID"];
2159
- /** The current route used for navigation */
2160
- route_id: Scalars["ID"];
2161
- /** The current route alternative used for navigation */
2162
- route_alternative_id: Scalars["ID"];
2163
- /** The state of a navigation session. The status can be driving, charging, finished, or error */
2164
- state: NavigationState;
2165
- /** State of charge at the last known location */
2166
- state_of_charge: Scalars["Float"];
2167
- /** Last known location */
2168
- last_known_location: Point;
2169
- /** Next charging station */
2170
- next_station?: Maybe<NavigationStation>;
2171
- /** A set of alternative charging stations to next station */
2172
- alternative_stations: Array<NavigationStation>;
2173
- /** Navigation instructions */
2174
- instructions?: Maybe<Scalars["JSON"]>;
2275
+ /** Navigation session details overview. */
2276
+ overview: NavigationOverview;
2277
+ /** The status of a navigation session. The status can be driving, charging, finished, or error. */
2278
+ status: NavigationStatus;
2175
2279
  /** Navigation meta information. */
2176
2280
  meta?: Maybe<NavigationMeta>;
2177
2281
  };
2178
2282
 
2179
- /** The navigation session data */
2180
- export type Navigationstate_of_chargeArgs = {
2181
- unit?: Maybe<StateOfChargeUnit>;
2182
- };
2183
-
2184
- /** Input for the navigation recalculate */
2283
+ /** Input for the navigation recalculate. */
2185
2284
  export type NavigationFinishInput = {
2186
- /** ID of the navigation session */
2285
+ /** ID of the navigation session. */
2187
2286
  id: Scalars["ID"];
2188
- /** Current coordinates */
2287
+ /** Current coordinates. */
2189
2288
  current_location: PointInput;
2190
2289
  };
2191
2290
 
2192
- export type NavigationInstructionsInput = {
2193
- /** Turn by turn instructions format for a route */
2194
- instructions_format: InstructionsFormat;
2195
- /** Preferred navigation instructions language. Default: en */
2196
- language?: Maybe<MappingLanguage>;
2197
- /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6. */
2198
- precision?: Maybe<Scalars["Int"]>;
2199
- };
2200
-
2201
2291
  /** Navigation meta information. */
2202
2292
  export type NavigationMeta = {
2203
2293
  /** Creation time of the navigation session. */
2204
- created_at?: Maybe<Scalars["DateTime"]>;
2294
+ created_at: Scalars["DateTime"];
2205
2295
  /** Last updated time of the navigation session. */
2206
- updated_at?: Maybe<Scalars["DateTime"]>;
2296
+ updated_at: Scalars["DateTime"];
2207
2297
  };
2208
2298
 
2209
- /** Input for the navigation recalculate */
2299
+ /** The navigation session overview details. */
2300
+ export type NavigationOverview = {
2301
+ /** State of charge at the last known location. */
2302
+ state_of_charge: Scalars["Float"];
2303
+ /** Last known location. */
2304
+ last_known_location: Point;
2305
+ /** Next charging station. */
2306
+ next_station?: Maybe<NavigationStation>;
2307
+ /** A set of alternative charging stations to next station. */
2308
+ alternative_stations: Array<NavigationStation>;
2309
+ /** Navigation route instructions. */
2310
+ instructions: Array<Maybe<RouteInstruction>>;
2311
+ /** Continuously updated route request input. */
2312
+ live_route_request: CreateRoute;
2313
+ /** Polyline containing encoded coordinates. */
2314
+ polyline: Scalars["String"];
2315
+ };
2316
+
2317
+ /** The navigation session overview details. */
2318
+ export type NavigationOverviewstate_of_chargeArgs = {
2319
+ unit?: Maybe<StateOfChargeUnit>;
2320
+ };
2321
+
2322
+ /** The navigation session overview details. */
2323
+ export type NavigationOverviewpolylineArgs = {
2324
+ decimals?: Maybe<PolylineInputDecimals>;
2325
+ };
2326
+
2327
+ /** Input for the navigation recalculate. */
2210
2328
  export type NavigationRecalculateInput = {
2211
- /** ID of the navigation session */
2329
+ /** ID of the navigation session. */
2212
2330
  id: Scalars["ID"];
2213
- /** State of charge at origin */
2331
+ /** State of charge at origin. */
2214
2332
  state_of_charge?: Maybe<StateOfChargeInput>;
2215
- /** Origin location of a new route */
2333
+ /** Origin location of a new route. */
2216
2334
  current_location: PointInput;
2217
- /** Via points of a new route. If this field is not sent, the original via points will be used */
2335
+ /** Via points of a new route. If this field is not sent, the original via points will be used. */
2218
2336
  via?: Maybe<Array<FeaturePointInput>>;
2219
- /** Telemetry data input */
2337
+ /** Telemetry data input. */
2220
2338
  telemetry?: Maybe<TelemetryInput>;
2221
2339
  };
2222
2340
 
2223
- /** Input for the navigation start */
2341
+ /** Input for the navigation start. */
2224
2342
  export type NavigationStartInput = {
2225
- /** ID of the route of the navigation session */
2343
+ /** ID of the route of the navigation session. */
2226
2344
  route_id: Scalars["ID"];
2227
- /** ID of the route alternative of the navigation session */
2228
- route_alternative_id?: Maybe<Scalars["ID"]>;
2229
- /** Current coordinates */
2345
+ /** Current coordinates. */
2230
2346
  current_location: PointInput;
2231
- /** Instruction input format */
2232
- instructions: NavigationInstructionsInput;
2233
2347
  };
2234
2348
 
2235
- /** State of navigation session */
2236
- export enum NavigationState {
2237
- /** Vehicle is driving */
2238
- DRIVING = "driving",
2239
- /** Vehicle is charging */
2240
- CHARGING = "charging",
2241
- /** Navigation session is completed (either manually or automatically 48 hours after the last update) */
2242
- FINISHED = "finished",
2243
- /** Failed to update navigation session due to route error or not found */
2244
- ERROR = "error"
2245
- }
2246
-
2247
- /** Navigation session station type */
2349
+ /** Navigation session station type. */
2248
2350
  export type NavigationStation = {
2249
- /** The ID as string of the charging station */
2351
+ /** The ID as string of the charging station. */
2250
2352
  station_id: Scalars["ID"];
2251
- /** GPS location of the charging station */
2353
+ /** GPS location of the charging station. */
2252
2354
  station_location: Point;
2253
- /** An array with all GPS locations of via points until the next charging station */
2355
+ /** An array with all GPS locations of via points until the next charging station. */
2254
2356
  via: Array<Point>;
2255
- /** Estimated state of charge, at arrival on the next charging station */
2357
+ /** Estimated state of charge, at arrival on the next charging station. */
2256
2358
  estimated_state_of_charge: Scalars["Float"];
2257
- /** Estimated consumption, in kWh, from last the known location until the next charging station */
2359
+ /** Estimated consumption, in kWh, from last the known location until the next charging station. */
2258
2360
  estimated_consumption: Scalars["Float"];
2259
- /** Estimated duration, in seconds, from the last known location until the next charging station */
2260
- estimated_duration: Scalars["Int"];
2361
+ /** Estimated duration, in seconds, from the last known location until the next charging station. */
2362
+ estimated_duration: Scalars["Float"];
2261
2363
  };
2262
2364
 
2263
- /** Navigation session station type */
2365
+ /** Navigation session station type. */
2264
2366
  export type NavigationStationestimated_state_of_chargeArgs = {
2265
2367
  unit?: Maybe<StateOfChargeUnit>;
2266
2368
  };
2267
2369
 
2268
- /** Input for the navigation update */
2370
+ /** State of navigation session. */
2371
+ export enum NavigationStatus {
2372
+ /** Vehicle is driving. */
2373
+ DRIVING = "driving",
2374
+ /** Vehicle is charging. */
2375
+ CHARGING = "charging",
2376
+ /** Navigation session is completed (either manually or automatically 48 hours after the last update). */
2377
+ FINISHED = "finished",
2378
+ /** Failed to update navigation session due to route error or not found. */
2379
+ ERROR = "error"
2380
+ }
2381
+
2382
+ /** The navigation session subscription data */
2383
+ export type NavigationSubscription = {
2384
+ /** ID of the navigation session. */
2385
+ id: Scalars["ID"];
2386
+ /** The status of a navigation session. The status can be driving, charging, finished, or error. */
2387
+ status: NavigationStatus;
2388
+ /** Navigation meta information. */
2389
+ meta?: Maybe<NavigationMeta>;
2390
+ };
2391
+
2392
+ /** Input for the navigation update. */
2269
2393
  export type NavigationUpdateInput = {
2270
- /** ID of the navigation session */
2394
+ /** ID of the navigation session. */
2271
2395
  id: Scalars["ID"];
2272
- /** A list of locations that were collected since the last update */
2396
+ /** A list of locations that were collected since the last update. */
2273
2397
  location_data: Array<NavigationUpdateLocationsInput>;
2274
- /** Telemetry data input */
2398
+ /** Telemetry data input. */
2275
2399
  telemetry?: Maybe<TelemetryInput>;
2276
2400
  };
2277
2401
 
2278
- /** Properties of the location */
2402
+ /** Properties of the location. */
2279
2403
  export type NavigationUpdateLocationPropertiesInput = {
2280
- /** Current route leg index corresponding to a location */
2404
+ /** Current route leg index corresponding to a location. */
2281
2405
  route_leg: Scalars["Int"];
2282
- /** Speed at a location */
2406
+ /** Speed at a location. */
2283
2407
  speed?: Maybe<VehicleSpeedInput>;
2284
- /** UNIX timestamp at location, in seconds */
2408
+ /** UNIX timestamp at location, in seconds. */
2285
2409
  timestamp: Scalars["Int"];
2286
- /** Elevation information */
2410
+ /** Elevation information. */
2287
2411
  elevation?: Maybe<ElevationInput>;
2288
2412
  };
2289
2413
 
2290
- /** Input for the navigation update locations */
2414
+ /** Input for the navigation update locations. */
2291
2415
  export type NavigationUpdateLocationsInput = {
2292
- /** GPS location */
2416
+ /** GPS location. */
2293
2417
  geometry: PointInput;
2294
- /** Extra information about the location */
2418
+ /** Extra information about the location. */
2295
2419
  properties: NavigationUpdateLocationPropertiesInput;
2296
2420
  };
2297
2421
 
@@ -2422,7 +2546,11 @@ export enum OCPIConnectorType {
2422
2546
  /** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
2423
2547
  NEMA_14_30 = "NEMA_14_30",
2424
2548
  /** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
2425
- NEMA_14_50 = "NEMA_14_50"
2549
+ NEMA_14_50 = "NEMA_14_50",
2550
+ /** Guobiao GB/T 20234.2 AC socket/connector. */
2551
+ GBT_AC = "GBT_AC",
2552
+ /** Guobiao GB/T 20234.3 DC connector. */
2553
+ GBT_DC = "GBT_DC"
2426
2554
  }
2427
2555
 
2428
2556
  export enum OCPIDayOfWeek {
@@ -2942,12 +3070,18 @@ export type Operator = {
2942
3070
  ranking_levels?: Maybe<OperatorRankingLevels>;
2943
3071
  /** 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
3072
  excluded_countries?: Maybe<Array<CountryCodeAlpha2>>;
3073
+ /** List of countries where the operator is avoided. Default operator preference applied to routes created through createRoute mutation if no operator preference is specified in the request. */
3074
+ avoided_countries?: Maybe<Array<CountryCodeAlpha2>>;
2945
3075
  };
2946
3076
 
2947
3077
  /** Filter which can be applied to retrieve the operator list action. */
2948
3078
  export type OperatorListFilter = {
2949
3079
  /** ISO-3166 alpha-2 country codes an operator is active in. */
2950
3080
  countries?: Maybe<Array<CountryCodeAlpha2>>;
3081
+ /** 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. */
3082
+ ranking?: Maybe<Array<Scalars["Int"]>>;
3083
+ /** 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. */
3084
+ excluded?: Maybe<Scalars["Boolean"]>;
2951
3085
  /** 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
3086
  ranking_levels?: Maybe<OperatorRankingLevelsFilter>;
2953
3087
  /** 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. */
@@ -2966,6 +3100,17 @@ export type OperatorListQuery = {
2966
3100
  country?: Maybe<Scalars["String"]>;
2967
3101
  };
2968
3102
 
3103
+ export enum OperatorPreferenceType {
3104
+ /** Operators that have been set as preferred or required. */
3105
+ RANKED = "ranked",
3106
+ /** Operators that have not been set as neither preferred or required or avoided nor excluded. */
3107
+ UNRANKED = "unranked",
3108
+ /** Operators that have been set to be avoided. */
3109
+ AVOIDED = "avoided",
3110
+ /** Operators that have been set to be excluded. */
3111
+ EXCLUDED = "excluded"
3112
+ }
3113
+
2969
3114
  /** Operator ranking level. */
2970
3115
  export enum OperatorRankingLevel {
2971
3116
  LOW = "low",
@@ -3020,6 +3165,18 @@ export type OutsideTemperatureInput = {
3020
3165
  source?: Maybe<TelemetryInputSource>;
3021
3166
  };
3022
3167
 
3168
+ /** Information about the list page. */
3169
+ export type PageInfo = {
3170
+ /** Flag that indicates if it has a next page. */
3171
+ has_next_page: Scalars["Boolean"];
3172
+ /** Flag that indicates if it has a previous page. */
3173
+ has_previous_page: Scalars["Boolean"];
3174
+ /** Cursor of the first connection of the page. If the page is empty, this is null. */
3175
+ start_cursor?: Maybe<Scalars["String"]>;
3176
+ /** Cursor of the last connection of the page. If the page is empty, this is null. */
3177
+ end_cursor?: Maybe<Scalars["String"]>;
3178
+ };
3179
+
3023
3180
  export enum ParkingCost {
3024
3181
  /** Parking is free. */
3025
3182
  FREE = "free",
@@ -3102,7 +3259,6 @@ export enum PowerUnit {
3102
3259
  HORSEPOWER = "horsepower"
3103
3260
  }
3104
3261
 
3105
- /** Pressure units. */
3106
3262
  export enum PressureUnit {
3107
3263
  /** Return the pressure in bar. */
3108
3264
  BAR = "bar",
@@ -3160,7 +3316,7 @@ export type PricingListProduct = {
3160
3316
  };
3161
3317
 
3162
3318
  export type Query = {
3163
- /** Get a full list of amenities around a station */
3319
+ /** Get a full list of amenities around a station. */
3164
3320
  amenityList?: Maybe<Array<Maybe<Amenity>>>;
3165
3321
  /** [BETA] Get a connected vehicles by id */
3166
3322
  connectedVehicle?: Maybe<ConnectedVehicle>;
@@ -3184,16 +3340,27 @@ export type Query = {
3184
3340
  * This is a premium feature, contact Chargetrip for more information.
3185
3341
  */
3186
3342
  userReviewList?: Maybe<Array<Review>>;
3187
- /** Deprecated: In favor of getRouteEmissions. */
3343
+ /**
3344
+ * Deprecated: In favor of getRouteEmissions.
3345
+ * @deprecated In favor of `getRouteEmissions`.
3346
+ */
3188
3347
  routeEmissions: RouteEmissions;
3189
- /** Deprecated: In favor of getRoute. */
3348
+ /**
3349
+ * Deprecated: In favor of getRoute.
3350
+ * @deprecated In favor of `getRoute`.
3351
+ */
3190
3352
  route?: Maybe<Route>;
3191
- /** Deprecated: In favor of RouteDetails.path_plot. */
3353
+ /**
3354
+ * Deprecated: In favor of RouteDetails.path_plot.
3355
+ * @deprecated In favor of `RouteDetails.path_plot`.
3356
+ */
3192
3357
  routePath?: Maybe<RoutePath>;
3193
- /** Get a route by ID. */
3194
- getRoute: RouteResponse;
3195
3358
  /** Get emissions for a route. */
3196
3359
  getRouteEmissions: RouteDetailsEmissions;
3360
+ /** Get a route by ID. */
3361
+ getRoute: RouteResponse;
3362
+ /** [BETA] Search for stations with amenities within a specific time window and distance of a previously calculated route. */
3363
+ getRouteStationsWithAmenities: RouteStationsWithAmenitiesConnection;
3197
3364
  /** Get information about a station by its ID. */
3198
3365
  station?: Maybe<Station>;
3199
3366
  /** Get a full list of stations. */
@@ -3210,10 +3377,17 @@ export type Query = {
3210
3377
  vehiclePremium?: Maybe<VehiclePremium>;
3211
3378
  /** Get a full list of vehicles. */
3212
3379
  vehicleList?: Maybe<Array<Maybe<VehicleList>>>;
3380
+ /** [BETA] Get a full list of vehicle makes. */
3381
+ vehicleMakes: VehicleMakesConnection;
3382
+ /** [BETA] Get a full list of vehicle make models. */
3383
+ vehicleModels: VehicleModelsConnection;
3213
3384
  };
3214
3385
 
3215
3386
  export type QueryamenityListArgs = {
3216
3387
  stationId: Scalars["ID"];
3388
+ filter?: Maybe<AmenityListFilter>;
3389
+ size?: Maybe<Scalars["Int"]>;
3390
+ page?: Maybe<Scalars["Int"]>;
3217
3391
  };
3218
3392
 
3219
3393
  export type QueryconnectedVehicleArgs = {
@@ -3276,13 +3450,23 @@ export type QueryroutePathArgs = {
3276
3450
  alternativeId?: Maybe<Scalars["ID"]>;
3277
3451
  };
3278
3452
 
3453
+ export type QuerygetRouteEmissionsArgs = {
3454
+ route_id: Scalars["ID"];
3455
+ route_details_id: Scalars["ID"];
3456
+ };
3457
+
3279
3458
  export type QuerygetRouteArgs = {
3280
3459
  id: Scalars["ID"];
3281
3460
  };
3282
3461
 
3283
- export type QuerygetRouteEmissionsArgs = {
3462
+ export type QuerygetRouteStationsWithAmenitiesArgs = {
3284
3463
  route_id: Scalars["ID"];
3285
3464
  route_details_id: Scalars["ID"];
3465
+ time_window: RouteTimeWindow;
3466
+ amenity_types: Array<AmenityType>;
3467
+ filter?: Maybe<RouteStationsWithAmenityFilter>;
3468
+ first?: Maybe<Scalars["Int"]>;
3469
+ after?: Maybe<Scalars["String"]>;
3286
3470
  };
3287
3471
 
3288
3472
  export type QuerystationArgs = {
@@ -3333,6 +3517,17 @@ export type QueryvehicleListArgs = {
3333
3517
  page?: Maybe<Scalars["Int"]>;
3334
3518
  };
3335
3519
 
3520
+ export type QueryvehicleMakesArgs = {
3521
+ country?: Maybe<CountryCodeAlpha2>;
3522
+ };
3523
+
3524
+ export type QueryvehicleModelsArgs = {
3525
+ filter?: Maybe<VehicleModelsFilter>;
3526
+ country?: Maybe<CountryCodeAlpha2>;
3527
+ first?: Maybe<Scalars["Int"]>;
3528
+ after?: Maybe<Scalars["String"]>;
3529
+ };
3530
+
3336
3531
  export type RemoveConnectedVehicleInput = {
3337
3532
  /** Id from the connected vehicle */
3338
3533
  id: Scalars["ID"];
@@ -3476,15 +3671,17 @@ export type RequestEvInput = {
3476
3671
  heatPump?: Maybe<HeatPumpMode>;
3477
3672
  /** Vehicle cabin configuration. */
3478
3673
  cabin?: Maybe<RequestEvCabinInput>;
3674
+ /** Number of passengers on board. */
3675
+ numberOfPassengers?: Maybe<Scalars["Int"]>;
3479
3676
  /** Number of occupants. */
3480
3677
  occupants?: Maybe<Scalars["Int"]>;
3481
3678
  /** Cargo weight, in kg. */
3482
3679
  cargo?: Maybe<Scalars["Int"]>;
3483
3680
  /** Consumption specific to the EV or inputted by the request. */
3484
3681
  consumption?: Maybe<RequestEvConsumptionInput>;
3485
- /** Deprecated. */
3682
+ /** In favor of `consumption`. */
3486
3683
  auxConsumption?: Maybe<Scalars["Float"]>;
3487
- /** Deprecated. */
3684
+ /** In favor of `consumption`. */
3488
3685
  bmsConsumption?: Maybe<Scalars["Float"]>;
3489
3686
  };
3490
3687
 
@@ -3548,7 +3745,10 @@ export type RequestRoute = {
3548
3745
  via?: Maybe<Array<Maybe<FeaturePoint>>>;
3549
3746
  /** Radius in meters for alternative stations along a route (min 500 - max 5000). */
3550
3747
  stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
3551
- /** 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. */
3748
+ /**
3749
+ * 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.
3750
+ * @deprecated Deprecated: all routes will have turn-by-turn instructions prepared. Boolean will be ignored.
3751
+ */
3552
3752
  instructions?: Maybe<Scalars["Boolean"]>;
3553
3753
  /** Mode that indicates if we optimize the charging time or always charge to the maximum capacity. */
3554
3754
  chargeMode?: Maybe<ChargeMode>;
@@ -3812,6 +4012,11 @@ export enum RouteAlternativeType {
3812
4012
  ALTERNATIVE = "alternative"
3813
4013
  }
3814
4014
 
4015
+ export type RouteAmenityFilter = {
4016
+ /** Maximum distance from the station to the amenity. The value must be between 0 and 1 000 meters. If not specified, defaults to 250 meters. */
4017
+ maximum_distance_from_station?: Maybe<DistanceInput>;
4018
+ };
4019
+
3815
4020
  /** Amenity preferences for a route. */
3816
4021
  export type RouteAmenityPreferences = {
3817
4022
  /** Desired amenities near all charge-stops along a route, with a 1 kilometer radius. */
@@ -3837,8 +4042,8 @@ export type RouteDestinationFeaturePoint = {
3837
4042
  /** Feature type. */
3838
4043
  type: FeatureType;
3839
4044
  /** Geometry of the feature. */
3840
- geometry: Point;
3841
- /** Optional object where additional properties can be specified. */
4045
+ geometry?: Maybe<Point>;
4046
+ /** Additional feature properties. */
3842
4047
  properties?: Maybe<RouteDestinationProperties>;
3843
4048
  };
3844
4049
 
@@ -3848,8 +4053,8 @@ export type RouteDestinationFeaturePointInput = {
3848
4053
  /** Feature type. */
3849
4054
  type: FeatureType;
3850
4055
  /** Geometry of the feature. */
3851
- geometry: PointInput;
3852
- /** Optional object where additional properties can be specified. */
4056
+ geometry?: Maybe<PointInput>;
4057
+ /** Additional feature properties. */
3853
4058
  properties?: Maybe<RouteDestinationPropertiesInput>;
3854
4059
  };
3855
4060
 
@@ -3863,7 +4068,7 @@ export type RouteDestinationProperties = {
3863
4068
  export type RouteDestinationPropertiesInput = {
3864
4069
  /** Data about the destination location. */
3865
4070
  location?: Maybe<RoutePropertiesLocationInput>;
3866
- /** Data about the destination station. */
4071
+ /** Specifies a charging station at the destination. If a known station is provided, it will be used as charging stop. Any configured operator preferences are ignored for this stop. */
3867
4072
  station?: Maybe<RoutePropertiesStationInput>;
3868
4073
  };
3869
4074
 
@@ -3890,7 +4095,12 @@ export type RouteDetails = {
3890
4095
  savings?: Maybe<RouteDetailsSavings>;
3891
4096
  /** Legs of a route. */
3892
4097
  legs: Array<RouteDetailsLeg>;
3893
- /** Alternative stations along a route within a specified radius. Will only return stations if alternative_station_radius was specified in the createRoute mutation. */
4098
+ /**
4099
+ * Alternative stations along a route within a specified radius.
4100
+ *
4101
+ * Includes stations from preferred/required/avoided operators but excludes stations from excluded operators.
4102
+ * This list is only populated if `alternative_station_radius` was specified in the `createRoute` mutation.
4103
+ */
3894
4104
  alternative_stations: Array<RouteDetailsAlternativeStation>;
3895
4105
  /** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
3896
4106
  tags: Array<RouteDetailsTag>;
@@ -3929,7 +4139,6 @@ export type RouteDetailsAlternativeStation = {
3929
4139
  operator_id?: Maybe<Scalars["ID"]>;
3930
4140
  };
3931
4141
 
3932
- /** Aggregation of all durations of a route. */
3933
4142
  export type RouteDetailsDurations = {
3934
4143
  /** Total duration, in seconds. */
3935
4144
  total: Scalars["Int"];
@@ -3937,7 +4146,7 @@ export type RouteDetailsDurations = {
3937
4146
  charging: Scalars["Int"];
3938
4147
  /** Total driving duration, in seconds. */
3939
4148
  driving: Scalars["Int"];
3940
- /** Total stop duration, excluding charge stops, in seconds. */
4149
+ /** Total duration stopped at a location via or at a station via, excluding charging time and charging penalty, in seconds. */
3941
4150
  stopover: Scalars["Int"];
3942
4151
  /** Total ferry duration, in seconds. */
3943
4152
  ferry: Scalars["Int"];
@@ -4009,7 +4218,7 @@ export type RouteDetailsLeg = {
4009
4218
  range_after_charge?: Maybe<Scalars["Float"]>;
4010
4219
  /** Type of a leg. */
4011
4220
  type: RouteDetailsLegType;
4012
- /** Information about the station at the destination of a leg. */
4221
+ /** Information about the station at the destination of a leg. */
4013
4222
  station?: Maybe<RouteDetailsLegStation>;
4014
4223
  /** Polyline containing encoded coordinates. */
4015
4224
  polyline: Scalars["String"];
@@ -4070,7 +4279,10 @@ export type RouteDetailsLegFeatureProperties = {
4070
4279
  air_pressure?: Maybe<Scalars["Float"]>;
4071
4280
  /** Solar irradiance at the location. */
4072
4281
  solar_irradiance?: Maybe<Scalars["Float"]>;
4073
- /** Duration, in seconds, of time spent at this location. */
4282
+ /**
4283
+ * Duration, in seconds, of time spent at this location.
4284
+ * @deprecated In favor of legs.durations
4285
+ */
4074
4286
  duration?: Maybe<Scalars["Int"]>;
4075
4287
  /** Number of occupants present in the vehicle. */
4076
4288
  occupants?: Maybe<Scalars["Int"]>;
@@ -4312,6 +4524,31 @@ export enum RouteDetailsTag {
4312
4524
  CROSSBORDER = "crossborder"
4313
4525
  }
4314
4526
 
4527
+ export type RouteDrivingPreferences = {
4528
+ /** [BETA] Factor to adjust the route's calculated average speed. Accepts values between 0.80 and 1.20. 1.0 is neutral. Values below 1.0 reduce speed (e.g. 0.95 is -5%), values above increase it. If provided in combination with style, this overrides the speed factor implied by the selected 'style'. */
4529
+ speed_factor?: Maybe<Scalars["Float"]>;
4530
+ /** [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. If provided in combination with 'style, this overrides the maximum speed implied by the selected 'style'. */
4531
+ maximum_speed?: Maybe<MaximumSpeed>;
4532
+ /** [BETA] Defines a driving style. If provided in combination with 'maximum_speed' or 'speed_factor', those values override the values defined by the selected 'style'. */
4533
+ style?: Maybe<RouteDrivingStyle>;
4534
+ };
4535
+
4536
+ export type RouteDrivingPreferencesInput = {
4537
+ /** [BETA] Factor to adjust the route's calculated average speed. Accepts values between 0.80 and 1.20. 1.0 is neutral. Values below 1.0 reduce speed (e.g. 0.95 is -5%), values above increase it. If provided in combination with style, this overrides the speed factor implied by the selected 'style'. */
4538
+ speed_factor?: Maybe<Scalars["Float"]>;
4539
+ /** [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. If provided in combination with 'style, this overrides the maximum speed implied by the selected 'style'. */
4540
+ maximum_speed?: Maybe<MaximumSpeedInput>;
4541
+ /** [BETA] Defines a driving style. If provided in combination with 'maximum_speed' or 'speed_factor', those values override the values defined by the selected 'style'. */
4542
+ style?: Maybe<RouteDrivingStyle>;
4543
+ };
4544
+
4545
+ export enum RouteDrivingStyle {
4546
+ /** Lower average driving speed and lower energy consumption. Applies a speed limit of 110 km/h to all segments where a higher legal limit is allowed and reduces by 5% the route's average driving speed. */
4547
+ ECO = "eco",
4548
+ /** Higher average driving speed and higher energy consumption. Applies no speed limit and increases by 5% the route's average driving speed. */
4549
+ SPORT = "sport"
4550
+ }
4551
+
4315
4552
  export type RouteEmbeddedEmissions = {
4316
4553
  /** Total embedded emissions. */
4317
4554
  total: Scalars["Float"];
@@ -4688,6 +4925,8 @@ export type RouteLegOperationalElectricityEmissionsIntensity = {
4688
4925
  base_iso_14083_2023_regional_value: EmissionsFactor;
4689
4926
  /** Electricity mix for the leg. */
4690
4927
  energy_sources: RouteOperationalElectricityEnergySources;
4928
+ /** Model used to estimate the electricity mix. */
4929
+ energy_source_model: RouteOperationalElectricityEnergySourceModel;
4691
4930
  /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
4692
4931
  infrastructure: Scalars["Float"];
4693
4932
  /** Season for which the leg was calculated. */
@@ -4917,6 +5156,24 @@ export type RouteOperationalElectricityEmissionsIntensityinfrastructureArgs = {
4917
5156
  unit?: Maybe<EmissionUnit>;
4918
5157
  };
4919
5158
 
5159
+ /** Energy source models. */
5160
+ export enum RouteOperationalElectricityEnergySourceModel {
5161
+ /** Historical average energy mix for the month. */
5162
+ GRID_MONTHLY_AVERAGE = "grid_monthly_average",
5163
+ /** Historical average energy mix for the month and hour. */
5164
+ GRID_HOURLY_AVERAGE = "grid_hourly_average",
5165
+ /** Estimate using historical average electricity demand for the month. */
5166
+ GRID_DEMAND_BASED_MONTHLY_AVERAGE = "grid_demand_based_monthly_average",
5167
+ /** Estimate using historical average electricity demand for the month and hour. */
5168
+ GRID_DEMAND_BASED_HOURLY_AVERAGE = "grid_demand_based_hourly_average",
5169
+ /** Estimate using the seasonal average electricity demand for the climate. */
5170
+ CLIMATE_DEMAND_BASED_SEASONAL_AVERAGE = "climate_demand_based_seasonal_average",
5171
+ /** Estimate using the seasonal average electricity demand for the hour and climate. */
5172
+ CLIMATE_DEMAND_BASED_HOURLY_AVERAGE = "climate_demand_based_hourly_average",
5173
+ /** Regional default energy mix. */
5174
+ DEFAULT = "default"
5175
+ }
5176
+
4920
5177
  export type RouteOperationalElectricityEnergySources = {
4921
5178
  /** Electricity produced by coal power plants. */
4922
5179
  coal: ElectricityGenerationMethod;
@@ -5073,14 +5330,18 @@ export type RouteOperatorPreferences = {
5073
5330
  ranking?: Maybe<RouteOperatorPreferencesRanking>;
5074
5331
  /** Operators that should be excluded for a route calculation. */
5075
5332
  exclude?: Maybe<Array<RouteOperatorsValue>>;
5333
+ /** Operators that should be avoided, but not excluded, for a route calculation. */
5334
+ avoid?: Maybe<Array<RouteOperatorsValue>>;
5076
5335
  };
5077
5336
 
5078
5337
  /** Prioritized operators for a route calculation. */
5079
5338
  export type RouteOperatorPreferencesInput = {
5080
- /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5339
+ /** Operators to be preferred in route calculation. If not specified, no operator ranking is applied (including project-configured ranking). */
5081
5340
  ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
5082
- /** Operators that should be excluded for a route calculation. */
5341
+ /** Operators to be excluded from route calculation. If specified, overrides project-configured operator exclusions. If not specified, applies project-configured operator exclusions. */
5083
5342
  exclude?: Maybe<Array<RouteOperatorsValueInput>>;
5343
+ /** Operators that should be avoided, but not excluded, for a route calculation. */
5344
+ avoid?: Maybe<Array<RouteOperatorsValueInput>>;
5084
5345
  };
5085
5346
 
5086
5347
  export type RouteOperatorPreferencesRanking = {
@@ -5091,9 +5352,9 @@ export type RouteOperatorPreferencesRanking = {
5091
5352
  };
5092
5353
 
5093
5354
  export type RouteOperatorPreferencesRankingInput = {
5094
- /** Flag indicating if the operators ranking should be preferred or required. */
5355
+ /** Ranking enforcement type: preferred (applies ranking levels), required (routes only via ranked operators), or none (no ranking applied). */
5095
5356
  type: RouteOperatorsType;
5096
- /** Ranking levels for operator ranking. */
5357
+ /** Priority levels for operator ranking. If not specified, applies the specified enforcement type to the project-configured operator ranking. */
5097
5358
  levels?: Maybe<RouteOperatorPreferencesRankingLevelsInput>;
5098
5359
  };
5099
5360
 
@@ -5203,7 +5464,7 @@ export type RouteOperatorsValue = {
5203
5464
  export type RouteOperatorsValueInput = {
5204
5465
  /** ID of an operator. */
5205
5466
  id: Scalars["ID"];
5206
- /** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
5467
+ /** List of countries in which the operator should be preferred/excluded/avoided. When omitted the operator will be preferred/excluded in every country. */
5207
5468
  countries?: Maybe<Array<CountryCodeAlpha2>>;
5208
5469
  };
5209
5470
 
@@ -5279,6 +5540,8 @@ export type RoutePropertiesStation = {
5279
5540
  station_id?: Maybe<Scalars["ID"]>;
5280
5541
  /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5281
5542
  external_station_id?: Maybe<Scalars["ID"]>;
5543
+ /** Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode. */
5544
+ stop_duration?: Maybe<Scalars["Int"]>;
5282
5545
  };
5283
5546
 
5284
5547
  export type RoutePropertiesStationInput = {
@@ -5286,6 +5549,8 @@ export type RoutePropertiesStationInput = {
5286
5549
  station_id?: Maybe<Scalars["ID"]>;
5287
5550
  /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5288
5551
  external_station_id?: Maybe<Scalars["ID"]>;
5552
+ /** Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode. */
5553
+ stop_duration?: Maybe<Scalars["Int"]>;
5289
5554
  };
5290
5555
 
5291
5556
  export type RoutePropertiesVehicle = {
@@ -5357,6 +5622,49 @@ export enum RouteSeason {
5357
5622
  CURRENT = "current"
5358
5623
  }
5359
5624
 
5625
+ export type RouteStationFilter = {
5626
+ /** Filters stations within this distance from the route path. The value must be between 0 and 10 000 meters. If not specified, defaults to 1 000 meters. */
5627
+ maximum_distance_from_path?: Maybe<DistanceInput>;
5628
+ /** Filters stations by operator preference types. This filter depends exclusively on the preferences used for the route calculation. If not specified, stations from all preference types (ranked, unranked, avoided, excluded) are returned. */
5629
+ operator_preference?: Maybe<Array<OperatorPreferenceType>>;
5630
+ };
5631
+
5632
+ export type RouteStationOperator = {
5633
+ /** Unique operator ID. */
5634
+ id?: Maybe<Scalars["ID"]>;
5635
+ /** Operator's preference status specifically for this route calculation. */
5636
+ preference_type: OperatorPreferenceType;
5637
+ };
5638
+
5639
+ export type RouteStationPreferences = {
5640
+ /** [BETA] Flag to prioritise charging stations located directly on the highway, avoiding exiting highways to charge. This preference is considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. The preference's weight is configurable in project settings. */
5641
+ prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
5642
+ };
5643
+
5644
+ export type RouteStationPreferencesInput = {
5645
+ /** [BETA] Flag to prioritise charging stations located directly on the highway, avoiding exiting highways to charge. This preference is considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. The preference's weight is configurable in project settings. */
5646
+ prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
5647
+ };
5648
+
5649
+ export type RouteStationWithAmenities = {
5650
+ /** ID of the station. */
5651
+ id: Scalars["ID"];
5652
+ /** ID of the station provided by the station data source. */
5653
+ external_id?: Maybe<Scalars["ID"]>;
5654
+ /** GeoJSON location of the station. */
5655
+ location: Point;
5656
+ /** Information about the station's operator. */
5657
+ operator: RouteStationOperator;
5658
+ /** Distance of the station to the closest point in the original route. */
5659
+ distance_from_path: Scalars["Float"];
5660
+ /** List of up to 5 amenities matching the specified amenity type. Sorted by ascending distance from the station. */
5661
+ matching_amenities: Array<Amenity>;
5662
+ };
5663
+
5664
+ export type RouteStationWithAmenitiesdistance_from_pathArgs = {
5665
+ unit?: Maybe<DistanceUnit>;
5666
+ };
5667
+
5360
5668
  export type RouteStationsAlong = {
5361
5669
  /** The ID of station. */
5362
5670
  id?: Maybe<Scalars["String"]>;
@@ -5372,6 +5680,22 @@ export type RouteStationsAlong = {
5372
5680
  distance?: Maybe<Scalars["Int"]>;
5373
5681
  };
5374
5682
 
5683
+ export type RouteStationsWithAmenitiesConnection = {
5684
+ /** Total number of stations with amenities of the specified type. */
5685
+ total_count: Scalars["Int"];
5686
+ /** Information about the current page. */
5687
+ page_info: PageInfo;
5688
+ /** List of stations with amenities of the specified type. */
5689
+ nodes: Array<RouteStationWithAmenities>;
5690
+ };
5691
+
5692
+ export type RouteStationsWithAmenityFilter = {
5693
+ /** Station filters. */
5694
+ station?: Maybe<RouteStationFilter>;
5695
+ /** Amenity filters. */
5696
+ amenity?: Maybe<RouteAmenityFilter>;
5697
+ };
5698
+
5375
5699
  /** The status of a route. The status can be pending, processing, done, not_found or error. */
5376
5700
  export enum RouteStatus {
5377
5701
  /** Route is queued and pending processing. Temporary status. */
@@ -5415,6 +5739,14 @@ export enum RouteTagType {
5415
5739
  CROSSBORDER = "crossborder"
5416
5740
  }
5417
5741
 
5742
+ /** Specifies a temporal window to search for stations with matching amenity types. Defined by a center from the journey origin and a surrounding time margin. */
5743
+ export type RouteTimeWindow = {
5744
+ /** Center point of the search, expressed as the travel time, in seconds, from the journey's origin. */
5745
+ center: Scalars["Int"];
5746
+ /** Duration in seconds to extend the search on either side of the 'center'. Maximum allowed value is 2700 (45 minutes). If not specified, defaults to 900 seconds (15 minutes). */
5747
+ margin?: Maybe<Scalars["Int"]>;
5748
+ };
5749
+
5418
5750
  export type RouteVehicle = {
5419
5751
  /** ID of the vehicle. */
5420
5752
  id: Scalars["ID"];
@@ -5449,7 +5781,7 @@ export type RouteVehicle = {
5449
5781
  export type RouteVehicleBattery = {
5450
5782
  /** 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. */
5451
5783
  capacity: StateOfCharge;
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. */
5784
+ /** 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. */
5453
5785
  state_of_charge: StateOfCharge;
5454
5786
  /** 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. */
5455
5787
  final_state_of_charge: StateOfCharge;
@@ -5469,7 +5801,7 @@ export type RouteVehicleBattery = {
5469
5801
  export type RouteVehicleBatteryInput = {
5470
5802
  /** 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. */
5471
5803
  capacity?: Maybe<StateOfChargeInput>;
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. */
5804
+ /** 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. */
5473
5805
  state_of_charge?: Maybe<StateOfChargeInput>;
5474
5806
  /** 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. */
5475
5807
  final_state_of_charge?: Maybe<StateOfChargeInput>;
@@ -5651,8 +5983,8 @@ export type RouteViaFeaturePoint = {
5651
5983
  /** Feature type. */
5652
5984
  type: FeatureType;
5653
5985
  /** Geometry of the feature. */
5654
- geometry: Point;
5655
- /** Optional object where additional properties can be specified. */
5986
+ geometry?: Maybe<Point>;
5987
+ /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
5656
5988
  properties?: Maybe<RouteViaProperties>;
5657
5989
  };
5658
5990
 
@@ -5662,8 +5994,8 @@ export type RouteViaFeaturePointInput = {
5662
5994
  /** Feature type. */
5663
5995
  type: FeatureType;
5664
5996
  /** Geometry of the feature. */
5665
- geometry: PointInput;
5666
- /** Optional object where additional properties can be specified. */
5997
+ geometry?: Maybe<PointInput>;
5998
+ /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
5667
5999
  properties?: Maybe<RouteViaPropertiesInput>;
5668
6000
  };
5669
6001
 
@@ -5681,10 +6013,42 @@ export type RouteViaPropertiesInput = {
5681
6013
  location?: Maybe<RoutePropertiesViaLocationInput>;
5682
6014
  /** Vehicle data of the via point. */
5683
6015
  vehicle?: Maybe<RoutePropertiesVehicleInput>;
5684
- /** Station data of the via point. */
6016
+ /** Specifies a charging station at the via. If a known station is provided, it will be used as charging stop. Any configured operator preferences are ignored for this stop. */
5685
6017
  station?: Maybe<RoutePropertiesStationInput>;
5686
6018
  };
5687
6019
 
6020
+ export type RouteWeather = {
6021
+ /** Weather configuration applied to the route. */
6022
+ type: WeatherType;
6023
+ /** [BETA] Custom weather conditions applied to the route. Only present when 'type' is set to 'CUSTOM'. */
6024
+ custom?: Maybe<RouteWeatherCustomConditions>;
6025
+ };
6026
+
6027
+ export type RouteWeatherCustomConditions = {
6028
+ /** Average ambient temperature estimated along the route. */
6029
+ temperature: Temperature;
6030
+ /** Atmospheric pressure along the route. */
6031
+ air_pressure: AirPressure;
6032
+ /** Solar irradiance along the route. */
6033
+ solar_irradiance: SolarIrradiance;
6034
+ };
6035
+
6036
+ export type RouteWeatherCustomConditionsInput = {
6037
+ /** Average ambient temperature estimated along the route. */
6038
+ temperature: TemperatureInput;
6039
+ /** Atmospheric pressure along the route. */
6040
+ air_pressure: AirPressureInput;
6041
+ /** Solar irradiance along the route. */
6042
+ solar_irradiance: SolarIrradianceInput;
6043
+ };
6044
+
6045
+ export type RouteWeatherInput = {
6046
+ /** Weather configuration applied to the route. */
6047
+ type?: Maybe<WeatherType>;
6048
+ /** [BETA] Custom weather conditions to apply to the route. Required only when 'type' is 'CUSTOM'. Must be omitted for other weather types. */
6049
+ custom?: Maybe<RouteWeatherCustomConditionsInput>;
6050
+ };
6051
+
5688
6052
  /** Scheduled charge stop along a route. */
5689
6053
  export type ScheduledChargeStopInput = {
5690
6054
  /** List of amenity types. */
@@ -5699,12 +6063,29 @@ export type ScheduledChargeStopInput = {
5699
6063
  max_distance_from_station?: Maybe<Scalars["Int"]>;
5700
6064
  };
5701
6065
 
6066
+ export type SolarIrradiance = {
6067
+ /** Value of the solar irradiance. */
6068
+ value: Scalars["Float"];
6069
+ /** Solar irradiance unit. */
6070
+ type: SolarIrradianceUnit;
6071
+ };
6072
+
6073
+ export type SolarIrradianceInput = {
6074
+ /** Value of the solar irradiance. */
6075
+ value: Scalars["Float"];
6076
+ /** Solar irradiance unit. */
6077
+ type: SolarIrradianceUnit;
6078
+ };
6079
+
6080
+ export enum SolarIrradianceUnit {
6081
+ WATTS_PER_SQUARE_METER = "watts_per_square_meter"
6082
+ }
6083
+
5702
6084
  export enum SortDirection {
5703
6085
  ASCENDING = "ascending",
5704
6086
  DESCENDING = "descending"
5705
6087
  }
5706
6088
 
5707
- /** Speed units. */
5708
6089
  export enum SpeedUnit {
5709
6090
  /** Return the speed in kilometers per hour. */
5710
6091
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
@@ -5730,7 +6111,6 @@ export type StateOfChargeInput = {
5730
6111
  source?: Maybe<TelemetryInputSource>;
5731
6112
  };
5732
6113
 
5733
- /** State of charge unit. */
5734
6114
  export enum StateOfChargeUnit {
5735
6115
  /** Return the state of charge in kilometers. */
5736
6116
  KILOMETER = "kilometer",
@@ -5914,7 +6294,7 @@ export type StationAroundFilter = {
5914
6294
  connectors?: Maybe<Array<Maybe<ConnectorType>>>;
5915
6295
  /** Flag that allows you to return only available stations. */
5916
6296
  available_only?: Maybe<Scalars["Boolean"]>;
5917
- /** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned. */
6297
+ /** Flag to filter for stations operated by an operator present in the project's ranking list. */
5918
6298
  preferred_operator?: Maybe<Scalars["Boolean"]>;
5919
6299
  };
5920
6300
 
@@ -5963,7 +6343,7 @@ export type StationCustomProperties = {
5963
6343
  predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
5964
6344
  /**
5965
6345
  * Type of access to the charging station.
5966
- * @deprecated In favor of station.charging_behaviour.
6346
+ * @deprecated In favor of station.access_type.
5967
6347
  */
5968
6348
  access_type?: Maybe<AccessType>;
5969
6349
  /** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
@@ -6034,7 +6414,7 @@ export type StationListFilter = {
6034
6414
  connectors?: Maybe<Array<Maybe<ConnectorType>>>;
6035
6415
  /** Flag that allows you to return only available stations. */
6036
6416
  available_only?: Maybe<Scalars["Boolean"]>;
6037
- /** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned. */
6417
+ /** Flag to filter for stations operated by an operator present in the project's ranking list. */
6038
6418
  preferred_operator?: Maybe<Scalars["Boolean"]>;
6039
6419
  };
6040
6420
 
@@ -6153,7 +6533,7 @@ export type Subscription = {
6153
6533
  /** Subscribe to a specific route to receive system event updates. */
6154
6534
  route: RouteResponse;
6155
6535
  /** [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>;
6536
+ navigationUpdatedById?: Maybe<NavigationSubscription>;
6157
6537
  /** [BETA] Subscribe to a connected vehicle. */
6158
6538
  connectedVehicle?: Maybe<ConnectedVehicle>;
6159
6539
  /** Subscribe to an isoline in order to receive updates. */
@@ -6326,7 +6706,6 @@ export type TelemetryInput = {
6326
6706
  custom?: Maybe<Scalars["JSON"]>;
6327
6707
  };
6328
6708
 
6329
- /** Telemetry input sources. */
6330
6709
  export enum TelemetryInputSource {
6331
6710
  /** Manually inputted value. */
6332
6711
  MANUAL = "manual",
@@ -6350,7 +6729,6 @@ export type TemperatureInput = {
6350
6729
  type: TemperatureUnit;
6351
6730
  };
6352
6731
 
6353
- /** Temperature unit. */
6354
6732
  export enum TemperatureUnit {
6355
6733
  /** Return the temperature in Celsius. */
6356
6734
  CELSIUS = "Celsius",
@@ -6776,6 +7154,10 @@ export type VehicleListFilter = {
6776
7154
  purpose?: Maybe<Array<VehiclePurpose>>;
6777
7155
  /** Type of vehicle. */
6778
7156
  type?: Maybe<Array<VehicleType>>;
7157
+ /** [BETA] Make of vehicle. */
7158
+ make?: Maybe<Scalars["String"]>;
7159
+ /** [BETA] Model of vehicle. */
7160
+ model?: Maybe<Scalars["String"]>;
6779
7161
  };
6780
7162
 
6781
7163
  export type VehicleListMedia = {
@@ -6820,6 +7202,20 @@ export type VehicleListRouting = {
6820
7202
  fast_charging_support: Scalars["Boolean"];
6821
7203
  };
6822
7204
 
7205
+ /** Vehicle make data. */
7206
+ export type VehicleMake = {
7207
+ /** Vehicle make name. */
7208
+ name: Scalars["String"];
7209
+ /** Vehicle make image. */
7210
+ image: VehicleImage;
7211
+ };
7212
+
7213
+ /** Vehicle makes response object. */
7214
+ export type VehicleMakesConnection = {
7215
+ /** List of vehicle makes. */
7216
+ nodes: Array<VehicleMake>;
7217
+ };
7218
+
6823
7219
  export type VehicleMedia = {
6824
7220
  /** Featured image of the vehicle from a 45-degree angle. */
6825
7221
  image: VehicleImage;
@@ -6848,6 +7244,28 @@ export enum VehicleMode {
6848
7244
  CONCEPT = "concept"
6849
7245
  }
6850
7246
 
7247
+ /** Vehicle model data. */
7248
+ export type VehicleModel = {
7249
+ /** Vehicle model name. */
7250
+ name: Scalars["String"];
7251
+ };
7252
+
7253
+ /** Vehicle models response object. */
7254
+ export type VehicleModelsConnection = {
7255
+ /** Total number of unique vehicle models. */
7256
+ total_count: Scalars["Int"];
7257
+ /** Information about the current page. */
7258
+ page_info: PageInfo;
7259
+ /** List of vehicle models. */
7260
+ nodes: Array<VehicleModel>;
7261
+ };
7262
+
7263
+ /** Filter vehicle model list result. */
7264
+ export type VehicleModelsFilter = {
7265
+ /** Vehicle make. */
7266
+ make?: Maybe<Scalars["String"]>;
7267
+ };
7268
+
6851
7269
  export type VehicleNaming = {
6852
7270
  /** Vehicle manufacturer name. */
6853
7271
  make: Scalars["String"];
@@ -7923,7 +8341,18 @@ export enum VolumeUnit {
7923
8341
  CUBIC_FOOT = "cubic_foot"
7924
8342
  }
7925
8343
 
7926
- /** Weight unit. */
8344
+ /** Type of weather conditions used in the route calculation. */
8345
+ export enum WeatherType {
8346
+ /** Fixed seasonal preset representing typical summer weather conditions. Can't be used in combination with weather.custom. */
8347
+ SUMMER = "summer",
8348
+ /** Fixed seasonal preset representing typical winter weather conditions. Can't be used in combination with weather.custom. */
8349
+ WINTER = "winter",
8350
+ /** A dynamic preset that uses real weather data based on the route's departure time. Can't be used in combination with weather.custom. */
8351
+ ACTUAL = "actual",
8352
+ /** Must be used in combination with weather.custom object. */
8353
+ CUSTOM = "custom"
8354
+ }
8355
+
7927
8356
  export enum WeightUnit {
7928
8357
  /** Return the weight in kilograms. */
7929
8358
  KILOGRAM = "kilogram",