@chargetrip/types 1.47.1 → 1.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/graphql.ts CHANGED
@@ -146,7 +146,9 @@ export enum Amenities {
146
146
  BATHROOM = "bathroom",
147
147
  SUPERMARKET = "supermarket",
148
148
  PLAYGROUND = "playground",
149
- PHARMACY = "pharmacy"
149
+ PHARMACY = "pharmacy",
150
+ BAKERY = "bakery",
151
+ CONVENIENCE_STORE = "convenience_store"
150
152
  }
151
153
 
152
154
  /** Amenity data. */
@@ -164,7 +166,7 @@ export type Amenity = {
164
166
  /** ID provided by an amenity data source as the row ID. */
165
167
  external_id: Scalars["String"];
166
168
  /** Name of the amenity. */
167
- name?: Maybe<Scalars["String"]>;
169
+ name: Scalars["String"];
168
170
  /** Geo location coordinates. This is a GeoJSON Point. */
169
171
  location: Point;
170
172
  /** Address of the amenity. */
@@ -269,7 +271,9 @@ export enum AmenityType {
269
271
  BATHROOM = "bathroom",
270
272
  SUPERMARKET = "supermarket",
271
273
  PLAYGROUND = "playground",
272
- PHARMACY = "pharmacy"
274
+ PHARMACY = "pharmacy",
275
+ BAKERY = "bakery",
276
+ CONVENIENCE_STORE = "convenience_store"
273
277
  }
274
278
 
275
279
  /** Type of wheelchair accessibility at the amenity. */
@@ -934,7 +938,11 @@ export enum ConnectorType {
934
938
  /** The connector type is NEMA 14-30, 3 pins, rating of 30 A. */
935
939
  NEMA_14_30 = "NEMA_14_30",
936
940
  /** The connector type is NEMA 14-50, 3 pins, rating of 50 A. */
937
- NEMA_14_50 = "NEMA_14_50"
941
+ NEMA_14_50 = "NEMA_14_50",
942
+ /** Guobiao GB/T 20234.2 AC socket/connector. */
943
+ GBT_AC = "GBT_AC",
944
+ /** Guobiao GB/T 20234.3 DC connector. */
945
+ GBT_DC = "GBT_DC"
938
946
  }
939
947
 
940
948
  export enum ConsumptionUnit {
@@ -1266,10 +1274,12 @@ export type CreateRoute = {
1266
1274
  departure_time: Scalars["DateTime"];
1267
1275
  /** [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. */
1268
1276
  avoid?: Maybe<Array<RouteAvoid>>;
1269
- /** [BETA] User-defined maximum speed used for this route, if provided. */
1270
- maximum_speed?: Maybe<MaximumSpeed>;
1277
+ /** [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. */
1278
+ driving_preferences?: Maybe<RouteDrivingPreferences>;
1271
1279
  /** Weather configuration for the route. Defined by a preset or custom weather conditions. */
1272
1280
  weather?: Maybe<RouteWeather>;
1281
+ /** Charging stations preferences for route calculation. */
1282
+ station_preferences?: Maybe<RouteStationPreferences>;
1273
1283
  };
1274
1284
 
1275
1285
  /** Input for the create route mutation. */
@@ -1282,7 +1292,7 @@ export type CreateRouteInput = {
1282
1292
  destination: RouteDestinationFeaturePointInput;
1283
1293
  /** Optional via points of a route. */
1284
1294
  via?: Maybe<Array<RouteViaFeaturePointInput>>;
1285
- /** Prioritized operators for a route calculation. */
1295
+ /** Operator preferences and restrictions for route calculation. If not specified, excludes operators per project settings, but applies no operator ranking. */
1286
1296
  operators?: Maybe<RouteOperatorPreferencesInput>;
1287
1297
  /** Optional flag to specify the season. */
1288
1298
  season?: Maybe<RouteSeason>;
@@ -1292,10 +1302,12 @@ export type CreateRouteInput = {
1292
1302
  departure_time?: Maybe<Scalars["DateTime"]>;
1293
1303
  /** [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. */
1294
1304
  avoid?: Maybe<Array<RouteAvoid>>;
1295
- /** [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. */
1296
- maximum_speed?: Maybe<MaximumSpeedInput>;
1297
1305
  /** Weather configuration for the route. Defined by a preset or custom weather conditions. */
1298
1306
  weather?: Maybe<RouteWeatherInput>;
1307
+ /** Charging stations preferences for route calculation. */
1308
+ station_preferences?: Maybe<RouteStationPreferencesInput>;
1309
+ /** [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. */
1310
+ driving_preferences?: Maybe<RouteDrivingPreferencesInput>;
1299
1311
  };
1300
1312
 
1301
1313
  /** Currency in the ISO 4217 format. */
@@ -1644,14 +1656,21 @@ export enum DimensionUnit {
1644
1656
  MILE = "mile"
1645
1657
  }
1646
1658
 
1659
+ export type DistanceInput = {
1660
+ /** Value of the distance. */
1661
+ value: Scalars["Float"];
1662
+ /** Unit of distance. */
1663
+ unit: DistanceUnit;
1664
+ };
1665
+
1647
1666
  export enum DistanceUnit {
1648
- /** Return the distance in meters. */
1667
+ /** Distance in meters. */
1649
1668
  METER = "meter",
1650
- /** Return the distance in feet. */
1669
+ /** Distance in feet. */
1651
1670
  FOOT = "foot",
1652
- /** Return the distance in kilometers. */
1671
+ /** Distance in kilometers. */
1653
1672
  KILOMETER = "kilometer",
1654
- /** Return the distance in miles. */
1673
+ /** Distance in miles. */
1655
1674
  MILE = "mile"
1656
1675
  }
1657
1676
 
@@ -1946,19 +1965,13 @@ export enum HeavyVehiclesFacility {
1946
1965
  SECURE_TRUCK_PARKING = "SECURE_TRUCK_PARKING"
1947
1966
  }
1948
1967
 
1949
- /** Navigation service providers available */
1950
- export enum InstructionsFormat {
1951
- /** Chargetrip raw instructions */
1952
- CHARGETRIP = "Chargetrip",
1953
- /** Mapbox instructions mapping */
1954
- MAPBOXV5 = "MapboxV5"
1955
- }
1956
-
1957
1968
  export type Isoline = {
1958
1969
  /** Isoline id. */
1959
1970
  id: Scalars["ID"];
1960
1971
  /** Isoline status. */
1961
1972
  status: IsolineStatus;
1973
+ /** Distance from the origin to the furthest reachable point within the isoline. Represents the longest drivable distance, not a straight-line or vehicle range. */
1974
+ maximum_distance?: Maybe<Scalars["Float"]>;
1962
1975
  /** Shape of the isoline consisting in a list of multipolygons. */
1963
1976
  polygons?: Maybe<Array<Maybe<FeatureMultiPolygon>>>;
1964
1977
  /** List of the ferries uniting islands formed by the isoline. */
@@ -1967,6 +1980,10 @@ export type Isoline = {
1967
1980
  request_input?: Maybe<IsolineRequestInput>;
1968
1981
  };
1969
1982
 
1983
+ export type Isolinemaximum_distanceArgs = {
1984
+ unit?: Maybe<DistanceUnit>;
1985
+ };
1986
+
1970
1987
  export type IsolineCabin = {
1971
1988
  /** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
1972
1989
  is_preconditioned?: Maybe<Scalars["Boolean"]>;
@@ -2024,6 +2041,8 @@ export type IsolineInput = {
2024
2041
  state_of_charge?: Maybe<StateOfChargeInput>;
2025
2042
  /** Minimum final battery state of charge. Default is 0 */
2026
2043
  final_state_of_charge?: Maybe<StateOfChargeInput>;
2044
+ /** [BETA] User-defined maximum speed used for the isoline. */
2045
+ maximum_speed?: Maybe<MaximumSpeedInput>;
2027
2046
  };
2028
2047
 
2029
2048
  /** Granularity of the isoline. */
@@ -2065,6 +2084,8 @@ export type IsolineRequestInput = {
2065
2084
  state_of_charge: Scalars["Float"];
2066
2085
  /** Minimum final battery state of charge. */
2067
2086
  final_state_of_charge: Scalars["Float"];
2087
+ /** [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. */
2088
+ maximum_speed?: Maybe<MaximumSpeed>;
2068
2089
  };
2069
2090
 
2070
2091
  export type IsolineRequestInputtotal_occupant_weightArgs = {
@@ -2122,20 +2143,6 @@ export enum LineStringType {
2122
2143
  LINESTRING = "LineString"
2123
2144
  }
2124
2145
 
2125
- /** Preferred language for the mapping */
2126
- export enum MappingLanguage {
2127
- /** English(US) */
2128
- EN = "en"
2129
- }
2130
-
2131
- /** Navigation service providers available */
2132
- export enum MappingProvider {
2133
- /** Chargetrip raw instructions */
2134
- CHARGETRIP = "Chargetrip",
2135
- /** Mapbox instructions mapping */
2136
- MAPBOXV5 = "MapboxV5"
2137
- }
2138
-
2139
2146
  export type MaximumSpeed = {
2140
2147
  /** Numeric value of the user-defined maximum speed. */
2141
2148
  value: Scalars["Int"];
@@ -2265,146 +2272,154 @@ export type MutationcreateRouteArgs = {
2265
2272
  input: CreateRouteInput;
2266
2273
  };
2267
2274
 
2268
- /** The navigation session data */
2275
+ /** The navigation session data. */
2269
2276
  export type Navigation = {
2270
- /** ID of the navigation session */
2277
+ /** ID of the navigation session. */
2271
2278
  id: Scalars["ID"];
2272
- /** The current route used for navigation */
2273
- route_id: Scalars["ID"];
2274
- /** The current route alternative used for navigation */
2275
- route_alternative_id: Scalars["ID"];
2276
- /** The state of a navigation session. The status can be driving, charging, finished, or error */
2277
- state: NavigationState;
2278
- /** State of charge at the last known location */
2279
- state_of_charge: Scalars["Float"];
2280
- /** Last known location */
2281
- last_known_location: Point;
2282
- /** Next charging station */
2283
- next_station?: Maybe<NavigationStation>;
2284
- /** A set of alternative charging stations to next station */
2285
- alternative_stations: Array<NavigationStation>;
2286
- /** Navigation instructions */
2287
- instructions?: Maybe<Scalars["JSON"]>;
2279
+ /** Navigation session details overview. */
2280
+ overview: NavigationOverview;
2281
+ /** The status of a navigation session. The status can be driving, charging, finished, or error. */
2282
+ status: NavigationStatus;
2288
2283
  /** Navigation meta information. */
2289
2284
  meta?: Maybe<NavigationMeta>;
2290
2285
  };
2291
2286
 
2292
- /** The navigation session data */
2293
- export type Navigationstate_of_chargeArgs = {
2294
- unit?: Maybe<StateOfChargeUnit>;
2295
- };
2296
-
2297
- /** Input for the navigation recalculate */
2287
+ /** Input for the navigation recalculate. */
2298
2288
  export type NavigationFinishInput = {
2299
- /** ID of the navigation session */
2289
+ /** ID of the navigation session. */
2300
2290
  id: Scalars["ID"];
2301
- /** Current coordinates */
2291
+ /** Current coordinates. */
2302
2292
  current_location: PointInput;
2303
2293
  };
2304
2294
 
2305
- export type NavigationInstructionsInput = {
2306
- /** Turn by turn instructions format for a route */
2307
- instructions_format: InstructionsFormat;
2308
- /** Preferred navigation instructions language. Default: en */
2309
- language?: Maybe<MappingLanguage>;
2310
- /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6. */
2311
- precision?: Maybe<Scalars["Int"]>;
2312
- };
2313
-
2314
2295
  /** Navigation meta information. */
2315
2296
  export type NavigationMeta = {
2316
2297
  /** Creation time of the navigation session. */
2317
- created_at?: Maybe<Scalars["DateTime"]>;
2298
+ created_at: Scalars["DateTime"];
2318
2299
  /** Last updated time of the navigation session. */
2319
- updated_at?: Maybe<Scalars["DateTime"]>;
2300
+ updated_at: Scalars["DateTime"];
2301
+ };
2302
+
2303
+ /** The navigation session overview details. */
2304
+ export type NavigationOverview = {
2305
+ /** State of charge at the last known location. */
2306
+ state_of_charge: Scalars["Float"];
2307
+ /** Last known location. */
2308
+ last_known_location: Point;
2309
+ /** Next charging station. */
2310
+ next_station?: Maybe<NavigationStation>;
2311
+ /** A set of alternative charging stations to next station. */
2312
+ alternative_stations: Array<NavigationStation>;
2313
+ /** Navigation route instructions. */
2314
+ instructions: Array<Maybe<RouteInstruction>>;
2315
+ /** Continuously updated route request input. */
2316
+ live_route_request: CreateRoute;
2317
+ /** Polyline containing encoded coordinates. */
2318
+ polyline: Scalars["String"];
2319
+ };
2320
+
2321
+ /** The navigation session overview details. */
2322
+ export type NavigationOverviewstate_of_chargeArgs = {
2323
+ unit?: Maybe<StateOfChargeUnit>;
2324
+ };
2325
+
2326
+ /** The navigation session overview details. */
2327
+ export type NavigationOverviewpolylineArgs = {
2328
+ decimals?: Maybe<PolylineInputDecimals>;
2320
2329
  };
2321
2330
 
2322
- /** Input for the navigation recalculate */
2331
+ /** Input for the navigation recalculate. */
2323
2332
  export type NavigationRecalculateInput = {
2324
- /** ID of the navigation session */
2333
+ /** ID of the navigation session. */
2325
2334
  id: Scalars["ID"];
2326
- /** State of charge at origin */
2335
+ /** State of charge at origin. */
2327
2336
  state_of_charge?: Maybe<StateOfChargeInput>;
2328
- /** Origin location of a new route */
2337
+ /** Origin location of a new route. */
2329
2338
  current_location: PointInput;
2330
- /** Via points of a new route. If this field is not sent, the original via points will be used */
2339
+ /** Via points of a new route. If this field is not sent, the original via points will be used. */
2331
2340
  via?: Maybe<Array<FeaturePointInput>>;
2332
- /** Telemetry data input */
2341
+ /** Telemetry data input. */
2333
2342
  telemetry?: Maybe<TelemetryInput>;
2334
2343
  };
2335
2344
 
2336
- /** Input for the navigation start */
2345
+ /** Input for the navigation start. */
2337
2346
  export type NavigationStartInput = {
2338
- /** ID of the route of the navigation session */
2347
+ /** ID of the route of the navigation session. */
2339
2348
  route_id: Scalars["ID"];
2340
- /** ID of the route alternative of the navigation session */
2341
- route_alternative_id?: Maybe<Scalars["ID"]>;
2342
- /** Current coordinates */
2349
+ /** Current coordinates. */
2343
2350
  current_location: PointInput;
2344
- /** Instruction input format */
2345
- instructions: NavigationInstructionsInput;
2346
2351
  };
2347
2352
 
2348
- /** State of navigation session */
2349
- export enum NavigationState {
2350
- /** Vehicle is driving */
2351
- DRIVING = "driving",
2352
- /** Vehicle is charging */
2353
- CHARGING = "charging",
2354
- /** Navigation session is completed (either manually or automatically 48 hours after the last update) */
2355
- FINISHED = "finished",
2356
- /** Failed to update navigation session due to route error or not found */
2357
- ERROR = "error"
2358
- }
2359
-
2360
- /** Navigation session station type */
2353
+ /** Navigation session station type. */
2361
2354
  export type NavigationStation = {
2362
- /** The ID as string of the charging station */
2355
+ /** The ID as string of the charging station. */
2363
2356
  station_id: Scalars["ID"];
2364
- /** GPS location of the charging station */
2357
+ /** GPS location of the charging station. */
2365
2358
  station_location: Point;
2366
- /** An array with all GPS locations of via points until the next charging station */
2359
+ /** An array with all GPS locations of via points until the next charging station. */
2367
2360
  via: Array<Point>;
2368
- /** Estimated state of charge, at arrival on the next charging station */
2361
+ /** Estimated state of charge, at arrival on the next charging station. */
2369
2362
  estimated_state_of_charge: Scalars["Float"];
2370
- /** Estimated consumption, in kWh, from last the known location until the next charging station */
2363
+ /** Estimated consumption, in kWh, from last the known location until the next charging station. */
2371
2364
  estimated_consumption: Scalars["Float"];
2372
- /** Estimated duration, in seconds, from the last known location until the next charging station */
2373
- estimated_duration: Scalars["Int"];
2365
+ /** Estimated duration, in seconds, from the last known location until the next charging station. */
2366
+ estimated_duration: Scalars["Float"];
2374
2367
  };
2375
2368
 
2376
- /** Navigation session station type */
2369
+ /** Navigation session station type. */
2377
2370
  export type NavigationStationestimated_state_of_chargeArgs = {
2378
2371
  unit?: Maybe<StateOfChargeUnit>;
2379
2372
  };
2380
2373
 
2381
- /** Input for the navigation update */
2374
+ /** State of navigation session. */
2375
+ export enum NavigationStatus {
2376
+ /** Vehicle is driving. */
2377
+ DRIVING = "driving",
2378
+ /** Vehicle is charging. */
2379
+ CHARGING = "charging",
2380
+ /** Navigation session is completed (either manually or automatically 48 hours after the last update). */
2381
+ FINISHED = "finished",
2382
+ /** Failed to update navigation session due to route error or not found. */
2383
+ ERROR = "error"
2384
+ }
2385
+
2386
+ /** The navigation session subscription data */
2387
+ export type NavigationSubscription = {
2388
+ /** ID of the navigation session. */
2389
+ id: Scalars["ID"];
2390
+ /** The status of a navigation session. The status can be driving, charging, finished, or error. */
2391
+ status: NavigationStatus;
2392
+ /** Navigation meta information. */
2393
+ meta?: Maybe<NavigationMeta>;
2394
+ };
2395
+
2396
+ /** Input for the navigation update. */
2382
2397
  export type NavigationUpdateInput = {
2383
- /** ID of the navigation session */
2398
+ /** ID of the navigation session. */
2384
2399
  id: Scalars["ID"];
2385
- /** A list of locations that were collected since the last update */
2400
+ /** A list of locations that were collected since the last update. */
2386
2401
  location_data: Array<NavigationUpdateLocationsInput>;
2387
- /** Telemetry data input */
2402
+ /** Telemetry data input. */
2388
2403
  telemetry?: Maybe<TelemetryInput>;
2389
2404
  };
2390
2405
 
2391
- /** Properties of the location */
2406
+ /** Properties of the location. */
2392
2407
  export type NavigationUpdateLocationPropertiesInput = {
2393
- /** Current route leg index corresponding to a location */
2408
+ /** Current route leg index corresponding to a location. */
2394
2409
  route_leg: Scalars["Int"];
2395
- /** Speed at a location */
2410
+ /** Speed at a location. */
2396
2411
  speed?: Maybe<VehicleSpeedInput>;
2397
- /** UNIX timestamp at location, in seconds */
2412
+ /** UNIX timestamp at location, in seconds. */
2398
2413
  timestamp: Scalars["Int"];
2399
- /** Elevation information */
2414
+ /** Elevation information. */
2400
2415
  elevation?: Maybe<ElevationInput>;
2401
2416
  };
2402
2417
 
2403
- /** Input for the navigation update locations */
2418
+ /** Input for the navigation update locations. */
2404
2419
  export type NavigationUpdateLocationsInput = {
2405
- /** GPS location */
2420
+ /** GPS location. */
2406
2421
  geometry: PointInput;
2407
- /** Extra information about the location */
2422
+ /** Extra information about the location. */
2408
2423
  properties: NavigationUpdateLocationPropertiesInput;
2409
2424
  };
2410
2425
 
@@ -2535,7 +2550,11 @@ export enum OCPIConnectorType {
2535
2550
  /** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
2536
2551
  NEMA_14_30 = "NEMA_14_30",
2537
2552
  /** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
2538
- NEMA_14_50 = "NEMA_14_50"
2553
+ NEMA_14_50 = "NEMA_14_50",
2554
+ /** Guobiao GB/T 20234.2 AC socket/connector. */
2555
+ GBT_AC = "GBT_AC",
2556
+ /** Guobiao GB/T 20234.3 DC connector. */
2557
+ GBT_DC = "GBT_DC"
2539
2558
  }
2540
2559
 
2541
2560
  export enum OCPIDayOfWeek {
@@ -3055,6 +3074,8 @@ export type Operator = {
3055
3074
  ranking_levels?: Maybe<OperatorRankingLevels>;
3056
3075
  /** 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. */
3057
3076
  excluded_countries?: Maybe<Array<CountryCodeAlpha2>>;
3077
+ /** 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. */
3078
+ avoided_countries?: Maybe<Array<CountryCodeAlpha2>>;
3058
3079
  };
3059
3080
 
3060
3081
  /** Filter which can be applied to retrieve the operator list action. */
@@ -3083,6 +3104,17 @@ export type OperatorListQuery = {
3083
3104
  country?: Maybe<Scalars["String"]>;
3084
3105
  };
3085
3106
 
3107
+ export enum OperatorPreferenceType {
3108
+ /** Operators that have been set as preferred or required. */
3109
+ RANKED = "ranked",
3110
+ /** Operators that have not been set as neither preferred or required or avoided nor excluded. */
3111
+ UNRANKED = "unranked",
3112
+ /** Operators that have been set to be avoided. */
3113
+ AVOIDED = "avoided",
3114
+ /** Operators that have been set to be excluded. */
3115
+ EXCLUDED = "excluded"
3116
+ }
3117
+
3086
3118
  /** Operator ranking level. */
3087
3119
  export enum OperatorRankingLevel {
3088
3120
  LOW = "low",
@@ -3137,6 +3169,18 @@ export type OutsideTemperatureInput = {
3137
3169
  source?: Maybe<TelemetryInputSource>;
3138
3170
  };
3139
3171
 
3172
+ /** Information about the list page. */
3173
+ export type PageInfo = {
3174
+ /** Flag that indicates if it has a next page. */
3175
+ has_next_page: Scalars["Boolean"];
3176
+ /** Flag that indicates if it has a previous page. */
3177
+ has_previous_page: Scalars["Boolean"];
3178
+ /** Cursor of the first connection of the page. If the page is empty, this is null. */
3179
+ start_cursor?: Maybe<Scalars["String"]>;
3180
+ /** Cursor of the last connection of the page. If the page is empty, this is null. */
3181
+ end_cursor?: Maybe<Scalars["String"]>;
3182
+ };
3183
+
3140
3184
  export enum ParkingCost {
3141
3185
  /** Parking is free. */
3142
3186
  FREE = "free",
@@ -3319,6 +3363,8 @@ export type Query = {
3319
3363
  getRouteEmissions: RouteDetailsEmissions;
3320
3364
  /** Get a route by ID. */
3321
3365
  getRoute: RouteResponse;
3366
+ /** [BETA] Search for stations with amenities within a specific time window and distance of a previously calculated route. */
3367
+ getRouteStationsWithAmenities: RouteStationsWithAmenitiesConnection;
3322
3368
  /** Get information about a station by its ID. */
3323
3369
  station?: Maybe<Station>;
3324
3370
  /** Get a full list of stations. */
@@ -3336,9 +3382,9 @@ export type Query = {
3336
3382
  /** Get a full list of vehicles. */
3337
3383
  vehicleList?: Maybe<Array<Maybe<VehicleList>>>;
3338
3384
  /** [BETA] Get a full list of vehicle makes. */
3339
- vehicleMakes: VehicleMakesResponse;
3385
+ vehicleMakes: VehicleMakesConnection;
3340
3386
  /** [BETA] Get a full list of vehicle make models. */
3341
- vehicleModels: VehicleModelsResponse;
3387
+ vehicleModels: VehicleModelsConnection;
3342
3388
  };
3343
3389
 
3344
3390
  export type QueryamenityListArgs = {
@@ -3417,6 +3463,16 @@ export type QuerygetRouteArgs = {
3417
3463
  id: Scalars["ID"];
3418
3464
  };
3419
3465
 
3466
+ export type QuerygetRouteStationsWithAmenitiesArgs = {
3467
+ route_id: Scalars["ID"];
3468
+ route_details_id: Scalars["ID"];
3469
+ time_window: RouteTimeWindow;
3470
+ amenity_types: Array<AmenityType>;
3471
+ filter?: Maybe<RouteStationsWithAmenityFilter>;
3472
+ first?: Maybe<Scalars["Int"]>;
3473
+ after?: Maybe<Scalars["String"]>;
3474
+ };
3475
+
3420
3476
  export type QuerystationArgs = {
3421
3477
  id?: Maybe<Scalars["ID"]>;
3422
3478
  evse_id?: Maybe<Scalars["String"]>;
@@ -3470,8 +3526,10 @@ export type QueryvehicleMakesArgs = {
3470
3526
  };
3471
3527
 
3472
3528
  export type QueryvehicleModelsArgs = {
3473
- filter: VehicleModelsFilter;
3529
+ filter?: Maybe<VehicleModelsFilter>;
3474
3530
  country?: Maybe<CountryCodeAlpha2>;
3531
+ first?: Maybe<Scalars["Int"]>;
3532
+ after?: Maybe<Scalars["String"]>;
3475
3533
  };
3476
3534
 
3477
3535
  export type RemoveConnectedVehicleInput = {
@@ -3826,21 +3884,6 @@ export type ReviewTagsInput = {
3826
3884
  export type ReviewUser = {
3827
3885
  /** User full name. If a review was added by an anonymous user, this will be null. */
3828
3886
  name?: Maybe<Scalars["String"]>;
3829
- /**
3830
- * User ID.
3831
- * @deprecated Not sent back anymore, will be null
3832
- */
3833
- id?: Maybe<Scalars["ID"]>;
3834
- /**
3835
- * First name.
3836
- * @deprecated In favor of name.
3837
- */
3838
- firstName?: Maybe<Scalars["String"]>;
3839
- /**
3840
- * Last name.
3841
- * @deprecated In favor of name
3842
- */
3843
- lastName?: Maybe<Scalars["String"]>;
3844
3887
  };
3845
3888
 
3846
3889
  export type Route = {
@@ -3958,6 +4001,11 @@ export enum RouteAlternativeType {
3958
4001
  ALTERNATIVE = "alternative"
3959
4002
  }
3960
4003
 
4004
+ export type RouteAmenityFilter = {
4005
+ /** 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. */
4006
+ maximum_distance_from_station?: Maybe<DistanceInput>;
4007
+ };
4008
+
3961
4009
  /** Amenity preferences for a route. */
3962
4010
  export type RouteAmenityPreferences = {
3963
4011
  /** Desired amenities near all charge-stops along a route, with a 1 kilometer radius. */
@@ -3983,8 +4031,8 @@ export type RouteDestinationFeaturePoint = {
3983
4031
  /** Feature type. */
3984
4032
  type: FeatureType;
3985
4033
  /** Geometry of the feature. */
3986
- geometry: Point;
3987
- /** Optional object where additional properties can be specified. */
4034
+ geometry?: Maybe<Point>;
4035
+ /** Additional feature properties. */
3988
4036
  properties?: Maybe<RouteDestinationProperties>;
3989
4037
  };
3990
4038
 
@@ -3994,8 +4042,8 @@ export type RouteDestinationFeaturePointInput = {
3994
4042
  /** Feature type. */
3995
4043
  type: FeatureType;
3996
4044
  /** Geometry of the feature. */
3997
- geometry: PointInput;
3998
- /** Optional object where additional properties can be specified. */
4045
+ geometry?: Maybe<PointInput>;
4046
+ /** Additional feature properties. */
3999
4047
  properties?: Maybe<RouteDestinationPropertiesInput>;
4000
4048
  };
4001
4049
 
@@ -4009,7 +4057,7 @@ export type RouteDestinationProperties = {
4009
4057
  export type RouteDestinationPropertiesInput = {
4010
4058
  /** Data about the destination location. */
4011
4059
  location?: Maybe<RoutePropertiesLocationInput>;
4012
- /** Data about the destination station. */
4060
+ /** 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. */
4013
4061
  station?: Maybe<RoutePropertiesStationInput>;
4014
4062
  };
4015
4063
 
@@ -4036,12 +4084,19 @@ export type RouteDetails = {
4036
4084
  savings?: Maybe<RouteDetailsSavings>;
4037
4085
  /** Legs of a route. */
4038
4086
  legs: Array<RouteDetailsLeg>;
4039
- /** Alternative stations along a route within a specified radius. Will only return stations if alternative_station_radius was specified in the createRoute mutation. */
4087
+ /**
4088
+ * Alternative stations along a route within a specified radius.
4089
+ *
4090
+ * Includes stations from preferred/required/avoided operators but excludes stations from excluded operators.
4091
+ * This list is only populated if `alternative_station_radius` was specified in the `createRoute` mutation.
4092
+ */
4040
4093
  alternative_stations: Array<RouteDetailsAlternativeStation>;
4041
4094
  /** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
4042
4095
  tags: Array<RouteDetailsTag>;
4043
4096
  /** Number of charging stops required for this route. */
4044
4097
  charges: Scalars["Int"];
4098
+ /** [BETA] Warnings that certain conditions specified in a route mutation are not respected. */
4099
+ warnings?: Maybe<Array<RouteWarning>>;
4045
4100
  };
4046
4101
 
4047
4102
  export type RouteDetailsdistanceArgs = {
@@ -4075,7 +4130,6 @@ export type RouteDetailsAlternativeStation = {
4075
4130
  operator_id?: Maybe<Scalars["ID"]>;
4076
4131
  };
4077
4132
 
4078
- /** Aggregation of all durations of a route. */
4079
4133
  export type RouteDetailsDurations = {
4080
4134
  /** Total duration, in seconds. */
4081
4135
  total: Scalars["Int"];
@@ -4083,7 +4137,7 @@ export type RouteDetailsDurations = {
4083
4137
  charging: Scalars["Int"];
4084
4138
  /** Total driving duration, in seconds. */
4085
4139
  driving: Scalars["Int"];
4086
- /** Total stop duration, excluding charge stops, in seconds. */
4140
+ /** Total duration stopped at a location via or at a station via, excluding charging time and charging penalty, in seconds. */
4087
4141
  stopover: Scalars["Int"];
4088
4142
  /** Total ferry duration, in seconds. */
4089
4143
  ferry: Scalars["Int"];
@@ -4165,6 +4219,8 @@ export type RouteDetailsLeg = {
4165
4219
  maneuvers: Array<RouteDetailsManeuver>;
4166
4220
  /** Road sections of a leg - divided by means of transportation. */
4167
4221
  sections: Array<RouteDetailsLegSection>;
4222
+ /** [BETA] Warnings that certain conditions specified in a route mutation are not respected. */
4223
+ warnings?: Maybe<Array<RouteDetailsLegWarning>>;
4168
4224
  };
4169
4225
 
4170
4226
  /** Leg of a route detail. */
@@ -4216,7 +4272,10 @@ export type RouteDetailsLegFeatureProperties = {
4216
4272
  air_pressure?: Maybe<Scalars["Float"]>;
4217
4273
  /** Solar irradiance at the location. */
4218
4274
  solar_irradiance?: Maybe<Scalars["Float"]>;
4219
- /** Duration, in seconds, of time spent at this location. */
4275
+ /**
4276
+ * Duration, in seconds, of time spent at this location.
4277
+ * @deprecated In favor of legs.durations
4278
+ */
4220
4279
  duration?: Maybe<Scalars["Int"]>;
4221
4280
  /** Number of occupants present in the vehicle. */
4222
4281
  occupants?: Maybe<Scalars["Int"]>;
@@ -4358,6 +4417,27 @@ export enum RouteDetailsLegType {
4358
4417
  FINAL = "final"
4359
4418
  }
4360
4419
 
4420
+ export type RouteDetailsLegWarning = {
4421
+ /** The code of the warning. */
4422
+ code: RouteDetailsLegWarningCode;
4423
+ };
4424
+
4425
+ /** Types of warnings that can be encountered in a route leg. */
4426
+ export enum RouteDetailsLegWarningCode {
4427
+ /** The via location cannot be reached by vehicle. */
4428
+ VIA_NOT_VEHICLE_ACCESSIBLE = "via_not_vehicle_accessible",
4429
+ /** The leg could not use stations from the preferred operator(s). */
4430
+ OPERATORS_PREFERRED_NOT_AVAILABLE = "operators_preferred_not_available",
4431
+ /** Vehicle's load may exceed the maximum supported weight of the vehicle. */
4432
+ MAXIMUM_WEIGHT_EXCEEDED = "maximum_weight_exceeded",
4433
+ /** The leg includes sections requested to be avoided. */
4434
+ SEGMENT_UNAVOIDABLE = "segment_unavoidable",
4435
+ /** The charging station used in the leg has limited opening hours. */
4436
+ STATION_LIMITED_OPEN_HOURS = "station_limited_open_hours",
4437
+ /** The specified stop duration at the via charging station is insufficient to start a charging session. */
4438
+ VIA_INSUFFICIENT_CHARGING_TIME = "via_insufficient_charging_time"
4439
+ }
4440
+
4361
4441
  export type RouteDetailsManeuver = {
4362
4442
  /** Type of instruction. */
4363
4443
  type: RouteDetailsLegManeuverType;
@@ -4458,6 +4538,31 @@ export enum RouteDetailsTag {
4458
4538
  CROSSBORDER = "crossborder"
4459
4539
  }
4460
4540
 
4541
+ export type RouteDrivingPreferences = {
4542
+ /** [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'. */
4543
+ speed_factor?: Maybe<Scalars["Float"]>;
4544
+ /** [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'. */
4545
+ maximum_speed?: Maybe<MaximumSpeed>;
4546
+ /** [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'. */
4547
+ style?: Maybe<RouteDrivingStyle>;
4548
+ };
4549
+
4550
+ export type RouteDrivingPreferencesInput = {
4551
+ /** [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'. */
4552
+ speed_factor?: Maybe<Scalars["Float"]>;
4553
+ /** [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'. */
4554
+ maximum_speed?: Maybe<MaximumSpeedInput>;
4555
+ /** [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'. */
4556
+ style?: Maybe<RouteDrivingStyle>;
4557
+ };
4558
+
4559
+ export enum RouteDrivingStyle {
4560
+ /** 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. */
4561
+ ECO = "eco",
4562
+ /** Higher average driving speed and higher energy consumption. Applies no speed limit and increases by 5% the route's average driving speed. */
4563
+ SPORT = "sport"
4564
+ }
4565
+
4461
4566
  export type RouteEmbeddedEmissions = {
4462
4567
  /** Total embedded emissions. */
4463
4568
  total: Scalars["Float"];
@@ -5239,14 +5344,18 @@ export type RouteOperatorPreferences = {
5239
5344
  ranking?: Maybe<RouteOperatorPreferencesRanking>;
5240
5345
  /** Operators that should be excluded for a route calculation. */
5241
5346
  exclude?: Maybe<Array<RouteOperatorsValue>>;
5347
+ /** Operators that should be avoided, but not excluded, for a route calculation. */
5348
+ avoid?: Maybe<Array<RouteOperatorsValue>>;
5242
5349
  };
5243
5350
 
5244
5351
  /** Prioritized operators for a route calculation. */
5245
5352
  export type RouteOperatorPreferencesInput = {
5246
- /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5353
+ /** Operators to be preferred in route calculation. If not specified, no operator ranking is applied (including project-configured ranking). */
5247
5354
  ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
5248
- /** Operators that should be excluded for a route calculation. */
5355
+ /** Operators to be excluded from route calculation. If specified, overrides project-configured operator exclusions. If not specified, applies project-configured operator exclusions. */
5249
5356
  exclude?: Maybe<Array<RouteOperatorsValueInput>>;
5357
+ /** Operators that should be avoided, but not excluded, for a route calculation. */
5358
+ avoid?: Maybe<Array<RouteOperatorsValueInput>>;
5250
5359
  };
5251
5360
 
5252
5361
  export type RouteOperatorPreferencesRanking = {
@@ -5257,9 +5366,9 @@ export type RouteOperatorPreferencesRanking = {
5257
5366
  };
5258
5367
 
5259
5368
  export type RouteOperatorPreferencesRankingInput = {
5260
- /** Flag indicating if the operators ranking should be preferred or required. */
5369
+ /** Determines how operator preferences are applied to stations during route calculation. If no ranking is provided through 'levels' or project settings, no operator preference is applied. */
5261
5370
  type: RouteOperatorsType;
5262
- /** Ranking levels for operator ranking. */
5371
+ /** Priority levels for operator ranking. If not specified, applies the specified enforcement type to the project-configured operator ranking. */
5263
5372
  levels?: Maybe<RouteOperatorPreferencesRankingLevelsInput>;
5264
5373
  };
5265
5374
 
@@ -5369,7 +5478,7 @@ export type RouteOperatorsValue = {
5369
5478
  export type RouteOperatorsValueInput = {
5370
5479
  /** ID of an operator. */
5371
5480
  id: Scalars["ID"];
5372
- /** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
5481
+ /** List of countries in which the operator should be preferred/excluded/avoided. When omitted the operator will be preferred/excluded in every country. */
5373
5482
  countries?: Maybe<Array<CountryCodeAlpha2>>;
5374
5483
  };
5375
5484
 
@@ -5445,6 +5554,8 @@ export type RoutePropertiesStation = {
5445
5554
  station_id?: Maybe<Scalars["ID"]>;
5446
5555
  /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5447
5556
  external_station_id?: Maybe<Scalars["ID"]>;
5557
+ /** 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. */
5558
+ stop_duration?: Maybe<Scalars["Int"]>;
5448
5559
  };
5449
5560
 
5450
5561
  export type RoutePropertiesStationInput = {
@@ -5452,6 +5563,8 @@ export type RoutePropertiesStationInput = {
5452
5563
  station_id?: Maybe<Scalars["ID"]>;
5453
5564
  /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5454
5565
  external_station_id?: Maybe<Scalars["ID"]>;
5566
+ /** 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. */
5567
+ stop_duration?: Maybe<Scalars["Int"]>;
5455
5568
  };
5456
5569
 
5457
5570
  export type RoutePropertiesVehicle = {
@@ -5523,6 +5636,49 @@ export enum RouteSeason {
5523
5636
  CURRENT = "current"
5524
5637
  }
5525
5638
 
5639
+ export type RouteStationFilter = {
5640
+ /** 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. */
5641
+ maximum_distance_from_path?: Maybe<DistanceInput>;
5642
+ /** 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. */
5643
+ operator_preference?: Maybe<Array<OperatorPreferenceType>>;
5644
+ };
5645
+
5646
+ export type RouteStationOperator = {
5647
+ /** Unique operator ID. */
5648
+ id?: Maybe<Scalars["ID"]>;
5649
+ /** Operator's preference status specifically for this route calculation. */
5650
+ preference_type: OperatorPreferenceType;
5651
+ };
5652
+
5653
+ export type RouteStationPreferences = {
5654
+ /** [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. */
5655
+ prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
5656
+ };
5657
+
5658
+ export type RouteStationPreferencesInput = {
5659
+ /** [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. */
5660
+ prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
5661
+ };
5662
+
5663
+ export type RouteStationWithAmenities = {
5664
+ /** ID of the station. */
5665
+ id: Scalars["ID"];
5666
+ /** ID of the station provided by the station data source. */
5667
+ external_id?: Maybe<Scalars["ID"]>;
5668
+ /** GeoJSON location of the station. */
5669
+ location: Point;
5670
+ /** Information about the station's operator. */
5671
+ operator: RouteStationOperator;
5672
+ /** Distance of the station to the closest point in the original route. */
5673
+ distance_from_path: Scalars["Float"];
5674
+ /** List of up to 5 amenities matching the specified amenity type. Sorted by ascending distance from the station. */
5675
+ matching_amenities: Array<Amenity>;
5676
+ };
5677
+
5678
+ export type RouteStationWithAmenitiesdistance_from_pathArgs = {
5679
+ unit?: Maybe<DistanceUnit>;
5680
+ };
5681
+
5526
5682
  export type RouteStationsAlong = {
5527
5683
  /** The ID of station. */
5528
5684
  id?: Maybe<Scalars["String"]>;
@@ -5538,6 +5694,22 @@ export type RouteStationsAlong = {
5538
5694
  distance?: Maybe<Scalars["Int"]>;
5539
5695
  };
5540
5696
 
5697
+ export type RouteStationsWithAmenitiesConnection = {
5698
+ /** Total number of stations with amenities of the specified type. */
5699
+ total_count: Scalars["Int"];
5700
+ /** Information about the current page. */
5701
+ page_info: PageInfo;
5702
+ /** List of stations with amenities of the specified type. */
5703
+ nodes: Array<RouteStationWithAmenities>;
5704
+ };
5705
+
5706
+ export type RouteStationsWithAmenityFilter = {
5707
+ /** Station filters. */
5708
+ station?: Maybe<RouteStationFilter>;
5709
+ /** Amenity filters. */
5710
+ amenity?: Maybe<RouteAmenityFilter>;
5711
+ };
5712
+
5541
5713
  /** The status of a route. The status can be pending, processing, done, not_found or error. */
5542
5714
  export enum RouteStatus {
5543
5715
  /** Route is queued and pending processing. Temporary status. */
@@ -5581,6 +5753,14 @@ export enum RouteTagType {
5581
5753
  CROSSBORDER = "crossborder"
5582
5754
  }
5583
5755
 
5756
+ /** 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. */
5757
+ export type RouteTimeWindow = {
5758
+ /** Center point of the search, expressed as the travel time, in seconds, from the journey's origin. */
5759
+ center: Scalars["Int"];
5760
+ /** 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). */
5761
+ margin?: Maybe<Scalars["Int"]>;
5762
+ };
5763
+
5584
5764
  export type RouteVehicle = {
5585
5765
  /** ID of the vehicle. */
5586
5766
  id: Scalars["ID"];
@@ -5817,8 +5997,8 @@ export type RouteViaFeaturePoint = {
5817
5997
  /** Feature type. */
5818
5998
  type: FeatureType;
5819
5999
  /** Geometry of the feature. */
5820
- geometry: Point;
5821
- /** Optional object where additional properties can be specified. */
6000
+ geometry?: Maybe<Point>;
6001
+ /** 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. */
5822
6002
  properties?: Maybe<RouteViaProperties>;
5823
6003
  };
5824
6004
 
@@ -5828,8 +6008,8 @@ export type RouteViaFeaturePointInput = {
5828
6008
  /** Feature type. */
5829
6009
  type: FeatureType;
5830
6010
  /** Geometry of the feature. */
5831
- geometry: PointInput;
5832
- /** Optional object where additional properties can be specified. */
6011
+ geometry?: Maybe<PointInput>;
6012
+ /** 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. */
5833
6013
  properties?: Maybe<RouteViaPropertiesInput>;
5834
6014
  };
5835
6015
 
@@ -5847,10 +6027,35 @@ export type RouteViaPropertiesInput = {
5847
6027
  location?: Maybe<RoutePropertiesViaLocationInput>;
5848
6028
  /** Vehicle data of the via point. */
5849
6029
  vehicle?: Maybe<RoutePropertiesVehicleInput>;
5850
- /** Station data of the via point. */
6030
+ /** 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. */
5851
6031
  station?: Maybe<RoutePropertiesStationInput>;
5852
6032
  };
5853
6033
 
6034
+ export type RouteWarning = {
6035
+ /** The code of the warning. */
6036
+ code: RouteWarningCode;
6037
+ };
6038
+
6039
+ /** Types of warnings that can be encountered in a route. */
6040
+ export enum RouteWarningCode {
6041
+ /** The selected vehicle model is unavailable on one or more regions along the route. */
6042
+ EV_UNAVAILABLE_IN_REGION = "ev_unavailable_in_region",
6043
+ /** Route excludes charging stations as a hybrid vehicle does not require external charging. */
6044
+ HEV_NO_CHARGING_STATIONS = "hev_no_charging_stations",
6045
+ /** Route is calculated using only the battery range of the extended-range vehicle. */
6046
+ EREV_BATTERY_ONLY_RANGE = "erev_battery_only_range",
6047
+ /** The origin location cannot be reached by vehicle and requires a walking section to reach the point. */
6048
+ ORIGIN_NOT_VEHICLE_ACCESSIBLE = "origin_not_vehicle_accessible",
6049
+ /** The destination location cannot be reached by vehicle and requires a walking section to reach the point. */
6050
+ DESTINATION_NOT_VEHICLE_ACCESSIBLE = "destination_not_vehicle_accessible",
6051
+ /** The requested final state of charge cannot be achieved. */
6052
+ FINAL_SOC_NOT_POSSIBLE = "final_soc_not_possible",
6053
+ /** The set maximum speed is too low (below 50 km/h) and may result in an inefficient route. */
6054
+ LOW_SPEED = "low_speed",
6055
+ /** Operator preferences were ignored because they have not been configured for this project nor provided in the route create request. */
6056
+ OPERATOR_PREFERENCES_NOT_FOUND = "operator_preferences_not_found"
6057
+ }
6058
+
5854
6059
  export type RouteWeather = {
5855
6060
  /** Weather configuration applied to the route. */
5856
6061
  type: WeatherType;
@@ -6041,18 +6246,8 @@ export type Station = {
6041
6246
  properties?: Maybe<Scalars["JSON"]>;
6042
6247
  /** A flag that indicates if a station has real-time information about the availability of its connectors. */
6043
6248
  realtime?: Maybe<Scalars["Boolean"]>;
6044
- /**
6045
- * A flag that indicates if a station is on private property.
6046
- * @deprecated In favor of access_type.
6047
- */
6048
- private?: Maybe<Scalars["Boolean"]>;
6049
6249
  /** Connectors grouped by power. */
6050
6250
  power?: Maybe<Scalars["JSON"]>;
6051
- /**
6052
- * Station availability.
6053
- * @deprecated predicted_availability, no value will be sent. Deprecated in favor of predicted_occupancy.
6054
- */
6055
- predicted_availability?: Maybe<Array<Maybe<StationPredictedAvailability>>>;
6056
6251
  /** Predicted station occupancy. */
6057
6252
  predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
6058
6253
  /** Charging speed for a station. */
@@ -6128,7 +6323,7 @@ export type StationAroundFilter = {
6128
6323
  connectors?: Maybe<Array<Maybe<ConnectorType>>>;
6129
6324
  /** Flag that allows you to return only available stations. */
6130
6325
  available_only?: Maybe<Scalars["Boolean"]>;
6131
- /** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned. */
6326
+ /** Flag to filter for stations operated by an operator present in the project's ranking list. */
6132
6327
  preferred_operator?: Maybe<Scalars["Boolean"]>;
6133
6328
  };
6134
6329
 
@@ -6145,41 +6340,11 @@ export type StationAroundQuery = {
6145
6340
  };
6146
6341
 
6147
6342
  export type StationCustomProperties = {
6148
- /**
6149
- * List of eMSP cards accepted at a charging station.
6150
- * @deprecated In favor of station.roaming.
6151
- */
6152
- roaming?: Maybe<Array<Maybe<StationRoaming>>>;
6153
- /**
6154
- * Phone number for assistance at a charging station.
6155
- * @deprecated In favor of station.support_phone_number.
6156
- */
6157
- support_phone_number?: Maybe<Scalars["String"]>;
6158
- /**
6159
- * Charging behavior of a station.
6160
- * @deprecated In favor of station.charging_behaviour.
6161
- */
6162
- charging_behaviour?: Maybe<ChargingBehaviour>;
6163
6343
  /**
6164
6344
  * Shows how reliable a charging station is (1 to 5; 1 = unreliable, 5 = reliable), taking into account the charging behaviour history and error values.
6165
6345
  * @deprecated In favor of station.reliability_score.
6166
6346
  */
6167
6347
  reliability_score?: Maybe<Scalars["Int"]>;
6168
- /**
6169
- * List of available ad hoc payment methods.
6170
- * @deprecated In favor of station.adhoc_authorisation_payment_method.
6171
- */
6172
- adhoc_authorisation_method?: Maybe<Array<Maybe<AdhocAuthorisationMethod>>>;
6173
- /**
6174
- * Predicted station occupancy.
6175
- * @deprecated In favor of station.predicted_occupancy.
6176
- */
6177
- predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
6178
- /**
6179
- * Type of access to the charging station.
6180
- * @deprecated In favor of station.access_type.
6181
- */
6182
- access_type?: Maybe<AccessType>;
6183
6348
  /** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
6184
6349
  oicp?: Maybe<OICPStationCustomProperties>;
6185
6350
  };
@@ -6248,7 +6413,7 @@ export type StationListFilter = {
6248
6413
  connectors?: Maybe<Array<Maybe<ConnectorType>>>;
6249
6414
  /** Flag that allows you to return only available stations. */
6250
6415
  available_only?: Maybe<Scalars["Boolean"]>;
6251
- /** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned. */
6416
+ /** Flag to filter for stations operated by an operator present in the project's ranking list. */
6252
6417
  preferred_operator?: Maybe<Scalars["Boolean"]>;
6253
6418
  };
6254
6419
 
@@ -6367,7 +6532,7 @@ export type Subscription = {
6367
6532
  /** Subscribe to a specific route to receive system event updates. */
6368
6533
  route: RouteResponse;
6369
6534
  /** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
6370
- navigationUpdatedById?: Maybe<Navigation>;
6535
+ navigationUpdatedById?: Maybe<NavigationSubscription>;
6371
6536
  /** [BETA] Subscribe to a connected vehicle. */
6372
6537
  connectedVehicle?: Maybe<ConnectedVehicle>;
6373
6538
  /** Subscribe to an isoline in order to receive updates. */
@@ -7045,9 +7210,9 @@ export type VehicleMake = {
7045
7210
  };
7046
7211
 
7047
7212
  /** Vehicle makes response object. */
7048
- export type VehicleMakesResponse = {
7049
- /** Elements of the vehicle make list. */
7050
- items: Array<VehicleMake>;
7213
+ export type VehicleMakesConnection = {
7214
+ /** List of vehicle makes. */
7215
+ nodes: Array<VehicleMake>;
7051
7216
  };
7052
7217
 
7053
7218
  export type VehicleMedia = {
@@ -7084,16 +7249,20 @@ export type VehicleModel = {
7084
7249
  name: Scalars["String"];
7085
7250
  };
7086
7251
 
7252
+ /** Vehicle models response object. */
7253
+ export type VehicleModelsConnection = {
7254
+ /** Total number of unique vehicle models. */
7255
+ total_count: Scalars["Int"];
7256
+ /** Information about the current page. */
7257
+ page_info: PageInfo;
7258
+ /** List of vehicle models. */
7259
+ nodes: Array<VehicleModel>;
7260
+ };
7261
+
7087
7262
  /** Filter vehicle model list result. */
7088
7263
  export type VehicleModelsFilter = {
7089
7264
  /** Vehicle make. */
7090
- make: Scalars["String"];
7091
- };
7092
-
7093
- /** Vehicle models response object. */
7094
- export type VehicleModelsResponse = {
7095
- /** Elements of the vehicle model list. */
7096
- items: Array<VehicleModel>;
7265
+ make?: Maybe<Scalars["String"]>;
7097
7266
  };
7098
7267
 
7099
7268
  export type VehicleNaming = {
@@ -7157,11 +7326,6 @@ export type VehiclePremium = {
7157
7326
  body: VehiclePremiumBody;
7158
7327
  /** Availability of the vehicle. */
7159
7328
  availability: VehiclePremiumAvailability;
7160
- /**
7161
- * Pricing of the vehicle.
7162
- * @deprecated In favor of pricing.
7163
- */
7164
- price: VehiclePremiumPrice;
7165
7329
  /** Starting price in the currency defined in the field argument. If not defined, it will return the starting price in the currency returned in the currency field. */
7166
7330
  pricing: VehiclePremiumPriceValueWithGrant;
7167
7331
  /** Drivetrain of the vehicle. */
@@ -7263,11 +7427,6 @@ export type VehiclePremiumBody = {
7263
7427
  weight_is_estimated?: Maybe<Scalars["Boolean"]>;
7264
7428
  /** Maximum payload allowed for the vehicle. */
7265
7429
  weight_max_payload?: Maybe<Scalars["Float"]>;
7266
- /**
7267
- * Gross Vehicle Weight (GVWR) - (max allowed vehicle weight with payload).
7268
- * @deprecated In favor of weight_gvwr.nominal
7269
- */
7270
- max_gross_vehicle_weight?: Maybe<Scalars["Float"]>;
7271
7430
  /** Standard luggage capacity. */
7272
7431
  boot_capacity?: Maybe<Scalars["Float"]>;
7273
7432
  /** Storage capacity of front trunk/under the hood (frunk). */
@@ -7330,10 +7489,6 @@ export type VehiclePremiumBodyweight_max_payloadArgs = {
7330
7489
  unit?: Maybe<WeightUnit>;
7331
7490
  };
7332
7491
 
7333
- export type VehiclePremiumBodymax_gross_vehicle_weightArgs = {
7334
- unit?: Maybe<WeightUnit>;
7335
- };
7336
-
7337
7492
  export type VehiclePremiumBodyboot_capacityArgs = {
7338
7493
  unit?: Maybe<VolumeUnit>;
7339
7494
  };
@@ -7920,42 +8075,12 @@ export type VehiclePremiumRoutingfuel_consumptionArgs = {
7920
8075
  export type VehiclePremiumRoutingConsumption = {
7921
8076
  /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
7922
8077
  auxiliary?: Maybe<Scalars["Float"]>;
7923
- /**
7924
- * Consumption, in kWh, of the auxiliaries.
7925
- * @deprecated In favor of auxiliary
7926
- */
7927
- aux?: Maybe<VehiclePremiumRoutingConsumptionValue>;
7928
- /**
7929
- * Consumption, in kWh, of the battery management system.
7930
- * @deprecated In favor of auxiliary
7931
- */
7932
- bms?: Maybe<VehiclePremiumRoutingConsumptionValue>;
7933
- /**
7934
- * Consumption, in kWh, of the vehicle in idle mode.
7935
- * @deprecated In favor of auxiliary
7936
- */
7937
- idle?: Maybe<VehiclePremiumRoutingConsumptionValue>;
7938
8078
  };
7939
8079
 
7940
8080
  export type VehiclePremiumRoutingConsumptionauxiliaryArgs = {
7941
8081
  unit?: Maybe<AuxiliaryConsumptionUnit>;
7942
8082
  };
7943
8083
 
7944
- export type VehiclePremiumRoutingConsumptionValue = {
7945
- /** Best (lowest) consumption in summer. */
7946
- best?: Maybe<Scalars["Float"]>;
7947
- /** Best (lowest) consumption in winter. */
7948
- worst?: Maybe<Scalars["Float"]>;
7949
- };
7950
-
7951
- export type VehiclePremiumRoutingConsumptionValuebestArgs = {
7952
- unit?: Maybe<ConsumptionUnit>;
7953
- };
7954
-
7955
- export type VehiclePremiumRoutingConsumptionValueworstArgs = {
7956
- unit?: Maybe<ConsumptionUnit>;
7957
- };
7958
-
7959
8084
  export type VehiclePremiumSafety = {
7960
8085
  /** Number of seats equipped with ISOFIX. */
7961
8086
  isofix_seats?: Maybe<Scalars["Int"]>;