@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/dist/ts/graphql.d.ts
CHANGED
|
@@ -867,7 +867,11 @@ export declare enum ConnectorType {
|
|
|
867
867
|
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A. */
|
|
868
868
|
NEMA_14_30 = "NEMA_14_30",
|
|
869
869
|
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A. */
|
|
870
|
-
NEMA_14_50 = "NEMA_14_50"
|
|
870
|
+
NEMA_14_50 = "NEMA_14_50",
|
|
871
|
+
/** Guobiao GB/T 20234.2 AC socket/connector. */
|
|
872
|
+
GBT_AC = "GBT_AC",
|
|
873
|
+
/** Guobiao GB/T 20234.3 DC connector. */
|
|
874
|
+
GBT_DC = "GBT_DC"
|
|
871
875
|
}
|
|
872
876
|
export declare enum ConsumptionUnit {
|
|
873
877
|
/** Return the consumption in kilowatt hours per 100 kilometers. */
|
|
@@ -1193,10 +1197,12 @@ export declare type CreateRoute = {
|
|
|
1193
1197
|
departure_time: Scalars["DateTime"];
|
|
1194
1198
|
/** [BETA] List of route features to avoid in a route. This is a best-effort preference; depending on the available routes, some features may not be fully avoidable. */
|
|
1195
1199
|
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1196
|
-
/** [BETA]
|
|
1197
|
-
|
|
1200
|
+
/** [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. */
|
|
1201
|
+
driving_preferences?: Maybe<RouteDrivingPreferences>;
|
|
1198
1202
|
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1199
1203
|
weather?: Maybe<RouteWeather>;
|
|
1204
|
+
/** Charging stations preferences for route calculation. */
|
|
1205
|
+
station_preferences?: Maybe<RouteStationPreferences>;
|
|
1200
1206
|
};
|
|
1201
1207
|
/** Input for the create route mutation. */
|
|
1202
1208
|
export declare type CreateRouteInput = {
|
|
@@ -1208,7 +1214,7 @@ export declare type CreateRouteInput = {
|
|
|
1208
1214
|
destination: RouteDestinationFeaturePointInput;
|
|
1209
1215
|
/** Optional via points of a route. */
|
|
1210
1216
|
via?: Maybe<Array<RouteViaFeaturePointInput>>;
|
|
1211
|
-
/**
|
|
1217
|
+
/** Operator preferences and restrictions for route calculation. If not specified, excludes operators per project settings, but applies no operator ranking. */
|
|
1212
1218
|
operators?: Maybe<RouteOperatorPreferencesInput>;
|
|
1213
1219
|
/** Optional flag to specify the season. */
|
|
1214
1220
|
season?: Maybe<RouteSeason>;
|
|
@@ -1218,10 +1224,12 @@ export declare type CreateRouteInput = {
|
|
|
1218
1224
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1219
1225
|
/** [BETA] Optional list of route features to avoid in a route. This is a best-effort preference; depending on the available routes, some features may not be fully avoidable. */
|
|
1220
1226
|
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1221
|
-
/** [BETA] Maximum speed to consider when generating the route. In the segments where legal speed is lower than this value, the legal speed will be used instead. */
|
|
1222
|
-
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
1223
1227
|
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1224
1228
|
weather?: Maybe<RouteWeatherInput>;
|
|
1229
|
+
/** Charging stations preferences for route calculation. */
|
|
1230
|
+
station_preferences?: Maybe<RouteStationPreferencesInput>;
|
|
1231
|
+
/** [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. */
|
|
1232
|
+
driving_preferences?: Maybe<RouteDrivingPreferencesInput>;
|
|
1225
1233
|
};
|
|
1226
1234
|
/** Currency in the ISO 4217 format. */
|
|
1227
1235
|
export declare enum Currency {
|
|
@@ -1565,14 +1573,20 @@ export declare enum DimensionUnit {
|
|
|
1565
1573
|
/** Return the dimension in miles. */
|
|
1566
1574
|
MILE = "mile"
|
|
1567
1575
|
}
|
|
1576
|
+
export declare type DistanceInput = {
|
|
1577
|
+
/** Value of the distance. */
|
|
1578
|
+
value: Scalars["Float"];
|
|
1579
|
+
/** Unit of distance. */
|
|
1580
|
+
unit: DistanceUnit;
|
|
1581
|
+
};
|
|
1568
1582
|
export declare enum DistanceUnit {
|
|
1569
|
-
/**
|
|
1583
|
+
/** Distance in meters. */
|
|
1570
1584
|
METER = "meter",
|
|
1571
|
-
/**
|
|
1585
|
+
/** Distance in feet. */
|
|
1572
1586
|
FOOT = "foot",
|
|
1573
|
-
/**
|
|
1587
|
+
/** Distance in kilometers. */
|
|
1574
1588
|
KILOMETER = "kilometer",
|
|
1575
|
-
/**
|
|
1589
|
+
/** Distance in miles. */
|
|
1576
1590
|
MILE = "mile"
|
|
1577
1591
|
}
|
|
1578
1592
|
/** EVSE data which extends OCPI EVSE. */
|
|
@@ -1833,18 +1847,13 @@ export declare enum HeavyVehiclesFacility {
|
|
|
1833
1847
|
/** Secure truck parking. */
|
|
1834
1848
|
SECURE_TRUCK_PARKING = "SECURE_TRUCK_PARKING"
|
|
1835
1849
|
}
|
|
1836
|
-
/** Navigation service providers available */
|
|
1837
|
-
export declare enum InstructionsFormat {
|
|
1838
|
-
/** Chargetrip raw instructions */
|
|
1839
|
-
CHARGETRIP = "Chargetrip",
|
|
1840
|
-
/** Mapbox instructions mapping */
|
|
1841
|
-
MAPBOXV5 = "MapboxV5"
|
|
1842
|
-
}
|
|
1843
1850
|
export declare type Isoline = {
|
|
1844
1851
|
/** Isoline id. */
|
|
1845
1852
|
id: Scalars["ID"];
|
|
1846
1853
|
/** Isoline status. */
|
|
1847
1854
|
status: IsolineStatus;
|
|
1855
|
+
/** Distance from the origin to the furthest reachable point within the isoline. Represents the longest drivable distance, not a straight-line or vehicle range. */
|
|
1856
|
+
maximum_distance?: Maybe<Scalars["Float"]>;
|
|
1848
1857
|
/** Shape of the isoline consisting in a list of multipolygons. */
|
|
1849
1858
|
polygons?: Maybe<Array<Maybe<FeatureMultiPolygon>>>;
|
|
1850
1859
|
/** List of the ferries uniting islands formed by the isoline. */
|
|
@@ -1852,6 +1861,9 @@ export declare type Isoline = {
|
|
|
1852
1861
|
/** The inputted request data for the isoline used to compute it. */
|
|
1853
1862
|
request_input?: Maybe<IsolineRequestInput>;
|
|
1854
1863
|
};
|
|
1864
|
+
export declare type Isolinemaximum_distanceArgs = {
|
|
1865
|
+
unit?: Maybe<DistanceUnit>;
|
|
1866
|
+
};
|
|
1855
1867
|
export declare type IsolineCabin = {
|
|
1856
1868
|
/** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
|
|
1857
1869
|
is_preconditioned?: Maybe<Scalars["Boolean"]>;
|
|
@@ -1905,6 +1917,8 @@ export declare type IsolineInput = {
|
|
|
1905
1917
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
1906
1918
|
/** Minimum final battery state of charge. Default is 0 */
|
|
1907
1919
|
final_state_of_charge?: Maybe<StateOfChargeInput>;
|
|
1920
|
+
/** [BETA] User-defined maximum speed used for the isoline. */
|
|
1921
|
+
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
1908
1922
|
};
|
|
1909
1923
|
/** Granularity of the isoline. */
|
|
1910
1924
|
export declare enum IsolineQuality {
|
|
@@ -1944,6 +1958,8 @@ export declare type IsolineRequestInput = {
|
|
|
1944
1958
|
state_of_charge: Scalars["Float"];
|
|
1945
1959
|
/** Minimum final battery state of charge. */
|
|
1946
1960
|
final_state_of_charge: Scalars["Float"];
|
|
1961
|
+
/** [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. */
|
|
1962
|
+
maximum_speed?: Maybe<MaximumSpeed>;
|
|
1947
1963
|
};
|
|
1948
1964
|
export declare type IsolineRequestInputtotal_occupant_weightArgs = {
|
|
1949
1965
|
unit?: Maybe<WeightUnit>;
|
|
@@ -1992,18 +2008,6 @@ export declare type LineString = {
|
|
|
1992
2008
|
export declare enum LineStringType {
|
|
1993
2009
|
LINESTRING = "LineString"
|
|
1994
2010
|
}
|
|
1995
|
-
/** Preferred language for the mapping */
|
|
1996
|
-
export declare enum MappingLanguage {
|
|
1997
|
-
/** English(US) */
|
|
1998
|
-
EN = "en"
|
|
1999
|
-
}
|
|
2000
|
-
/** Navigation service providers available */
|
|
2001
|
-
export declare enum MappingProvider {
|
|
2002
|
-
/** Chargetrip raw instructions */
|
|
2003
|
-
CHARGETRIP = "Chargetrip",
|
|
2004
|
-
/** Mapbox instructions mapping */
|
|
2005
|
-
MAPBOXV5 = "MapboxV5"
|
|
2006
|
-
}
|
|
2007
2011
|
export declare type MaximumSpeed = {
|
|
2008
2012
|
/** Numeric value of the user-defined maximum speed. */
|
|
2009
2013
|
value: Scalars["Int"];
|
|
@@ -2112,134 +2116,140 @@ export declare type MutationnewRouteArgs = {
|
|
|
2112
2116
|
export declare type MutationcreateRouteArgs = {
|
|
2113
2117
|
input: CreateRouteInput;
|
|
2114
2118
|
};
|
|
2115
|
-
/** The navigation session data */
|
|
2119
|
+
/** The navigation session data. */
|
|
2116
2120
|
export declare type Navigation = {
|
|
2117
|
-
/** ID of the navigation session */
|
|
2121
|
+
/** ID of the navigation session. */
|
|
2118
2122
|
id: Scalars["ID"];
|
|
2119
|
-
/**
|
|
2120
|
-
|
|
2121
|
-
/** The
|
|
2122
|
-
|
|
2123
|
-
/** The state of a navigation session. The status can be driving, charging, finished, or error */
|
|
2124
|
-
state: NavigationState;
|
|
2125
|
-
/** State of charge at the last known location */
|
|
2126
|
-
state_of_charge: Scalars["Float"];
|
|
2127
|
-
/** Last known location */
|
|
2128
|
-
last_known_location: Point;
|
|
2129
|
-
/** Next charging station */
|
|
2130
|
-
next_station?: Maybe<NavigationStation>;
|
|
2131
|
-
/** A set of alternative charging stations to next station */
|
|
2132
|
-
alternative_stations: Array<NavigationStation>;
|
|
2133
|
-
/** Navigation instructions */
|
|
2134
|
-
instructions?: Maybe<Scalars["JSON"]>;
|
|
2123
|
+
/** Navigation session details overview. */
|
|
2124
|
+
overview: NavigationOverview;
|
|
2125
|
+
/** The status of a navigation session. The status can be driving, charging, finished, or error. */
|
|
2126
|
+
status: NavigationStatus;
|
|
2135
2127
|
/** Navigation meta information. */
|
|
2136
2128
|
meta?: Maybe<NavigationMeta>;
|
|
2137
2129
|
};
|
|
2138
|
-
/**
|
|
2139
|
-
export declare type Navigationstate_of_chargeArgs = {
|
|
2140
|
-
unit?: Maybe<StateOfChargeUnit>;
|
|
2141
|
-
};
|
|
2142
|
-
/** Input for the navigation recalculate */
|
|
2130
|
+
/** Input for the navigation recalculate. */
|
|
2143
2131
|
export declare type NavigationFinishInput = {
|
|
2144
|
-
/** ID of the navigation session */
|
|
2132
|
+
/** ID of the navigation session. */
|
|
2145
2133
|
id: Scalars["ID"];
|
|
2146
|
-
/** Current coordinates */
|
|
2134
|
+
/** Current coordinates. */
|
|
2147
2135
|
current_location: PointInput;
|
|
2148
2136
|
};
|
|
2149
|
-
export declare type NavigationInstructionsInput = {
|
|
2150
|
-
/** Turn by turn instructions format for a route */
|
|
2151
|
-
instructions_format: InstructionsFormat;
|
|
2152
|
-
/** Preferred navigation instructions language. Default: en */
|
|
2153
|
-
language?: Maybe<MappingLanguage>;
|
|
2154
|
-
/** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6. */
|
|
2155
|
-
precision?: Maybe<Scalars["Int"]>;
|
|
2156
|
-
};
|
|
2157
2137
|
/** Navigation meta information. */
|
|
2158
2138
|
export declare type NavigationMeta = {
|
|
2159
2139
|
/** Creation time of the navigation session. */
|
|
2160
|
-
created_at
|
|
2140
|
+
created_at: Scalars["DateTime"];
|
|
2161
2141
|
/** Last updated time of the navigation session. */
|
|
2162
|
-
updated_at
|
|
2142
|
+
updated_at: Scalars["DateTime"];
|
|
2163
2143
|
};
|
|
2164
|
-
/**
|
|
2144
|
+
/** The navigation session overview details. */
|
|
2145
|
+
export declare type NavigationOverview = {
|
|
2146
|
+
/** State of charge at the last known location. */
|
|
2147
|
+
state_of_charge: Scalars["Float"];
|
|
2148
|
+
/** Last known location. */
|
|
2149
|
+
last_known_location: Point;
|
|
2150
|
+
/** Next charging station. */
|
|
2151
|
+
next_station?: Maybe<NavigationStation>;
|
|
2152
|
+
/** A set of alternative charging stations to next station. */
|
|
2153
|
+
alternative_stations: Array<NavigationStation>;
|
|
2154
|
+
/** Navigation route instructions. */
|
|
2155
|
+
instructions: Array<Maybe<RouteInstruction>>;
|
|
2156
|
+
/** Continuously updated route request input. */
|
|
2157
|
+
live_route_request: CreateRoute;
|
|
2158
|
+
/** Polyline containing encoded coordinates. */
|
|
2159
|
+
polyline: Scalars["String"];
|
|
2160
|
+
};
|
|
2161
|
+
/** The navigation session overview details. */
|
|
2162
|
+
export declare type NavigationOverviewstate_of_chargeArgs = {
|
|
2163
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2164
|
+
};
|
|
2165
|
+
/** The navigation session overview details. */
|
|
2166
|
+
export declare type NavigationOverviewpolylineArgs = {
|
|
2167
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
2168
|
+
};
|
|
2169
|
+
/** Input for the navigation recalculate. */
|
|
2165
2170
|
export declare type NavigationRecalculateInput = {
|
|
2166
|
-
/** ID of the navigation session */
|
|
2171
|
+
/** ID of the navigation session. */
|
|
2167
2172
|
id: Scalars["ID"];
|
|
2168
|
-
/** State of charge at origin */
|
|
2173
|
+
/** State of charge at origin. */
|
|
2169
2174
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
2170
|
-
/** Origin location of a new route */
|
|
2175
|
+
/** Origin location of a new route. */
|
|
2171
2176
|
current_location: PointInput;
|
|
2172
|
-
/** Via points of a new route. If this field is not sent, the original via points will be used */
|
|
2177
|
+
/** Via points of a new route. If this field is not sent, the original via points will be used. */
|
|
2173
2178
|
via?: Maybe<Array<FeaturePointInput>>;
|
|
2174
|
-
/** Telemetry data input */
|
|
2179
|
+
/** Telemetry data input. */
|
|
2175
2180
|
telemetry?: Maybe<TelemetryInput>;
|
|
2176
2181
|
};
|
|
2177
|
-
/** Input for the navigation start */
|
|
2182
|
+
/** Input for the navigation start. */
|
|
2178
2183
|
export declare type NavigationStartInput = {
|
|
2179
|
-
/** ID of the route of the navigation session */
|
|
2184
|
+
/** ID of the route of the navigation session. */
|
|
2180
2185
|
route_id: Scalars["ID"];
|
|
2181
|
-
/**
|
|
2182
|
-
route_alternative_id?: Maybe<Scalars["ID"]>;
|
|
2183
|
-
/** Current coordinates */
|
|
2186
|
+
/** Current coordinates. */
|
|
2184
2187
|
current_location: PointInput;
|
|
2185
|
-
/** Instruction input format */
|
|
2186
|
-
instructions: NavigationInstructionsInput;
|
|
2187
2188
|
};
|
|
2188
|
-
/**
|
|
2189
|
-
export declare enum NavigationState {
|
|
2190
|
-
/** Vehicle is driving */
|
|
2191
|
-
DRIVING = "driving",
|
|
2192
|
-
/** Vehicle is charging */
|
|
2193
|
-
CHARGING = "charging",
|
|
2194
|
-
/** Navigation session is completed (either manually or automatically 48 hours after the last update) */
|
|
2195
|
-
FINISHED = "finished",
|
|
2196
|
-
/** Failed to update navigation session due to route error or not found */
|
|
2197
|
-
ERROR = "error"
|
|
2198
|
-
}
|
|
2199
|
-
/** Navigation session station type */
|
|
2189
|
+
/** Navigation session station type. */
|
|
2200
2190
|
export declare type NavigationStation = {
|
|
2201
|
-
/** The ID as string of the charging station */
|
|
2191
|
+
/** The ID as string of the charging station. */
|
|
2202
2192
|
station_id: Scalars["ID"];
|
|
2203
|
-
/** GPS location of the charging station */
|
|
2193
|
+
/** GPS location of the charging station. */
|
|
2204
2194
|
station_location: Point;
|
|
2205
|
-
/** An array with all GPS locations of via points until the next charging station */
|
|
2195
|
+
/** An array with all GPS locations of via points until the next charging station. */
|
|
2206
2196
|
via: Array<Point>;
|
|
2207
|
-
/** Estimated state of charge, at arrival on the next charging station */
|
|
2197
|
+
/** Estimated state of charge, at arrival on the next charging station. */
|
|
2208
2198
|
estimated_state_of_charge: Scalars["Float"];
|
|
2209
|
-
/** Estimated consumption, in kWh, from last the known location until the next charging station */
|
|
2199
|
+
/** Estimated consumption, in kWh, from last the known location until the next charging station. */
|
|
2210
2200
|
estimated_consumption: Scalars["Float"];
|
|
2211
|
-
/** Estimated duration, in seconds, from the last known location until the next charging station */
|
|
2212
|
-
estimated_duration: Scalars["
|
|
2201
|
+
/** Estimated duration, in seconds, from the last known location until the next charging station. */
|
|
2202
|
+
estimated_duration: Scalars["Float"];
|
|
2213
2203
|
};
|
|
2214
|
-
/** Navigation session station type */
|
|
2204
|
+
/** Navigation session station type. */
|
|
2215
2205
|
export declare type NavigationStationestimated_state_of_chargeArgs = {
|
|
2216
2206
|
unit?: Maybe<StateOfChargeUnit>;
|
|
2217
2207
|
};
|
|
2218
|
-
/**
|
|
2208
|
+
/** State of navigation session. */
|
|
2209
|
+
export declare enum NavigationStatus {
|
|
2210
|
+
/** Vehicle is driving. */
|
|
2211
|
+
DRIVING = "driving",
|
|
2212
|
+
/** Vehicle is charging. */
|
|
2213
|
+
CHARGING = "charging",
|
|
2214
|
+
/** Navigation session is completed (either manually or automatically 48 hours after the last update). */
|
|
2215
|
+
FINISHED = "finished",
|
|
2216
|
+
/** Failed to update navigation session due to route error or not found. */
|
|
2217
|
+
ERROR = "error"
|
|
2218
|
+
}
|
|
2219
|
+
/** The navigation session subscription data */
|
|
2220
|
+
export declare type NavigationSubscription = {
|
|
2221
|
+
/** ID of the navigation session. */
|
|
2222
|
+
id: Scalars["ID"];
|
|
2223
|
+
/** The status of a navigation session. The status can be driving, charging, finished, or error. */
|
|
2224
|
+
status: NavigationStatus;
|
|
2225
|
+
/** Navigation meta information. */
|
|
2226
|
+
meta?: Maybe<NavigationMeta>;
|
|
2227
|
+
};
|
|
2228
|
+
/** Input for the navigation update. */
|
|
2219
2229
|
export declare type NavigationUpdateInput = {
|
|
2220
|
-
/** ID of the navigation session */
|
|
2230
|
+
/** ID of the navigation session. */
|
|
2221
2231
|
id: Scalars["ID"];
|
|
2222
|
-
/** A list of locations that were collected since the last update */
|
|
2232
|
+
/** A list of locations that were collected since the last update. */
|
|
2223
2233
|
location_data: Array<NavigationUpdateLocationsInput>;
|
|
2224
|
-
/** Telemetry data input */
|
|
2234
|
+
/** Telemetry data input. */
|
|
2225
2235
|
telemetry?: Maybe<TelemetryInput>;
|
|
2226
2236
|
};
|
|
2227
|
-
/** Properties of the location */
|
|
2237
|
+
/** Properties of the location. */
|
|
2228
2238
|
export declare type NavigationUpdateLocationPropertiesInput = {
|
|
2229
|
-
/** Current route leg index corresponding to a location */
|
|
2239
|
+
/** Current route leg index corresponding to a location. */
|
|
2230
2240
|
route_leg: Scalars["Int"];
|
|
2231
|
-
/** Speed at a location */
|
|
2241
|
+
/** Speed at a location. */
|
|
2232
2242
|
speed?: Maybe<VehicleSpeedInput>;
|
|
2233
|
-
/** UNIX timestamp at location, in seconds */
|
|
2243
|
+
/** UNIX timestamp at location, in seconds. */
|
|
2234
2244
|
timestamp: Scalars["Int"];
|
|
2235
|
-
/** Elevation information */
|
|
2245
|
+
/** Elevation information. */
|
|
2236
2246
|
elevation?: Maybe<ElevationInput>;
|
|
2237
2247
|
};
|
|
2238
|
-
/** Input for the navigation update locations */
|
|
2248
|
+
/** Input for the navigation update locations. */
|
|
2239
2249
|
export declare type NavigationUpdateLocationsInput = {
|
|
2240
|
-
/** GPS location */
|
|
2250
|
+
/** GPS location. */
|
|
2241
2251
|
geometry: PointInput;
|
|
2242
|
-
/** Extra information about the location */
|
|
2252
|
+
/** Extra information about the location. */
|
|
2243
2253
|
properties: NavigationUpdateLocationPropertiesInput;
|
|
2244
2254
|
};
|
|
2245
2255
|
/** This class defines an additional geo location that is relevant for the Charge Point. The geodetic system to be used is WGS 84. */
|
|
@@ -2366,7 +2376,11 @@ export declare enum OCPIConnectorType {
|
|
|
2366
2376
|
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
|
|
2367
2377
|
NEMA_14_30 = "NEMA_14_30",
|
|
2368
2378
|
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
|
|
2369
|
-
NEMA_14_50 = "NEMA_14_50"
|
|
2379
|
+
NEMA_14_50 = "NEMA_14_50",
|
|
2380
|
+
/** Guobiao GB/T 20234.2 AC socket/connector. */
|
|
2381
|
+
GBT_AC = "GBT_AC",
|
|
2382
|
+
/** Guobiao GB/T 20234.3 DC connector. */
|
|
2383
|
+
GBT_DC = "GBT_DC"
|
|
2370
2384
|
}
|
|
2371
2385
|
export declare enum OCPIDayOfWeek {
|
|
2372
2386
|
MONDAY = "MONDAY",
|
|
@@ -2848,6 +2862,8 @@ export declare type Operator = {
|
|
|
2848
2862
|
ranking_levels?: Maybe<OperatorRankingLevels>;
|
|
2849
2863
|
/** 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. */
|
|
2850
2864
|
excluded_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2865
|
+
/** 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. */
|
|
2866
|
+
avoided_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2851
2867
|
};
|
|
2852
2868
|
/** Filter which can be applied to retrieve the operator list action. */
|
|
2853
2869
|
export declare type OperatorListFilter = {
|
|
@@ -2873,6 +2889,16 @@ export declare type OperatorListQuery = {
|
|
|
2873
2889
|
/** Exact country code. */
|
|
2874
2890
|
country?: Maybe<Scalars["String"]>;
|
|
2875
2891
|
};
|
|
2892
|
+
export declare enum OperatorPreferenceType {
|
|
2893
|
+
/** Operators that have been set as preferred or required. */
|
|
2894
|
+
RANKED = "ranked",
|
|
2895
|
+
/** Operators that have not been set as neither preferred or required or avoided nor excluded. */
|
|
2896
|
+
UNRANKED = "unranked",
|
|
2897
|
+
/** Operators that have been set to be avoided. */
|
|
2898
|
+
AVOIDED = "avoided",
|
|
2899
|
+
/** Operators that have been set to be excluded. */
|
|
2900
|
+
EXCLUDED = "excluded"
|
|
2901
|
+
}
|
|
2876
2902
|
/** Operator ranking level. */
|
|
2877
2903
|
export declare enum OperatorRankingLevel {
|
|
2878
2904
|
LOW = "low",
|
|
@@ -2921,6 +2947,17 @@ export declare type OutsideTemperatureInput = {
|
|
|
2921
2947
|
/** Source of inputted data. */
|
|
2922
2948
|
source?: Maybe<TelemetryInputSource>;
|
|
2923
2949
|
};
|
|
2950
|
+
/** Information about the list page. */
|
|
2951
|
+
export declare type PageInfo = {
|
|
2952
|
+
/** Flag that indicates if it has a next page. */
|
|
2953
|
+
has_next_page: Scalars["Boolean"];
|
|
2954
|
+
/** Flag that indicates if it has a previous page. */
|
|
2955
|
+
has_previous_page: Scalars["Boolean"];
|
|
2956
|
+
/** Cursor of the first connection of the page. If the page is empty, this is null. */
|
|
2957
|
+
start_cursor?: Maybe<Scalars["String"]>;
|
|
2958
|
+
/** Cursor of the last connection of the page. If the page is empty, this is null. */
|
|
2959
|
+
end_cursor?: Maybe<Scalars["String"]>;
|
|
2960
|
+
};
|
|
2924
2961
|
export declare enum ParkingCost {
|
|
2925
2962
|
/** Parking is free. */
|
|
2926
2963
|
FREE = "free",
|
|
@@ -3087,6 +3124,8 @@ export declare type Query = {
|
|
|
3087
3124
|
getRouteEmissions: RouteDetailsEmissions;
|
|
3088
3125
|
/** Get a route by ID. */
|
|
3089
3126
|
getRoute: RouteResponse;
|
|
3127
|
+
/** [BETA] Search for stations with amenities within a specific time window and distance of a previously calculated route. */
|
|
3128
|
+
getRouteStationsWithAmenities: RouteStationsWithAmenitiesConnection;
|
|
3090
3129
|
/** Get information about a station by its ID. */
|
|
3091
3130
|
station?: Maybe<Station>;
|
|
3092
3131
|
/** Get a full list of stations. */
|
|
@@ -3104,9 +3143,9 @@ export declare type Query = {
|
|
|
3104
3143
|
/** Get a full list of vehicles. */
|
|
3105
3144
|
vehicleList?: Maybe<Array<Maybe<VehicleList>>>;
|
|
3106
3145
|
/** [BETA] Get a full list of vehicle makes. */
|
|
3107
|
-
vehicleMakes:
|
|
3146
|
+
vehicleMakes: VehicleMakesConnection;
|
|
3108
3147
|
/** [BETA] Get a full list of vehicle make models. */
|
|
3109
|
-
vehicleModels:
|
|
3148
|
+
vehicleModels: VehicleModelsConnection;
|
|
3110
3149
|
};
|
|
3111
3150
|
export declare type QueryamenityListArgs = {
|
|
3112
3151
|
stationId: Scalars["ID"];
|
|
@@ -3169,6 +3208,15 @@ export declare type QuerygetRouteEmissionsArgs = {
|
|
|
3169
3208
|
export declare type QuerygetRouteArgs = {
|
|
3170
3209
|
id: Scalars["ID"];
|
|
3171
3210
|
};
|
|
3211
|
+
export declare type QuerygetRouteStationsWithAmenitiesArgs = {
|
|
3212
|
+
route_id: Scalars["ID"];
|
|
3213
|
+
route_details_id: Scalars["ID"];
|
|
3214
|
+
time_window: RouteTimeWindow;
|
|
3215
|
+
amenity_types: Array<AmenityType>;
|
|
3216
|
+
filter?: Maybe<RouteStationsWithAmenityFilter>;
|
|
3217
|
+
first?: Maybe<Scalars["Int"]>;
|
|
3218
|
+
after?: Maybe<Scalars["String"]>;
|
|
3219
|
+
};
|
|
3172
3220
|
export declare type QuerystationArgs = {
|
|
3173
3221
|
id?: Maybe<Scalars["ID"]>;
|
|
3174
3222
|
evse_id?: Maybe<Scalars["String"]>;
|
|
@@ -3213,8 +3261,10 @@ export declare type QueryvehicleMakesArgs = {
|
|
|
3213
3261
|
country?: Maybe<CountryCodeAlpha2>;
|
|
3214
3262
|
};
|
|
3215
3263
|
export declare type QueryvehicleModelsArgs = {
|
|
3216
|
-
filter
|
|
3264
|
+
filter?: Maybe<VehicleModelsFilter>;
|
|
3217
3265
|
country?: Maybe<CountryCodeAlpha2>;
|
|
3266
|
+
first?: Maybe<Scalars["Int"]>;
|
|
3267
|
+
after?: Maybe<Scalars["String"]>;
|
|
3218
3268
|
};
|
|
3219
3269
|
export declare type RemoveConnectedVehicleInput = {
|
|
3220
3270
|
/** Id from the connected vehicle */
|
|
@@ -3670,6 +3720,10 @@ export declare enum RouteAlternativeType {
|
|
|
3670
3720
|
/** An alternative to the fastest route. */
|
|
3671
3721
|
ALTERNATIVE = "alternative"
|
|
3672
3722
|
}
|
|
3723
|
+
export declare type RouteAmenityFilter = {
|
|
3724
|
+
/** 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. */
|
|
3725
|
+
maximum_distance_from_station?: Maybe<DistanceInput>;
|
|
3726
|
+
};
|
|
3673
3727
|
/** Amenity preferences for a route. */
|
|
3674
3728
|
export declare type RouteAmenityPreferences = {
|
|
3675
3729
|
/** Desired amenities near all charge-stops along a route, with a 1 kilometer radius. */
|
|
@@ -3692,8 +3746,8 @@ export declare type RouteDestinationFeaturePoint = {
|
|
|
3692
3746
|
/** Feature type. */
|
|
3693
3747
|
type: FeatureType;
|
|
3694
3748
|
/** Geometry of the feature. */
|
|
3695
|
-
geometry
|
|
3696
|
-
/**
|
|
3749
|
+
geometry?: Maybe<Point>;
|
|
3750
|
+
/** Additional feature properties. */
|
|
3697
3751
|
properties?: Maybe<RouteDestinationProperties>;
|
|
3698
3752
|
};
|
|
3699
3753
|
export declare type RouteDestinationFeaturePointInput = {
|
|
@@ -3702,8 +3756,8 @@ export declare type RouteDestinationFeaturePointInput = {
|
|
|
3702
3756
|
/** Feature type. */
|
|
3703
3757
|
type: FeatureType;
|
|
3704
3758
|
/** Geometry of the feature. */
|
|
3705
|
-
geometry
|
|
3706
|
-
/**
|
|
3759
|
+
geometry?: Maybe<PointInput>;
|
|
3760
|
+
/** Additional feature properties. */
|
|
3707
3761
|
properties?: Maybe<RouteDestinationPropertiesInput>;
|
|
3708
3762
|
};
|
|
3709
3763
|
export declare type RouteDestinationProperties = {
|
|
@@ -3715,7 +3769,7 @@ export declare type RouteDestinationProperties = {
|
|
|
3715
3769
|
export declare type RouteDestinationPropertiesInput = {
|
|
3716
3770
|
/** Data about the destination location. */
|
|
3717
3771
|
location?: Maybe<RoutePropertiesLocationInput>;
|
|
3718
|
-
/**
|
|
3772
|
+
/** 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. */
|
|
3719
3773
|
station?: Maybe<RoutePropertiesStationInput>;
|
|
3720
3774
|
};
|
|
3721
3775
|
export declare type RouteDetails = {
|
|
@@ -3741,7 +3795,12 @@ export declare type RouteDetails = {
|
|
|
3741
3795
|
savings?: Maybe<RouteDetailsSavings>;
|
|
3742
3796
|
/** Legs of a route. */
|
|
3743
3797
|
legs: Array<RouteDetailsLeg>;
|
|
3744
|
-
/**
|
|
3798
|
+
/**
|
|
3799
|
+
* Alternative stations along a route within a specified radius.
|
|
3800
|
+
*
|
|
3801
|
+
* Includes stations from preferred/required/avoided operators but excludes stations from excluded operators.
|
|
3802
|
+
* This list is only populated if `alternative_station_radius` was specified in the `createRoute` mutation.
|
|
3803
|
+
*/
|
|
3745
3804
|
alternative_stations: Array<RouteDetailsAlternativeStation>;
|
|
3746
3805
|
/** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
|
|
3747
3806
|
tags: Array<RouteDetailsTag>;
|
|
@@ -3774,7 +3833,6 @@ export declare type RouteDetailsAlternativeStation = {
|
|
|
3774
3833
|
/** ID of the station's operator. */
|
|
3775
3834
|
operator_id?: Maybe<Scalars["ID"]>;
|
|
3776
3835
|
};
|
|
3777
|
-
/** Aggregation of all durations of a route. */
|
|
3778
3836
|
export declare type RouteDetailsDurations = {
|
|
3779
3837
|
/** Total duration, in seconds. */
|
|
3780
3838
|
total: Scalars["Int"];
|
|
@@ -3782,7 +3840,7 @@ export declare type RouteDetailsDurations = {
|
|
|
3782
3840
|
charging: Scalars["Int"];
|
|
3783
3841
|
/** Total driving duration, in seconds. */
|
|
3784
3842
|
driving: Scalars["Int"];
|
|
3785
|
-
/** Total
|
|
3843
|
+
/** Total duration stopped at a location via or at a station via, excluding charging time and charging penalty, in seconds. */
|
|
3786
3844
|
stopover: Scalars["Int"];
|
|
3787
3845
|
/** Total ferry duration, in seconds. */
|
|
3788
3846
|
ferry: Scalars["Int"];
|
|
@@ -3899,7 +3957,10 @@ export declare type RouteDetailsLegFeatureProperties = {
|
|
|
3899
3957
|
air_pressure?: Maybe<Scalars["Float"]>;
|
|
3900
3958
|
/** Solar irradiance at the location. */
|
|
3901
3959
|
solar_irradiance?: Maybe<Scalars["Float"]>;
|
|
3902
|
-
/**
|
|
3960
|
+
/**
|
|
3961
|
+
* Duration, in seconds, of time spent at this location.
|
|
3962
|
+
* @deprecated In favor of legs.durations
|
|
3963
|
+
*/
|
|
3903
3964
|
duration?: Maybe<Scalars["Int"]>;
|
|
3904
3965
|
/** Number of occupants present in the vehicle. */
|
|
3905
3966
|
occupants?: Maybe<Scalars["Int"]>;
|
|
@@ -4112,6 +4173,28 @@ export declare enum RouteDetailsTag {
|
|
|
4112
4173
|
WALKING = "walking",
|
|
4113
4174
|
CROSSBORDER = "crossborder"
|
|
4114
4175
|
}
|
|
4176
|
+
export declare type RouteDrivingPreferences = {
|
|
4177
|
+
/** [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'. */
|
|
4178
|
+
speed_factor?: Maybe<Scalars["Float"]>;
|
|
4179
|
+
/** [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'. */
|
|
4180
|
+
maximum_speed?: Maybe<MaximumSpeed>;
|
|
4181
|
+
/** [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'. */
|
|
4182
|
+
style?: Maybe<RouteDrivingStyle>;
|
|
4183
|
+
};
|
|
4184
|
+
export declare type RouteDrivingPreferencesInput = {
|
|
4185
|
+
/** [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'. */
|
|
4186
|
+
speed_factor?: Maybe<Scalars["Float"]>;
|
|
4187
|
+
/** [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'. */
|
|
4188
|
+
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
4189
|
+
/** [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'. */
|
|
4190
|
+
style?: Maybe<RouteDrivingStyle>;
|
|
4191
|
+
};
|
|
4192
|
+
export declare enum RouteDrivingStyle {
|
|
4193
|
+
/** 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. */
|
|
4194
|
+
ECO = "eco",
|
|
4195
|
+
/** Higher average driving speed and higher energy consumption. Applies no speed limit and increases by 5% the route's average driving speed. */
|
|
4196
|
+
SPORT = "sport"
|
|
4197
|
+
}
|
|
4115
4198
|
export declare type RouteEmbeddedEmissions = {
|
|
4116
4199
|
/** Total embedded emissions. */
|
|
4117
4200
|
total: Scalars["Float"];
|
|
@@ -4806,13 +4889,17 @@ export declare type RouteOperatorPreferences = {
|
|
|
4806
4889
|
ranking?: Maybe<RouteOperatorPreferencesRanking>;
|
|
4807
4890
|
/** Operators that should be excluded for a route calculation. */
|
|
4808
4891
|
exclude?: Maybe<Array<RouteOperatorsValue>>;
|
|
4892
|
+
/** Operators that should be avoided, but not excluded, for a route calculation. */
|
|
4893
|
+
avoid?: Maybe<Array<RouteOperatorsValue>>;
|
|
4809
4894
|
};
|
|
4810
4895
|
/** Prioritized operators for a route calculation. */
|
|
4811
4896
|
export declare type RouteOperatorPreferencesInput = {
|
|
4812
|
-
/**
|
|
4897
|
+
/** Operators to be preferred in route calculation. If not specified, no operator ranking is applied (including project-configured ranking). */
|
|
4813
4898
|
ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
|
|
4814
|
-
/** Operators
|
|
4899
|
+
/** Operators to be excluded from route calculation. If specified, overrides project-configured operator exclusions. If not specified, applies project-configured operator exclusions. */
|
|
4815
4900
|
exclude?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
4901
|
+
/** Operators that should be avoided, but not excluded, for a route calculation. */
|
|
4902
|
+
avoid?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
4816
4903
|
};
|
|
4817
4904
|
export declare type RouteOperatorPreferencesRanking = {
|
|
4818
4905
|
/** Flag indicating if an operator should be preferred or required. */
|
|
@@ -4821,9 +4908,9 @@ export declare type RouteOperatorPreferencesRanking = {
|
|
|
4821
4908
|
levels?: Maybe<RouteOperatorPreferencesRankingLevels>;
|
|
4822
4909
|
};
|
|
4823
4910
|
export declare type RouteOperatorPreferencesRankingInput = {
|
|
4824
|
-
/**
|
|
4911
|
+
/** Ranking enforcement type: preferred (applies ranking levels), required (routes only via ranked operators), or none (no ranking applied). */
|
|
4825
4912
|
type: RouteOperatorsType;
|
|
4826
|
-
/**
|
|
4913
|
+
/** Priority levels for operator ranking. If not specified, applies the specified enforcement type to the project-configured operator ranking. */
|
|
4827
4914
|
levels?: Maybe<RouteOperatorPreferencesRankingLevelsInput>;
|
|
4828
4915
|
};
|
|
4829
4916
|
export declare type RouteOperatorPreferencesRankingLevels = {
|
|
@@ -4924,7 +5011,7 @@ export declare type RouteOperatorsValue = {
|
|
|
4924
5011
|
export declare type RouteOperatorsValueInput = {
|
|
4925
5012
|
/** ID of an operator. */
|
|
4926
5013
|
id: Scalars["ID"];
|
|
4927
|
-
/** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
|
|
5014
|
+
/** List of countries in which the operator should be preferred/excluded/avoided. When omitted the operator will be preferred/excluded in every country. */
|
|
4928
5015
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
4929
5016
|
};
|
|
4930
5017
|
export declare type RouteOriginFeaturePoint = {
|
|
@@ -4992,12 +5079,16 @@ export declare type RoutePropertiesStation = {
|
|
|
4992
5079
|
station_id?: Maybe<Scalars["ID"]>;
|
|
4993
5080
|
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
4994
5081
|
external_station_id?: Maybe<Scalars["ID"]>;
|
|
5082
|
+
/** 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. */
|
|
5083
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
4995
5084
|
};
|
|
4996
5085
|
export declare type RoutePropertiesStationInput = {
|
|
4997
5086
|
/** ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
4998
5087
|
station_id?: Maybe<Scalars["ID"]>;
|
|
4999
5088
|
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
5000
5089
|
external_station_id?: Maybe<Scalars["ID"]>;
|
|
5090
|
+
/** 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. */
|
|
5091
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
5001
5092
|
};
|
|
5002
5093
|
export declare type RoutePropertiesVehicle = {
|
|
5003
5094
|
/** Number of occupants present in the vehicle. */
|
|
@@ -5061,6 +5152,43 @@ export declare enum RouteSeason {
|
|
|
5061
5152
|
/** We fetch the current weather conditions. */
|
|
5062
5153
|
CURRENT = "current"
|
|
5063
5154
|
}
|
|
5155
|
+
export declare type RouteStationFilter = {
|
|
5156
|
+
/** 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. */
|
|
5157
|
+
maximum_distance_from_path?: Maybe<DistanceInput>;
|
|
5158
|
+
/** 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. */
|
|
5159
|
+
operator_preference?: Maybe<Array<OperatorPreferenceType>>;
|
|
5160
|
+
};
|
|
5161
|
+
export declare type RouteStationOperator = {
|
|
5162
|
+
/** Unique operator ID. */
|
|
5163
|
+
id?: Maybe<Scalars["ID"]>;
|
|
5164
|
+
/** Operator's preference status specifically for this route calculation. */
|
|
5165
|
+
preference_type: OperatorPreferenceType;
|
|
5166
|
+
};
|
|
5167
|
+
export declare type RouteStationPreferences = {
|
|
5168
|
+
/** [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. */
|
|
5169
|
+
prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
|
|
5170
|
+
};
|
|
5171
|
+
export declare type RouteStationPreferencesInput = {
|
|
5172
|
+
/** [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. */
|
|
5173
|
+
prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
|
|
5174
|
+
};
|
|
5175
|
+
export declare type RouteStationWithAmenities = {
|
|
5176
|
+
/** ID of the station. */
|
|
5177
|
+
id: Scalars["ID"];
|
|
5178
|
+
/** ID of the station provided by the station data source. */
|
|
5179
|
+
external_id?: Maybe<Scalars["ID"]>;
|
|
5180
|
+
/** GeoJSON location of the station. */
|
|
5181
|
+
location: Point;
|
|
5182
|
+
/** Information about the station's operator. */
|
|
5183
|
+
operator: RouteStationOperator;
|
|
5184
|
+
/** Distance of the station to the closest point in the original route. */
|
|
5185
|
+
distance_from_path: Scalars["Float"];
|
|
5186
|
+
/** List of up to 5 amenities matching the specified amenity type. Sorted by ascending distance from the station. */
|
|
5187
|
+
matching_amenities: Array<Amenity>;
|
|
5188
|
+
};
|
|
5189
|
+
export declare type RouteStationWithAmenitiesdistance_from_pathArgs = {
|
|
5190
|
+
unit?: Maybe<DistanceUnit>;
|
|
5191
|
+
};
|
|
5064
5192
|
export declare type RouteStationsAlong = {
|
|
5065
5193
|
/** The ID of station. */
|
|
5066
5194
|
id?: Maybe<Scalars["String"]>;
|
|
@@ -5075,6 +5203,20 @@ export declare type RouteStationsAlong = {
|
|
|
5075
5203
|
/** Distance in meters between station and route path. */
|
|
5076
5204
|
distance?: Maybe<Scalars["Int"]>;
|
|
5077
5205
|
};
|
|
5206
|
+
export declare type RouteStationsWithAmenitiesConnection = {
|
|
5207
|
+
/** Total number of stations with amenities of the specified type. */
|
|
5208
|
+
total_count: Scalars["Int"];
|
|
5209
|
+
/** Information about the current page. */
|
|
5210
|
+
page_info: PageInfo;
|
|
5211
|
+
/** List of stations with amenities of the specified type. */
|
|
5212
|
+
nodes: Array<RouteStationWithAmenities>;
|
|
5213
|
+
};
|
|
5214
|
+
export declare type RouteStationsWithAmenityFilter = {
|
|
5215
|
+
/** Station filters. */
|
|
5216
|
+
station?: Maybe<RouteStationFilter>;
|
|
5217
|
+
/** Amenity filters. */
|
|
5218
|
+
amenity?: Maybe<RouteAmenityFilter>;
|
|
5219
|
+
};
|
|
5078
5220
|
/** The status of a route. The status can be pending, processing, done, not_found or error. */
|
|
5079
5221
|
export declare enum RouteStatus {
|
|
5080
5222
|
/** Route is queued and pending processing. Temporary status. */
|
|
@@ -5114,6 +5256,13 @@ export declare enum RouteTagType {
|
|
|
5114
5256
|
WALKING = "walking",
|
|
5115
5257
|
CROSSBORDER = "crossborder"
|
|
5116
5258
|
}
|
|
5259
|
+
/** 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. */
|
|
5260
|
+
export declare type RouteTimeWindow = {
|
|
5261
|
+
/** Center point of the search, expressed as the travel time, in seconds, from the journey's origin. */
|
|
5262
|
+
center: Scalars["Int"];
|
|
5263
|
+
/** 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). */
|
|
5264
|
+
margin?: Maybe<Scalars["Int"]>;
|
|
5265
|
+
};
|
|
5117
5266
|
export declare type RouteVehicle = {
|
|
5118
5267
|
/** ID of the vehicle. */
|
|
5119
5268
|
id: Scalars["ID"];
|
|
@@ -5330,8 +5479,8 @@ export declare type RouteViaFeaturePoint = {
|
|
|
5330
5479
|
/** Feature type. */
|
|
5331
5480
|
type: FeatureType;
|
|
5332
5481
|
/** Geometry of the feature. */
|
|
5333
|
-
geometry
|
|
5334
|
-
/**
|
|
5482
|
+
geometry?: Maybe<Point>;
|
|
5483
|
+
/** 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. */
|
|
5335
5484
|
properties?: Maybe<RouteViaProperties>;
|
|
5336
5485
|
};
|
|
5337
5486
|
export declare type RouteViaFeaturePointInput = {
|
|
@@ -5340,8 +5489,8 @@ export declare type RouteViaFeaturePointInput = {
|
|
|
5340
5489
|
/** Feature type. */
|
|
5341
5490
|
type: FeatureType;
|
|
5342
5491
|
/** Geometry of the feature. */
|
|
5343
|
-
geometry
|
|
5344
|
-
/**
|
|
5492
|
+
geometry?: Maybe<PointInput>;
|
|
5493
|
+
/** 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. */
|
|
5345
5494
|
properties?: Maybe<RouteViaPropertiesInput>;
|
|
5346
5495
|
};
|
|
5347
5496
|
export declare type RouteViaProperties = {
|
|
@@ -5357,7 +5506,7 @@ export declare type RouteViaPropertiesInput = {
|
|
|
5357
5506
|
location?: Maybe<RoutePropertiesViaLocationInput>;
|
|
5358
5507
|
/** Vehicle data of the via point. */
|
|
5359
5508
|
vehicle?: Maybe<RoutePropertiesVehicleInput>;
|
|
5360
|
-
/**
|
|
5509
|
+
/** 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. */
|
|
5361
5510
|
station?: Maybe<RoutePropertiesStationInput>;
|
|
5362
5511
|
};
|
|
5363
5512
|
export declare type RouteWeather = {
|
|
@@ -5620,7 +5769,7 @@ export declare type StationAroundFilter = {
|
|
|
5620
5769
|
connectors?: Maybe<Array<Maybe<ConnectorType>>>;
|
|
5621
5770
|
/** Flag that allows you to return only available stations. */
|
|
5622
5771
|
available_only?: Maybe<Scalars["Boolean"]>;
|
|
5623
|
-
/** Flag
|
|
5772
|
+
/** Flag to filter for stations operated by an operator present in the project's ranking list. */
|
|
5624
5773
|
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
5625
5774
|
};
|
|
5626
5775
|
/** Deprecated: Replaced by filter & search params. */
|
|
@@ -5731,7 +5880,7 @@ export declare type StationListFilter = {
|
|
|
5731
5880
|
connectors?: Maybe<Array<Maybe<ConnectorType>>>;
|
|
5732
5881
|
/** Flag that allows you to return only available stations. */
|
|
5733
5882
|
available_only?: Maybe<Scalars["Boolean"]>;
|
|
5734
|
-
/** Flag
|
|
5883
|
+
/** Flag to filter for stations operated by an operator present in the project's ranking list. */
|
|
5735
5884
|
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
5736
5885
|
};
|
|
5737
5886
|
/** Deprecated: Replaced by filter & search params. */
|
|
@@ -5838,7 +5987,7 @@ export declare type Subscription = {
|
|
|
5838
5987
|
/** Subscribe to a specific route to receive system event updates. */
|
|
5839
5988
|
route: RouteResponse;
|
|
5840
5989
|
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
5841
|
-
navigationUpdatedById?: Maybe<
|
|
5990
|
+
navigationUpdatedById?: Maybe<NavigationSubscription>;
|
|
5842
5991
|
/** [BETA] Subscribe to a connected vehicle. */
|
|
5843
5992
|
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
5844
5993
|
/** Subscribe to an isoline in order to receive updates. */
|
|
@@ -6444,9 +6593,9 @@ export declare type VehicleMake = {
|
|
|
6444
6593
|
image: VehicleImage;
|
|
6445
6594
|
};
|
|
6446
6595
|
/** Vehicle makes response object. */
|
|
6447
|
-
export declare type
|
|
6448
|
-
/**
|
|
6449
|
-
|
|
6596
|
+
export declare type VehicleMakesConnection = {
|
|
6597
|
+
/** List of vehicle makes. */
|
|
6598
|
+
nodes: Array<VehicleMake>;
|
|
6450
6599
|
};
|
|
6451
6600
|
export declare type VehicleMedia = {
|
|
6452
6601
|
/** Featured image of the vehicle from a 45-degree angle. */
|
|
@@ -6479,15 +6628,19 @@ export declare type VehicleModel = {
|
|
|
6479
6628
|
/** Vehicle model name. */
|
|
6480
6629
|
name: Scalars["String"];
|
|
6481
6630
|
};
|
|
6631
|
+
/** Vehicle models response object. */
|
|
6632
|
+
export declare type VehicleModelsConnection = {
|
|
6633
|
+
/** Total number of unique vehicle models. */
|
|
6634
|
+
total_count: Scalars["Int"];
|
|
6635
|
+
/** Information about the current page. */
|
|
6636
|
+
page_info: PageInfo;
|
|
6637
|
+
/** List of vehicle models. */
|
|
6638
|
+
nodes: Array<VehicleModel>;
|
|
6639
|
+
};
|
|
6482
6640
|
/** Filter vehicle model list result. */
|
|
6483
6641
|
export declare type VehicleModelsFilter = {
|
|
6484
6642
|
/** Vehicle make. */
|
|
6485
|
-
make
|
|
6486
|
-
};
|
|
6487
|
-
/** Vehicle models response object. */
|
|
6488
|
-
export declare type VehicleModelsResponse = {
|
|
6489
|
-
/** Elements of the vehicle model list. */
|
|
6490
|
-
items: Array<VehicleModel>;
|
|
6643
|
+
make?: Maybe<Scalars["String"]>;
|
|
6491
6644
|
};
|
|
6492
6645
|
export declare type VehicleNaming = {
|
|
6493
6646
|
/** Vehicle manufacturer name. */
|