@chargetrip/types 1.54.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +2 -1
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +2 -1
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +41 -23
- package/graphql.schema.json +274 -149
- package/package.json +1 -1
- package/src/graphql.ts +43 -24
package/src/graphql.ts
CHANGED
|
@@ -2203,27 +2203,6 @@ export enum LineStringType {
|
|
|
2203
2203
|
LINESTRING = "LineString"
|
|
2204
2204
|
}
|
|
2205
2205
|
|
|
2206
|
-
export type LiveRouteRequest = {
|
|
2207
|
-
/** Vehicle used on a route. */
|
|
2208
|
-
vehicle: RouteVehicle;
|
|
2209
|
-
/** Origin of a route. */
|
|
2210
|
-
origin: RouteOriginFeaturePoint;
|
|
2211
|
-
/** Destination of a route. */
|
|
2212
|
-
destination: RouteDestinationFeaturePoint;
|
|
2213
|
-
/** Via points of a route. */
|
|
2214
|
-
via?: Maybe<Array<NavigationViaFeaturePoint>>;
|
|
2215
|
-
/** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
|
|
2216
|
-
operators?: Maybe<RouteOperatorPreferences>;
|
|
2217
|
-
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
2218
|
-
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
2219
|
-
/** [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. */
|
|
2220
|
-
avoid?: Maybe<Array<RouteAvoid>>;
|
|
2221
|
-
/** [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. */
|
|
2222
|
-
driving_preferences?: Maybe<RouteDrivingPreferences>;
|
|
2223
|
-
/** Charging stations preferences for route calculation. */
|
|
2224
|
-
station_preferences?: Maybe<RouteStationPreferences>;
|
|
2225
|
-
};
|
|
2226
|
-
|
|
2227
2206
|
export type MaximumSpeed = {
|
|
2228
2207
|
/** Numeric value of the user-defined maximum speed. */
|
|
2229
2208
|
value: Scalars["Int"];
|
|
@@ -2407,7 +2386,7 @@ export enum NavigationChangeType {
|
|
|
2407
2386
|
NEXT_STATION_AVAILABILITY_UPDATED = "next_station_availability_updated"
|
|
2408
2387
|
}
|
|
2409
2388
|
|
|
2410
|
-
/** Input for the navigation
|
|
2389
|
+
/** Input for the navigation finish. */
|
|
2411
2390
|
export type NavigationFinishInput = {
|
|
2412
2391
|
/** ID of the navigation session. */
|
|
2413
2392
|
id: Scalars["ID"];
|
|
@@ -2436,6 +2415,27 @@ export type NavigationLegSectionpolylineArgs = {
|
|
|
2436
2415
|
decimals?: Maybe<PolylineInputDecimals>;
|
|
2437
2416
|
};
|
|
2438
2417
|
|
|
2418
|
+
export type NavigationLiveRouteRequest = {
|
|
2419
|
+
/** Vehicle used on a route. */
|
|
2420
|
+
vehicle: NavigationRouteVehicle;
|
|
2421
|
+
/** Origin of a route. */
|
|
2422
|
+
origin: RouteOriginFeaturePoint;
|
|
2423
|
+
/** Destination of a route. */
|
|
2424
|
+
destination: RouteDestinationFeaturePoint;
|
|
2425
|
+
/** Via points of a route. */
|
|
2426
|
+
via?: Maybe<Array<NavigationViaFeaturePoint>>;
|
|
2427
|
+
/** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
|
|
2428
|
+
operators?: Maybe<RouteOperatorPreferences>;
|
|
2429
|
+
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
2430
|
+
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
2431
|
+
/** [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. */
|
|
2432
|
+
avoid?: Maybe<Array<RouteAvoid>>;
|
|
2433
|
+
/** [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. */
|
|
2434
|
+
driving_preferences?: Maybe<RouteDrivingPreferences>;
|
|
2435
|
+
/** Charging stations preferences for route calculation. */
|
|
2436
|
+
station_preferences?: Maybe<RouteStationPreferences>;
|
|
2437
|
+
};
|
|
2438
|
+
|
|
2439
2439
|
/** Navigation meta information. */
|
|
2440
2440
|
export type NavigationMeta = {
|
|
2441
2441
|
/** Creation time of the navigation session. */
|
|
@@ -2459,9 +2459,11 @@ export type NavigationOverview = {
|
|
|
2459
2459
|
/** Navigation route instructions. */
|
|
2460
2460
|
instructions: Array<Maybe<RouteInstruction>>;
|
|
2461
2461
|
/** Continuously updated route request input. */
|
|
2462
|
-
live_route_request:
|
|
2462
|
+
live_route_request: NavigationLiveRouteRequest;
|
|
2463
2463
|
/** Polyline containing encoded coordinates. */
|
|
2464
2464
|
polyline: Scalars["String"];
|
|
2465
|
+
/** Telemetry data. */
|
|
2466
|
+
telemetry?: Maybe<Telemetry>;
|
|
2465
2467
|
};
|
|
2466
2468
|
|
|
2467
2469
|
/** Navigation session overview details. */
|
|
@@ -2584,6 +2586,21 @@ export type NavigationRouteLegrange_after_chargeArgs = {
|
|
|
2584
2586
|
unit?: Maybe<StateOfChargeUnit>;
|
|
2585
2587
|
};
|
|
2586
2588
|
|
|
2589
|
+
export type NavigationRouteVehicle = {
|
|
2590
|
+
/** ID of the vehicle. */
|
|
2591
|
+
id: Scalars["ID"];
|
|
2592
|
+
/** EV battery specific configuration. */
|
|
2593
|
+
battery: RouteVehicleBattery;
|
|
2594
|
+
/** Charging configuration. */
|
|
2595
|
+
charging: RouteVehicleCharging;
|
|
2596
|
+
/** Flag indicating if climate control is on. */
|
|
2597
|
+
climate: Scalars["Boolean"];
|
|
2598
|
+
/** Vehicle Heat Pump configuration. */
|
|
2599
|
+
heat_pump: HeatPumpMode;
|
|
2600
|
+
/** Vehicle cabin configuration used for the route calculation. Applied only if vehicle.climate is set to true. */
|
|
2601
|
+
cabin: RouteVehicleCabin;
|
|
2602
|
+
};
|
|
2603
|
+
|
|
2587
2604
|
/** Input for the navigation start. */
|
|
2588
2605
|
export type NavigationStartInput = {
|
|
2589
2606
|
/** ID of the route of the navigation session. */
|
|
@@ -6388,7 +6405,9 @@ export enum RouteWarningCode {
|
|
|
6388
6405
|
/** Operator preferences were ignored because they have not been configured for this project nor provided in the route create request. */
|
|
6389
6406
|
OPERATOR_PREFERENCES_NOT_FOUND = "operator_preferences_not_found",
|
|
6390
6407
|
/** Traffic data for this route is not available. */
|
|
6391
|
-
TRAFFIC_DATA_NOT_AVAILABLE = "traffic_data_not_available"
|
|
6408
|
+
TRAFFIC_DATA_NOT_AVAILABLE = "traffic_data_not_available",
|
|
6409
|
+
/** One or more preferred, excluded, or avoided operators have no active stations available and were ignored. */
|
|
6410
|
+
OPERATORS_IGNORED = "operators_ignored"
|
|
6392
6411
|
}
|
|
6393
6412
|
|
|
6394
6413
|
export type RouteWeather = {
|