@chargetrip/types 1.47.0 → 1.47.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +79 -44
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +79 -44
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +560 -174
- package/graphql.schema.json +2792 -437
- package/package.json +2 -2
- package/src/graphql.ts +609 -180
- package/CHANGELOG.md +0 -405
package/dist/ts/graphql.d.ts
CHANGED
|
@@ -100,6 +100,21 @@ export declare enum AdhocAuthorisationMethod {
|
|
|
100
100
|
QR_CODE = "QR_CODE",
|
|
101
101
|
SMS = "SMS"
|
|
102
102
|
}
|
|
103
|
+
export declare type AirPressure = {
|
|
104
|
+
/** Value of the atmospheric pressure. */
|
|
105
|
+
value: Scalars["Float"];
|
|
106
|
+
/** Atmospheric pressure unit. */
|
|
107
|
+
type: AirPressureUnit;
|
|
108
|
+
};
|
|
109
|
+
export declare type AirPressureInput = {
|
|
110
|
+
/** Value of the atmospheric pressure. */
|
|
111
|
+
value: Scalars["Float"];
|
|
112
|
+
/** Atmospheric pressure unit. */
|
|
113
|
+
type: AirPressureUnit;
|
|
114
|
+
};
|
|
115
|
+
export declare enum AirPressureUnit {
|
|
116
|
+
MILLIBAR = "millibar"
|
|
117
|
+
}
|
|
103
118
|
export declare type AlternativeStationRadius = {
|
|
104
119
|
/** Value of the alternative station radius. */
|
|
105
120
|
value: Scalars["Float"];
|
|
@@ -116,7 +131,7 @@ export declare type AlternativeStationRadiusInput = {
|
|
|
116
131
|
/** Source of inputted data. */
|
|
117
132
|
source?: Maybe<TelemetryInputSource>;
|
|
118
133
|
};
|
|
119
|
-
/** Amenities available near a station */
|
|
134
|
+
/** Amenities available near a station. */
|
|
120
135
|
export declare enum Amenities {
|
|
121
136
|
PARK = "park",
|
|
122
137
|
RESTAURANT = "restaurant",
|
|
@@ -129,30 +144,90 @@ export declare enum Amenities {
|
|
|
129
144
|
PLAYGROUND = "playground",
|
|
130
145
|
PHARMACY = "pharmacy"
|
|
131
146
|
}
|
|
132
|
-
/**
|
|
147
|
+
/** Amenity data. */
|
|
133
148
|
export declare type Amenity = {
|
|
134
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* Unique amenity ID.
|
|
151
|
+
* @deprecated Will be removed in the future.
|
|
152
|
+
*/
|
|
135
153
|
id?: Maybe<Scalars["ID"]>;
|
|
136
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* ID provided by an amenity data source as the row ID.
|
|
156
|
+
* @deprecated In favor of external_id.
|
|
157
|
+
*/
|
|
137
158
|
externalId?: Maybe<Scalars["String"]>;
|
|
138
|
-
/**
|
|
159
|
+
/** ID provided by an amenity data source as the row ID. */
|
|
160
|
+
external_id: Scalars["String"];
|
|
161
|
+
/** Name of the amenity. */
|
|
139
162
|
name?: Maybe<Scalars["String"]>;
|
|
140
|
-
/** Geo location coordinates. This is a GeoJSON Point */
|
|
141
|
-
location
|
|
142
|
-
/**
|
|
163
|
+
/** Geo location coordinates. This is a GeoJSON Point. */
|
|
164
|
+
location: Point;
|
|
165
|
+
/** Address of the amenity. */
|
|
143
166
|
address?: Maybe<Address>;
|
|
144
|
-
/** Type of amenity. An amenity can belong to multiple categories */
|
|
145
|
-
type
|
|
146
|
-
/**
|
|
147
|
-
|
|
148
|
-
|
|
167
|
+
/** Type of amenity. An amenity can belong to multiple categories. */
|
|
168
|
+
type: Array<Maybe<Scalars["String"]>>;
|
|
169
|
+
/**
|
|
170
|
+
* Computed distance between station and amenity.
|
|
171
|
+
* @deprecated In favor of station_distance.
|
|
172
|
+
*/
|
|
149
173
|
distance?: Maybe<Scalars["Int"]>;
|
|
150
|
-
/**
|
|
174
|
+
/** Computed distance between station and amenity. */
|
|
175
|
+
station_distance: Scalars["Float"];
|
|
176
|
+
/**
|
|
177
|
+
* Full path URL to amenity foursquare page.
|
|
178
|
+
* @deprecated Will be removed in the future.
|
|
179
|
+
*/
|
|
151
180
|
foursquareUrl?: Maybe<Scalars["String"]>;
|
|
152
|
-
/**
|
|
181
|
+
/** Opening hours of the amenity. */
|
|
182
|
+
opening_hours?: Maybe<AmenityOpeningHours>;
|
|
183
|
+
/** Indicates whether pets are allowed. This does not apply to assistance dogs, which may have legal access. */
|
|
184
|
+
pets_allowed?: Maybe<Scalars["Boolean"]>;
|
|
185
|
+
/** Accessibility options at the amenity. */
|
|
186
|
+
accessibility?: Maybe<AmenityAccessibility>;
|
|
187
|
+
/** Contact information for the amenity. */
|
|
188
|
+
contact?: Maybe<AmenityContact>;
|
|
189
|
+
/** Rating of an amenity, the value will be between 0.0 and 10.0. If no rating has been given, the value will be set to null. */
|
|
190
|
+
rating?: Maybe<Scalars["Float"]>;
|
|
191
|
+
/**
|
|
192
|
+
* Date and time when an amenity was created.
|
|
193
|
+
* @deprecated Will be removed in the future.
|
|
194
|
+
*/
|
|
153
195
|
createdAt?: Maybe<Scalars["String"]>;
|
|
154
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* Date and time when an amenity was last updated.
|
|
198
|
+
* @deprecated In favor of last_updated.
|
|
199
|
+
*/
|
|
155
200
|
updatedAt?: Maybe<Scalars["String"]>;
|
|
201
|
+
/** Date and time when an amenity was last updated. */
|
|
202
|
+
last_updated: Scalars["DateTime"];
|
|
203
|
+
};
|
|
204
|
+
/** Amenity data. */
|
|
205
|
+
export declare type Amenitystation_distanceArgs = {
|
|
206
|
+
unit?: Maybe<DistanceUnit>;
|
|
207
|
+
};
|
|
208
|
+
/** Accessibility options at the amenity. */
|
|
209
|
+
export declare type AmenityAccessibility = {
|
|
210
|
+
/** Type of wheelchair accessibility at the amenity. */
|
|
211
|
+
wheelchair?: Maybe<AmenityWheelchairAccessibilityType>;
|
|
212
|
+
};
|
|
213
|
+
/** Contact information for the amenity. */
|
|
214
|
+
export declare type AmenityContact = {
|
|
215
|
+
/** Phone number to contact the amenity. */
|
|
216
|
+
phone?: Maybe<Scalars["String"]>;
|
|
217
|
+
/** Website of the amenity. */
|
|
218
|
+
website?: Maybe<Scalars["String"]>;
|
|
219
|
+
};
|
|
220
|
+
/** Filter that can be applied to retrieve the amenity list. */
|
|
221
|
+
export declare type AmenityListFilter = {
|
|
222
|
+
/** Type of amenity. An amenity can belong to multiple categories. */
|
|
223
|
+
type?: Maybe<Array<Amenities>>;
|
|
224
|
+
};
|
|
225
|
+
/** Opening and access hours of the location. */
|
|
226
|
+
export declare type AmenityOpeningHours = {
|
|
227
|
+
/** True to represent 24 hours a day and 7 days a week. */
|
|
228
|
+
twentyfourseven?: Maybe<Scalars["Boolean"]>;
|
|
229
|
+
/** Regular hours, weekday-based. Only to be used if twentyfourseven=false, then this field needs to contain at least one RegularHours object. */
|
|
230
|
+
regular_hours?: Maybe<Array<Maybe<AmenityRegularHours>>>;
|
|
156
231
|
};
|
|
157
232
|
/** Amenity preferences for a route. */
|
|
158
233
|
export declare type AmenityPreferencesInput = {
|
|
@@ -161,6 +236,15 @@ export declare type AmenityPreferencesInput = {
|
|
|
161
236
|
/** Scheduled charge stops, with a specified amenity and timeline. */
|
|
162
237
|
scheduled_charge_stops?: Maybe<Array<ScheduledChargeStopInput>>;
|
|
163
238
|
};
|
|
239
|
+
/** Regular hours, weekday-based. Only to be used if twentyfourseven=false, then this field needs to contain at least one RegularHours object. */
|
|
240
|
+
export declare type AmenityRegularHours = {
|
|
241
|
+
/** Number of days in the week, from Monday (1) till Sunday (7). */
|
|
242
|
+
weekday?: Maybe<Scalars["Int"]>;
|
|
243
|
+
/** Beginning of the regular period, in local time, given in hours and minutes. Must be in 24h format with leading zeros. Example: "18:15". Hour/Minute separator: ":" Regex: ([0-1][0-9]|2[1-3]):[0-5][0-9]. */
|
|
244
|
+
period_begin?: Maybe<Scalars["String"]>;
|
|
245
|
+
/** End of the regular period, in local time, syntax as for period_begin. Must be later than period_begin. */
|
|
246
|
+
period_end?: Maybe<Scalars["String"]>;
|
|
247
|
+
};
|
|
164
248
|
/** A list of amenity types. */
|
|
165
249
|
export declare enum AmenityType {
|
|
166
250
|
PARK = "park",
|
|
@@ -174,6 +258,17 @@ export declare enum AmenityType {
|
|
|
174
258
|
PLAYGROUND = "playground",
|
|
175
259
|
PHARMACY = "pharmacy"
|
|
176
260
|
}
|
|
261
|
+
/** Type of wheelchair accessibility at the amenity. */
|
|
262
|
+
export declare enum AmenityWheelchairAccessibilityType {
|
|
263
|
+
/** Wheelchairs have full unrestricted access. */
|
|
264
|
+
YES = "yes",
|
|
265
|
+
/** Wheelchairs have partial access (e.g some areas can be accessed and others not, areas requiring assistance by someone pushing up a steep gradient). */
|
|
266
|
+
LIMITED = "limited",
|
|
267
|
+
/** Wheelchairs have no unrestricted access (e.g. stair only access). */
|
|
268
|
+
NO = "no",
|
|
269
|
+
/** The amenity is designated or purpose-built for wheelchairs (e.g. bathroom designed for wheelchair access only). */
|
|
270
|
+
DESIGNATED = "designated"
|
|
271
|
+
}
|
|
177
272
|
export declare type AuthorizeConnectedVehicleInput = {
|
|
178
273
|
/** Id from the connected vehicle */
|
|
179
274
|
id: Scalars["ID"];
|
|
@@ -260,7 +355,6 @@ export declare type ChargeSpeedInput = {
|
|
|
260
355
|
/** Source of inputted data, defaults to 'manual'. */
|
|
261
356
|
source?: Maybe<TelemetryInputSource>;
|
|
262
357
|
};
|
|
263
|
-
/** Charge speed unit. */
|
|
264
358
|
export declare enum ChargeSpeedUnit {
|
|
265
359
|
/** Return the charge speed in kilowatt hours. */
|
|
266
360
|
KILOWATT_HOUR = "kilowatt_hour",
|
|
@@ -292,7 +386,6 @@ export declare type Charger = {
|
|
|
292
386
|
/** Total number of EVSEs grouped in a charger. */
|
|
293
387
|
total?: Maybe<Scalars["Int"]>;
|
|
294
388
|
};
|
|
295
|
-
/** Status of a charger. */
|
|
296
389
|
export declare enum ChargerStatus {
|
|
297
390
|
/** The charger is free. */
|
|
298
391
|
FREE = "free",
|
|
@@ -774,7 +867,11 @@ export declare enum ConnectorType {
|
|
|
774
867
|
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A. */
|
|
775
868
|
NEMA_14_30 = "NEMA_14_30",
|
|
776
869
|
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A. */
|
|
777
|
-
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"
|
|
778
875
|
}
|
|
779
876
|
export declare enum ConsumptionUnit {
|
|
780
877
|
/** Return the consumption in kilowatt hours per 100 kilometers. */
|
|
@@ -807,6 +904,7 @@ export declare type Contact = {
|
|
|
807
904
|
};
|
|
808
905
|
/** ISO-3166 alpha-2 country codes. */
|
|
809
906
|
export declare enum CountryCodeAlpha2 {
|
|
907
|
+
AA = "AA",
|
|
810
908
|
AD = "AD",
|
|
811
909
|
AE = "AE",
|
|
812
910
|
AF = "AF",
|
|
@@ -1088,16 +1186,23 @@ export declare type CreateRoute = {
|
|
|
1088
1186
|
via?: Maybe<Array<RouteViaFeaturePoint>>;
|
|
1089
1187
|
/** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
|
|
1090
1188
|
operators?: Maybe<RouteOperatorPreferences>;
|
|
1091
|
-
/**
|
|
1092
|
-
|
|
1189
|
+
/**
|
|
1190
|
+
* Season of a route.
|
|
1191
|
+
* @deprecated In favor of weather.
|
|
1192
|
+
*/
|
|
1193
|
+
season?: Maybe<RouteSeason>;
|
|
1093
1194
|
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
1094
1195
|
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
1095
1196
|
/** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. */
|
|
1096
1197
|
departure_time: Scalars["DateTime"];
|
|
1097
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. */
|
|
1098
1199
|
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1099
|
-
/** [BETA]
|
|
1100
|
-
|
|
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>;
|
|
1202
|
+
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1203
|
+
weather?: Maybe<RouteWeather>;
|
|
1204
|
+
/** Charging stations preferences for route calculation. */
|
|
1205
|
+
station_preferences?: Maybe<RouteStationPreferences>;
|
|
1101
1206
|
};
|
|
1102
1207
|
/** Input for the create route mutation. */
|
|
1103
1208
|
export declare type CreateRouteInput = {
|
|
@@ -1109,7 +1214,7 @@ export declare type CreateRouteInput = {
|
|
|
1109
1214
|
destination: RouteDestinationFeaturePointInput;
|
|
1110
1215
|
/** Optional via points of a route. */
|
|
1111
1216
|
via?: Maybe<Array<RouteViaFeaturePointInput>>;
|
|
1112
|
-
/**
|
|
1217
|
+
/** Operator preferences and restrictions for route calculation. If not specified, excludes operators per project settings, but applies no operator ranking. */
|
|
1113
1218
|
operators?: Maybe<RouteOperatorPreferencesInput>;
|
|
1114
1219
|
/** Optional flag to specify the season. */
|
|
1115
1220
|
season?: Maybe<RouteSeason>;
|
|
@@ -1119,8 +1224,12 @@ export declare type CreateRouteInput = {
|
|
|
1119
1224
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1120
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. */
|
|
1121
1226
|
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1122
|
-
/**
|
|
1123
|
-
|
|
1227
|
+
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
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>;
|
|
1124
1233
|
};
|
|
1125
1234
|
/** Currency in the ISO 4217 format. */
|
|
1126
1235
|
export declare enum Currency {
|
|
@@ -1464,15 +1573,20 @@ export declare enum DimensionUnit {
|
|
|
1464
1573
|
/** Return the dimension in miles. */
|
|
1465
1574
|
MILE = "mile"
|
|
1466
1575
|
}
|
|
1467
|
-
|
|
1576
|
+
export declare type DistanceInput = {
|
|
1577
|
+
/** Value of the distance. */
|
|
1578
|
+
value: Scalars["Float"];
|
|
1579
|
+
/** Unit of distance. */
|
|
1580
|
+
unit: DistanceUnit;
|
|
1581
|
+
};
|
|
1468
1582
|
export declare enum DistanceUnit {
|
|
1469
|
-
/**
|
|
1583
|
+
/** Distance in meters. */
|
|
1470
1584
|
METER = "meter",
|
|
1471
|
-
/**
|
|
1585
|
+
/** Distance in feet. */
|
|
1472
1586
|
FOOT = "foot",
|
|
1473
|
-
/**
|
|
1587
|
+
/** Distance in kilometers. */
|
|
1474
1588
|
KILOMETER = "kilometer",
|
|
1475
|
-
/**
|
|
1589
|
+
/** Distance in miles. */
|
|
1476
1590
|
MILE = "mile"
|
|
1477
1591
|
}
|
|
1478
1592
|
/** EVSE data which extends OCPI EVSE. */
|
|
@@ -1733,18 +1847,13 @@ export declare enum HeavyVehiclesFacility {
|
|
|
1733
1847
|
/** Secure truck parking. */
|
|
1734
1848
|
SECURE_TRUCK_PARKING = "SECURE_TRUCK_PARKING"
|
|
1735
1849
|
}
|
|
1736
|
-
/** Navigation service providers available */
|
|
1737
|
-
export declare enum InstructionsFormat {
|
|
1738
|
-
/** Chargetrip raw instructions */
|
|
1739
|
-
CHARGETRIP = "Chargetrip",
|
|
1740
|
-
/** Mapbox instructions mapping */
|
|
1741
|
-
MAPBOXV5 = "MapboxV5"
|
|
1742
|
-
}
|
|
1743
1850
|
export declare type Isoline = {
|
|
1744
1851
|
/** Isoline id. */
|
|
1745
1852
|
id: Scalars["ID"];
|
|
1746
1853
|
/** Isoline status. */
|
|
1747
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"]>;
|
|
1748
1857
|
/** Shape of the isoline consisting in a list of multipolygons. */
|
|
1749
1858
|
polygons?: Maybe<Array<Maybe<FeatureMultiPolygon>>>;
|
|
1750
1859
|
/** List of the ferries uniting islands formed by the isoline. */
|
|
@@ -1752,6 +1861,9 @@ export declare type Isoline = {
|
|
|
1752
1861
|
/** The inputted request data for the isoline used to compute it. */
|
|
1753
1862
|
request_input?: Maybe<IsolineRequestInput>;
|
|
1754
1863
|
};
|
|
1864
|
+
export declare type Isolinemaximum_distanceArgs = {
|
|
1865
|
+
unit?: Maybe<DistanceUnit>;
|
|
1866
|
+
};
|
|
1755
1867
|
export declare type IsolineCabin = {
|
|
1756
1868
|
/** Flag which indicate if the vehicle cabin was preconditioned for the desired temperature. */
|
|
1757
1869
|
is_preconditioned?: Maybe<Scalars["Boolean"]>;
|
|
@@ -1805,6 +1917,8 @@ export declare type IsolineInput = {
|
|
|
1805
1917
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
1806
1918
|
/** Minimum final battery state of charge. Default is 0 */
|
|
1807
1919
|
final_state_of_charge?: Maybe<StateOfChargeInput>;
|
|
1920
|
+
/** [BETA] User-defined maximum speed used for the isoline. */
|
|
1921
|
+
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
1808
1922
|
};
|
|
1809
1923
|
/** Granularity of the isoline. */
|
|
1810
1924
|
export declare enum IsolineQuality {
|
|
@@ -1844,6 +1958,8 @@ export declare type IsolineRequestInput = {
|
|
|
1844
1958
|
state_of_charge: Scalars["Float"];
|
|
1845
1959
|
/** Minimum final battery state of charge. */
|
|
1846
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>;
|
|
1847
1963
|
};
|
|
1848
1964
|
export declare type IsolineRequestInputtotal_occupant_weightArgs = {
|
|
1849
1965
|
unit?: Maybe<WeightUnit>;
|
|
@@ -1892,18 +2008,6 @@ export declare type LineString = {
|
|
|
1892
2008
|
export declare enum LineStringType {
|
|
1893
2009
|
LINESTRING = "LineString"
|
|
1894
2010
|
}
|
|
1895
|
-
/** Preferred language for the mapping */
|
|
1896
|
-
export declare enum MappingLanguage {
|
|
1897
|
-
/** English(US) */
|
|
1898
|
-
EN = "en"
|
|
1899
|
-
}
|
|
1900
|
-
/** Navigation service providers available */
|
|
1901
|
-
export declare enum MappingProvider {
|
|
1902
|
-
/** Chargetrip raw instructions */
|
|
1903
|
-
CHARGETRIP = "Chargetrip",
|
|
1904
|
-
/** Mapbox instructions mapping */
|
|
1905
|
-
MAPBOXV5 = "MapboxV5"
|
|
1906
|
-
}
|
|
1907
2011
|
export declare type MaximumSpeed = {
|
|
1908
2012
|
/** Numeric value of the user-defined maximum speed. */
|
|
1909
2013
|
value: Scalars["Int"];
|
|
@@ -1965,7 +2069,10 @@ export declare type Mutation = {
|
|
|
1965
2069
|
* This is a premium feature, contact Chargetrip for more information.
|
|
1966
2070
|
*/
|
|
1967
2071
|
deleteUserReview: Review;
|
|
1968
|
-
/**
|
|
2072
|
+
/**
|
|
2073
|
+
* Deprecated: In favor of createRoute.
|
|
2074
|
+
* @deprecated In favor of `createRoute`.
|
|
2075
|
+
*/
|
|
1969
2076
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
1970
2077
|
/** Create a new route from the route input and its ID. */
|
|
1971
2078
|
createRoute: Scalars["ID"];
|
|
@@ -2009,134 +2116,140 @@ export declare type MutationnewRouteArgs = {
|
|
|
2009
2116
|
export declare type MutationcreateRouteArgs = {
|
|
2010
2117
|
input: CreateRouteInput;
|
|
2011
2118
|
};
|
|
2012
|
-
/** The navigation session data */
|
|
2119
|
+
/** The navigation session data. */
|
|
2013
2120
|
export declare type Navigation = {
|
|
2014
|
-
/** ID of the navigation session */
|
|
2121
|
+
/** ID of the navigation session. */
|
|
2015
2122
|
id: Scalars["ID"];
|
|
2016
|
-
/**
|
|
2017
|
-
|
|
2018
|
-
/** The
|
|
2019
|
-
|
|
2020
|
-
/** The state of a navigation session. The status can be driving, charging, finished, or error */
|
|
2021
|
-
state: NavigationState;
|
|
2022
|
-
/** State of charge at the last known location */
|
|
2023
|
-
state_of_charge: Scalars["Float"];
|
|
2024
|
-
/** Last known location */
|
|
2025
|
-
last_known_location: Point;
|
|
2026
|
-
/** Next charging station */
|
|
2027
|
-
next_station?: Maybe<NavigationStation>;
|
|
2028
|
-
/** A set of alternative charging stations to next station */
|
|
2029
|
-
alternative_stations: Array<NavigationStation>;
|
|
2030
|
-
/** Navigation instructions */
|
|
2031
|
-
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;
|
|
2032
2127
|
/** Navigation meta information. */
|
|
2033
2128
|
meta?: Maybe<NavigationMeta>;
|
|
2034
2129
|
};
|
|
2035
|
-
/**
|
|
2036
|
-
export declare type Navigationstate_of_chargeArgs = {
|
|
2037
|
-
unit?: Maybe<StateOfChargeUnit>;
|
|
2038
|
-
};
|
|
2039
|
-
/** Input for the navigation recalculate */
|
|
2130
|
+
/** Input for the navigation recalculate. */
|
|
2040
2131
|
export declare type NavigationFinishInput = {
|
|
2041
|
-
/** ID of the navigation session */
|
|
2132
|
+
/** ID of the navigation session. */
|
|
2042
2133
|
id: Scalars["ID"];
|
|
2043
|
-
/** Current coordinates */
|
|
2134
|
+
/** Current coordinates. */
|
|
2044
2135
|
current_location: PointInput;
|
|
2045
2136
|
};
|
|
2046
|
-
export declare type NavigationInstructionsInput = {
|
|
2047
|
-
/** Turn by turn instructions format for a route */
|
|
2048
|
-
instructions_format: InstructionsFormat;
|
|
2049
|
-
/** Preferred navigation instructions language. Default: en */
|
|
2050
|
-
language?: Maybe<MappingLanguage>;
|
|
2051
|
-
/** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6. */
|
|
2052
|
-
precision?: Maybe<Scalars["Int"]>;
|
|
2053
|
-
};
|
|
2054
2137
|
/** Navigation meta information. */
|
|
2055
2138
|
export declare type NavigationMeta = {
|
|
2056
2139
|
/** Creation time of the navigation session. */
|
|
2057
|
-
created_at
|
|
2140
|
+
created_at: Scalars["DateTime"];
|
|
2058
2141
|
/** Last updated time of the navigation session. */
|
|
2059
|
-
updated_at
|
|
2142
|
+
updated_at: Scalars["DateTime"];
|
|
2143
|
+
};
|
|
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"];
|
|
2060
2160
|
};
|
|
2061
|
-
/**
|
|
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. */
|
|
2062
2170
|
export declare type NavigationRecalculateInput = {
|
|
2063
|
-
/** ID of the navigation session */
|
|
2171
|
+
/** ID of the navigation session. */
|
|
2064
2172
|
id: Scalars["ID"];
|
|
2065
|
-
/** State of charge at origin */
|
|
2173
|
+
/** State of charge at origin. */
|
|
2066
2174
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
2067
|
-
/** Origin location of a new route */
|
|
2175
|
+
/** Origin location of a new route. */
|
|
2068
2176
|
current_location: PointInput;
|
|
2069
|
-
/** 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. */
|
|
2070
2178
|
via?: Maybe<Array<FeaturePointInput>>;
|
|
2071
|
-
/** Telemetry data input */
|
|
2179
|
+
/** Telemetry data input. */
|
|
2072
2180
|
telemetry?: Maybe<TelemetryInput>;
|
|
2073
2181
|
};
|
|
2074
|
-
/** Input for the navigation start */
|
|
2182
|
+
/** Input for the navigation start. */
|
|
2075
2183
|
export declare type NavigationStartInput = {
|
|
2076
|
-
/** ID of the route of the navigation session */
|
|
2184
|
+
/** ID of the route of the navigation session. */
|
|
2077
2185
|
route_id: Scalars["ID"];
|
|
2078
|
-
/**
|
|
2079
|
-
route_alternative_id?: Maybe<Scalars["ID"]>;
|
|
2080
|
-
/** Current coordinates */
|
|
2186
|
+
/** Current coordinates. */
|
|
2081
2187
|
current_location: PointInput;
|
|
2082
|
-
/** Instruction input format */
|
|
2083
|
-
instructions: NavigationInstructionsInput;
|
|
2084
2188
|
};
|
|
2085
|
-
/**
|
|
2086
|
-
export declare enum NavigationState {
|
|
2087
|
-
/** Vehicle is driving */
|
|
2088
|
-
DRIVING = "driving",
|
|
2089
|
-
/** Vehicle is charging */
|
|
2090
|
-
CHARGING = "charging",
|
|
2091
|
-
/** Navigation session is completed (either manually or automatically 48 hours after the last update) */
|
|
2092
|
-
FINISHED = "finished",
|
|
2093
|
-
/** Failed to update navigation session due to route error or not found */
|
|
2094
|
-
ERROR = "error"
|
|
2095
|
-
}
|
|
2096
|
-
/** Navigation session station type */
|
|
2189
|
+
/** Navigation session station type. */
|
|
2097
2190
|
export declare type NavigationStation = {
|
|
2098
|
-
/** The ID as string of the charging station */
|
|
2191
|
+
/** The ID as string of the charging station. */
|
|
2099
2192
|
station_id: Scalars["ID"];
|
|
2100
|
-
/** GPS location of the charging station */
|
|
2193
|
+
/** GPS location of the charging station. */
|
|
2101
2194
|
station_location: Point;
|
|
2102
|
-
/** 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. */
|
|
2103
2196
|
via: Array<Point>;
|
|
2104
|
-
/** Estimated state of charge, at arrival on the next charging station */
|
|
2197
|
+
/** Estimated state of charge, at arrival on the next charging station. */
|
|
2105
2198
|
estimated_state_of_charge: Scalars["Float"];
|
|
2106
|
-
/** 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. */
|
|
2107
2200
|
estimated_consumption: Scalars["Float"];
|
|
2108
|
-
/** Estimated duration, in seconds, from the last known location until the next charging station */
|
|
2109
|
-
estimated_duration: Scalars["
|
|
2201
|
+
/** Estimated duration, in seconds, from the last known location until the next charging station. */
|
|
2202
|
+
estimated_duration: Scalars["Float"];
|
|
2110
2203
|
};
|
|
2111
|
-
/** Navigation session station type */
|
|
2204
|
+
/** Navigation session station type. */
|
|
2112
2205
|
export declare type NavigationStationestimated_state_of_chargeArgs = {
|
|
2113
2206
|
unit?: Maybe<StateOfChargeUnit>;
|
|
2114
2207
|
};
|
|
2115
|
-
/**
|
|
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. */
|
|
2116
2229
|
export declare type NavigationUpdateInput = {
|
|
2117
|
-
/** ID of the navigation session */
|
|
2230
|
+
/** ID of the navigation session. */
|
|
2118
2231
|
id: Scalars["ID"];
|
|
2119
|
-
/** A list of locations that were collected since the last update */
|
|
2232
|
+
/** A list of locations that were collected since the last update. */
|
|
2120
2233
|
location_data: Array<NavigationUpdateLocationsInput>;
|
|
2121
|
-
/** Telemetry data input */
|
|
2234
|
+
/** Telemetry data input. */
|
|
2122
2235
|
telemetry?: Maybe<TelemetryInput>;
|
|
2123
2236
|
};
|
|
2124
|
-
/** Properties of the location */
|
|
2237
|
+
/** Properties of the location. */
|
|
2125
2238
|
export declare type NavigationUpdateLocationPropertiesInput = {
|
|
2126
|
-
/** Current route leg index corresponding to a location */
|
|
2239
|
+
/** Current route leg index corresponding to a location. */
|
|
2127
2240
|
route_leg: Scalars["Int"];
|
|
2128
|
-
/** Speed at a location */
|
|
2241
|
+
/** Speed at a location. */
|
|
2129
2242
|
speed?: Maybe<VehicleSpeedInput>;
|
|
2130
|
-
/** UNIX timestamp at location, in seconds */
|
|
2243
|
+
/** UNIX timestamp at location, in seconds. */
|
|
2131
2244
|
timestamp: Scalars["Int"];
|
|
2132
|
-
/** Elevation information */
|
|
2245
|
+
/** Elevation information. */
|
|
2133
2246
|
elevation?: Maybe<ElevationInput>;
|
|
2134
2247
|
};
|
|
2135
|
-
/** Input for the navigation update locations */
|
|
2248
|
+
/** Input for the navigation update locations. */
|
|
2136
2249
|
export declare type NavigationUpdateLocationsInput = {
|
|
2137
|
-
/** GPS location */
|
|
2250
|
+
/** GPS location. */
|
|
2138
2251
|
geometry: PointInput;
|
|
2139
|
-
/** Extra information about the location */
|
|
2252
|
+
/** Extra information about the location. */
|
|
2140
2253
|
properties: NavigationUpdateLocationPropertiesInput;
|
|
2141
2254
|
};
|
|
2142
2255
|
/** This class defines an additional geo location that is relevant for the Charge Point. The geodetic system to be used is WGS 84. */
|
|
@@ -2263,7 +2376,11 @@ export declare enum OCPIConnectorType {
|
|
|
2263
2376
|
/** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
|
|
2264
2377
|
NEMA_14_30 = "NEMA_14_30",
|
|
2265
2378
|
/** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
|
|
2266
|
-
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"
|
|
2267
2384
|
}
|
|
2268
2385
|
export declare enum OCPIDayOfWeek {
|
|
2269
2386
|
MONDAY = "MONDAY",
|
|
@@ -2745,11 +2862,17 @@ export declare type Operator = {
|
|
|
2745
2862
|
ranking_levels?: Maybe<OperatorRankingLevels>;
|
|
2746
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. */
|
|
2747
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>>;
|
|
2748
2867
|
};
|
|
2749
2868
|
/** Filter which can be applied to retrieve the operator list action. */
|
|
2750
2869
|
export declare type OperatorListFilter = {
|
|
2751
2870
|
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
2752
2871
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2872
|
+
/** List of ranking level(s) to be retrieved. Valid values are 1 to 10. Default operator preference applied to routes created through newRoute mutation if no operator preference is specified in the request. */
|
|
2873
|
+
ranking?: Maybe<Array<Scalars["Int"]>>;
|
|
2874
|
+
/** Only retrieve operators that are in the excluded list. Default operator preference applied to routes created through newRoute mutation if no operator preference is specified in the request. */
|
|
2875
|
+
excluded?: Maybe<Scalars["Boolean"]>;
|
|
2753
2876
|
/** List of ranking level(s) to be retrieved. An operator can be ranked on different levels in different countries. Default operator preference applied to routes created through createRoute mutation if no operator preference is specified in the request. */
|
|
2754
2877
|
ranking_levels?: Maybe<OperatorRankingLevelsFilter>;
|
|
2755
2878
|
/** 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. */
|
|
@@ -2766,6 +2889,16 @@ export declare type OperatorListQuery = {
|
|
|
2766
2889
|
/** Exact country code. */
|
|
2767
2890
|
country?: Maybe<Scalars["String"]>;
|
|
2768
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
|
+
}
|
|
2769
2902
|
/** Operator ranking level. */
|
|
2770
2903
|
export declare enum OperatorRankingLevel {
|
|
2771
2904
|
LOW = "low",
|
|
@@ -2814,6 +2947,17 @@ export declare type OutsideTemperatureInput = {
|
|
|
2814
2947
|
/** Source of inputted data. */
|
|
2815
2948
|
source?: Maybe<TelemetryInputSource>;
|
|
2816
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
|
+
};
|
|
2817
2961
|
export declare enum ParkingCost {
|
|
2818
2962
|
/** Parking is free. */
|
|
2819
2963
|
FREE = "free",
|
|
@@ -2886,7 +3030,6 @@ export declare enum PowerUnit {
|
|
|
2886
3030
|
/** Return the power in horsepower. */
|
|
2887
3031
|
HORSEPOWER = "horsepower"
|
|
2888
3032
|
}
|
|
2889
|
-
/** Pressure units. */
|
|
2890
3033
|
export declare enum PressureUnit {
|
|
2891
3034
|
/** Return the pressure in bar. */
|
|
2892
3035
|
BAR = "bar",
|
|
@@ -2938,7 +3081,7 @@ export declare type PricingListProduct = {
|
|
|
2938
3081
|
currency?: Maybe<Scalars["String"]>;
|
|
2939
3082
|
};
|
|
2940
3083
|
export declare type Query = {
|
|
2941
|
-
/** Get a full list of amenities around a station */
|
|
3084
|
+
/** Get a full list of amenities around a station. */
|
|
2942
3085
|
amenityList?: Maybe<Array<Maybe<Amenity>>>;
|
|
2943
3086
|
/** [BETA] Get a connected vehicles by id */
|
|
2944
3087
|
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
@@ -2962,16 +3105,27 @@ export declare type Query = {
|
|
|
2962
3105
|
* This is a premium feature, contact Chargetrip for more information.
|
|
2963
3106
|
*/
|
|
2964
3107
|
userReviewList?: Maybe<Array<Review>>;
|
|
2965
|
-
/**
|
|
3108
|
+
/**
|
|
3109
|
+
* Deprecated: In favor of getRouteEmissions.
|
|
3110
|
+
* @deprecated In favor of `getRouteEmissions`.
|
|
3111
|
+
*/
|
|
2966
3112
|
routeEmissions: RouteEmissions;
|
|
2967
|
-
/**
|
|
3113
|
+
/**
|
|
3114
|
+
* Deprecated: In favor of getRoute.
|
|
3115
|
+
* @deprecated In favor of `getRoute`.
|
|
3116
|
+
*/
|
|
2968
3117
|
route?: Maybe<Route>;
|
|
2969
|
-
/**
|
|
3118
|
+
/**
|
|
3119
|
+
* Deprecated: In favor of RouteDetails.path_plot.
|
|
3120
|
+
* @deprecated In favor of `RouteDetails.path_plot`.
|
|
3121
|
+
*/
|
|
2970
3122
|
routePath?: Maybe<RoutePath>;
|
|
2971
|
-
/** Get a route by ID. */
|
|
2972
|
-
getRoute: RouteResponse;
|
|
2973
3123
|
/** Get emissions for a route. */
|
|
2974
3124
|
getRouteEmissions: RouteDetailsEmissions;
|
|
3125
|
+
/** Get a route by ID. */
|
|
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;
|
|
2975
3129
|
/** Get information about a station by its ID. */
|
|
2976
3130
|
station?: Maybe<Station>;
|
|
2977
3131
|
/** Get a full list of stations. */
|
|
@@ -2988,9 +3142,16 @@ export declare type Query = {
|
|
|
2988
3142
|
vehiclePremium?: Maybe<VehiclePremium>;
|
|
2989
3143
|
/** Get a full list of vehicles. */
|
|
2990
3144
|
vehicleList?: Maybe<Array<Maybe<VehicleList>>>;
|
|
3145
|
+
/** [BETA] Get a full list of vehicle makes. */
|
|
3146
|
+
vehicleMakes: VehicleMakesConnection;
|
|
3147
|
+
/** [BETA] Get a full list of vehicle make models. */
|
|
3148
|
+
vehicleModels: VehicleModelsConnection;
|
|
2991
3149
|
};
|
|
2992
3150
|
export declare type QueryamenityListArgs = {
|
|
2993
3151
|
stationId: Scalars["ID"];
|
|
3152
|
+
filter?: Maybe<AmenityListFilter>;
|
|
3153
|
+
size?: Maybe<Scalars["Int"]>;
|
|
3154
|
+
page?: Maybe<Scalars["Int"]>;
|
|
2994
3155
|
};
|
|
2995
3156
|
export declare type QueryconnectedVehicleArgs = {
|
|
2996
3157
|
id: Scalars["ID"];
|
|
@@ -3040,12 +3201,21 @@ export declare type QueryroutePathArgs = {
|
|
|
3040
3201
|
location: PointInput;
|
|
3041
3202
|
alternativeId?: Maybe<Scalars["ID"]>;
|
|
3042
3203
|
};
|
|
3204
|
+
export declare type QuerygetRouteEmissionsArgs = {
|
|
3205
|
+
route_id: Scalars["ID"];
|
|
3206
|
+
route_details_id: Scalars["ID"];
|
|
3207
|
+
};
|
|
3043
3208
|
export declare type QuerygetRouteArgs = {
|
|
3044
3209
|
id: Scalars["ID"];
|
|
3045
3210
|
};
|
|
3046
|
-
export declare type
|
|
3211
|
+
export declare type QuerygetRouteStationsWithAmenitiesArgs = {
|
|
3047
3212
|
route_id: Scalars["ID"];
|
|
3048
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"]>;
|
|
3049
3219
|
};
|
|
3050
3220
|
export declare type QuerystationArgs = {
|
|
3051
3221
|
id?: Maybe<Scalars["ID"]>;
|
|
@@ -3087,6 +3257,15 @@ export declare type QueryvehicleListArgs = {
|
|
|
3087
3257
|
size?: Maybe<Scalars["Int"]>;
|
|
3088
3258
|
page?: Maybe<Scalars["Int"]>;
|
|
3089
3259
|
};
|
|
3260
|
+
export declare type QueryvehicleMakesArgs = {
|
|
3261
|
+
country?: Maybe<CountryCodeAlpha2>;
|
|
3262
|
+
};
|
|
3263
|
+
export declare type QueryvehicleModelsArgs = {
|
|
3264
|
+
filter?: Maybe<VehicleModelsFilter>;
|
|
3265
|
+
country?: Maybe<CountryCodeAlpha2>;
|
|
3266
|
+
first?: Maybe<Scalars["Int"]>;
|
|
3267
|
+
after?: Maybe<Scalars["String"]>;
|
|
3268
|
+
};
|
|
3090
3269
|
export declare type RemoveConnectedVehicleInput = {
|
|
3091
3270
|
/** Id from the connected vehicle */
|
|
3092
3271
|
id: Scalars["ID"];
|
|
@@ -3219,15 +3398,17 @@ export declare type RequestEvInput = {
|
|
|
3219
3398
|
heatPump?: Maybe<HeatPumpMode>;
|
|
3220
3399
|
/** Vehicle cabin configuration. */
|
|
3221
3400
|
cabin?: Maybe<RequestEvCabinInput>;
|
|
3401
|
+
/** Number of passengers on board. */
|
|
3402
|
+
numberOfPassengers?: Maybe<Scalars["Int"]>;
|
|
3222
3403
|
/** Number of occupants. */
|
|
3223
3404
|
occupants?: Maybe<Scalars["Int"]>;
|
|
3224
3405
|
/** Cargo weight, in kg. */
|
|
3225
3406
|
cargo?: Maybe<Scalars["Int"]>;
|
|
3226
3407
|
/** Consumption specific to the EV or inputted by the request. */
|
|
3227
3408
|
consumption?: Maybe<RequestEvConsumptionInput>;
|
|
3228
|
-
/**
|
|
3409
|
+
/** In favor of `consumption`. */
|
|
3229
3410
|
auxConsumption?: Maybe<Scalars["Float"]>;
|
|
3230
|
-
/**
|
|
3411
|
+
/** In favor of `consumption`. */
|
|
3231
3412
|
bmsConsumption?: Maybe<Scalars["Float"]>;
|
|
3232
3413
|
};
|
|
3233
3414
|
export declare type RequestEvPlug = {
|
|
@@ -3287,7 +3468,10 @@ export declare type RequestRoute = {
|
|
|
3287
3468
|
via?: Maybe<Array<Maybe<FeaturePoint>>>;
|
|
3288
3469
|
/** Radius in meters for alternative stations along a route (min 500 - max 5000). */
|
|
3289
3470
|
stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
|
|
3290
|
-
/**
|
|
3471
|
+
/**
|
|
3472
|
+
* Flag indicating wether the turn-by-turn navigation instructions should be prepared. Disclaimer: The functionality is under active development and the final API is a subject to change. Not ready for production.
|
|
3473
|
+
* @deprecated Deprecated: all routes will have turn-by-turn instructions prepared. Boolean will be ignored.
|
|
3474
|
+
*/
|
|
3291
3475
|
instructions?: Maybe<Scalars["Boolean"]>;
|
|
3292
3476
|
/** Mode that indicates if we optimize the charging time or always charge to the maximum capacity. */
|
|
3293
3477
|
chargeMode?: Maybe<ChargeMode>;
|
|
@@ -3536,6 +3720,10 @@ export declare enum RouteAlternativeType {
|
|
|
3536
3720
|
/** An alternative to the fastest route. */
|
|
3537
3721
|
ALTERNATIVE = "alternative"
|
|
3538
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
|
+
};
|
|
3539
3727
|
/** Amenity preferences for a route. */
|
|
3540
3728
|
export declare type RouteAmenityPreferences = {
|
|
3541
3729
|
/** Desired amenities near all charge-stops along a route, with a 1 kilometer radius. */
|
|
@@ -3558,8 +3746,8 @@ export declare type RouteDestinationFeaturePoint = {
|
|
|
3558
3746
|
/** Feature type. */
|
|
3559
3747
|
type: FeatureType;
|
|
3560
3748
|
/** Geometry of the feature. */
|
|
3561
|
-
geometry
|
|
3562
|
-
/**
|
|
3749
|
+
geometry?: Maybe<Point>;
|
|
3750
|
+
/** Additional feature properties. */
|
|
3563
3751
|
properties?: Maybe<RouteDestinationProperties>;
|
|
3564
3752
|
};
|
|
3565
3753
|
export declare type RouteDestinationFeaturePointInput = {
|
|
@@ -3568,8 +3756,8 @@ export declare type RouteDestinationFeaturePointInput = {
|
|
|
3568
3756
|
/** Feature type. */
|
|
3569
3757
|
type: FeatureType;
|
|
3570
3758
|
/** Geometry of the feature. */
|
|
3571
|
-
geometry
|
|
3572
|
-
/**
|
|
3759
|
+
geometry?: Maybe<PointInput>;
|
|
3760
|
+
/** Additional feature properties. */
|
|
3573
3761
|
properties?: Maybe<RouteDestinationPropertiesInput>;
|
|
3574
3762
|
};
|
|
3575
3763
|
export declare type RouteDestinationProperties = {
|
|
@@ -3581,7 +3769,7 @@ export declare type RouteDestinationProperties = {
|
|
|
3581
3769
|
export declare type RouteDestinationPropertiesInput = {
|
|
3582
3770
|
/** Data about the destination location. */
|
|
3583
3771
|
location?: Maybe<RoutePropertiesLocationInput>;
|
|
3584
|
-
/**
|
|
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. */
|
|
3585
3773
|
station?: Maybe<RoutePropertiesStationInput>;
|
|
3586
3774
|
};
|
|
3587
3775
|
export declare type RouteDetails = {
|
|
@@ -3607,7 +3795,12 @@ export declare type RouteDetails = {
|
|
|
3607
3795
|
savings?: Maybe<RouteDetailsSavings>;
|
|
3608
3796
|
/** Legs of a route. */
|
|
3609
3797
|
legs: Array<RouteDetailsLeg>;
|
|
3610
|
-
/**
|
|
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
|
+
*/
|
|
3611
3804
|
alternative_stations: Array<RouteDetailsAlternativeStation>;
|
|
3612
3805
|
/** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
|
|
3613
3806
|
tags: Array<RouteDetailsTag>;
|
|
@@ -3640,7 +3833,6 @@ export declare type RouteDetailsAlternativeStation = {
|
|
|
3640
3833
|
/** ID of the station's operator. */
|
|
3641
3834
|
operator_id?: Maybe<Scalars["ID"]>;
|
|
3642
3835
|
};
|
|
3643
|
-
/** Aggregation of all durations of a route. */
|
|
3644
3836
|
export declare type RouteDetailsDurations = {
|
|
3645
3837
|
/** Total duration, in seconds. */
|
|
3646
3838
|
total: Scalars["Int"];
|
|
@@ -3648,7 +3840,7 @@ export declare type RouteDetailsDurations = {
|
|
|
3648
3840
|
charging: Scalars["Int"];
|
|
3649
3841
|
/** Total driving duration, in seconds. */
|
|
3650
3842
|
driving: Scalars["Int"];
|
|
3651
|
-
/** Total
|
|
3843
|
+
/** Total duration stopped at a location via or at a station via, excluding charging time and charging penalty, in seconds. */
|
|
3652
3844
|
stopover: Scalars["Int"];
|
|
3653
3845
|
/** Total ferry duration, in seconds. */
|
|
3654
3846
|
ferry: Scalars["Int"];
|
|
@@ -3711,7 +3903,7 @@ export declare type RouteDetailsLeg = {
|
|
|
3711
3903
|
range_after_charge?: Maybe<Scalars["Float"]>;
|
|
3712
3904
|
/** Type of a leg. */
|
|
3713
3905
|
type: RouteDetailsLegType;
|
|
3714
|
-
/** Information about the station at the destination of a leg.
|
|
3906
|
+
/** Information about the station at the destination of a leg. */
|
|
3715
3907
|
station?: Maybe<RouteDetailsLegStation>;
|
|
3716
3908
|
/** Polyline containing encoded coordinates. */
|
|
3717
3909
|
polyline: Scalars["String"];
|
|
@@ -3765,7 +3957,10 @@ export declare type RouteDetailsLegFeatureProperties = {
|
|
|
3765
3957
|
air_pressure?: Maybe<Scalars["Float"]>;
|
|
3766
3958
|
/** Solar irradiance at the location. */
|
|
3767
3959
|
solar_irradiance?: Maybe<Scalars["Float"]>;
|
|
3768
|
-
/**
|
|
3960
|
+
/**
|
|
3961
|
+
* Duration, in seconds, of time spent at this location.
|
|
3962
|
+
* @deprecated In favor of legs.durations
|
|
3963
|
+
*/
|
|
3769
3964
|
duration?: Maybe<Scalars["Int"]>;
|
|
3770
3965
|
/** Number of occupants present in the vehicle. */
|
|
3771
3966
|
occupants?: Maybe<Scalars["Int"]>;
|
|
@@ -3978,6 +4173,28 @@ export declare enum RouteDetailsTag {
|
|
|
3978
4173
|
WALKING = "walking",
|
|
3979
4174
|
CROSSBORDER = "crossborder"
|
|
3980
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
|
+
}
|
|
3981
4198
|
export declare type RouteEmbeddedEmissions = {
|
|
3982
4199
|
/** Total embedded emissions. */
|
|
3983
4200
|
total: Scalars["Float"];
|
|
@@ -4309,6 +4526,8 @@ export declare type RouteLegOperationalElectricityEmissionsIntensity = {
|
|
|
4309
4526
|
base_iso_14083_2023_regional_value: EmissionsFactor;
|
|
4310
4527
|
/** Electricity mix for the leg. */
|
|
4311
4528
|
energy_sources: RouteOperationalElectricityEnergySources;
|
|
4529
|
+
/** Model used to estimate the electricity mix. */
|
|
4530
|
+
energy_source_model: RouteOperationalElectricityEnergySourceModel;
|
|
4312
4531
|
/** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
|
|
4313
4532
|
infrastructure: Scalars["Float"];
|
|
4314
4533
|
/** Season for which the leg was calculated. */
|
|
@@ -4517,6 +4736,23 @@ export declare type RouteOperationalElectricityEmissionsIntensityiso_14083_2023A
|
|
|
4517
4736
|
export declare type RouteOperationalElectricityEmissionsIntensityinfrastructureArgs = {
|
|
4518
4737
|
unit?: Maybe<EmissionUnit>;
|
|
4519
4738
|
};
|
|
4739
|
+
/** Energy source models. */
|
|
4740
|
+
export declare enum RouteOperationalElectricityEnergySourceModel {
|
|
4741
|
+
/** Historical average energy mix for the month. */
|
|
4742
|
+
GRID_MONTHLY_AVERAGE = "grid_monthly_average",
|
|
4743
|
+
/** Historical average energy mix for the month and hour. */
|
|
4744
|
+
GRID_HOURLY_AVERAGE = "grid_hourly_average",
|
|
4745
|
+
/** Estimate using historical average electricity demand for the month. */
|
|
4746
|
+
GRID_DEMAND_BASED_MONTHLY_AVERAGE = "grid_demand_based_monthly_average",
|
|
4747
|
+
/** Estimate using historical average electricity demand for the month and hour. */
|
|
4748
|
+
GRID_DEMAND_BASED_HOURLY_AVERAGE = "grid_demand_based_hourly_average",
|
|
4749
|
+
/** Estimate using the seasonal average electricity demand for the climate. */
|
|
4750
|
+
CLIMATE_DEMAND_BASED_SEASONAL_AVERAGE = "climate_demand_based_seasonal_average",
|
|
4751
|
+
/** Estimate using the seasonal average electricity demand for the hour and climate. */
|
|
4752
|
+
CLIMATE_DEMAND_BASED_HOURLY_AVERAGE = "climate_demand_based_hourly_average",
|
|
4753
|
+
/** Regional default energy mix. */
|
|
4754
|
+
DEFAULT = "default"
|
|
4755
|
+
}
|
|
4520
4756
|
export declare type RouteOperationalElectricityEnergySources = {
|
|
4521
4757
|
/** Electricity produced by coal power plants. */
|
|
4522
4758
|
coal: ElectricityGenerationMethod;
|
|
@@ -4653,13 +4889,17 @@ export declare type RouteOperatorPreferences = {
|
|
|
4653
4889
|
ranking?: Maybe<RouteOperatorPreferencesRanking>;
|
|
4654
4890
|
/** Operators that should be excluded for a route calculation. */
|
|
4655
4891
|
exclude?: Maybe<Array<RouteOperatorsValue>>;
|
|
4892
|
+
/** Operators that should be avoided, but not excluded, for a route calculation. */
|
|
4893
|
+
avoid?: Maybe<Array<RouteOperatorsValue>>;
|
|
4656
4894
|
};
|
|
4657
4895
|
/** Prioritized operators for a route calculation. */
|
|
4658
4896
|
export declare type RouteOperatorPreferencesInput = {
|
|
4659
|
-
/**
|
|
4897
|
+
/** Operators to be preferred in route calculation. If not specified, no operator ranking is applied (including project-configured ranking). */
|
|
4660
4898
|
ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
|
|
4661
|
-
/** Operators
|
|
4899
|
+
/** Operators to be excluded from route calculation. If specified, overrides project-configured operator exclusions. If not specified, applies project-configured operator exclusions. */
|
|
4662
4900
|
exclude?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
4901
|
+
/** Operators that should be avoided, but not excluded, for a route calculation. */
|
|
4902
|
+
avoid?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
4663
4903
|
};
|
|
4664
4904
|
export declare type RouteOperatorPreferencesRanking = {
|
|
4665
4905
|
/** Flag indicating if an operator should be preferred or required. */
|
|
@@ -4668,9 +4908,9 @@ export declare type RouteOperatorPreferencesRanking = {
|
|
|
4668
4908
|
levels?: Maybe<RouteOperatorPreferencesRankingLevels>;
|
|
4669
4909
|
};
|
|
4670
4910
|
export declare type RouteOperatorPreferencesRankingInput = {
|
|
4671
|
-
/**
|
|
4911
|
+
/** Ranking enforcement type: preferred (applies ranking levels), required (routes only via ranked operators), or none (no ranking applied). */
|
|
4672
4912
|
type: RouteOperatorsType;
|
|
4673
|
-
/**
|
|
4913
|
+
/** Priority levels for operator ranking. If not specified, applies the specified enforcement type to the project-configured operator ranking. */
|
|
4674
4914
|
levels?: Maybe<RouteOperatorPreferencesRankingLevelsInput>;
|
|
4675
4915
|
};
|
|
4676
4916
|
export declare type RouteOperatorPreferencesRankingLevels = {
|
|
@@ -4771,7 +5011,7 @@ export declare type RouteOperatorsValue = {
|
|
|
4771
5011
|
export declare type RouteOperatorsValueInput = {
|
|
4772
5012
|
/** ID of an operator. */
|
|
4773
5013
|
id: Scalars["ID"];
|
|
4774
|
-
/** 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. */
|
|
4775
5015
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
4776
5016
|
};
|
|
4777
5017
|
export declare type RouteOriginFeaturePoint = {
|
|
@@ -4839,12 +5079,16 @@ export declare type RoutePropertiesStation = {
|
|
|
4839
5079
|
station_id?: Maybe<Scalars["ID"]>;
|
|
4840
5080
|
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
4841
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"]>;
|
|
4842
5084
|
};
|
|
4843
5085
|
export declare type RoutePropertiesStationInput = {
|
|
4844
5086
|
/** ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
4845
5087
|
station_id?: Maybe<Scalars["ID"]>;
|
|
4846
5088
|
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
4847
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"]>;
|
|
4848
5092
|
};
|
|
4849
5093
|
export declare type RoutePropertiesVehicle = {
|
|
4850
5094
|
/** Number of occupants present in the vehicle. */
|
|
@@ -4908,6 +5152,43 @@ export declare enum RouteSeason {
|
|
|
4908
5152
|
/** We fetch the current weather conditions. */
|
|
4909
5153
|
CURRENT = "current"
|
|
4910
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
|
+
};
|
|
4911
5192
|
export declare type RouteStationsAlong = {
|
|
4912
5193
|
/** The ID of station. */
|
|
4913
5194
|
id?: Maybe<Scalars["String"]>;
|
|
@@ -4922,6 +5203,20 @@ export declare type RouteStationsAlong = {
|
|
|
4922
5203
|
/** Distance in meters between station and route path. */
|
|
4923
5204
|
distance?: Maybe<Scalars["Int"]>;
|
|
4924
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
|
+
};
|
|
4925
5220
|
/** The status of a route. The status can be pending, processing, done, not_found or error. */
|
|
4926
5221
|
export declare enum RouteStatus {
|
|
4927
5222
|
/** Route is queued and pending processing. Temporary status. */
|
|
@@ -4961,6 +5256,13 @@ export declare enum RouteTagType {
|
|
|
4961
5256
|
WALKING = "walking",
|
|
4962
5257
|
CROSSBORDER = "crossborder"
|
|
4963
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
|
+
};
|
|
4964
5266
|
export declare type RouteVehicle = {
|
|
4965
5267
|
/** ID of the vehicle. */
|
|
4966
5268
|
id: Scalars["ID"];
|
|
@@ -4994,7 +5296,7 @@ export declare type RouteVehicle = {
|
|
|
4994
5296
|
export declare type RouteVehicleBattery = {
|
|
4995
5297
|
/** Usable capacity of a battery used to compute a route. Value must be between 50% and 150%. If not provided, it defaults to the vehicle battery.usable_kwh. */
|
|
4996
5298
|
capacity: StateOfCharge;
|
|
4997
|
-
/** Current amount of energy in a battery. If not provided, it is assumed the battery is fully charged and equal to the vehicle battery.capacity.
|
|
5299
|
+
/** Current amount of energy in a battery. If not provided, it is assumed the battery is fully charged and equal to the vehicle battery.capacity. */
|
|
4998
5300
|
state_of_charge: StateOfCharge;
|
|
4999
5301
|
/** Desired final amount of energy in a battery at the and of a trip. The value must be between 0 and 60% of the vehicle battery.capacity. If not provided—or if the specified value is below the safe risk margin—the safe risk margin is used by default. */
|
|
5000
5302
|
final_state_of_charge: StateOfCharge;
|
|
@@ -5013,7 +5315,7 @@ export declare type RouteVehicleBattery = {
|
|
|
5013
5315
|
export declare type RouteVehicleBatteryInput = {
|
|
5014
5316
|
/** Usable capacity of a battery used to compute a route. Value must be between 50% and 150%. If not provided, it defaults to the vehicle battery.usable_kwh. */
|
|
5015
5317
|
capacity?: Maybe<StateOfChargeInput>;
|
|
5016
|
-
/** Current amount of energy in a battery. If not provided, it is assumed the battery is fully charged and equal to the vehicle battery.capacity.
|
|
5318
|
+
/** Current amount of energy in a battery. If not provided, it is assumed the battery is fully charged and equal to the vehicle battery.capacity. */
|
|
5017
5319
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
5018
5320
|
/** Desired final amount of energy in a battery at the and of a trip. The value must be between 0 and 60% of the vehicle battery.capacity. If not provided—or if the specified value is below the safe risk margin—the safe risk margin is used by default. */
|
|
5019
5321
|
final_state_of_charge?: Maybe<StateOfChargeInput>;
|
|
@@ -5177,8 +5479,8 @@ export declare type RouteViaFeaturePoint = {
|
|
|
5177
5479
|
/** Feature type. */
|
|
5178
5480
|
type: FeatureType;
|
|
5179
5481
|
/** Geometry of the feature. */
|
|
5180
|
-
geometry
|
|
5181
|
-
/**
|
|
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. */
|
|
5182
5484
|
properties?: Maybe<RouteViaProperties>;
|
|
5183
5485
|
};
|
|
5184
5486
|
export declare type RouteViaFeaturePointInput = {
|
|
@@ -5187,8 +5489,8 @@ export declare type RouteViaFeaturePointInput = {
|
|
|
5187
5489
|
/** Feature type. */
|
|
5188
5490
|
type: FeatureType;
|
|
5189
5491
|
/** Geometry of the feature. */
|
|
5190
|
-
geometry
|
|
5191
|
-
/**
|
|
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. */
|
|
5192
5494
|
properties?: Maybe<RouteViaPropertiesInput>;
|
|
5193
5495
|
};
|
|
5194
5496
|
export declare type RouteViaProperties = {
|
|
@@ -5204,9 +5506,37 @@ export declare type RouteViaPropertiesInput = {
|
|
|
5204
5506
|
location?: Maybe<RoutePropertiesViaLocationInput>;
|
|
5205
5507
|
/** Vehicle data of the via point. */
|
|
5206
5508
|
vehicle?: Maybe<RoutePropertiesVehicleInput>;
|
|
5207
|
-
/**
|
|
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. */
|
|
5208
5510
|
station?: Maybe<RoutePropertiesStationInput>;
|
|
5209
5511
|
};
|
|
5512
|
+
export declare type RouteWeather = {
|
|
5513
|
+
/** Weather configuration applied to the route. */
|
|
5514
|
+
type: WeatherType;
|
|
5515
|
+
/** [BETA] Custom weather conditions applied to the route. Only present when 'type' is set to 'CUSTOM'. */
|
|
5516
|
+
custom?: Maybe<RouteWeatherCustomConditions>;
|
|
5517
|
+
};
|
|
5518
|
+
export declare type RouteWeatherCustomConditions = {
|
|
5519
|
+
/** Average ambient temperature estimated along the route. */
|
|
5520
|
+
temperature: Temperature;
|
|
5521
|
+
/** Atmospheric pressure along the route. */
|
|
5522
|
+
air_pressure: AirPressure;
|
|
5523
|
+
/** Solar irradiance along the route. */
|
|
5524
|
+
solar_irradiance: SolarIrradiance;
|
|
5525
|
+
};
|
|
5526
|
+
export declare type RouteWeatherCustomConditionsInput = {
|
|
5527
|
+
/** Average ambient temperature estimated along the route. */
|
|
5528
|
+
temperature: TemperatureInput;
|
|
5529
|
+
/** Atmospheric pressure along the route. */
|
|
5530
|
+
air_pressure: AirPressureInput;
|
|
5531
|
+
/** Solar irradiance along the route. */
|
|
5532
|
+
solar_irradiance: SolarIrradianceInput;
|
|
5533
|
+
};
|
|
5534
|
+
export declare type RouteWeatherInput = {
|
|
5535
|
+
/** Weather configuration applied to the route. */
|
|
5536
|
+
type?: Maybe<WeatherType>;
|
|
5537
|
+
/** [BETA] Custom weather conditions to apply to the route. Required only when 'type' is 'CUSTOM'. Must be omitted for other weather types. */
|
|
5538
|
+
custom?: Maybe<RouteWeatherCustomConditionsInput>;
|
|
5539
|
+
};
|
|
5210
5540
|
/** Scheduled charge stop along a route. */
|
|
5211
5541
|
export declare type ScheduledChargeStopInput = {
|
|
5212
5542
|
/** List of amenity types. */
|
|
@@ -5220,11 +5550,25 @@ export declare type ScheduledChargeStopInput = {
|
|
|
5220
5550
|
/** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. */
|
|
5221
5551
|
max_distance_from_station?: Maybe<Scalars["Int"]>;
|
|
5222
5552
|
};
|
|
5553
|
+
export declare type SolarIrradiance = {
|
|
5554
|
+
/** Value of the solar irradiance. */
|
|
5555
|
+
value: Scalars["Float"];
|
|
5556
|
+
/** Solar irradiance unit. */
|
|
5557
|
+
type: SolarIrradianceUnit;
|
|
5558
|
+
};
|
|
5559
|
+
export declare type SolarIrradianceInput = {
|
|
5560
|
+
/** Value of the solar irradiance. */
|
|
5561
|
+
value: Scalars["Float"];
|
|
5562
|
+
/** Solar irradiance unit. */
|
|
5563
|
+
type: SolarIrradianceUnit;
|
|
5564
|
+
};
|
|
5565
|
+
export declare enum SolarIrradianceUnit {
|
|
5566
|
+
WATTS_PER_SQUARE_METER = "watts_per_square_meter"
|
|
5567
|
+
}
|
|
5223
5568
|
export declare enum SortDirection {
|
|
5224
5569
|
ASCENDING = "ascending",
|
|
5225
5570
|
DESCENDING = "descending"
|
|
5226
5571
|
}
|
|
5227
|
-
/** Speed units. */
|
|
5228
5572
|
export declare enum SpeedUnit {
|
|
5229
5573
|
/** Return the speed in kilometers per hour. */
|
|
5230
5574
|
KILOMETERS_PER_HOUR = "kilometers_per_hour",
|
|
@@ -5247,7 +5591,6 @@ export declare type StateOfChargeInput = {
|
|
|
5247
5591
|
/** Source of inputted data, defaults to 'manual'. */
|
|
5248
5592
|
source?: Maybe<TelemetryInputSource>;
|
|
5249
5593
|
};
|
|
5250
|
-
/** State of charge unit. */
|
|
5251
5594
|
export declare enum StateOfChargeUnit {
|
|
5252
5595
|
/** Return the state of charge in kilometers. */
|
|
5253
5596
|
KILOMETER = "kilometer",
|
|
@@ -5426,7 +5769,7 @@ export declare type StationAroundFilter = {
|
|
|
5426
5769
|
connectors?: Maybe<Array<Maybe<ConnectorType>>>;
|
|
5427
5770
|
/** Flag that allows you to return only available stations. */
|
|
5428
5771
|
available_only?: Maybe<Scalars["Boolean"]>;
|
|
5429
|
-
/** Flag
|
|
5772
|
+
/** Flag to filter for stations operated by an operator present in the project's ranking list. */
|
|
5430
5773
|
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
5431
5774
|
};
|
|
5432
5775
|
/** Deprecated: Replaced by filter & search params. */
|
|
@@ -5473,7 +5816,7 @@ export declare type StationCustomProperties = {
|
|
|
5473
5816
|
predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
|
|
5474
5817
|
/**
|
|
5475
5818
|
* Type of access to the charging station.
|
|
5476
|
-
* @deprecated In favor of station.
|
|
5819
|
+
* @deprecated In favor of station.access_type.
|
|
5477
5820
|
*/
|
|
5478
5821
|
access_type?: Maybe<AccessType>;
|
|
5479
5822
|
/** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
@@ -5537,7 +5880,7 @@ export declare type StationListFilter = {
|
|
|
5537
5880
|
connectors?: Maybe<Array<Maybe<ConnectorType>>>;
|
|
5538
5881
|
/** Flag that allows you to return only available stations. */
|
|
5539
5882
|
available_only?: Maybe<Scalars["Boolean"]>;
|
|
5540
|
-
/** Flag
|
|
5883
|
+
/** Flag to filter for stations operated by an operator present in the project's ranking list. */
|
|
5541
5884
|
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
5542
5885
|
};
|
|
5543
5886
|
/** Deprecated: Replaced by filter & search params. */
|
|
@@ -5644,7 +5987,7 @@ export declare type Subscription = {
|
|
|
5644
5987
|
/** Subscribe to a specific route to receive system event updates. */
|
|
5645
5988
|
route: RouteResponse;
|
|
5646
5989
|
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
5647
|
-
navigationUpdatedById?: Maybe<
|
|
5990
|
+
navigationUpdatedById?: Maybe<NavigationSubscription>;
|
|
5648
5991
|
/** [BETA] Subscribe to a connected vehicle. */
|
|
5649
5992
|
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
5650
5993
|
/** Subscribe to an isoline in order to receive updates. */
|
|
@@ -5796,7 +6139,6 @@ export declare type TelemetryInput = {
|
|
|
5796
6139
|
/** Custom input fields can be added based on telemetry architecture. */
|
|
5797
6140
|
custom?: Maybe<Scalars["JSON"]>;
|
|
5798
6141
|
};
|
|
5799
|
-
/** Telemetry input sources. */
|
|
5800
6142
|
export declare enum TelemetryInputSource {
|
|
5801
6143
|
/** Manually inputted value. */
|
|
5802
6144
|
MANUAL = "manual",
|
|
@@ -5817,7 +6159,6 @@ export declare type TemperatureInput = {
|
|
|
5817
6159
|
/** Preferred unit for the temperature. */
|
|
5818
6160
|
type: TemperatureUnit;
|
|
5819
6161
|
};
|
|
5820
|
-
/** Temperature unit. */
|
|
5821
6162
|
export declare enum TemperatureUnit {
|
|
5822
6163
|
/** Return the temperature in Celsius. */
|
|
5823
6164
|
CELSIUS = "Celsius",
|
|
@@ -6201,6 +6542,10 @@ export declare type VehicleListFilter = {
|
|
|
6201
6542
|
purpose?: Maybe<Array<VehiclePurpose>>;
|
|
6202
6543
|
/** Type of vehicle. */
|
|
6203
6544
|
type?: Maybe<Array<VehicleType>>;
|
|
6545
|
+
/** [BETA] Make of vehicle. */
|
|
6546
|
+
make?: Maybe<Scalars["String"]>;
|
|
6547
|
+
/** [BETA] Model of vehicle. */
|
|
6548
|
+
model?: Maybe<Scalars["String"]>;
|
|
6204
6549
|
};
|
|
6205
6550
|
export declare type VehicleListMedia = {
|
|
6206
6551
|
/** Featured image of the vehicle from a 45-degree angle. */
|
|
@@ -6240,6 +6585,18 @@ export declare type VehicleListRouting = {
|
|
|
6240
6585
|
/** Vehicles that support fast charging have a minimum charging speed of 43 kWh. */
|
|
6241
6586
|
fast_charging_support: Scalars["Boolean"];
|
|
6242
6587
|
};
|
|
6588
|
+
/** Vehicle make data. */
|
|
6589
|
+
export declare type VehicleMake = {
|
|
6590
|
+
/** Vehicle make name. */
|
|
6591
|
+
name: Scalars["String"];
|
|
6592
|
+
/** Vehicle make image. */
|
|
6593
|
+
image: VehicleImage;
|
|
6594
|
+
};
|
|
6595
|
+
/** Vehicle makes response object. */
|
|
6596
|
+
export declare type VehicleMakesConnection = {
|
|
6597
|
+
/** List of vehicle makes. */
|
|
6598
|
+
nodes: Array<VehicleMake>;
|
|
6599
|
+
};
|
|
6243
6600
|
export declare type VehicleMedia = {
|
|
6244
6601
|
/** Featured image of the vehicle from a 45-degree angle. */
|
|
6245
6602
|
image: VehicleImage;
|
|
@@ -6266,6 +6623,25 @@ export declare enum VehicleMode {
|
|
|
6266
6623
|
/** Future releases of a vehicle, a concept of the vehicle, specs may change over time. */
|
|
6267
6624
|
CONCEPT = "concept"
|
|
6268
6625
|
}
|
|
6626
|
+
/** Vehicle model data. */
|
|
6627
|
+
export declare type VehicleModel = {
|
|
6628
|
+
/** Vehicle model name. */
|
|
6629
|
+
name: Scalars["String"];
|
|
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
|
+
};
|
|
6640
|
+
/** Filter vehicle model list result. */
|
|
6641
|
+
export declare type VehicleModelsFilter = {
|
|
6642
|
+
/** Vehicle make. */
|
|
6643
|
+
make?: Maybe<Scalars["String"]>;
|
|
6644
|
+
};
|
|
6269
6645
|
export declare type VehicleNaming = {
|
|
6270
6646
|
/** Vehicle manufacturer name. */
|
|
6271
6647
|
make: Scalars["String"];
|
|
@@ -7216,7 +7592,17 @@ export declare enum VolumeUnit {
|
|
|
7216
7592
|
/** Return the volume in cubic feet. */
|
|
7217
7593
|
CUBIC_FOOT = "cubic_foot"
|
|
7218
7594
|
}
|
|
7219
|
-
/**
|
|
7595
|
+
/** Type of weather conditions used in the route calculation. */
|
|
7596
|
+
export declare enum WeatherType {
|
|
7597
|
+
/** Fixed seasonal preset representing typical summer weather conditions. Can't be used in combination with weather.custom. */
|
|
7598
|
+
SUMMER = "summer",
|
|
7599
|
+
/** Fixed seasonal preset representing typical winter weather conditions. Can't be used in combination with weather.custom. */
|
|
7600
|
+
WINTER = "winter",
|
|
7601
|
+
/** A dynamic preset that uses real weather data based on the route's departure time. Can't be used in combination with weather.custom. */
|
|
7602
|
+
ACTUAL = "actual",
|
|
7603
|
+
/** Must be used in combination with weather.custom object. */
|
|
7604
|
+
CUSTOM = "custom"
|
|
7605
|
+
}
|
|
7220
7606
|
export declare enum WeightUnit {
|
|
7221
7607
|
/** Return the weight in kilograms. */
|
|
7222
7608
|
KILOGRAM = "kilogram",
|