@chargetrip/types 1.67.0 → 1.69.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/dist/browser/index.js.map +1 -1
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +599 -4
- package/graphql.schema.json +4194 -330
- package/package.json +1 -1
- package/src/graphql.ts +675 -4
package/src/graphql.ts
CHANGED
|
@@ -1271,6 +1271,46 @@ export type CreateConnectedVehicleOptions = {
|
|
|
1271
1271
|
scope?: Maybe<Array<ConnectScope>>;
|
|
1272
1272
|
};
|
|
1273
1273
|
|
|
1274
|
+
export type CreateMatchedRoute = {
|
|
1275
|
+
/** Vehicle used on a route. */
|
|
1276
|
+
vehicle: MatchedRouteVehicle;
|
|
1277
|
+
/** Via points of a route. */
|
|
1278
|
+
via?: Maybe<Array<MatchedRouteVia>>;
|
|
1279
|
+
/** Chronological sequence of GPS points used for map-matching. Minimum 2. */
|
|
1280
|
+
points: Array<MatchedRoutePoint>;
|
|
1281
|
+
/** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
|
|
1282
|
+
operators?: Maybe<MatchedRouteOperatorPreferences>;
|
|
1283
|
+
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
1284
|
+
alternative_station_radius?: Maybe<MatchedRouteAlternativeStationRadius>;
|
|
1285
|
+
/** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. */
|
|
1286
|
+
departure_time: Scalars["DateTime"];
|
|
1287
|
+
/** 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. */
|
|
1288
|
+
driving_preferences?: Maybe<MatchedRouteDrivingPreferences>;
|
|
1289
|
+
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1290
|
+
weather: MatchedRouteWeather;
|
|
1291
|
+
};
|
|
1292
|
+
|
|
1293
|
+
export type CreateMatchedRouteInput = {
|
|
1294
|
+
/** Vehicle specific input. */
|
|
1295
|
+
vehicle: MatchedRouteVehicleInput;
|
|
1296
|
+
/** Chronological sequence of GPS points used for map-matching. Minimum 2. */
|
|
1297
|
+
points: Array<MatchedRoutePointInput>;
|
|
1298
|
+
/** Intermediate via points along the route. */
|
|
1299
|
+
via?: Maybe<Array<MatchedRouteViaInput>>;
|
|
1300
|
+
/** Route departure time. Used to calculate the arrival time and, when 'weather.type' is 'ACTUAL',retrieve weather data. */
|
|
1301
|
+
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1302
|
+
/** Weather configuration for the route. Defined by actual, a preset or custom weather conditions. */
|
|
1303
|
+
weather?: Maybe<RouteWeatherInput>;
|
|
1304
|
+
/** 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. */
|
|
1305
|
+
driving_preferences?: Maybe<MatchedRouteDrivingPreferencesInput>;
|
|
1306
|
+
/** Flag that indicates if charging stations are to be found and planned if the vehicle state of charge reaches the threshold at any point in route. This modifies the original route. */
|
|
1307
|
+
plan_charging_stops?: Maybe<Scalars["Boolean"]>;
|
|
1308
|
+
/** Operator preferences and restrictions for route calculation. If not specified, excludes operators per project settings, but applies no operator ranking. Only applied if applied if `plan_charging_stops` is set true. */
|
|
1309
|
+
operators?: Maybe<MatchedRouteOperatorPreferencesInput>;
|
|
1310
|
+
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
1311
|
+
alternative_station_radius?: Maybe<MatchedRouteAlternativeStationRadiusInput>;
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1274
1314
|
export type CreateRoute = {
|
|
1275
1315
|
/** Vehicle used on a route. */
|
|
1276
1316
|
vehicle: RouteVehicle;
|
|
@@ -1356,8 +1396,6 @@ export type CreateTruckRoute = {
|
|
|
1356
1396
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1357
1397
|
/** 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. */
|
|
1358
1398
|
avoid?: Maybe<Array<RouteTruckAvoid>>;
|
|
1359
|
-
/** 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. */
|
|
1360
|
-
maximum_speed?: Maybe<MaximumSpeed>;
|
|
1361
1399
|
};
|
|
1362
1400
|
|
|
1363
1401
|
export type CreateTruckRouteInput = {
|
|
@@ -1379,8 +1417,6 @@ export type CreateTruckRouteInput = {
|
|
|
1379
1417
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1380
1418
|
/** 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. */
|
|
1381
1419
|
avoid?: Maybe<Array<RouteTruckAvoid>>;
|
|
1382
|
-
/** 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. */
|
|
1383
|
-
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
1384
1420
|
};
|
|
1385
1421
|
|
|
1386
1422
|
/** Currency in the ISO 4217 format. */
|
|
@@ -2266,6 +2302,623 @@ export enum LineStringType {
|
|
|
2266
2302
|
LINESTRING = "LineString"
|
|
2267
2303
|
}
|
|
2268
2304
|
|
|
2305
|
+
export type MatchedRouteAlternativeStationRadius = {
|
|
2306
|
+
/** Value of the alternative station radius. */
|
|
2307
|
+
value: Scalars["Float"];
|
|
2308
|
+
/** Preferred unit for the alternative station radius. */
|
|
2309
|
+
type: DistanceUnit;
|
|
2310
|
+
};
|
|
2311
|
+
|
|
2312
|
+
export type MatchedRouteAlternativeStationRadiusInput = {
|
|
2313
|
+
/** Value of the alternative station radius. */
|
|
2314
|
+
value: Scalars["Float"];
|
|
2315
|
+
/** Preferred unit for the alternative station radius. */
|
|
2316
|
+
type: DistanceUnit;
|
|
2317
|
+
};
|
|
2318
|
+
|
|
2319
|
+
export type MatchedRouteDetails = {
|
|
2320
|
+
/** ID of a route computation. */
|
|
2321
|
+
id: Scalars["ID"];
|
|
2322
|
+
/** Total distance of a route. */
|
|
2323
|
+
distance: Scalars["Float"];
|
|
2324
|
+
/** Aggregation of all durations of a route. */
|
|
2325
|
+
durations: MatchedRouteDetailsDurations;
|
|
2326
|
+
/** Total energy used for a route in kilowatt hours. For HEVs and PHEVs this field will return null. */
|
|
2327
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
2328
|
+
/** Range available at the start of a trip. The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
2329
|
+
range_at_origin?: Maybe<Scalars["Float"]>;
|
|
2330
|
+
/** Range available at the end of a trip. Note: The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
2331
|
+
range_at_destination?: Maybe<Scalars["Float"]>;
|
|
2332
|
+
/** Polyline containing encoded coordinates. */
|
|
2333
|
+
polyline: Scalars["String"];
|
|
2334
|
+
/** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
|
|
2335
|
+
path_plot: Array<MatchedRouteDetailsPathSegment>;
|
|
2336
|
+
/** Details about elevation on a route. */
|
|
2337
|
+
elevation: MatchedRouteDetailsElevation;
|
|
2338
|
+
/** Money saving information. */
|
|
2339
|
+
savings?: Maybe<MatchedRouteDetailsSavings>;
|
|
2340
|
+
/** Legs of a route. */
|
|
2341
|
+
legs: Array<MatchedRouteDetailsLeg>;
|
|
2342
|
+
/**
|
|
2343
|
+
* Alternative stations along a route within a specified radius.
|
|
2344
|
+
*
|
|
2345
|
+
* Includes stations from preferred/required/avoided operators but excludes stations from excluded operators.
|
|
2346
|
+
* This list is only populated if `alternative_station_radius` was specified in the `createRoute` mutation.
|
|
2347
|
+
*/
|
|
2348
|
+
alternative_stations: Array<MatchedRouteDetailsAlternativeStation>;
|
|
2349
|
+
/** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
|
|
2350
|
+
tags: Array<RouteDetailsTag>;
|
|
2351
|
+
/** Number of charging stops required for this route. */
|
|
2352
|
+
charges: Scalars["Int"];
|
|
2353
|
+
};
|
|
2354
|
+
|
|
2355
|
+
export type MatchedRouteDetailsdistanceArgs = {
|
|
2356
|
+
unit?: Maybe<DistanceUnit>;
|
|
2357
|
+
};
|
|
2358
|
+
|
|
2359
|
+
export type MatchedRouteDetailsrange_at_originArgs = {
|
|
2360
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2361
|
+
};
|
|
2362
|
+
|
|
2363
|
+
export type MatchedRouteDetailsrange_at_destinationArgs = {
|
|
2364
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2365
|
+
};
|
|
2366
|
+
|
|
2367
|
+
export type MatchedRouteDetailspolylineArgs = {
|
|
2368
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
2369
|
+
};
|
|
2370
|
+
|
|
2371
|
+
export type MatchedRouteDetailsAlternativeStation = {
|
|
2372
|
+
/** ID of a station. */
|
|
2373
|
+
id: Scalars["ID"];
|
|
2374
|
+
/** GeoJSON location of a station. */
|
|
2375
|
+
location: Point;
|
|
2376
|
+
/** Speed of a station. A station along a route can be either fast or turbo. */
|
|
2377
|
+
speed: StationSpeedType;
|
|
2378
|
+
/** Status of a station. */
|
|
2379
|
+
status: ChargerStatus;
|
|
2380
|
+
/** The value indicates the operator's ranking based on the station's location, in accordance with the list of countries from the configuration or request. */
|
|
2381
|
+
operator_ranking?: Maybe<OperatorRankingLevel>;
|
|
2382
|
+
/** ID of the station's operator. */
|
|
2383
|
+
operator_id?: Maybe<Scalars["ID"]>;
|
|
2384
|
+
};
|
|
2385
|
+
|
|
2386
|
+
export type MatchedRouteDetailsDurations = {
|
|
2387
|
+
/** Total duration, in seconds. */
|
|
2388
|
+
total: Scalars["Int"];
|
|
2389
|
+
/** Total charging duration, in seconds. */
|
|
2390
|
+
charging: Scalars["Int"];
|
|
2391
|
+
/** Total driving duration, in seconds. */
|
|
2392
|
+
driving: Scalars["Int"];
|
|
2393
|
+
/** Total duration stopped at a location via or at a station via, excluding charging time and charging penalty, in seconds. */
|
|
2394
|
+
stopover: Scalars["Int"];
|
|
2395
|
+
/** Total ferry duration, in seconds. */
|
|
2396
|
+
ferry: Scalars["Int"];
|
|
2397
|
+
};
|
|
2398
|
+
|
|
2399
|
+
export type MatchedRouteDetailsElevation = {
|
|
2400
|
+
/** Total value driving uphill on a route. */
|
|
2401
|
+
up: Scalars["Float"];
|
|
2402
|
+
/** Total value driving downhill on a route. */
|
|
2403
|
+
down: Scalars["Float"];
|
|
2404
|
+
/** Maximum elevation on a route. */
|
|
2405
|
+
maximum: Scalars["Float"];
|
|
2406
|
+
/** Minimum elevation on a route. */
|
|
2407
|
+
minimum: Scalars["Float"];
|
|
2408
|
+
};
|
|
2409
|
+
|
|
2410
|
+
export type MatchedRouteDetailsElevationupArgs = {
|
|
2411
|
+
unit?: Maybe<DistanceUnit>;
|
|
2412
|
+
};
|
|
2413
|
+
|
|
2414
|
+
export type MatchedRouteDetailsElevationdownArgs = {
|
|
2415
|
+
unit?: Maybe<DistanceUnit>;
|
|
2416
|
+
};
|
|
2417
|
+
|
|
2418
|
+
export type MatchedRouteDetailsElevationmaximumArgs = {
|
|
2419
|
+
unit?: Maybe<DistanceUnit>;
|
|
2420
|
+
};
|
|
2421
|
+
|
|
2422
|
+
export type MatchedRouteDetailsElevationminimumArgs = {
|
|
2423
|
+
unit?: Maybe<DistanceUnit>;
|
|
2424
|
+
};
|
|
2425
|
+
|
|
2426
|
+
/** Leg of a route detail. */
|
|
2427
|
+
export type MatchedRouteDetailsLeg = {
|
|
2428
|
+
/** Distance from the start to the end of a leg. */
|
|
2429
|
+
distance: Scalars["Float"];
|
|
2430
|
+
/** Aggregation of all durations of a route leg. */
|
|
2431
|
+
durations: MatchedRouteDetailsDurations;
|
|
2432
|
+
/** Total energy used in a leg in kilowatt hours. For HEVs and PHEVs this field will return null. */
|
|
2433
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
2434
|
+
/** Origin point location. */
|
|
2435
|
+
origin: MatchedRouteDetailsLegFeaturePoint;
|
|
2436
|
+
/** Destination point location. */
|
|
2437
|
+
destination: MatchedRouteDetailsLegFeaturePoint;
|
|
2438
|
+
/** Range at the start of a leg. The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
2439
|
+
range_at_origin?: Maybe<Scalars["Float"]>;
|
|
2440
|
+
/** Range available at the end of a leg. The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
2441
|
+
range_at_destination?: Maybe<Scalars["Float"]>;
|
|
2442
|
+
/** Range after charging on the leg. The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
2443
|
+
range_after_charge?: Maybe<Scalars["Float"]>;
|
|
2444
|
+
/** Type of a leg. */
|
|
2445
|
+
type: RouteDetailsLegType;
|
|
2446
|
+
/** Information about the station at the destination of a leg. */
|
|
2447
|
+
station?: Maybe<MatchedRouteDetailsLegStation>;
|
|
2448
|
+
/** Polyline containing encoded coordinates. */
|
|
2449
|
+
polyline: Scalars["String"];
|
|
2450
|
+
/** Aggregation of tags over the current leg. Tags are further subdivided over individual sections and maneuvers. */
|
|
2451
|
+
tags: Array<RouteDetailsTag>;
|
|
2452
|
+
/** Maneuvers of a leg - used to generate turn-by-turn instructions. */
|
|
2453
|
+
maneuvers: Array<RouteDetailsManeuver>;
|
|
2454
|
+
/** Road sections of a leg - divided by means of transportation. */
|
|
2455
|
+
sections: Array<MatchedRouteDetailsLegSection>;
|
|
2456
|
+
};
|
|
2457
|
+
|
|
2458
|
+
/** Leg of a route detail. */
|
|
2459
|
+
export type MatchedRouteDetailsLegdistanceArgs = {
|
|
2460
|
+
unit?: Maybe<DistanceUnit>;
|
|
2461
|
+
};
|
|
2462
|
+
|
|
2463
|
+
/** Leg of a route detail. */
|
|
2464
|
+
export type MatchedRouteDetailsLegrange_at_originArgs = {
|
|
2465
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2466
|
+
};
|
|
2467
|
+
|
|
2468
|
+
/** Leg of a route detail. */
|
|
2469
|
+
export type MatchedRouteDetailsLegrange_at_destinationArgs = {
|
|
2470
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2471
|
+
};
|
|
2472
|
+
|
|
2473
|
+
/** Leg of a route detail. */
|
|
2474
|
+
export type MatchedRouteDetailsLegrange_after_chargeArgs = {
|
|
2475
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2476
|
+
};
|
|
2477
|
+
|
|
2478
|
+
/** Leg of a route detail. */
|
|
2479
|
+
export type MatchedRouteDetailsLegpolylineArgs = {
|
|
2480
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
2481
|
+
};
|
|
2482
|
+
|
|
2483
|
+
export type MatchedRouteDetailsLegFeaturePoint = {
|
|
2484
|
+
/** ID of the feature. */
|
|
2485
|
+
id?: Maybe<Scalars["ID"]>;
|
|
2486
|
+
/** Feature type. */
|
|
2487
|
+
type: FeatureType;
|
|
2488
|
+
/** Geometry of the feature. */
|
|
2489
|
+
geometry: Point;
|
|
2490
|
+
/** Properties of the feature. */
|
|
2491
|
+
properties?: Maybe<MatchedRouteDetailsLegFeatureProperties>;
|
|
2492
|
+
};
|
|
2493
|
+
|
|
2494
|
+
export type MatchedRouteDetailsLegFeatureProperties = {
|
|
2495
|
+
/** Name of the location. */
|
|
2496
|
+
name?: Maybe<Scalars["String"]>;
|
|
2497
|
+
/** ID of the station. */
|
|
2498
|
+
station_id?: Maybe<Scalars["ID"]>;
|
|
2499
|
+
/** External ID of the station. */
|
|
2500
|
+
external_station_id?: Maybe<Scalars["ID"]>;
|
|
2501
|
+
/** Temperature at the location. */
|
|
2502
|
+
temperature?: Maybe<Scalars["Int"]>;
|
|
2503
|
+
/** Air pressure at the location. */
|
|
2504
|
+
air_pressure?: Maybe<Scalars["Float"]>;
|
|
2505
|
+
/** Solar irradiance at the location. */
|
|
2506
|
+
solar_irradiance?: Maybe<Scalars["Float"]>;
|
|
2507
|
+
/**
|
|
2508
|
+
* Duration, in seconds, of time spent at this location.
|
|
2509
|
+
* @deprecated In favor of `legs.durations`.
|
|
2510
|
+
*/
|
|
2511
|
+
duration?: Maybe<Scalars["Int"]>;
|
|
2512
|
+
/** Number of occupants present in the vehicle. */
|
|
2513
|
+
occupants?: Maybe<Scalars["Int"]>;
|
|
2514
|
+
/** Value of the combined weight of the occupants. */
|
|
2515
|
+
total_occupant_weight?: Maybe<Scalars["Float"]>;
|
|
2516
|
+
/** Value of the current weight of the cargo. */
|
|
2517
|
+
total_cargo_weight?: Maybe<Scalars["Float"]>;
|
|
2518
|
+
};
|
|
2519
|
+
|
|
2520
|
+
export type MatchedRouteDetailsLegFeaturePropertiestemperatureArgs = {
|
|
2521
|
+
unit?: Maybe<TemperatureUnit>;
|
|
2522
|
+
};
|
|
2523
|
+
|
|
2524
|
+
export type MatchedRouteDetailsLegFeaturePropertiestotal_occupant_weightArgs = {
|
|
2525
|
+
unit?: Maybe<WeightUnit>;
|
|
2526
|
+
};
|
|
2527
|
+
|
|
2528
|
+
export type MatchedRouteDetailsLegFeaturePropertiestotal_cargo_weightArgs = {
|
|
2529
|
+
unit?: Maybe<WeightUnit>;
|
|
2530
|
+
};
|
|
2531
|
+
|
|
2532
|
+
export type MatchedRouteDetailsLegSection = {
|
|
2533
|
+
/** Section type. */
|
|
2534
|
+
type: RouteDetailsLegSectionType;
|
|
2535
|
+
/** Origin point. */
|
|
2536
|
+
origin: MatchedRouteDetailsLegSectionFeaturePoint;
|
|
2537
|
+
/** Destination point. */
|
|
2538
|
+
destination: MatchedRouteDetailsLegSectionFeaturePoint;
|
|
2539
|
+
/** Aggregation of tags over the current section. */
|
|
2540
|
+
tags: Array<RouteDetailsTag>;
|
|
2541
|
+
/** Polyline containing encoded coordinates. */
|
|
2542
|
+
polyline: Scalars["String"];
|
|
2543
|
+
/** Distance from the start to the end of a section. */
|
|
2544
|
+
distance: Scalars["Float"];
|
|
2545
|
+
/** Total duration of a section, in seconds. The value will be 0 for walking sections. */
|
|
2546
|
+
duration: Scalars["Float"];
|
|
2547
|
+
/** Total energy used in a section in kilowatt-hours. The value will be 0 for walking sections. */
|
|
2548
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
2549
|
+
};
|
|
2550
|
+
|
|
2551
|
+
export type MatchedRouteDetailsLegSectionpolylineArgs = {
|
|
2552
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
2553
|
+
};
|
|
2554
|
+
|
|
2555
|
+
export type MatchedRouteDetailsLegSectiondistanceArgs = {
|
|
2556
|
+
unit?: Maybe<DistanceUnit>;
|
|
2557
|
+
};
|
|
2558
|
+
|
|
2559
|
+
export type MatchedRouteDetailsLegSectionFeaturePoint = {
|
|
2560
|
+
/** ID of the feature. */
|
|
2561
|
+
id?: Maybe<Scalars["ID"]>;
|
|
2562
|
+
/** Feature type. */
|
|
2563
|
+
type: FeatureType;
|
|
2564
|
+
/** Geometry of the feature. */
|
|
2565
|
+
geometry: Point;
|
|
2566
|
+
/** Properties of the feature. */
|
|
2567
|
+
properties: MatchedRouteDetailsLegSectionFeaturePointProperties;
|
|
2568
|
+
};
|
|
2569
|
+
|
|
2570
|
+
export type MatchedRouteDetailsLegSectionFeaturePointProperties = {
|
|
2571
|
+
/** Number of occupants present in the vehicle. */
|
|
2572
|
+
occupants: Scalars["Int"];
|
|
2573
|
+
/** Value of the combined weight of the occupants. */
|
|
2574
|
+
total_occupant_weight?: Maybe<Scalars["Float"]>;
|
|
2575
|
+
/** Value of the current weight of the cargo. */
|
|
2576
|
+
total_cargo_weight?: Maybe<Scalars["Float"]>;
|
|
2577
|
+
};
|
|
2578
|
+
|
|
2579
|
+
export type MatchedRouteDetailsLegSectionFeaturePointPropertiestotal_occupant_weightArgs = {
|
|
2580
|
+
unit?: Maybe<WeightUnit>;
|
|
2581
|
+
};
|
|
2582
|
+
|
|
2583
|
+
export type MatchedRouteDetailsLegSectionFeaturePointPropertiestotal_cargo_weightArgs = {
|
|
2584
|
+
unit?: Maybe<WeightUnit>;
|
|
2585
|
+
};
|
|
2586
|
+
|
|
2587
|
+
export type MatchedRouteDetailsLegStation = {
|
|
2588
|
+
/** ID of a station. */
|
|
2589
|
+
station_id: Scalars["ID"];
|
|
2590
|
+
/** ID of the EVSE that was selected in a route. */
|
|
2591
|
+
evse_id?: Maybe<Scalars["ID"]>;
|
|
2592
|
+
/** ID of the connector that was selected in a route. */
|
|
2593
|
+
connector_id: Scalars["ID"];
|
|
2594
|
+
};
|
|
2595
|
+
|
|
2596
|
+
export type MatchedRouteDetailsPathSegment = {
|
|
2597
|
+
/** Elevation value of a route path segment. */
|
|
2598
|
+
elevation: Scalars["Float"];
|
|
2599
|
+
/** Average speed of a route path segment. This value is determined using legal maximum speed and, if provided, the user defined maximum speed. */
|
|
2600
|
+
average_speed: Scalars["Float"];
|
|
2601
|
+
/** Consumption, in kilowatt hours, of a route path segment. For HEVs and PHEVs this field will return null. */
|
|
2602
|
+
consumption?: Maybe<Scalars["Float"]>;
|
|
2603
|
+
/** Distance of a route path segment. */
|
|
2604
|
+
distance: Scalars["Float"];
|
|
2605
|
+
/** Duration, in seconds, of a route path segment. */
|
|
2606
|
+
duration: Scalars["Float"];
|
|
2607
|
+
/** State of charge, in kilowatt hours, of a route path segment. For HEVs and PHEVs this field will return null. */
|
|
2608
|
+
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
2609
|
+
};
|
|
2610
|
+
|
|
2611
|
+
export type MatchedRouteDetailsPathSegmentelevationArgs = {
|
|
2612
|
+
unit?: Maybe<DistanceUnit>;
|
|
2613
|
+
};
|
|
2614
|
+
|
|
2615
|
+
export type MatchedRouteDetailsPathSegmentaverage_speedArgs = {
|
|
2616
|
+
unit?: Maybe<SpeedUnit>;
|
|
2617
|
+
};
|
|
2618
|
+
|
|
2619
|
+
export type MatchedRouteDetailsPathSegmentdistanceArgs = {
|
|
2620
|
+
unit?: Maybe<DistanceUnit>;
|
|
2621
|
+
};
|
|
2622
|
+
|
|
2623
|
+
export type MatchedRouteDetailsPathSegmentstate_of_chargeArgs = {
|
|
2624
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2625
|
+
};
|
|
2626
|
+
|
|
2627
|
+
/** Money saving information. */
|
|
2628
|
+
export type MatchedRouteDetailsSavings = {
|
|
2629
|
+
/** Money saved by a user driving this route with an electric vehicle. */
|
|
2630
|
+
money?: Maybe<Scalars["Float"]>;
|
|
2631
|
+
/** Average gas price with which the calculation was made. */
|
|
2632
|
+
average_gas_price: Scalars["Float"];
|
|
2633
|
+
/** Average energy price with which the calculation was made. */
|
|
2634
|
+
average_energy_price: Scalars["Float"];
|
|
2635
|
+
};
|
|
2636
|
+
|
|
2637
|
+
/** Money saving information. */
|
|
2638
|
+
export type MatchedRouteDetailsSavingsmoneyArgs = {
|
|
2639
|
+
currency?: Maybe<Currency>;
|
|
2640
|
+
};
|
|
2641
|
+
|
|
2642
|
+
/** Money saving information. */
|
|
2643
|
+
export type MatchedRouteDetailsSavingsaverage_gas_priceArgs = {
|
|
2644
|
+
currency?: Maybe<Currency>;
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2647
|
+
/** Money saving information. */
|
|
2648
|
+
export type MatchedRouteDetailsSavingsaverage_energy_priceArgs = {
|
|
2649
|
+
currency?: Maybe<Currency>;
|
|
2650
|
+
};
|
|
2651
|
+
|
|
2652
|
+
export type MatchedRouteDrivingPreferences = {
|
|
2653
|
+
/** 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'. */
|
|
2654
|
+
speed_factor?: Maybe<Scalars["Float"]>;
|
|
2655
|
+
/** 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'. */
|
|
2656
|
+
maximum_speed?: Maybe<MaximumSpeed>;
|
|
2657
|
+
/** Defines a driving style. If provided in combination with 'maximum_speed' or 'speed_factor', those values override the values defined by the selected 'style'. */
|
|
2658
|
+
style?: Maybe<RouteDrivingStyle>;
|
|
2659
|
+
};
|
|
2660
|
+
|
|
2661
|
+
export type MatchedRouteDrivingPreferencesInput = {
|
|
2662
|
+
/** [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'. */
|
|
2663
|
+
speed_factor?: Maybe<Scalars["Float"]>;
|
|
2664
|
+
/** [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'. */
|
|
2665
|
+
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
2666
|
+
/** [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'. */
|
|
2667
|
+
style?: Maybe<RouteDrivingStyle>;
|
|
2668
|
+
};
|
|
2669
|
+
|
|
2670
|
+
export type MatchedRouteMetadata = {
|
|
2671
|
+
/** Application identifier. */
|
|
2672
|
+
app_id: Scalars["ID"];
|
|
2673
|
+
/** Date when a route was created by the 'createMatchedRoute' mutation. */
|
|
2674
|
+
created_at: Scalars["DateTime"];
|
|
2675
|
+
/** Last updated date of a route. */
|
|
2676
|
+
updated_at: Scalars["DateTime"];
|
|
2677
|
+
/** Length of time required to successfully calculate a route, in milliseconds. */
|
|
2678
|
+
computation_time?: Maybe<Scalars["Int"]>;
|
|
2679
|
+
};
|
|
2680
|
+
|
|
2681
|
+
export type MatchedRouteOperatorPreferences = {
|
|
2682
|
+
/** Ranking of an operator with multiple levels, each level having its own penalty value. */
|
|
2683
|
+
ranking?: Maybe<RouteOperatorPreferencesRanking>;
|
|
2684
|
+
/** Operators that should be excluded for a route calculation. */
|
|
2685
|
+
exclude?: Maybe<Array<RouteOperatorsValue>>;
|
|
2686
|
+
/** Operators that should be avoided, but not excluded, for a route calculation. */
|
|
2687
|
+
avoid?: Maybe<Array<RouteOperatorsValue>>;
|
|
2688
|
+
};
|
|
2689
|
+
|
|
2690
|
+
/** Prioritized operators for a route calculation. */
|
|
2691
|
+
export type MatchedRouteOperatorPreferencesInput = {
|
|
2692
|
+
/** Operators to be preferred in route calculation. If not specified, no operator ranking is applied (including project-configured ranking). */
|
|
2693
|
+
ranking?: Maybe<MatchedRouteOperatorPreferencesRankingInput>;
|
|
2694
|
+
/** Operators to be excluded from route calculation. If specified, overrides project-configured operator exclusions. If not specified, applies project-configured operator exclusions. */
|
|
2695
|
+
exclude?: Maybe<Array<MatchedRouteOperatorsValueInput>>;
|
|
2696
|
+
/** Operators that should be avoided, but not excluded, for a route calculation. */
|
|
2697
|
+
avoid?: Maybe<Array<MatchedRouteOperatorsValueInput>>;
|
|
2698
|
+
};
|
|
2699
|
+
|
|
2700
|
+
export type MatchedRouteOperatorPreferencesRankingInput = {
|
|
2701
|
+
/** Flag indicating if an operator should be preferred or required. */
|
|
2702
|
+
type: RouteOperatorsType;
|
|
2703
|
+
/** Ranking levels for operator ranking. */
|
|
2704
|
+
levels?: Maybe<MatchedRouteOperatorPreferencesRankingLevelsInput>;
|
|
2705
|
+
};
|
|
2706
|
+
|
|
2707
|
+
export type MatchedRouteOperatorPreferencesRankingLevelsInput = {
|
|
2708
|
+
/** Least significant level for operator ranking. */
|
|
2709
|
+
low?: Maybe<Array<MatchedRouteOperatorsValueInput>>;
|
|
2710
|
+
/** Medium level for operator ranking. */
|
|
2711
|
+
medium?: Maybe<Array<MatchedRouteOperatorsValueInput>>;
|
|
2712
|
+
/** Most significant level for operator ranking. */
|
|
2713
|
+
high?: Maybe<Array<MatchedRouteOperatorsValueInput>>;
|
|
2714
|
+
};
|
|
2715
|
+
|
|
2716
|
+
export type MatchedRouteOperatorsValueInput = {
|
|
2717
|
+
/** ID of an operator. */
|
|
2718
|
+
id: Scalars["ID"];
|
|
2719
|
+
/** List of countries in which the operator should be preferred/excluded/avoided. When omitted the operator will be preferred/excluded in every country. */
|
|
2720
|
+
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2721
|
+
};
|
|
2722
|
+
|
|
2723
|
+
export type MatchedRoutePoint = {
|
|
2724
|
+
/** Coordinates [longitude, latitude]. */
|
|
2725
|
+
coordinates: Array<Scalars["Float"]>;
|
|
2726
|
+
};
|
|
2727
|
+
|
|
2728
|
+
export type MatchedRoutePointInput = {
|
|
2729
|
+
/** Chronological sequence of coordinates [longitude, latitude]. Minimum 2. */
|
|
2730
|
+
coordinates: Array<Scalars["Float"]>;
|
|
2731
|
+
};
|
|
2732
|
+
|
|
2733
|
+
export type MatchedRoutePropertiesVehicle = {
|
|
2734
|
+
/** Occupant configuration from this point. Null when this via only overrides total_cargo_weight. */
|
|
2735
|
+
occupants?: Maybe<MatchedRouteVehicleOccupants>;
|
|
2736
|
+
/** Weight of the cargo from this point. Null when this via only overrides occupants. */
|
|
2737
|
+
total_cargo_weight?: Maybe<TotalCargoWeight>;
|
|
2738
|
+
};
|
|
2739
|
+
|
|
2740
|
+
export type MatchedRoutePropertiesVehicleInput = {
|
|
2741
|
+
/** Occupant configuration from this point. */
|
|
2742
|
+
occupants?: Maybe<MatchedRouteVehicleOccupantsInput>;
|
|
2743
|
+
/** Weight of the cargo from this point. */
|
|
2744
|
+
total_cargo_weight?: Maybe<TotalCargoWeightInput>;
|
|
2745
|
+
};
|
|
2746
|
+
|
|
2747
|
+
export type MatchedRoutePropertiesViaLocation = {
|
|
2748
|
+
/** Name that should overwrite the name that is automatically assigned to this location (for example: address). */
|
|
2749
|
+
name?: Maybe<Scalars["String"]>;
|
|
2750
|
+
/** Duration to stay at this point, in seconds. */
|
|
2751
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
2752
|
+
};
|
|
2753
|
+
|
|
2754
|
+
export type MatchedRoutePropertiesViaLocationInput = {
|
|
2755
|
+
/** Name that should overwrite the name that is automatically assigned to this location (for example: address). */
|
|
2756
|
+
name?: Maybe<Scalars["String"]>;
|
|
2757
|
+
/** Duration to stay at this point, in seconds. */
|
|
2758
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
2759
|
+
};
|
|
2760
|
+
|
|
2761
|
+
export type MatchedRouteResponse = {
|
|
2762
|
+
/** ID of a route calculation. */
|
|
2763
|
+
id: Scalars["ID"];
|
|
2764
|
+
/** Status of a route. */
|
|
2765
|
+
status: RouteStatus;
|
|
2766
|
+
/** Recommended route. */
|
|
2767
|
+
route_details?: Maybe<MatchedRouteDetails>;
|
|
2768
|
+
/** Meta data for a route. */
|
|
2769
|
+
meta: MatchedRouteMetadata;
|
|
2770
|
+
/** Route request. */
|
|
2771
|
+
request_input: CreateMatchedRoute;
|
|
2772
|
+
};
|
|
2773
|
+
|
|
2774
|
+
export type MatchedRouteVehicle = {
|
|
2775
|
+
/** ID of the vehicle. */
|
|
2776
|
+
id: Scalars["ID"];
|
|
2777
|
+
/** EV battery specific configuration. */
|
|
2778
|
+
battery: RouteVehicleBattery;
|
|
2779
|
+
/** Charging configuration. */
|
|
2780
|
+
charging: MatchedRouteVehicleCharging;
|
|
2781
|
+
/** Tire pressures of all wheels, ordered from front right to front left, then rear left to rear right. */
|
|
2782
|
+
tire_pressure: TirePressure;
|
|
2783
|
+
/** Value of the vehicle's odometer. */
|
|
2784
|
+
odometer?: Maybe<Odometer>;
|
|
2785
|
+
/** Value of the auxiliary power consumption of the vehicle. */
|
|
2786
|
+
auxiliary_consumption: AuxiliaryConsumption;
|
|
2787
|
+
/** Flag indicating if climate control is on. */
|
|
2788
|
+
climate: Scalars["Boolean"];
|
|
2789
|
+
/** Vehicle Heat Pump configuration. */
|
|
2790
|
+
heat_pump: HeatPumpMode;
|
|
2791
|
+
/** Vehicle cabin configuration used for the route calculation. Applied only if vehicle.climate is set to true. */
|
|
2792
|
+
cabin: RouteVehicleCabin;
|
|
2793
|
+
/** Initial occupant settings. This value can be overridden along the journey through 'via.properties.vehicle.occupants' field. */
|
|
2794
|
+
occupants: MatchedRouteVehicleOccupants;
|
|
2795
|
+
/** Initial cargo. This value can be overridden along the journey through 'via.properties.vehicle.total_cargo_weight' field. */
|
|
2796
|
+
total_cargo_weight: TotalCargoWeight;
|
|
2797
|
+
};
|
|
2798
|
+
|
|
2799
|
+
/** EV battery specific configuration for a create route mutation. */
|
|
2800
|
+
export type MatchedRouteVehicleBatteryInput = {
|
|
2801
|
+
/** 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‘. */
|
|
2802
|
+
capacity?: Maybe<StateOfChargeInput>;
|
|
2803
|
+
/** 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‘. */
|
|
2804
|
+
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
2805
|
+
/** Desired final amount of energy in a battery at the end 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. */
|
|
2806
|
+
final_state_of_charge?: Maybe<StateOfChargeInput>;
|
|
2807
|
+
};
|
|
2808
|
+
|
|
2809
|
+
export type MatchedRouteVehicleCharging = {
|
|
2810
|
+
/** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
|
|
2811
|
+
mode: ChargeMode;
|
|
2812
|
+
/** Minimum desired power of chargers, in kWh. */
|
|
2813
|
+
minimum_power: Scalars["Float"];
|
|
2814
|
+
/** Minimum remaining state of charge at charging stops, expressed as a percentage. The value must be between 0 and 60. If not provided, the project configuration value is used. */
|
|
2815
|
+
risk_margin: Scalars["Int"];
|
|
2816
|
+
/** Supported connectors. If not specified, it defaults to the vehicle's connectors. */
|
|
2817
|
+
connectors: Array<RouteVehicleChargingConnector>;
|
|
2818
|
+
/** Supported adapters. If not specified, adapters will not be considered. */
|
|
2819
|
+
adapters: Array<RouteVehicleChargingConnector>;
|
|
2820
|
+
};
|
|
2821
|
+
|
|
2822
|
+
export type MatchedRouteVehicleChargingConnector = {
|
|
2823
|
+
/** Type of the plug. */
|
|
2824
|
+
standard: ConnectorType;
|
|
2825
|
+
/** Maximum charging speed for this plug. */
|
|
2826
|
+
maximum_charge_speed: ChargeSpeed;
|
|
2827
|
+
};
|
|
2828
|
+
|
|
2829
|
+
export type MatchedRouteVehicleChargingConnectorInput = {
|
|
2830
|
+
/** Plug type. */
|
|
2831
|
+
standard: ConnectorType;
|
|
2832
|
+
/** Maximum charging speed for this plug. */
|
|
2833
|
+
maximum_charge_speed: ChargeSpeedInput;
|
|
2834
|
+
};
|
|
2835
|
+
|
|
2836
|
+
export type MatchedRouteVehicleChargingInput = {
|
|
2837
|
+
/** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
|
|
2838
|
+
mode?: Maybe<ChargeMode>;
|
|
2839
|
+
/** Minimum desired power of chargers, in kW. */
|
|
2840
|
+
minimum_power?: Maybe<Scalars["Float"]>;
|
|
2841
|
+
/** Minimum remaining state of charge at charging stops, expressed as a percentage. The value must be between 0 and 60. If not provided, the project configuration value is used. */
|
|
2842
|
+
risk_margin?: Maybe<Scalars["Int"]>;
|
|
2843
|
+
/** Supported connectors. If not specified, it defaults to the vehicle's connectors. */
|
|
2844
|
+
connectors?: Maybe<Array<MatchedRouteVehicleChargingConnectorInput>>;
|
|
2845
|
+
/** Supported adapters. If not specified, adapters will not be considered. */
|
|
2846
|
+
adapters?: Maybe<Array<MatchedRouteVehicleChargingConnectorInput>>;
|
|
2847
|
+
};
|
|
2848
|
+
|
|
2849
|
+
/** Vehicle specific input for a create route mutation. */
|
|
2850
|
+
export type MatchedRouteVehicleInput = {
|
|
2851
|
+
/** ID of the vehicle. */
|
|
2852
|
+
id: Scalars["ID"];
|
|
2853
|
+
/** EV battery specific configuration. */
|
|
2854
|
+
battery?: Maybe<MatchedRouteVehicleBatteryInput>;
|
|
2855
|
+
/** Charging configuration. */
|
|
2856
|
+
charging?: Maybe<MatchedRouteVehicleChargingInput>;
|
|
2857
|
+
/** Tire pressures of all wheels, ordered from front right to front left, then rear left to rear right. */
|
|
2858
|
+
tire_pressure?: Maybe<TirePressureInput>;
|
|
2859
|
+
/** Average auxiliary power consumption. */
|
|
2860
|
+
auxiliary_consumption?: Maybe<AuxiliaryConsumptionInput>;
|
|
2861
|
+
/** Flag indicating if climate control is on. */
|
|
2862
|
+
climate?: Maybe<Scalars["Boolean"]>;
|
|
2863
|
+
/** Vehicle Heat Pump configuration. */
|
|
2864
|
+
heat_pump?: Maybe<HeatPumpMode>;
|
|
2865
|
+
/** Vehicle cabin configuration used for the route calculation. Applied only if vehicle.climate is set to true. */
|
|
2866
|
+
cabin?: Maybe<RouteVehicleCabinInput>;
|
|
2867
|
+
/** Initial occupant settings. This value can be overridden along the journey through 'via.properties.vehicle.occupants' field. */
|
|
2868
|
+
occupants?: Maybe<MatchedRouteVehicleOccupantsInput>;
|
|
2869
|
+
/** "Initial cargo. This value can be overridden along the journey through 'via.properties.vehicle.total_cargo_weight' field." */
|
|
2870
|
+
total_cargo_weight?: Maybe<TotalCargoWeightInput>;
|
|
2871
|
+
};
|
|
2872
|
+
|
|
2873
|
+
export type MatchedRouteVehicleOccupants = {
|
|
2874
|
+
/** Number of occupants present in the vehicle. */
|
|
2875
|
+
occupants: Scalars["Int"];
|
|
2876
|
+
/** Combined weight of the occupants. This can only be used in combination with occupants. */
|
|
2877
|
+
total_occupant_weight?: Maybe<TotalOccupantWeight>;
|
|
2878
|
+
};
|
|
2879
|
+
|
|
2880
|
+
export type MatchedRouteVehicleOccupantsInput = {
|
|
2881
|
+
/** Number of occupants present in the vehicle. */
|
|
2882
|
+
count: Scalars["Int"];
|
|
2883
|
+
/** Combined weight of the occupants. */
|
|
2884
|
+
total_weight?: Maybe<TotalOccupantWeightInput>;
|
|
2885
|
+
};
|
|
2886
|
+
|
|
2887
|
+
export type MatchedRouteVia = {
|
|
2888
|
+
/** Index of the corresponding coordinate in the points array. */
|
|
2889
|
+
index: Scalars["Int"];
|
|
2890
|
+
/** Via properties. */
|
|
2891
|
+
properties?: Maybe<MatchedRouteViaProperties>;
|
|
2892
|
+
};
|
|
2893
|
+
|
|
2894
|
+
export type MatchedRouteViaInput = {
|
|
2895
|
+
/** Index of the corresponding coordinate in the points array. */
|
|
2896
|
+
index: Scalars["Int"];
|
|
2897
|
+
/** Additional details of the via. */
|
|
2898
|
+
properties?: Maybe<MatchedRouteViaPropertiesInput>;
|
|
2899
|
+
};
|
|
2900
|
+
|
|
2901
|
+
export type MatchedRouteViaProperties = {
|
|
2902
|
+
/** Location data of the via point. */
|
|
2903
|
+
location?: Maybe<MatchedRoutePropertiesViaLocation>;
|
|
2904
|
+
/** Vehicle data of the via point. */
|
|
2905
|
+
vehicle?: Maybe<MatchedRoutePropertiesVehicle>;
|
|
2906
|
+
};
|
|
2907
|
+
|
|
2908
|
+
export type MatchedRouteViaPropertiesInput = {
|
|
2909
|
+
/** Location data of the via point. */
|
|
2910
|
+
location?: Maybe<MatchedRoutePropertiesViaLocationInput>;
|
|
2911
|
+
/** Vehicle data of the via point. If provided, the values override the configuration set in 'vehicle' or the previous 'via', and are propagated to subsequent legs until overridden. */
|
|
2912
|
+
vehicle?: Maybe<MatchedRoutePropertiesVehicleInput>;
|
|
2913
|
+
};
|
|
2914
|
+
|
|
2915
|
+
export type MatchedRouteWeather = {
|
|
2916
|
+
/** Weather configuration applied to the route. */
|
|
2917
|
+
type: WeatherType;
|
|
2918
|
+
/** [BETA] Custom weather conditions applied to the route. Only present when 'type' is set to 'CUSTOM'. */
|
|
2919
|
+
custom?: Maybe<RouteWeatherCustomConditions>;
|
|
2920
|
+
};
|
|
2921
|
+
|
|
2269
2922
|
export type MaximumSpeed = {
|
|
2270
2923
|
/** Numeric value of the user-defined maximum speed. */
|
|
2271
2924
|
value: Scalars["Int"];
|
|
@@ -2345,6 +2998,8 @@ export type Mutation = {
|
|
|
2345
2998
|
createRoute: Scalars["ID"];
|
|
2346
2999
|
/** [ALPHA] Create a new truck route from the route input and its ID. */
|
|
2347
3000
|
createTruckRoute: Scalars["ID"];
|
|
3001
|
+
/** [ALPHA] Creates route from a sequence of points. */
|
|
3002
|
+
createMatchedRoute?: Maybe<Scalars["ID"]>;
|
|
2348
3003
|
};
|
|
2349
3004
|
|
|
2350
3005
|
export type MutationcreateConnectedVehicleArgs = {
|
|
@@ -2407,6 +3062,10 @@ export type MutationcreateTruckRouteArgs = {
|
|
|
2407
3062
|
input: CreateTruckRouteInput;
|
|
2408
3063
|
};
|
|
2409
3064
|
|
|
3065
|
+
export type MutationcreateMatchedRouteArgs = {
|
|
3066
|
+
input: CreateMatchedRouteInput;
|
|
3067
|
+
};
|
|
3068
|
+
|
|
2410
3069
|
/** Navigation session data. */
|
|
2411
3070
|
export type Navigation = {
|
|
2412
3071
|
/** ID of the navigation session. */
|
|
@@ -3763,6 +4422,8 @@ export type Query = {
|
|
|
3763
4422
|
getRouteStationsWithAmenities: RouteStationsWithAmenitiesConnection;
|
|
3764
4423
|
/** [ALPHA] Get a e-truck route by ID. */
|
|
3765
4424
|
getTruckRoute: TruckRouteResponse;
|
|
4425
|
+
/** [ALPHA] Get a route by request ID. */
|
|
4426
|
+
getMatchedRoute?: Maybe<MatchedRouteResponse>;
|
|
3766
4427
|
/** Get information about a station by its ID. */
|
|
3767
4428
|
station?: Maybe<Station>;
|
|
3768
4429
|
/** Get a full list of stations. */
|
|
@@ -3875,6 +4536,10 @@ export type QuerygetTruckRouteArgs = {
|
|
|
3875
4536
|
id: Scalars["ID"];
|
|
3876
4537
|
};
|
|
3877
4538
|
|
|
4539
|
+
export type QuerygetMatchedRouteArgs = {
|
|
4540
|
+
id: Scalars["ID"];
|
|
4541
|
+
};
|
|
4542
|
+
|
|
3878
4543
|
export type QuerystationArgs = {
|
|
3879
4544
|
id?: Maybe<Scalars["ID"]>;
|
|
3880
4545
|
evse_id?: Maybe<Scalars["String"]>;
|
|
@@ -7176,6 +7841,8 @@ export type Subscription = {
|
|
|
7176
7841
|
* @deprecated In favor of `route`.
|
|
7177
7842
|
*/
|
|
7178
7843
|
routeUpdatedById?: Maybe<Route>;
|
|
7844
|
+
/** [ALPHA] Subscribe to a route by request ID. */
|
|
7845
|
+
matchedRoute?: Maybe<MatchedRouteResponse>;
|
|
7179
7846
|
/** Subscribe to a specific route to receive system event updates. */
|
|
7180
7847
|
route: RouteResponse;
|
|
7181
7848
|
/** [ALPHA] Subscribe to e-truck route to receive system event updates. */
|
|
@@ -7192,6 +7859,10 @@ export type SubscriptionrouteUpdatedByIdArgs = {
|
|
|
7192
7859
|
id: Scalars["ID"];
|
|
7193
7860
|
};
|
|
7194
7861
|
|
|
7862
|
+
export type SubscriptionmatchedRouteArgs = {
|
|
7863
|
+
id: Scalars["ID"];
|
|
7864
|
+
};
|
|
7865
|
+
|
|
7195
7866
|
export type SubscriptionrouteArgs = {
|
|
7196
7867
|
id: Scalars["ID"];
|
|
7197
7868
|
};
|