@chargetrip/types 1.47.1 → 1.47.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +30 -33
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +30 -33
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +297 -144
- package/graphql.schema.json +1456 -471
- package/package.json +2 -2
- package/src/graphql.ts +321 -151
- package/CHANGELOG.md +0 -412
package/src/graphql.ts
CHANGED
|
@@ -934,7 +934,11 @@ export enum ConnectorType {
|
|
|
934
934
|
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A. */
|
|
935
935
|
NEMA_14_30 = "NEMA_14_30",
|
|
936
936
|
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A. */
|
|
937
|
-
NEMA_14_50 = "NEMA_14_50"
|
|
937
|
+
NEMA_14_50 = "NEMA_14_50",
|
|
938
|
+
/** Guobiao GB/T 20234.2 AC socket/connector. */
|
|
939
|
+
GBT_AC = "GBT_AC",
|
|
940
|
+
/** Guobiao GB/T 20234.3 DC connector. */
|
|
941
|
+
GBT_DC = "GBT_DC"
|
|
938
942
|
}
|
|
939
943
|
|
|
940
944
|
export enum ConsumptionUnit {
|
|
@@ -1266,10 +1270,12 @@ export type CreateRoute = {
|
|
|
1266
1270
|
departure_time: Scalars["DateTime"];
|
|
1267
1271
|
/** [BETA] List of route features to avoid in a route. This is a best-effort preference; depending on the available routes, some features may not be fully avoidable. */
|
|
1268
1272
|
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1269
|
-
/** [BETA]
|
|
1270
|
-
|
|
1273
|
+
/** [BETA] Configuration options for the route's driving conditions. Includes factors to adjust average speed, set a maximum speed, and define a base driving style. If not specified, no adjustments are applied. */
|
|
1274
|
+
driving_preferences?: Maybe<RouteDrivingPreferences>;
|
|
1271
1275
|
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1272
1276
|
weather?: Maybe<RouteWeather>;
|
|
1277
|
+
/** Charging stations preferences for route calculation. */
|
|
1278
|
+
station_preferences?: Maybe<RouteStationPreferences>;
|
|
1273
1279
|
};
|
|
1274
1280
|
|
|
1275
1281
|
/** Input for the create route mutation. */
|
|
@@ -1282,7 +1288,7 @@ export type CreateRouteInput = {
|
|
|
1282
1288
|
destination: RouteDestinationFeaturePointInput;
|
|
1283
1289
|
/** Optional via points of a route. */
|
|
1284
1290
|
via?: Maybe<Array<RouteViaFeaturePointInput>>;
|
|
1285
|
-
/**
|
|
1291
|
+
/** Operator preferences and restrictions for route calculation. If not specified, excludes operators per project settings, but applies no operator ranking. */
|
|
1286
1292
|
operators?: Maybe<RouteOperatorPreferencesInput>;
|
|
1287
1293
|
/** Optional flag to specify the season. */
|
|
1288
1294
|
season?: Maybe<RouteSeason>;
|
|
@@ -1292,10 +1298,12 @@ export type CreateRouteInput = {
|
|
|
1292
1298
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1293
1299
|
/** [BETA] Optional list of route features to avoid in a route. This is a best-effort preference; depending on the available routes, some features may not be fully avoidable. */
|
|
1294
1300
|
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
1301
|
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1298
1302
|
weather?: Maybe<RouteWeatherInput>;
|
|
1303
|
+
/** Charging stations preferences for route calculation. */
|
|
1304
|
+
station_preferences?: Maybe<RouteStationPreferencesInput>;
|
|
1305
|
+
/** [BETA] Configuration options for the route's driving conditions. Includes factors to adjust average speed, set a maximum speed, and define a base driving style. If not specified, no adjustments are applied. */
|
|
1306
|
+
driving_preferences?: Maybe<RouteDrivingPreferencesInput>;
|
|
1299
1307
|
};
|
|
1300
1308
|
|
|
1301
1309
|
/** Currency in the ISO 4217 format. */
|
|
@@ -1644,14 +1652,21 @@ export enum DimensionUnit {
|
|
|
1644
1652
|
MILE = "mile"
|
|
1645
1653
|
}
|
|
1646
1654
|
|
|
1655
|
+
export type DistanceInput = {
|
|
1656
|
+
/** Value of the distance. */
|
|
1657
|
+
value: Scalars["Float"];
|
|
1658
|
+
/** Unit of distance. */
|
|
1659
|
+
unit: DistanceUnit;
|
|
1660
|
+
};
|
|
1661
|
+
|
|
1647
1662
|
export enum DistanceUnit {
|
|
1648
|
-
/**
|
|
1663
|
+
/** Distance in meters. */
|
|
1649
1664
|
METER = "meter",
|
|
1650
|
-
/**
|
|
1665
|
+
/** Distance in feet. */
|
|
1651
1666
|
FOOT = "foot",
|
|
1652
|
-
/**
|
|
1667
|
+
/** Distance in kilometers. */
|
|
1653
1668
|
KILOMETER = "kilometer",
|
|
1654
|
-
/**
|
|
1669
|
+
/** Distance in miles. */
|
|
1655
1670
|
MILE = "mile"
|
|
1656
1671
|
}
|
|
1657
1672
|
|
|
@@ -1946,19 +1961,13 @@ export enum HeavyVehiclesFacility {
|
|
|
1946
1961
|
SECURE_TRUCK_PARKING = "SECURE_TRUCK_PARKING"
|
|
1947
1962
|
}
|
|
1948
1963
|
|
|
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
1964
|
export type Isoline = {
|
|
1958
1965
|
/** Isoline id. */
|
|
1959
1966
|
id: Scalars["ID"];
|
|
1960
1967
|
/** Isoline status. */
|
|
1961
1968
|
status: IsolineStatus;
|
|
1969
|
+
/** Distance from the origin to the furthest reachable point within the isoline. Represents the longest drivable distance, not a straight-line or vehicle range. */
|
|
1970
|
+
maximum_distance?: Maybe<Scalars["Float"]>;
|
|
1962
1971
|
/** Shape of the isoline consisting in a list of multipolygons. */
|
|
1963
1972
|
polygons?: Maybe<Array<Maybe<FeatureMultiPolygon>>>;
|
|
1964
1973
|
/** List of the ferries uniting islands formed by the isoline. */
|
|
@@ -1967,6 +1976,10 @@ export type Isoline = {
|
|
|
1967
1976
|
request_input?: Maybe<IsolineRequestInput>;
|
|
1968
1977
|
};
|
|
1969
1978
|
|
|
1979
|
+
export type Isolinemaximum_distanceArgs = {
|
|
1980
|
+
unit?: Maybe<DistanceUnit>;
|
|
1981
|
+
};
|
|
1982
|
+
|
|
1970
1983
|
export type IsolineCabin = {
|
|
1971
1984
|
/** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
|
|
1972
1985
|
is_preconditioned?: Maybe<Scalars["Boolean"]>;
|
|
@@ -2024,6 +2037,8 @@ export type IsolineInput = {
|
|
|
2024
2037
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
2025
2038
|
/** Minimum final battery state of charge. Default is 0 */
|
|
2026
2039
|
final_state_of_charge?: Maybe<StateOfChargeInput>;
|
|
2040
|
+
/** [BETA] User-defined maximum speed used for the isoline. */
|
|
2041
|
+
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
2027
2042
|
};
|
|
2028
2043
|
|
|
2029
2044
|
/** Granularity of the isoline. */
|
|
@@ -2065,6 +2080,8 @@ export type IsolineRequestInput = {
|
|
|
2065
2080
|
state_of_charge: Scalars["Float"];
|
|
2066
2081
|
/** Minimum final battery state of charge. */
|
|
2067
2082
|
final_state_of_charge: Scalars["Float"];
|
|
2083
|
+
/** [BETA] Maximum speed to consider when generating the isoline. In the segments where legal speed is lower than this value, the legal speed will be used instead. */
|
|
2084
|
+
maximum_speed?: Maybe<MaximumSpeed>;
|
|
2068
2085
|
};
|
|
2069
2086
|
|
|
2070
2087
|
export type IsolineRequestInputtotal_occupant_weightArgs = {
|
|
@@ -2122,20 +2139,6 @@ export enum LineStringType {
|
|
|
2122
2139
|
LINESTRING = "LineString"
|
|
2123
2140
|
}
|
|
2124
2141
|
|
|
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
2142
|
export type MaximumSpeed = {
|
|
2140
2143
|
/** Numeric value of the user-defined maximum speed. */
|
|
2141
2144
|
value: Scalars["Int"];
|
|
@@ -2265,146 +2268,154 @@ export type MutationcreateRouteArgs = {
|
|
|
2265
2268
|
input: CreateRouteInput;
|
|
2266
2269
|
};
|
|
2267
2270
|
|
|
2268
|
-
/** The navigation session data */
|
|
2271
|
+
/** The navigation session data. */
|
|
2269
2272
|
export type Navigation = {
|
|
2270
|
-
/** ID of the navigation session */
|
|
2273
|
+
/** ID of the navigation session. */
|
|
2271
2274
|
id: Scalars["ID"];
|
|
2272
|
-
/**
|
|
2273
|
-
|
|
2274
|
-
/** The
|
|
2275
|
-
|
|
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"]>;
|
|
2275
|
+
/** Navigation session details overview. */
|
|
2276
|
+
overview: NavigationOverview;
|
|
2277
|
+
/** The status of a navigation session. The status can be driving, charging, finished, or error. */
|
|
2278
|
+
status: NavigationStatus;
|
|
2288
2279
|
/** Navigation meta information. */
|
|
2289
2280
|
meta?: Maybe<NavigationMeta>;
|
|
2290
2281
|
};
|
|
2291
2282
|
|
|
2292
|
-
/**
|
|
2293
|
-
export type Navigationstate_of_chargeArgs = {
|
|
2294
|
-
unit?: Maybe<StateOfChargeUnit>;
|
|
2295
|
-
};
|
|
2296
|
-
|
|
2297
|
-
/** Input for the navigation recalculate */
|
|
2283
|
+
/** Input for the navigation recalculate. */
|
|
2298
2284
|
export type NavigationFinishInput = {
|
|
2299
|
-
/** ID of the navigation session */
|
|
2285
|
+
/** ID of the navigation session. */
|
|
2300
2286
|
id: Scalars["ID"];
|
|
2301
|
-
/** Current coordinates */
|
|
2287
|
+
/** Current coordinates. */
|
|
2302
2288
|
current_location: PointInput;
|
|
2303
2289
|
};
|
|
2304
2290
|
|
|
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
2291
|
/** Navigation meta information. */
|
|
2315
2292
|
export type NavigationMeta = {
|
|
2316
2293
|
/** Creation time of the navigation session. */
|
|
2317
|
-
created_at
|
|
2294
|
+
created_at: Scalars["DateTime"];
|
|
2318
2295
|
/** Last updated time of the navigation session. */
|
|
2319
|
-
updated_at
|
|
2296
|
+
updated_at: Scalars["DateTime"];
|
|
2320
2297
|
};
|
|
2321
2298
|
|
|
2322
|
-
/**
|
|
2299
|
+
/** The navigation session overview details. */
|
|
2300
|
+
export type NavigationOverview = {
|
|
2301
|
+
/** State of charge at the last known location. */
|
|
2302
|
+
state_of_charge: Scalars["Float"];
|
|
2303
|
+
/** Last known location. */
|
|
2304
|
+
last_known_location: Point;
|
|
2305
|
+
/** Next charging station. */
|
|
2306
|
+
next_station?: Maybe<NavigationStation>;
|
|
2307
|
+
/** A set of alternative charging stations to next station. */
|
|
2308
|
+
alternative_stations: Array<NavigationStation>;
|
|
2309
|
+
/** Navigation route instructions. */
|
|
2310
|
+
instructions: Array<Maybe<RouteInstruction>>;
|
|
2311
|
+
/** Continuously updated route request input. */
|
|
2312
|
+
live_route_request: CreateRoute;
|
|
2313
|
+
/** Polyline containing encoded coordinates. */
|
|
2314
|
+
polyline: Scalars["String"];
|
|
2315
|
+
};
|
|
2316
|
+
|
|
2317
|
+
/** The navigation session overview details. */
|
|
2318
|
+
export type NavigationOverviewstate_of_chargeArgs = {
|
|
2319
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2320
|
+
};
|
|
2321
|
+
|
|
2322
|
+
/** The navigation session overview details. */
|
|
2323
|
+
export type NavigationOverviewpolylineArgs = {
|
|
2324
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
2325
|
+
};
|
|
2326
|
+
|
|
2327
|
+
/** Input for the navigation recalculate. */
|
|
2323
2328
|
export type NavigationRecalculateInput = {
|
|
2324
|
-
/** ID of the navigation session */
|
|
2329
|
+
/** ID of the navigation session. */
|
|
2325
2330
|
id: Scalars["ID"];
|
|
2326
|
-
/** State of charge at origin */
|
|
2331
|
+
/** State of charge at origin. */
|
|
2327
2332
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
2328
|
-
/** Origin location of a new route */
|
|
2333
|
+
/** Origin location of a new route. */
|
|
2329
2334
|
current_location: PointInput;
|
|
2330
|
-
/** Via points of a new route. If this field is not sent, the original via points will be used */
|
|
2335
|
+
/** Via points of a new route. If this field is not sent, the original via points will be used. */
|
|
2331
2336
|
via?: Maybe<Array<FeaturePointInput>>;
|
|
2332
|
-
/** Telemetry data input */
|
|
2337
|
+
/** Telemetry data input. */
|
|
2333
2338
|
telemetry?: Maybe<TelemetryInput>;
|
|
2334
2339
|
};
|
|
2335
2340
|
|
|
2336
|
-
/** Input for the navigation start */
|
|
2341
|
+
/** Input for the navigation start. */
|
|
2337
2342
|
export type NavigationStartInput = {
|
|
2338
|
-
/** ID of the route of the navigation session */
|
|
2343
|
+
/** ID of the route of the navigation session. */
|
|
2339
2344
|
route_id: Scalars["ID"];
|
|
2340
|
-
/**
|
|
2341
|
-
route_alternative_id?: Maybe<Scalars["ID"]>;
|
|
2342
|
-
/** Current coordinates */
|
|
2345
|
+
/** Current coordinates. */
|
|
2343
2346
|
current_location: PointInput;
|
|
2344
|
-
/** Instruction input format */
|
|
2345
|
-
instructions: NavigationInstructionsInput;
|
|
2346
2347
|
};
|
|
2347
2348
|
|
|
2348
|
-
/**
|
|
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 */
|
|
2349
|
+
/** Navigation session station type. */
|
|
2361
2350
|
export type NavigationStation = {
|
|
2362
|
-
/** The ID as string of the charging station */
|
|
2351
|
+
/** The ID as string of the charging station. */
|
|
2363
2352
|
station_id: Scalars["ID"];
|
|
2364
|
-
/** GPS location of the charging station */
|
|
2353
|
+
/** GPS location of the charging station. */
|
|
2365
2354
|
station_location: Point;
|
|
2366
|
-
/** An array with all GPS locations of via points until the next charging station */
|
|
2355
|
+
/** An array with all GPS locations of via points until the next charging station. */
|
|
2367
2356
|
via: Array<Point>;
|
|
2368
|
-
/** Estimated state of charge, at arrival on the next charging station */
|
|
2357
|
+
/** Estimated state of charge, at arrival on the next charging station. */
|
|
2369
2358
|
estimated_state_of_charge: Scalars["Float"];
|
|
2370
|
-
/** Estimated consumption, in kWh, from last the known location until the next charging station */
|
|
2359
|
+
/** Estimated consumption, in kWh, from last the known location until the next charging station. */
|
|
2371
2360
|
estimated_consumption: Scalars["Float"];
|
|
2372
|
-
/** Estimated duration, in seconds, from the last known location until the next charging station */
|
|
2373
|
-
estimated_duration: Scalars["
|
|
2361
|
+
/** Estimated duration, in seconds, from the last known location until the next charging station. */
|
|
2362
|
+
estimated_duration: Scalars["Float"];
|
|
2374
2363
|
};
|
|
2375
2364
|
|
|
2376
|
-
/** Navigation session station type */
|
|
2365
|
+
/** Navigation session station type. */
|
|
2377
2366
|
export type NavigationStationestimated_state_of_chargeArgs = {
|
|
2378
2367
|
unit?: Maybe<StateOfChargeUnit>;
|
|
2379
2368
|
};
|
|
2380
2369
|
|
|
2381
|
-
/**
|
|
2370
|
+
/** State of navigation session. */
|
|
2371
|
+
export enum NavigationStatus {
|
|
2372
|
+
/** Vehicle is driving. */
|
|
2373
|
+
DRIVING = "driving",
|
|
2374
|
+
/** Vehicle is charging. */
|
|
2375
|
+
CHARGING = "charging",
|
|
2376
|
+
/** Navigation session is completed (either manually or automatically 48 hours after the last update). */
|
|
2377
|
+
FINISHED = "finished",
|
|
2378
|
+
/** Failed to update navigation session due to route error or not found. */
|
|
2379
|
+
ERROR = "error"
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
/** The navigation session subscription data */
|
|
2383
|
+
export type NavigationSubscription = {
|
|
2384
|
+
/** ID of the navigation session. */
|
|
2385
|
+
id: Scalars["ID"];
|
|
2386
|
+
/** The status of a navigation session. The status can be driving, charging, finished, or error. */
|
|
2387
|
+
status: NavigationStatus;
|
|
2388
|
+
/** Navigation meta information. */
|
|
2389
|
+
meta?: Maybe<NavigationMeta>;
|
|
2390
|
+
};
|
|
2391
|
+
|
|
2392
|
+
/** Input for the navigation update. */
|
|
2382
2393
|
export type NavigationUpdateInput = {
|
|
2383
|
-
/** ID of the navigation session */
|
|
2394
|
+
/** ID of the navigation session. */
|
|
2384
2395
|
id: Scalars["ID"];
|
|
2385
|
-
/** A list of locations that were collected since the last update */
|
|
2396
|
+
/** A list of locations that were collected since the last update. */
|
|
2386
2397
|
location_data: Array<NavigationUpdateLocationsInput>;
|
|
2387
|
-
/** Telemetry data input */
|
|
2398
|
+
/** Telemetry data input. */
|
|
2388
2399
|
telemetry?: Maybe<TelemetryInput>;
|
|
2389
2400
|
};
|
|
2390
2401
|
|
|
2391
|
-
/** Properties of the location */
|
|
2402
|
+
/** Properties of the location. */
|
|
2392
2403
|
export type NavigationUpdateLocationPropertiesInput = {
|
|
2393
|
-
/** Current route leg index corresponding to a location */
|
|
2404
|
+
/** Current route leg index corresponding to a location. */
|
|
2394
2405
|
route_leg: Scalars["Int"];
|
|
2395
|
-
/** Speed at a location */
|
|
2406
|
+
/** Speed at a location. */
|
|
2396
2407
|
speed?: Maybe<VehicleSpeedInput>;
|
|
2397
|
-
/** UNIX timestamp at location, in seconds */
|
|
2408
|
+
/** UNIX timestamp at location, in seconds. */
|
|
2398
2409
|
timestamp: Scalars["Int"];
|
|
2399
|
-
/** Elevation information */
|
|
2410
|
+
/** Elevation information. */
|
|
2400
2411
|
elevation?: Maybe<ElevationInput>;
|
|
2401
2412
|
};
|
|
2402
2413
|
|
|
2403
|
-
/** Input for the navigation update locations */
|
|
2414
|
+
/** Input for the navigation update locations. */
|
|
2404
2415
|
export type NavigationUpdateLocationsInput = {
|
|
2405
|
-
/** GPS location */
|
|
2416
|
+
/** GPS location. */
|
|
2406
2417
|
geometry: PointInput;
|
|
2407
|
-
/** Extra information about the location */
|
|
2418
|
+
/** Extra information about the location. */
|
|
2408
2419
|
properties: NavigationUpdateLocationPropertiesInput;
|
|
2409
2420
|
};
|
|
2410
2421
|
|
|
@@ -2535,7 +2546,11 @@ export enum OCPIConnectorType {
|
|
|
2535
2546
|
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
|
|
2536
2547
|
NEMA_14_30 = "NEMA_14_30",
|
|
2537
2548
|
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
|
|
2538
|
-
NEMA_14_50 = "NEMA_14_50"
|
|
2549
|
+
NEMA_14_50 = "NEMA_14_50",
|
|
2550
|
+
/** Guobiao GB/T 20234.2 AC socket/connector. */
|
|
2551
|
+
GBT_AC = "GBT_AC",
|
|
2552
|
+
/** Guobiao GB/T 20234.3 DC connector. */
|
|
2553
|
+
GBT_DC = "GBT_DC"
|
|
2539
2554
|
}
|
|
2540
2555
|
|
|
2541
2556
|
export enum OCPIDayOfWeek {
|
|
@@ -3055,6 +3070,8 @@ export type Operator = {
|
|
|
3055
3070
|
ranking_levels?: Maybe<OperatorRankingLevels>;
|
|
3056
3071
|
/** List of countries where the operator is excluded. Default operator preference applied to routes created through createRoute mutation if no operator preference is specified in the request. */
|
|
3057
3072
|
excluded_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
3073
|
+
/** List of countries where the operator is avoided. Default operator preference applied to routes created through createRoute mutation if no operator preference is specified in the request. */
|
|
3074
|
+
avoided_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
3058
3075
|
};
|
|
3059
3076
|
|
|
3060
3077
|
/** Filter which can be applied to retrieve the operator list action. */
|
|
@@ -3083,6 +3100,17 @@ export type OperatorListQuery = {
|
|
|
3083
3100
|
country?: Maybe<Scalars["String"]>;
|
|
3084
3101
|
};
|
|
3085
3102
|
|
|
3103
|
+
export enum OperatorPreferenceType {
|
|
3104
|
+
/** Operators that have been set as preferred or required. */
|
|
3105
|
+
RANKED = "ranked",
|
|
3106
|
+
/** Operators that have not been set as neither preferred or required or avoided nor excluded. */
|
|
3107
|
+
UNRANKED = "unranked",
|
|
3108
|
+
/** Operators that have been set to be avoided. */
|
|
3109
|
+
AVOIDED = "avoided",
|
|
3110
|
+
/** Operators that have been set to be excluded. */
|
|
3111
|
+
EXCLUDED = "excluded"
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3086
3114
|
/** Operator ranking level. */
|
|
3087
3115
|
export enum OperatorRankingLevel {
|
|
3088
3116
|
LOW = "low",
|
|
@@ -3137,6 +3165,18 @@ export type OutsideTemperatureInput = {
|
|
|
3137
3165
|
source?: Maybe<TelemetryInputSource>;
|
|
3138
3166
|
};
|
|
3139
3167
|
|
|
3168
|
+
/** Information about the list page. */
|
|
3169
|
+
export type PageInfo = {
|
|
3170
|
+
/** Flag that indicates if it has a next page. */
|
|
3171
|
+
has_next_page: Scalars["Boolean"];
|
|
3172
|
+
/** Flag that indicates if it has a previous page. */
|
|
3173
|
+
has_previous_page: Scalars["Boolean"];
|
|
3174
|
+
/** Cursor of the first connection of the page. If the page is empty, this is null. */
|
|
3175
|
+
start_cursor?: Maybe<Scalars["String"]>;
|
|
3176
|
+
/** Cursor of the last connection of the page. If the page is empty, this is null. */
|
|
3177
|
+
end_cursor?: Maybe<Scalars["String"]>;
|
|
3178
|
+
};
|
|
3179
|
+
|
|
3140
3180
|
export enum ParkingCost {
|
|
3141
3181
|
/** Parking is free. */
|
|
3142
3182
|
FREE = "free",
|
|
@@ -3319,6 +3359,8 @@ export type Query = {
|
|
|
3319
3359
|
getRouteEmissions: RouteDetailsEmissions;
|
|
3320
3360
|
/** Get a route by ID. */
|
|
3321
3361
|
getRoute: RouteResponse;
|
|
3362
|
+
/** [BETA] Search for stations with amenities within a specific time window and distance of a previously calculated route. */
|
|
3363
|
+
getRouteStationsWithAmenities: RouteStationsWithAmenitiesConnection;
|
|
3322
3364
|
/** Get information about a station by its ID. */
|
|
3323
3365
|
station?: Maybe<Station>;
|
|
3324
3366
|
/** Get a full list of stations. */
|
|
@@ -3336,9 +3378,9 @@ export type Query = {
|
|
|
3336
3378
|
/** Get a full list of vehicles. */
|
|
3337
3379
|
vehicleList?: Maybe<Array<Maybe<VehicleList>>>;
|
|
3338
3380
|
/** [BETA] Get a full list of vehicle makes. */
|
|
3339
|
-
vehicleMakes:
|
|
3381
|
+
vehicleMakes: VehicleMakesConnection;
|
|
3340
3382
|
/** [BETA] Get a full list of vehicle make models. */
|
|
3341
|
-
vehicleModels:
|
|
3383
|
+
vehicleModels: VehicleModelsConnection;
|
|
3342
3384
|
};
|
|
3343
3385
|
|
|
3344
3386
|
export type QueryamenityListArgs = {
|
|
@@ -3417,6 +3459,16 @@ export type QuerygetRouteArgs = {
|
|
|
3417
3459
|
id: Scalars["ID"];
|
|
3418
3460
|
};
|
|
3419
3461
|
|
|
3462
|
+
export type QuerygetRouteStationsWithAmenitiesArgs = {
|
|
3463
|
+
route_id: Scalars["ID"];
|
|
3464
|
+
route_details_id: Scalars["ID"];
|
|
3465
|
+
time_window: RouteTimeWindow;
|
|
3466
|
+
amenity_types: Array<AmenityType>;
|
|
3467
|
+
filter?: Maybe<RouteStationsWithAmenityFilter>;
|
|
3468
|
+
first?: Maybe<Scalars["Int"]>;
|
|
3469
|
+
after?: Maybe<Scalars["String"]>;
|
|
3470
|
+
};
|
|
3471
|
+
|
|
3420
3472
|
export type QuerystationArgs = {
|
|
3421
3473
|
id?: Maybe<Scalars["ID"]>;
|
|
3422
3474
|
evse_id?: Maybe<Scalars["String"]>;
|
|
@@ -3470,8 +3522,10 @@ export type QueryvehicleMakesArgs = {
|
|
|
3470
3522
|
};
|
|
3471
3523
|
|
|
3472
3524
|
export type QueryvehicleModelsArgs = {
|
|
3473
|
-
filter
|
|
3525
|
+
filter?: Maybe<VehicleModelsFilter>;
|
|
3474
3526
|
country?: Maybe<CountryCodeAlpha2>;
|
|
3527
|
+
first?: Maybe<Scalars["Int"]>;
|
|
3528
|
+
after?: Maybe<Scalars["String"]>;
|
|
3475
3529
|
};
|
|
3476
3530
|
|
|
3477
3531
|
export type RemoveConnectedVehicleInput = {
|
|
@@ -3958,6 +4012,11 @@ export enum RouteAlternativeType {
|
|
|
3958
4012
|
ALTERNATIVE = "alternative"
|
|
3959
4013
|
}
|
|
3960
4014
|
|
|
4015
|
+
export type RouteAmenityFilter = {
|
|
4016
|
+
/** Maximum distance from the station to the amenity. The value must be between 0 and 1 000 meters. If not specified, defaults to 250 meters. */
|
|
4017
|
+
maximum_distance_from_station?: Maybe<DistanceInput>;
|
|
4018
|
+
};
|
|
4019
|
+
|
|
3961
4020
|
/** Amenity preferences for a route. */
|
|
3962
4021
|
export type RouteAmenityPreferences = {
|
|
3963
4022
|
/** Desired amenities near all charge-stops along a route, with a 1 kilometer radius. */
|
|
@@ -3983,8 +4042,8 @@ export type RouteDestinationFeaturePoint = {
|
|
|
3983
4042
|
/** Feature type. */
|
|
3984
4043
|
type: FeatureType;
|
|
3985
4044
|
/** Geometry of the feature. */
|
|
3986
|
-
geometry
|
|
3987
|
-
/**
|
|
4045
|
+
geometry?: Maybe<Point>;
|
|
4046
|
+
/** Additional feature properties. */
|
|
3988
4047
|
properties?: Maybe<RouteDestinationProperties>;
|
|
3989
4048
|
};
|
|
3990
4049
|
|
|
@@ -3994,8 +4053,8 @@ export type RouteDestinationFeaturePointInput = {
|
|
|
3994
4053
|
/** Feature type. */
|
|
3995
4054
|
type: FeatureType;
|
|
3996
4055
|
/** Geometry of the feature. */
|
|
3997
|
-
geometry
|
|
3998
|
-
/**
|
|
4056
|
+
geometry?: Maybe<PointInput>;
|
|
4057
|
+
/** Additional feature properties. */
|
|
3999
4058
|
properties?: Maybe<RouteDestinationPropertiesInput>;
|
|
4000
4059
|
};
|
|
4001
4060
|
|
|
@@ -4009,7 +4068,7 @@ export type RouteDestinationProperties = {
|
|
|
4009
4068
|
export type RouteDestinationPropertiesInput = {
|
|
4010
4069
|
/** Data about the destination location. */
|
|
4011
4070
|
location?: Maybe<RoutePropertiesLocationInput>;
|
|
4012
|
-
/**
|
|
4071
|
+
/** Specifies a charging station at the destination. If a known station is provided, it will be used as charging stop. Any configured operator preferences are ignored for this stop. */
|
|
4013
4072
|
station?: Maybe<RoutePropertiesStationInput>;
|
|
4014
4073
|
};
|
|
4015
4074
|
|
|
@@ -4036,7 +4095,12 @@ export type RouteDetails = {
|
|
|
4036
4095
|
savings?: Maybe<RouteDetailsSavings>;
|
|
4037
4096
|
/** Legs of a route. */
|
|
4038
4097
|
legs: Array<RouteDetailsLeg>;
|
|
4039
|
-
/**
|
|
4098
|
+
/**
|
|
4099
|
+
* Alternative stations along a route within a specified radius.
|
|
4100
|
+
*
|
|
4101
|
+
* Includes stations from preferred/required/avoided operators but excludes stations from excluded operators.
|
|
4102
|
+
* This list is only populated if `alternative_station_radius` was specified in the `createRoute` mutation.
|
|
4103
|
+
*/
|
|
4040
4104
|
alternative_stations: Array<RouteDetailsAlternativeStation>;
|
|
4041
4105
|
/** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
|
|
4042
4106
|
tags: Array<RouteDetailsTag>;
|
|
@@ -4075,7 +4139,6 @@ export type RouteDetailsAlternativeStation = {
|
|
|
4075
4139
|
operator_id?: Maybe<Scalars["ID"]>;
|
|
4076
4140
|
};
|
|
4077
4141
|
|
|
4078
|
-
/** Aggregation of all durations of a route. */
|
|
4079
4142
|
export type RouteDetailsDurations = {
|
|
4080
4143
|
/** Total duration, in seconds. */
|
|
4081
4144
|
total: Scalars["Int"];
|
|
@@ -4083,7 +4146,7 @@ export type RouteDetailsDurations = {
|
|
|
4083
4146
|
charging: Scalars["Int"];
|
|
4084
4147
|
/** Total driving duration, in seconds. */
|
|
4085
4148
|
driving: Scalars["Int"];
|
|
4086
|
-
/** Total
|
|
4149
|
+
/** Total duration stopped at a location via or at a station via, excluding charging time and charging penalty, in seconds. */
|
|
4087
4150
|
stopover: Scalars["Int"];
|
|
4088
4151
|
/** Total ferry duration, in seconds. */
|
|
4089
4152
|
ferry: Scalars["Int"];
|
|
@@ -4216,7 +4279,10 @@ export type RouteDetailsLegFeatureProperties = {
|
|
|
4216
4279
|
air_pressure?: Maybe<Scalars["Float"]>;
|
|
4217
4280
|
/** Solar irradiance at the location. */
|
|
4218
4281
|
solar_irradiance?: Maybe<Scalars["Float"]>;
|
|
4219
|
-
/**
|
|
4282
|
+
/**
|
|
4283
|
+
* Duration, in seconds, of time spent at this location.
|
|
4284
|
+
* @deprecated In favor of legs.durations
|
|
4285
|
+
*/
|
|
4220
4286
|
duration?: Maybe<Scalars["Int"]>;
|
|
4221
4287
|
/** Number of occupants present in the vehicle. */
|
|
4222
4288
|
occupants?: Maybe<Scalars["Int"]>;
|
|
@@ -4458,6 +4524,31 @@ export enum RouteDetailsTag {
|
|
|
4458
4524
|
CROSSBORDER = "crossborder"
|
|
4459
4525
|
}
|
|
4460
4526
|
|
|
4527
|
+
export type RouteDrivingPreferences = {
|
|
4528
|
+
/** [BETA] Factor to adjust the route's calculated average speed. Accepts values between 0.80 and 1.20. 1.0 is neutral. Values below 1.0 reduce speed (e.g. 0.95 is -5%), values above increase it. If provided in combination with style, this overrides the speed factor implied by the selected 'style'. */
|
|
4529
|
+
speed_factor?: Maybe<Scalars["Float"]>;
|
|
4530
|
+
/** [BETA] Maximum speed to consider when generating the route. In the segments where legal speed is lower than this value, the legal speed will be used instead. If provided in combination with 'style, this overrides the maximum speed implied by the selected 'style'. */
|
|
4531
|
+
maximum_speed?: Maybe<MaximumSpeed>;
|
|
4532
|
+
/** [BETA] Defines a driving style. If provided in combination with 'maximum_speed' or 'speed_factor', those values override the values defined by the selected 'style'. */
|
|
4533
|
+
style?: Maybe<RouteDrivingStyle>;
|
|
4534
|
+
};
|
|
4535
|
+
|
|
4536
|
+
export type RouteDrivingPreferencesInput = {
|
|
4537
|
+
/** [BETA] Factor to adjust the route's calculated average speed. Accepts values between 0.80 and 1.20. 1.0 is neutral. Values below 1.0 reduce speed (e.g. 0.95 is -5%), values above increase it. If provided in combination with style, this overrides the speed factor implied by the selected 'style'. */
|
|
4538
|
+
speed_factor?: Maybe<Scalars["Float"]>;
|
|
4539
|
+
/** [BETA] Maximum speed to consider when generating the route. In the segments where legal speed is lower than this value, the legal speed will be used instead. If provided in combination with 'style, this overrides the maximum speed implied by the selected 'style'. */
|
|
4540
|
+
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
4541
|
+
/** [BETA] Defines a driving style. If provided in combination with 'maximum_speed' or 'speed_factor', those values override the values defined by the selected 'style'. */
|
|
4542
|
+
style?: Maybe<RouteDrivingStyle>;
|
|
4543
|
+
};
|
|
4544
|
+
|
|
4545
|
+
export enum RouteDrivingStyle {
|
|
4546
|
+
/** Lower average driving speed and lower energy consumption. Applies a speed limit of 110 km/h to all segments where a higher legal limit is allowed and reduces by 5% the route's average driving speed. */
|
|
4547
|
+
ECO = "eco",
|
|
4548
|
+
/** Higher average driving speed and higher energy consumption. Applies no speed limit and increases by 5% the route's average driving speed. */
|
|
4549
|
+
SPORT = "sport"
|
|
4550
|
+
}
|
|
4551
|
+
|
|
4461
4552
|
export type RouteEmbeddedEmissions = {
|
|
4462
4553
|
/** Total embedded emissions. */
|
|
4463
4554
|
total: Scalars["Float"];
|
|
@@ -5239,14 +5330,18 @@ export type RouteOperatorPreferences = {
|
|
|
5239
5330
|
ranking?: Maybe<RouteOperatorPreferencesRanking>;
|
|
5240
5331
|
/** Operators that should be excluded for a route calculation. */
|
|
5241
5332
|
exclude?: Maybe<Array<RouteOperatorsValue>>;
|
|
5333
|
+
/** Operators that should be avoided, but not excluded, for a route calculation. */
|
|
5334
|
+
avoid?: Maybe<Array<RouteOperatorsValue>>;
|
|
5242
5335
|
};
|
|
5243
5336
|
|
|
5244
5337
|
/** Prioritized operators for a route calculation. */
|
|
5245
5338
|
export type RouteOperatorPreferencesInput = {
|
|
5246
|
-
/**
|
|
5339
|
+
/** Operators to be preferred in route calculation. If not specified, no operator ranking is applied (including project-configured ranking). */
|
|
5247
5340
|
ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
|
|
5248
|
-
/** Operators
|
|
5341
|
+
/** Operators to be excluded from route calculation. If specified, overrides project-configured operator exclusions. If not specified, applies project-configured operator exclusions. */
|
|
5249
5342
|
exclude?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
5343
|
+
/** Operators that should be avoided, but not excluded, for a route calculation. */
|
|
5344
|
+
avoid?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
5250
5345
|
};
|
|
5251
5346
|
|
|
5252
5347
|
export type RouteOperatorPreferencesRanking = {
|
|
@@ -5257,9 +5352,9 @@ export type RouteOperatorPreferencesRanking = {
|
|
|
5257
5352
|
};
|
|
5258
5353
|
|
|
5259
5354
|
export type RouteOperatorPreferencesRankingInput = {
|
|
5260
|
-
/**
|
|
5355
|
+
/** Ranking enforcement type: preferred (applies ranking levels), required (routes only via ranked operators), or none (no ranking applied). */
|
|
5261
5356
|
type: RouteOperatorsType;
|
|
5262
|
-
/**
|
|
5357
|
+
/** Priority levels for operator ranking. If not specified, applies the specified enforcement type to the project-configured operator ranking. */
|
|
5263
5358
|
levels?: Maybe<RouteOperatorPreferencesRankingLevelsInput>;
|
|
5264
5359
|
};
|
|
5265
5360
|
|
|
@@ -5369,7 +5464,7 @@ export type RouteOperatorsValue = {
|
|
|
5369
5464
|
export type RouteOperatorsValueInput = {
|
|
5370
5465
|
/** ID of an operator. */
|
|
5371
5466
|
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. */
|
|
5467
|
+
/** List of countries in which the operator should be preferred/excluded/avoided. When omitted the operator will be preferred/excluded in every country. */
|
|
5373
5468
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
5374
5469
|
};
|
|
5375
5470
|
|
|
@@ -5445,6 +5540,8 @@ export type RoutePropertiesStation = {
|
|
|
5445
5540
|
station_id?: Maybe<Scalars["ID"]>;
|
|
5446
5541
|
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
5447
5542
|
external_station_id?: Maybe<Scalars["ID"]>;
|
|
5543
|
+
/** Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode. */
|
|
5544
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
5448
5545
|
};
|
|
5449
5546
|
|
|
5450
5547
|
export type RoutePropertiesStationInput = {
|
|
@@ -5452,6 +5549,8 @@ export type RoutePropertiesStationInput = {
|
|
|
5452
5549
|
station_id?: Maybe<Scalars["ID"]>;
|
|
5453
5550
|
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
5454
5551
|
external_station_id?: Maybe<Scalars["ID"]>;
|
|
5552
|
+
/** Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode. */
|
|
5553
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
5455
5554
|
};
|
|
5456
5555
|
|
|
5457
5556
|
export type RoutePropertiesVehicle = {
|
|
@@ -5523,6 +5622,49 @@ export enum RouteSeason {
|
|
|
5523
5622
|
CURRENT = "current"
|
|
5524
5623
|
}
|
|
5525
5624
|
|
|
5625
|
+
export type RouteStationFilter = {
|
|
5626
|
+
/** Filters stations within this distance from the route path. The value must be between 0 and 10 000 meters. If not specified, defaults to 1 000 meters. */
|
|
5627
|
+
maximum_distance_from_path?: Maybe<DistanceInput>;
|
|
5628
|
+
/** Filters stations by operator preference types. This filter depends exclusively on the preferences used for the route calculation. If not specified, stations from all preference types (ranked, unranked, avoided, excluded) are returned. */
|
|
5629
|
+
operator_preference?: Maybe<Array<OperatorPreferenceType>>;
|
|
5630
|
+
};
|
|
5631
|
+
|
|
5632
|
+
export type RouteStationOperator = {
|
|
5633
|
+
/** Unique operator ID. */
|
|
5634
|
+
id?: Maybe<Scalars["ID"]>;
|
|
5635
|
+
/** Operator's preference status specifically for this route calculation. */
|
|
5636
|
+
preference_type: OperatorPreferenceType;
|
|
5637
|
+
};
|
|
5638
|
+
|
|
5639
|
+
export type RouteStationPreferences = {
|
|
5640
|
+
/** [BETA] Flag to prioritise charging stations located directly on the highway, avoiding exiting highways to charge. This preference is considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. The preference's weight is configurable in project settings. */
|
|
5641
|
+
prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
|
|
5642
|
+
};
|
|
5643
|
+
|
|
5644
|
+
export type RouteStationPreferencesInput = {
|
|
5645
|
+
/** [BETA] Flag to prioritise charging stations located directly on the highway, avoiding exiting highways to charge. This preference is considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. The preference's weight is configurable in project settings. */
|
|
5646
|
+
prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
|
|
5647
|
+
};
|
|
5648
|
+
|
|
5649
|
+
export type RouteStationWithAmenities = {
|
|
5650
|
+
/** ID of the station. */
|
|
5651
|
+
id: Scalars["ID"];
|
|
5652
|
+
/** ID of the station provided by the station data source. */
|
|
5653
|
+
external_id?: Maybe<Scalars["ID"]>;
|
|
5654
|
+
/** GeoJSON location of the station. */
|
|
5655
|
+
location: Point;
|
|
5656
|
+
/** Information about the station's operator. */
|
|
5657
|
+
operator: RouteStationOperator;
|
|
5658
|
+
/** Distance of the station to the closest point in the original route. */
|
|
5659
|
+
distance_from_path: Scalars["Float"];
|
|
5660
|
+
/** List of up to 5 amenities matching the specified amenity type. Sorted by ascending distance from the station. */
|
|
5661
|
+
matching_amenities: Array<Amenity>;
|
|
5662
|
+
};
|
|
5663
|
+
|
|
5664
|
+
export type RouteStationWithAmenitiesdistance_from_pathArgs = {
|
|
5665
|
+
unit?: Maybe<DistanceUnit>;
|
|
5666
|
+
};
|
|
5667
|
+
|
|
5526
5668
|
export type RouteStationsAlong = {
|
|
5527
5669
|
/** The ID of station. */
|
|
5528
5670
|
id?: Maybe<Scalars["String"]>;
|
|
@@ -5538,6 +5680,22 @@ export type RouteStationsAlong = {
|
|
|
5538
5680
|
distance?: Maybe<Scalars["Int"]>;
|
|
5539
5681
|
};
|
|
5540
5682
|
|
|
5683
|
+
export type RouteStationsWithAmenitiesConnection = {
|
|
5684
|
+
/** Total number of stations with amenities of the specified type. */
|
|
5685
|
+
total_count: Scalars["Int"];
|
|
5686
|
+
/** Information about the current page. */
|
|
5687
|
+
page_info: PageInfo;
|
|
5688
|
+
/** List of stations with amenities of the specified type. */
|
|
5689
|
+
nodes: Array<RouteStationWithAmenities>;
|
|
5690
|
+
};
|
|
5691
|
+
|
|
5692
|
+
export type RouteStationsWithAmenityFilter = {
|
|
5693
|
+
/** Station filters. */
|
|
5694
|
+
station?: Maybe<RouteStationFilter>;
|
|
5695
|
+
/** Amenity filters. */
|
|
5696
|
+
amenity?: Maybe<RouteAmenityFilter>;
|
|
5697
|
+
};
|
|
5698
|
+
|
|
5541
5699
|
/** The status of a route. The status can be pending, processing, done, not_found or error. */
|
|
5542
5700
|
export enum RouteStatus {
|
|
5543
5701
|
/** Route is queued and pending processing. Temporary status. */
|
|
@@ -5581,6 +5739,14 @@ export enum RouteTagType {
|
|
|
5581
5739
|
CROSSBORDER = "crossborder"
|
|
5582
5740
|
}
|
|
5583
5741
|
|
|
5742
|
+
/** Specifies a temporal window to search for stations with matching amenity types. Defined by a center from the journey origin and a surrounding time margin. */
|
|
5743
|
+
export type RouteTimeWindow = {
|
|
5744
|
+
/** Center point of the search, expressed as the travel time, in seconds, from the journey's origin. */
|
|
5745
|
+
center: Scalars["Int"];
|
|
5746
|
+
/** Duration in seconds to extend the search on either side of the 'center'. Maximum allowed value is 2700 (45 minutes). If not specified, defaults to 900 seconds (15 minutes). */
|
|
5747
|
+
margin?: Maybe<Scalars["Int"]>;
|
|
5748
|
+
};
|
|
5749
|
+
|
|
5584
5750
|
export type RouteVehicle = {
|
|
5585
5751
|
/** ID of the vehicle. */
|
|
5586
5752
|
id: Scalars["ID"];
|
|
@@ -5817,8 +5983,8 @@ export type RouteViaFeaturePoint = {
|
|
|
5817
5983
|
/** Feature type. */
|
|
5818
5984
|
type: FeatureType;
|
|
5819
5985
|
/** Geometry of the feature. */
|
|
5820
|
-
geometry
|
|
5821
|
-
/**
|
|
5986
|
+
geometry?: Maybe<Point>;
|
|
5987
|
+
/** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
|
|
5822
5988
|
properties?: Maybe<RouteViaProperties>;
|
|
5823
5989
|
};
|
|
5824
5990
|
|
|
@@ -5828,8 +5994,8 @@ export type RouteViaFeaturePointInput = {
|
|
|
5828
5994
|
/** Feature type. */
|
|
5829
5995
|
type: FeatureType;
|
|
5830
5996
|
/** Geometry of the feature. */
|
|
5831
|
-
geometry
|
|
5832
|
-
/**
|
|
5997
|
+
geometry?: Maybe<PointInput>;
|
|
5998
|
+
/** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
|
|
5833
5999
|
properties?: Maybe<RouteViaPropertiesInput>;
|
|
5834
6000
|
};
|
|
5835
6001
|
|
|
@@ -5847,7 +6013,7 @@ export type RouteViaPropertiesInput = {
|
|
|
5847
6013
|
location?: Maybe<RoutePropertiesViaLocationInput>;
|
|
5848
6014
|
/** Vehicle data of the via point. */
|
|
5849
6015
|
vehicle?: Maybe<RoutePropertiesVehicleInput>;
|
|
5850
|
-
/**
|
|
6016
|
+
/** Specifies a charging station at the via. If a known station is provided, it will be used as charging stop. Any configured operator preferences are ignored for this stop. */
|
|
5851
6017
|
station?: Maybe<RoutePropertiesStationInput>;
|
|
5852
6018
|
};
|
|
5853
6019
|
|
|
@@ -6128,7 +6294,7 @@ export type StationAroundFilter = {
|
|
|
6128
6294
|
connectors?: Maybe<Array<Maybe<ConnectorType>>>;
|
|
6129
6295
|
/** Flag that allows you to return only available stations. */
|
|
6130
6296
|
available_only?: Maybe<Scalars["Boolean"]>;
|
|
6131
|
-
/** Flag
|
|
6297
|
+
/** Flag to filter for stations operated by an operator present in the project's ranking list. */
|
|
6132
6298
|
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
6133
6299
|
};
|
|
6134
6300
|
|
|
@@ -6248,7 +6414,7 @@ export type StationListFilter = {
|
|
|
6248
6414
|
connectors?: Maybe<Array<Maybe<ConnectorType>>>;
|
|
6249
6415
|
/** Flag that allows you to return only available stations. */
|
|
6250
6416
|
available_only?: Maybe<Scalars["Boolean"]>;
|
|
6251
|
-
/** Flag
|
|
6417
|
+
/** Flag to filter for stations operated by an operator present in the project's ranking list. */
|
|
6252
6418
|
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
6253
6419
|
};
|
|
6254
6420
|
|
|
@@ -6367,7 +6533,7 @@ export type Subscription = {
|
|
|
6367
6533
|
/** Subscribe to a specific route to receive system event updates. */
|
|
6368
6534
|
route: RouteResponse;
|
|
6369
6535
|
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
6370
|
-
navigationUpdatedById?: Maybe<
|
|
6536
|
+
navigationUpdatedById?: Maybe<NavigationSubscription>;
|
|
6371
6537
|
/** [BETA] Subscribe to a connected vehicle. */
|
|
6372
6538
|
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
6373
6539
|
/** Subscribe to an isoline in order to receive updates. */
|
|
@@ -7045,9 +7211,9 @@ export type VehicleMake = {
|
|
|
7045
7211
|
};
|
|
7046
7212
|
|
|
7047
7213
|
/** Vehicle makes response object. */
|
|
7048
|
-
export type
|
|
7049
|
-
/**
|
|
7050
|
-
|
|
7214
|
+
export type VehicleMakesConnection = {
|
|
7215
|
+
/** List of vehicle makes. */
|
|
7216
|
+
nodes: Array<VehicleMake>;
|
|
7051
7217
|
};
|
|
7052
7218
|
|
|
7053
7219
|
export type VehicleMedia = {
|
|
@@ -7084,16 +7250,20 @@ export type VehicleModel = {
|
|
|
7084
7250
|
name: Scalars["String"];
|
|
7085
7251
|
};
|
|
7086
7252
|
|
|
7253
|
+
/** Vehicle models response object. */
|
|
7254
|
+
export type VehicleModelsConnection = {
|
|
7255
|
+
/** Total number of unique vehicle models. */
|
|
7256
|
+
total_count: Scalars["Int"];
|
|
7257
|
+
/** Information about the current page. */
|
|
7258
|
+
page_info: PageInfo;
|
|
7259
|
+
/** List of vehicle models. */
|
|
7260
|
+
nodes: Array<VehicleModel>;
|
|
7261
|
+
};
|
|
7262
|
+
|
|
7087
7263
|
/** Filter vehicle model list result. */
|
|
7088
7264
|
export type VehicleModelsFilter = {
|
|
7089
7265
|
/** Vehicle make. */
|
|
7090
|
-
make
|
|
7091
|
-
};
|
|
7092
|
-
|
|
7093
|
-
/** Vehicle models response object. */
|
|
7094
|
-
export type VehicleModelsResponse = {
|
|
7095
|
-
/** Elements of the vehicle model list. */
|
|
7096
|
-
items: Array<VehicleModel>;
|
|
7266
|
+
make?: Maybe<Scalars["String"]>;
|
|
7097
7267
|
};
|
|
7098
7268
|
|
|
7099
7269
|
export type VehicleNaming = {
|