@chargetrip/types 1.47.0 → 1.47.1
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/CHANGELOG.md +7 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +49 -11
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +49 -11
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +277 -44
- package/graphql.schema.json +1481 -111
- package/package.json +1 -1
- package/src/graphql.ts +304 -45
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",
|
|
@@ -807,6 +900,7 @@ export declare type Contact = {
|
|
|
807
900
|
};
|
|
808
901
|
/** ISO-3166 alpha-2 country codes. */
|
|
809
902
|
export declare enum CountryCodeAlpha2 {
|
|
903
|
+
AA = "AA",
|
|
810
904
|
AD = "AD",
|
|
811
905
|
AE = "AE",
|
|
812
906
|
AF = "AF",
|
|
@@ -1088,8 +1182,11 @@ export declare type CreateRoute = {
|
|
|
1088
1182
|
via?: Maybe<Array<RouteViaFeaturePoint>>;
|
|
1089
1183
|
/** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
|
|
1090
1184
|
operators?: Maybe<RouteOperatorPreferences>;
|
|
1091
|
-
/**
|
|
1092
|
-
|
|
1185
|
+
/**
|
|
1186
|
+
* Season of a route.
|
|
1187
|
+
* @deprecated In favor of weather.
|
|
1188
|
+
*/
|
|
1189
|
+
season?: Maybe<RouteSeason>;
|
|
1093
1190
|
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
1094
1191
|
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
1095
1192
|
/** Route departure time. Used to calculate the expected arrival time and, if set in the past, to apply historical weather data. */
|
|
@@ -1098,6 +1195,8 @@ export declare type CreateRoute = {
|
|
|
1098
1195
|
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1099
1196
|
/** [BETA] User-defined maximum speed used for this route, if provided. */
|
|
1100
1197
|
maximum_speed?: Maybe<MaximumSpeed>;
|
|
1198
|
+
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1199
|
+
weather?: Maybe<RouteWeather>;
|
|
1101
1200
|
};
|
|
1102
1201
|
/** Input for the create route mutation. */
|
|
1103
1202
|
export declare type CreateRouteInput = {
|
|
@@ -1121,6 +1220,8 @@ export declare type CreateRouteInput = {
|
|
|
1121
1220
|
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1122
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. */
|
|
1123
1222
|
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
1223
|
+
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1224
|
+
weather?: Maybe<RouteWeatherInput>;
|
|
1124
1225
|
};
|
|
1125
1226
|
/** Currency in the ISO 4217 format. */
|
|
1126
1227
|
export declare enum Currency {
|
|
@@ -1464,7 +1565,6 @@ export declare enum DimensionUnit {
|
|
|
1464
1565
|
/** Return the dimension in miles. */
|
|
1465
1566
|
MILE = "mile"
|
|
1466
1567
|
}
|
|
1467
|
-
/** Distance unit */
|
|
1468
1568
|
export declare enum DistanceUnit {
|
|
1469
1569
|
/** Return the distance in meters. */
|
|
1470
1570
|
METER = "meter",
|
|
@@ -1965,7 +2065,10 @@ export declare type Mutation = {
|
|
|
1965
2065
|
* This is a premium feature, contact Chargetrip for more information.
|
|
1966
2066
|
*/
|
|
1967
2067
|
deleteUserReview: Review;
|
|
1968
|
-
/**
|
|
2068
|
+
/**
|
|
2069
|
+
* Deprecated: In favor of createRoute.
|
|
2070
|
+
* @deprecated In favor of `createRoute`.
|
|
2071
|
+
*/
|
|
1969
2072
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
1970
2073
|
/** Create a new route from the route input and its ID. */
|
|
1971
2074
|
createRoute: Scalars["ID"];
|
|
@@ -2750,6 +2853,10 @@ export declare type Operator = {
|
|
|
2750
2853
|
export declare type OperatorListFilter = {
|
|
2751
2854
|
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
2752
2855
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
2856
|
+
/** 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. */
|
|
2857
|
+
ranking?: Maybe<Array<Scalars["Int"]>>;
|
|
2858
|
+
/** 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. */
|
|
2859
|
+
excluded?: Maybe<Scalars["Boolean"]>;
|
|
2753
2860
|
/** 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
2861
|
ranking_levels?: Maybe<OperatorRankingLevelsFilter>;
|
|
2755
2862
|
/** 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. */
|
|
@@ -2886,7 +2993,6 @@ export declare enum PowerUnit {
|
|
|
2886
2993
|
/** Return the power in horsepower. */
|
|
2887
2994
|
HORSEPOWER = "horsepower"
|
|
2888
2995
|
}
|
|
2889
|
-
/** Pressure units. */
|
|
2890
2996
|
export declare enum PressureUnit {
|
|
2891
2997
|
/** Return the pressure in bar. */
|
|
2892
2998
|
BAR = "bar",
|
|
@@ -2938,7 +3044,7 @@ export declare type PricingListProduct = {
|
|
|
2938
3044
|
currency?: Maybe<Scalars["String"]>;
|
|
2939
3045
|
};
|
|
2940
3046
|
export declare type Query = {
|
|
2941
|
-
/** Get a full list of amenities around a station */
|
|
3047
|
+
/** Get a full list of amenities around a station. */
|
|
2942
3048
|
amenityList?: Maybe<Array<Maybe<Amenity>>>;
|
|
2943
3049
|
/** [BETA] Get a connected vehicles by id */
|
|
2944
3050
|
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
@@ -2962,16 +3068,25 @@ export declare type Query = {
|
|
|
2962
3068
|
* This is a premium feature, contact Chargetrip for more information.
|
|
2963
3069
|
*/
|
|
2964
3070
|
userReviewList?: Maybe<Array<Review>>;
|
|
2965
|
-
/**
|
|
3071
|
+
/**
|
|
3072
|
+
* Deprecated: In favor of getRouteEmissions.
|
|
3073
|
+
* @deprecated In favor of `getRouteEmissions`.
|
|
3074
|
+
*/
|
|
2966
3075
|
routeEmissions: RouteEmissions;
|
|
2967
|
-
/**
|
|
3076
|
+
/**
|
|
3077
|
+
* Deprecated: In favor of getRoute.
|
|
3078
|
+
* @deprecated In favor of `getRoute`.
|
|
3079
|
+
*/
|
|
2968
3080
|
route?: Maybe<Route>;
|
|
2969
|
-
/**
|
|
3081
|
+
/**
|
|
3082
|
+
* Deprecated: In favor of RouteDetails.path_plot.
|
|
3083
|
+
* @deprecated In favor of `RouteDetails.path_plot`.
|
|
3084
|
+
*/
|
|
2970
3085
|
routePath?: Maybe<RoutePath>;
|
|
2971
|
-
/** Get a route by ID. */
|
|
2972
|
-
getRoute: RouteResponse;
|
|
2973
3086
|
/** Get emissions for a route. */
|
|
2974
3087
|
getRouteEmissions: RouteDetailsEmissions;
|
|
3088
|
+
/** Get a route by ID. */
|
|
3089
|
+
getRoute: RouteResponse;
|
|
2975
3090
|
/** Get information about a station by its ID. */
|
|
2976
3091
|
station?: Maybe<Station>;
|
|
2977
3092
|
/** Get a full list of stations. */
|
|
@@ -2988,9 +3103,16 @@ export declare type Query = {
|
|
|
2988
3103
|
vehiclePremium?: Maybe<VehiclePremium>;
|
|
2989
3104
|
/** Get a full list of vehicles. */
|
|
2990
3105
|
vehicleList?: Maybe<Array<Maybe<VehicleList>>>;
|
|
3106
|
+
/** [BETA] Get a full list of vehicle makes. */
|
|
3107
|
+
vehicleMakes: VehicleMakesResponse;
|
|
3108
|
+
/** [BETA] Get a full list of vehicle make models. */
|
|
3109
|
+
vehicleModels: VehicleModelsResponse;
|
|
2991
3110
|
};
|
|
2992
3111
|
export declare type QueryamenityListArgs = {
|
|
2993
3112
|
stationId: Scalars["ID"];
|
|
3113
|
+
filter?: Maybe<AmenityListFilter>;
|
|
3114
|
+
size?: Maybe<Scalars["Int"]>;
|
|
3115
|
+
page?: Maybe<Scalars["Int"]>;
|
|
2994
3116
|
};
|
|
2995
3117
|
export declare type QueryconnectedVehicleArgs = {
|
|
2996
3118
|
id: Scalars["ID"];
|
|
@@ -3040,13 +3162,13 @@ export declare type QueryroutePathArgs = {
|
|
|
3040
3162
|
location: PointInput;
|
|
3041
3163
|
alternativeId?: Maybe<Scalars["ID"]>;
|
|
3042
3164
|
};
|
|
3043
|
-
export declare type QuerygetRouteArgs = {
|
|
3044
|
-
id: Scalars["ID"];
|
|
3045
|
-
};
|
|
3046
3165
|
export declare type QuerygetRouteEmissionsArgs = {
|
|
3047
3166
|
route_id: Scalars["ID"];
|
|
3048
3167
|
route_details_id: Scalars["ID"];
|
|
3049
3168
|
};
|
|
3169
|
+
export declare type QuerygetRouteArgs = {
|
|
3170
|
+
id: Scalars["ID"];
|
|
3171
|
+
};
|
|
3050
3172
|
export declare type QuerystationArgs = {
|
|
3051
3173
|
id?: Maybe<Scalars["ID"]>;
|
|
3052
3174
|
evse_id?: Maybe<Scalars["String"]>;
|
|
@@ -3087,6 +3209,13 @@ export declare type QueryvehicleListArgs = {
|
|
|
3087
3209
|
size?: Maybe<Scalars["Int"]>;
|
|
3088
3210
|
page?: Maybe<Scalars["Int"]>;
|
|
3089
3211
|
};
|
|
3212
|
+
export declare type QueryvehicleMakesArgs = {
|
|
3213
|
+
country?: Maybe<CountryCodeAlpha2>;
|
|
3214
|
+
};
|
|
3215
|
+
export declare type QueryvehicleModelsArgs = {
|
|
3216
|
+
filter: VehicleModelsFilter;
|
|
3217
|
+
country?: Maybe<CountryCodeAlpha2>;
|
|
3218
|
+
};
|
|
3090
3219
|
export declare type RemoveConnectedVehicleInput = {
|
|
3091
3220
|
/** Id from the connected vehicle */
|
|
3092
3221
|
id: Scalars["ID"];
|
|
@@ -3219,15 +3348,17 @@ export declare type RequestEvInput = {
|
|
|
3219
3348
|
heatPump?: Maybe<HeatPumpMode>;
|
|
3220
3349
|
/** Vehicle cabin configuration. */
|
|
3221
3350
|
cabin?: Maybe<RequestEvCabinInput>;
|
|
3351
|
+
/** Number of passengers on board. */
|
|
3352
|
+
numberOfPassengers?: Maybe<Scalars["Int"]>;
|
|
3222
3353
|
/** Number of occupants. */
|
|
3223
3354
|
occupants?: Maybe<Scalars["Int"]>;
|
|
3224
3355
|
/** Cargo weight, in kg. */
|
|
3225
3356
|
cargo?: Maybe<Scalars["Int"]>;
|
|
3226
3357
|
/** Consumption specific to the EV or inputted by the request. */
|
|
3227
3358
|
consumption?: Maybe<RequestEvConsumptionInput>;
|
|
3228
|
-
/**
|
|
3359
|
+
/** In favor of `consumption`. */
|
|
3229
3360
|
auxConsumption?: Maybe<Scalars["Float"]>;
|
|
3230
|
-
/**
|
|
3361
|
+
/** In favor of `consumption`. */
|
|
3231
3362
|
bmsConsumption?: Maybe<Scalars["Float"]>;
|
|
3232
3363
|
};
|
|
3233
3364
|
export declare type RequestEvPlug = {
|
|
@@ -3287,7 +3418,10 @@ export declare type RequestRoute = {
|
|
|
3287
3418
|
via?: Maybe<Array<Maybe<FeaturePoint>>>;
|
|
3288
3419
|
/** Radius in meters for alternative stations along a route (min 500 - max 5000). */
|
|
3289
3420
|
stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
|
|
3290
|
-
/**
|
|
3421
|
+
/**
|
|
3422
|
+
* 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.
|
|
3423
|
+
* @deprecated Deprecated: all routes will have turn-by-turn instructions prepared. Boolean will be ignored.
|
|
3424
|
+
*/
|
|
3291
3425
|
instructions?: Maybe<Scalars["Boolean"]>;
|
|
3292
3426
|
/** Mode that indicates if we optimize the charging time or always charge to the maximum capacity. */
|
|
3293
3427
|
chargeMode?: Maybe<ChargeMode>;
|
|
@@ -3711,7 +3845,7 @@ export declare type RouteDetailsLeg = {
|
|
|
3711
3845
|
range_after_charge?: Maybe<Scalars["Float"]>;
|
|
3712
3846
|
/** Type of a leg. */
|
|
3713
3847
|
type: RouteDetailsLegType;
|
|
3714
|
-
/** Information about the station at the destination of a leg.
|
|
3848
|
+
/** Information about the station at the destination of a leg. */
|
|
3715
3849
|
station?: Maybe<RouteDetailsLegStation>;
|
|
3716
3850
|
/** Polyline containing encoded coordinates. */
|
|
3717
3851
|
polyline: Scalars["String"];
|
|
@@ -4309,6 +4443,8 @@ export declare type RouteLegOperationalElectricityEmissionsIntensity = {
|
|
|
4309
4443
|
base_iso_14083_2023_regional_value: EmissionsFactor;
|
|
4310
4444
|
/** Electricity mix for the leg. */
|
|
4311
4445
|
energy_sources: RouteOperationalElectricityEnergySources;
|
|
4446
|
+
/** Model used to estimate the electricity mix. */
|
|
4447
|
+
energy_source_model: RouteOperationalElectricityEnergySourceModel;
|
|
4312
4448
|
/** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
|
|
4313
4449
|
infrastructure: Scalars["Float"];
|
|
4314
4450
|
/** Season for which the leg was calculated. */
|
|
@@ -4517,6 +4653,23 @@ export declare type RouteOperationalElectricityEmissionsIntensityiso_14083_2023A
|
|
|
4517
4653
|
export declare type RouteOperationalElectricityEmissionsIntensityinfrastructureArgs = {
|
|
4518
4654
|
unit?: Maybe<EmissionUnit>;
|
|
4519
4655
|
};
|
|
4656
|
+
/** Energy source models. */
|
|
4657
|
+
export declare enum RouteOperationalElectricityEnergySourceModel {
|
|
4658
|
+
/** Historical average energy mix for the month. */
|
|
4659
|
+
GRID_MONTHLY_AVERAGE = "grid_monthly_average",
|
|
4660
|
+
/** Historical average energy mix for the month and hour. */
|
|
4661
|
+
GRID_HOURLY_AVERAGE = "grid_hourly_average",
|
|
4662
|
+
/** Estimate using historical average electricity demand for the month. */
|
|
4663
|
+
GRID_DEMAND_BASED_MONTHLY_AVERAGE = "grid_demand_based_monthly_average",
|
|
4664
|
+
/** Estimate using historical average electricity demand for the month and hour. */
|
|
4665
|
+
GRID_DEMAND_BASED_HOURLY_AVERAGE = "grid_demand_based_hourly_average",
|
|
4666
|
+
/** Estimate using the seasonal average electricity demand for the climate. */
|
|
4667
|
+
CLIMATE_DEMAND_BASED_SEASONAL_AVERAGE = "climate_demand_based_seasonal_average",
|
|
4668
|
+
/** Estimate using the seasonal average electricity demand for the hour and climate. */
|
|
4669
|
+
CLIMATE_DEMAND_BASED_HOURLY_AVERAGE = "climate_demand_based_hourly_average",
|
|
4670
|
+
/** Regional default energy mix. */
|
|
4671
|
+
DEFAULT = "default"
|
|
4672
|
+
}
|
|
4520
4673
|
export declare type RouteOperationalElectricityEnergySources = {
|
|
4521
4674
|
/** Electricity produced by coal power plants. */
|
|
4522
4675
|
coal: ElectricityGenerationMethod;
|
|
@@ -4994,7 +5147,7 @@ export declare type RouteVehicle = {
|
|
|
4994
5147
|
export declare type RouteVehicleBattery = {
|
|
4995
5148
|
/** 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
5149
|
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.
|
|
5150
|
+
/** 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
5151
|
state_of_charge: StateOfCharge;
|
|
4999
5152
|
/** 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
5153
|
final_state_of_charge: StateOfCharge;
|
|
@@ -5013,7 +5166,7 @@ export declare type RouteVehicleBattery = {
|
|
|
5013
5166
|
export declare type RouteVehicleBatteryInput = {
|
|
5014
5167
|
/** 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
5168
|
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.
|
|
5169
|
+
/** 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
5170
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
5018
5171
|
/** 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
5172
|
final_state_of_charge?: Maybe<StateOfChargeInput>;
|
|
@@ -5207,6 +5360,34 @@ export declare type RouteViaPropertiesInput = {
|
|
|
5207
5360
|
/** Station data of the via point. */
|
|
5208
5361
|
station?: Maybe<RoutePropertiesStationInput>;
|
|
5209
5362
|
};
|
|
5363
|
+
export declare type RouteWeather = {
|
|
5364
|
+
/** Weather configuration applied to the route. */
|
|
5365
|
+
type: WeatherType;
|
|
5366
|
+
/** [BETA] Custom weather conditions applied to the route. Only present when 'type' is set to 'CUSTOM'. */
|
|
5367
|
+
custom?: Maybe<RouteWeatherCustomConditions>;
|
|
5368
|
+
};
|
|
5369
|
+
export declare type RouteWeatherCustomConditions = {
|
|
5370
|
+
/** Average ambient temperature estimated along the route. */
|
|
5371
|
+
temperature: Temperature;
|
|
5372
|
+
/** Atmospheric pressure along the route. */
|
|
5373
|
+
air_pressure: AirPressure;
|
|
5374
|
+
/** Solar irradiance along the route. */
|
|
5375
|
+
solar_irradiance: SolarIrradiance;
|
|
5376
|
+
};
|
|
5377
|
+
export declare type RouteWeatherCustomConditionsInput = {
|
|
5378
|
+
/** Average ambient temperature estimated along the route. */
|
|
5379
|
+
temperature: TemperatureInput;
|
|
5380
|
+
/** Atmospheric pressure along the route. */
|
|
5381
|
+
air_pressure: AirPressureInput;
|
|
5382
|
+
/** Solar irradiance along the route. */
|
|
5383
|
+
solar_irradiance: SolarIrradianceInput;
|
|
5384
|
+
};
|
|
5385
|
+
export declare type RouteWeatherInput = {
|
|
5386
|
+
/** Weather configuration applied to the route. */
|
|
5387
|
+
type?: Maybe<WeatherType>;
|
|
5388
|
+
/** [BETA] Custom weather conditions to apply to the route. Required only when 'type' is 'CUSTOM'. Must be omitted for other weather types. */
|
|
5389
|
+
custom?: Maybe<RouteWeatherCustomConditionsInput>;
|
|
5390
|
+
};
|
|
5210
5391
|
/** Scheduled charge stop along a route. */
|
|
5211
5392
|
export declare type ScheduledChargeStopInput = {
|
|
5212
5393
|
/** List of amenity types. */
|
|
@@ -5220,11 +5401,25 @@ export declare type ScheduledChargeStopInput = {
|
|
|
5220
5401
|
/** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. */
|
|
5221
5402
|
max_distance_from_station?: Maybe<Scalars["Int"]>;
|
|
5222
5403
|
};
|
|
5404
|
+
export declare type SolarIrradiance = {
|
|
5405
|
+
/** Value of the solar irradiance. */
|
|
5406
|
+
value: Scalars["Float"];
|
|
5407
|
+
/** Solar irradiance unit. */
|
|
5408
|
+
type: SolarIrradianceUnit;
|
|
5409
|
+
};
|
|
5410
|
+
export declare type SolarIrradianceInput = {
|
|
5411
|
+
/** Value of the solar irradiance. */
|
|
5412
|
+
value: Scalars["Float"];
|
|
5413
|
+
/** Solar irradiance unit. */
|
|
5414
|
+
type: SolarIrradianceUnit;
|
|
5415
|
+
};
|
|
5416
|
+
export declare enum SolarIrradianceUnit {
|
|
5417
|
+
WATTS_PER_SQUARE_METER = "watts_per_square_meter"
|
|
5418
|
+
}
|
|
5223
5419
|
export declare enum SortDirection {
|
|
5224
5420
|
ASCENDING = "ascending",
|
|
5225
5421
|
DESCENDING = "descending"
|
|
5226
5422
|
}
|
|
5227
|
-
/** Speed units. */
|
|
5228
5423
|
export declare enum SpeedUnit {
|
|
5229
5424
|
/** Return the speed in kilometers per hour. */
|
|
5230
5425
|
KILOMETERS_PER_HOUR = "kilometers_per_hour",
|
|
@@ -5247,7 +5442,6 @@ export declare type StateOfChargeInput = {
|
|
|
5247
5442
|
/** Source of inputted data, defaults to 'manual'. */
|
|
5248
5443
|
source?: Maybe<TelemetryInputSource>;
|
|
5249
5444
|
};
|
|
5250
|
-
/** State of charge unit. */
|
|
5251
5445
|
export declare enum StateOfChargeUnit {
|
|
5252
5446
|
/** Return the state of charge in kilometers. */
|
|
5253
5447
|
KILOMETER = "kilometer",
|
|
@@ -5473,7 +5667,7 @@ export declare type StationCustomProperties = {
|
|
|
5473
5667
|
predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
|
|
5474
5668
|
/**
|
|
5475
5669
|
* Type of access to the charging station.
|
|
5476
|
-
* @deprecated In favor of station.
|
|
5670
|
+
* @deprecated In favor of station.access_type.
|
|
5477
5671
|
*/
|
|
5478
5672
|
access_type?: Maybe<AccessType>;
|
|
5479
5673
|
/** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
@@ -5796,7 +5990,6 @@ export declare type TelemetryInput = {
|
|
|
5796
5990
|
/** Custom input fields can be added based on telemetry architecture. */
|
|
5797
5991
|
custom?: Maybe<Scalars["JSON"]>;
|
|
5798
5992
|
};
|
|
5799
|
-
/** Telemetry input sources. */
|
|
5800
5993
|
export declare enum TelemetryInputSource {
|
|
5801
5994
|
/** Manually inputted value. */
|
|
5802
5995
|
MANUAL = "manual",
|
|
@@ -5817,7 +6010,6 @@ export declare type TemperatureInput = {
|
|
|
5817
6010
|
/** Preferred unit for the temperature. */
|
|
5818
6011
|
type: TemperatureUnit;
|
|
5819
6012
|
};
|
|
5820
|
-
/** Temperature unit. */
|
|
5821
6013
|
export declare enum TemperatureUnit {
|
|
5822
6014
|
/** Return the temperature in Celsius. */
|
|
5823
6015
|
CELSIUS = "Celsius",
|
|
@@ -6201,6 +6393,10 @@ export declare type VehicleListFilter = {
|
|
|
6201
6393
|
purpose?: Maybe<Array<VehiclePurpose>>;
|
|
6202
6394
|
/** Type of vehicle. */
|
|
6203
6395
|
type?: Maybe<Array<VehicleType>>;
|
|
6396
|
+
/** [BETA] Make of vehicle. */
|
|
6397
|
+
make?: Maybe<Scalars["String"]>;
|
|
6398
|
+
/** [BETA] Model of vehicle. */
|
|
6399
|
+
model?: Maybe<Scalars["String"]>;
|
|
6204
6400
|
};
|
|
6205
6401
|
export declare type VehicleListMedia = {
|
|
6206
6402
|
/** Featured image of the vehicle from a 45-degree angle. */
|
|
@@ -6240,6 +6436,18 @@ export declare type VehicleListRouting = {
|
|
|
6240
6436
|
/** Vehicles that support fast charging have a minimum charging speed of 43 kWh. */
|
|
6241
6437
|
fast_charging_support: Scalars["Boolean"];
|
|
6242
6438
|
};
|
|
6439
|
+
/** Vehicle make data. */
|
|
6440
|
+
export declare type VehicleMake = {
|
|
6441
|
+
/** Vehicle make name. */
|
|
6442
|
+
name: Scalars["String"];
|
|
6443
|
+
/** Vehicle make image. */
|
|
6444
|
+
image: VehicleImage;
|
|
6445
|
+
};
|
|
6446
|
+
/** Vehicle makes response object. */
|
|
6447
|
+
export declare type VehicleMakesResponse = {
|
|
6448
|
+
/** Elements of the vehicle make list. */
|
|
6449
|
+
items: Array<VehicleMake>;
|
|
6450
|
+
};
|
|
6243
6451
|
export declare type VehicleMedia = {
|
|
6244
6452
|
/** Featured image of the vehicle from a 45-degree angle. */
|
|
6245
6453
|
image: VehicleImage;
|
|
@@ -6266,6 +6474,21 @@ export declare enum VehicleMode {
|
|
|
6266
6474
|
/** Future releases of a vehicle, a concept of the vehicle, specs may change over time. */
|
|
6267
6475
|
CONCEPT = "concept"
|
|
6268
6476
|
}
|
|
6477
|
+
/** Vehicle model data. */
|
|
6478
|
+
export declare type VehicleModel = {
|
|
6479
|
+
/** Vehicle model name. */
|
|
6480
|
+
name: Scalars["String"];
|
|
6481
|
+
};
|
|
6482
|
+
/** Filter vehicle model list result. */
|
|
6483
|
+
export declare type VehicleModelsFilter = {
|
|
6484
|
+
/** Vehicle make. */
|
|
6485
|
+
make: Scalars["String"];
|
|
6486
|
+
};
|
|
6487
|
+
/** Vehicle models response object. */
|
|
6488
|
+
export declare type VehicleModelsResponse = {
|
|
6489
|
+
/** Elements of the vehicle model list. */
|
|
6490
|
+
items: Array<VehicleModel>;
|
|
6491
|
+
};
|
|
6269
6492
|
export declare type VehicleNaming = {
|
|
6270
6493
|
/** Vehicle manufacturer name. */
|
|
6271
6494
|
make: Scalars["String"];
|
|
@@ -7216,7 +7439,17 @@ export declare enum VolumeUnit {
|
|
|
7216
7439
|
/** Return the volume in cubic feet. */
|
|
7217
7440
|
CUBIC_FOOT = "cubic_foot"
|
|
7218
7441
|
}
|
|
7219
|
-
/**
|
|
7442
|
+
/** Type of weather conditions used in the route calculation. */
|
|
7443
|
+
export declare enum WeatherType {
|
|
7444
|
+
/** Fixed seasonal preset representing typical summer weather conditions. Can't be used in combination with weather.custom. */
|
|
7445
|
+
SUMMER = "summer",
|
|
7446
|
+
/** Fixed seasonal preset representing typical winter weather conditions. Can't be used in combination with weather.custom. */
|
|
7447
|
+
WINTER = "winter",
|
|
7448
|
+
/** A dynamic preset that uses real weather data based on the route's departure time. Can't be used in combination with weather.custom. */
|
|
7449
|
+
ACTUAL = "actual",
|
|
7450
|
+
/** Must be used in combination with weather.custom object. */
|
|
7451
|
+
CUSTOM = "custom"
|
|
7452
|
+
}
|
|
7220
7453
|
export declare enum WeightUnit {
|
|
7221
7454
|
/** Return the weight in kilograms. */
|
|
7222
7455
|
KILOGRAM = "kilogram",
|