@chargetrip/types 1.62.0 → 1.64.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.map +1 -1
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +18 -17
- package/graphql.schema.json +15 -15
- package/package.json +1 -1
- package/src/graphql.ts +18 -17
package/dist/ts/graphql.d.ts
CHANGED
|
@@ -118,7 +118,10 @@ export declare type AlternativeStationRadius = {
|
|
|
118
118
|
value: Scalars["Float"];
|
|
119
119
|
/** Preferred unit for the alternative station radius. */
|
|
120
120
|
type: DistanceUnit;
|
|
121
|
-
/**
|
|
121
|
+
/**
|
|
122
|
+
* Source of inputted data.
|
|
123
|
+
* @deprecated Not in use.
|
|
124
|
+
*/
|
|
122
125
|
source: TelemetryInputSource;
|
|
123
126
|
};
|
|
124
127
|
export declare type AlternativeStationRadiusInput = {
|
|
@@ -658,10 +661,9 @@ export declare type ConnectorPriceElementComponent = {
|
|
|
658
661
|
/** Applicable VAT. */
|
|
659
662
|
vat: Scalars["Float"];
|
|
660
663
|
/**
|
|
661
|
-
*
|
|
662
|
-
* unit is billed in step-size blocks. For example, if the type is TIME and step_size is 300, then the time is billed in blocks of 5 minutes. Hence, if 6 minutes is used, then 10 minutes (2 blocks of step_size) is billed.
|
|
663
|
-
*
|
|
664
|
-
* Note: step_size also depends on the type. Every type (except FLAT) defines a step_size multiplier. This is the size of every 'step' and the unit. For example, PARKING_TIME has a step-size multiplier of 1 second. Therefore, the step_size of a price component is multiplied by 1 second. Thus, step_size = 300 means 300 seconds.
|
|
664
|
+
* Indicates the minimum amount that is billed.
|
|
665
|
+
* A unit is billed in step-size blocks. For example, if the type is TIME and step_size is 300, then the time is billed in blocks of 5 minutes. Hence, if 6 minutes is used, then 10 minutes (2 blocks of step_size) is billed.
|
|
666
|
+
* Note: step_size also depends on the type. Every type (except FLAT) defines a step_size multiplier. This is the size of every 'step' and the unit. For example, PARKING_TIME has a step-size multiplier of 1 second. Therefore, the step_size of a price component is multiplied by 1 second. Thus, step_size = 300 means 300 seconds."
|
|
665
667
|
*/
|
|
666
668
|
step_size: Scalars["Int"];
|
|
667
669
|
};
|
|
@@ -671,7 +673,7 @@ export declare enum ConnectorPriceElementComponentType {
|
|
|
671
673
|
ENERGY = "energy",
|
|
672
674
|
/** Fixed price per charging session. */
|
|
673
675
|
FLAT = "flat",
|
|
674
|
-
/** Parking price per hour. This fee is applicable
|
|
676
|
+
/** Parking price per hour. This fee is applicable if the parked car is not charging. */
|
|
675
677
|
PARKING_TIME = "parking_time",
|
|
676
678
|
/** Fixed price per unit of time defined in the step size. */
|
|
677
679
|
TIME = "time"
|
|
@@ -718,7 +720,6 @@ export declare type ConnectorPriceElementRestrictions = {
|
|
|
718
720
|
* A reservation starts when the reservation is made, and ends when the driver starts charging on the reserved EVSE/Location,
|
|
719
721
|
* or when the reservation expires. A reservation can only have: `flat` and `time` ConnectorPriceElementComponentType,
|
|
720
722
|
* where time is for the duration of the reservation.
|
|
721
|
-
*
|
|
722
723
|
* When a price has both, `reservation` and `reservation_expires` ConnectorPriceElement,
|
|
723
724
|
* where both ConnectorPriceElement have a time ConnectorPriceElementComponent,
|
|
724
725
|
* then the time based cost of an expired reservation will be calculated based on the `reservation_expires` ConnectorPriceElement.
|
|
@@ -1193,18 +1194,18 @@ export declare type CreateRoute = {
|
|
|
1193
1194
|
destination: RouteDestinationFeaturePoint;
|
|
1194
1195
|
/** Via points of a route. */
|
|
1195
1196
|
via?: Maybe<Array<RouteViaFeaturePoint>>;
|
|
1196
|
-
/** Operator preferences for a route.
|
|
1197
|
+
/** Operator preferences for a route. */
|
|
1197
1198
|
operators?: Maybe<RouteOperatorPreferences>;
|
|
1198
1199
|
/**
|
|
1199
1200
|
* Season of a route.
|
|
1200
1201
|
* @deprecated In favor of `weather`.
|
|
1201
1202
|
*/
|
|
1202
1203
|
season?: Maybe<RouteSeason>;
|
|
1203
|
-
/**
|
|
1204
|
+
/** Search radius for alternative charging stations along the route. Accepts a value between 500 and 5000 meters (or unit equivalent). If not specified, disables the alternative station search for the generated route. */
|
|
1204
1205
|
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
1205
1206
|
/** [BETA] Number of alternative routes to request. */
|
|
1206
1207
|
alternative_routes?: Maybe<Scalars["Int"]>;
|
|
1207
|
-
/** Route departure time.
|
|
1208
|
+
/** Route departure time. */
|
|
1208
1209
|
departure_time: Scalars["DateTime"];
|
|
1209
1210
|
/** [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. */
|
|
1210
1211
|
avoid?: Maybe<Array<RouteAvoid>>;
|
|
@@ -1229,17 +1230,17 @@ export declare type CreateRouteInput = {
|
|
|
1229
1230
|
via?: Maybe<Array<RouteViaFeaturePointInput>>;
|
|
1230
1231
|
/** Operator preferences and restrictions for route calculation. If not specified, excludes operators per project settings, but applies no operator ranking. */
|
|
1231
1232
|
operators?: Maybe<RouteOperatorPreferencesInput>;
|
|
1232
|
-
/** Optional flag to specify the season. */
|
|
1233
|
+
/** Optional flag to specify the season. If not specified, defaults to real-time weather data */
|
|
1233
1234
|
season?: Maybe<RouteSeason>;
|
|
1234
|
-
/**
|
|
1235
|
+
/** Search radius for alternative charging stations along the route. Accepts a value between 500 and 5000 meters (or unit equivalent). If not specified, disables the alternative station search for the generated route. */
|
|
1235
1236
|
alternative_station_radius?: Maybe<AlternativeStationRadiusInput>;
|
|
1236
1237
|
/** [BETA] Additional alternative routes to calculate. Performed on a best-effort basis, it may return fewer than requested, or even none. Set to 0 to create only the recommended route. */
|
|
1237
1238
|
alternative_routes?: Maybe<Scalars["Int"]>;
|
|
1238
|
-
/** Route departure time. Used to calculate the expected arrival time
|
|
1239
|
+
/** Route departure time. Used to calculate the expected arrival time. If not specified, defaults to the route's request time. */
|
|
1239
1240
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1240
1241
|
/** [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. */
|
|
1241
1242
|
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1242
|
-
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1243
|
+
/** Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to real-time weather data. */
|
|
1243
1244
|
weather?: Maybe<RouteWeatherInput>;
|
|
1244
1245
|
/** Charging stations preferences for route calculation. */
|
|
1245
1246
|
station_preferences?: Maybe<RouteStationPreferencesInput>;
|
|
@@ -4104,7 +4105,7 @@ export declare type RouteDestinationProperties = {
|
|
|
4104
4105
|
export declare type RouteDestinationPropertiesInput = {
|
|
4105
4106
|
/** Data about the destination location. */
|
|
4106
4107
|
location?: Maybe<RoutePropertiesLocationInput>;
|
|
4107
|
-
/** Specifies a charging station at the destination. If
|
|
4108
|
+
/** Specifies a charging station at the destination. If an existing station is provided, it is treated as a regular location stop and no charging will be scheduled at this location. Any configured operator preferences are ignored for this stop. */
|
|
4108
4109
|
station?: Maybe<RoutePropertiesStationInput>;
|
|
4109
4110
|
};
|
|
4110
4111
|
export declare type RouteDetails = {
|
|
@@ -5475,7 +5476,7 @@ export declare type RoutePropertiesStation = {
|
|
|
5475
5476
|
station_id?: Maybe<Scalars["ID"]>;
|
|
5476
5477
|
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
5477
5478
|
external_station_id?: Maybe<Scalars["ID"]>;
|
|
5478
|
-
/** Duration to stay at the station, in seconds.
|
|
5479
|
+
/** Duration to stay at the station, in seconds. */
|
|
5479
5480
|
stop_duration?: Maybe<Scalars["Int"]>;
|
|
5480
5481
|
};
|
|
5481
5482
|
export declare type RoutePropertiesStationInput = {
|
|
@@ -5483,7 +5484,7 @@ export declare type RoutePropertiesStationInput = {
|
|
|
5483
5484
|
station_id?: Maybe<Scalars["ID"]>;
|
|
5484
5485
|
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
5485
5486
|
external_station_id?: Maybe<Scalars["ID"]>;
|
|
5486
|
-
/** Duration to stay at the station, in seconds.
|
|
5487
|
+
/** Duration to stay at the station, in seconds. */
|
|
5487
5488
|
stop_duration?: Maybe<Scalars["Int"]>;
|
|
5488
5489
|
};
|
|
5489
5490
|
export declare type RoutePropertiesVehicle = {
|
package/graphql.schema.json
CHANGED
|
@@ -481,8 +481,8 @@
|
|
|
481
481
|
"ofType": null
|
|
482
482
|
}
|
|
483
483
|
},
|
|
484
|
-
"isDeprecated":
|
|
485
|
-
"deprecationReason":
|
|
484
|
+
"isDeprecated": true,
|
|
485
|
+
"deprecationReason": "Not in use."
|
|
486
486
|
}
|
|
487
487
|
],
|
|
488
488
|
"inputFields": null,
|
|
@@ -3263,7 +3263,7 @@
|
|
|
3263
3263
|
},
|
|
3264
3264
|
{
|
|
3265
3265
|
"name": "step_size",
|
|
3266
|
-
"description": "
|
|
3266
|
+
"description": "Indicates the minimum amount that is billed.\nA unit is billed in step-size blocks. For example, if the type is TIME and step_size is 300, then the time is billed in blocks of 5 minutes. Hence, if 6 minutes is used, then 10 minutes (2 blocks of step_size) is billed.\nNote: step_size also depends on the type. Every type (except FLAT) defines a step_size multiplier. This is the size of every 'step' and the unit. For example, PARKING_TIME has a step-size multiplier of 1 second. Therefore, the step_size of a price component is multiplied by 1 second. Thus, step_size = 300 means 300 seconds.\"",
|
|
3267
3267
|
"args": [],
|
|
3268
3268
|
"type": {
|
|
3269
3269
|
"kind": "NON_NULL",
|
|
@@ -3305,7 +3305,7 @@
|
|
|
3305
3305
|
},
|
|
3306
3306
|
{
|
|
3307
3307
|
"name": "parking_time",
|
|
3308
|
-
"description": "Parking price per hour. This fee is applicable
|
|
3308
|
+
"description": "Parking price per hour. This fee is applicable if the parked car is not charging.",
|
|
3309
3309
|
"isDeprecated": false,
|
|
3310
3310
|
"deprecationReason": null
|
|
3311
3311
|
},
|
|
@@ -3549,7 +3549,7 @@
|
|
|
3549
3549
|
},
|
|
3550
3550
|
{
|
|
3551
3551
|
"name": "reservation",
|
|
3552
|
-
"description": "When this field is present, the ConnectorPriceElement describes reservation costs.\nA reservation starts when the reservation is made, and ends when the driver starts charging on the reserved EVSE/Location,\nor when the reservation expires. A reservation can only have: `flat` and `time` ConnectorPriceElementComponentType,\nwhere time is for the duration of the reservation.\
|
|
3552
|
+
"description": "When this field is present, the ConnectorPriceElement describes reservation costs.\nA reservation starts when the reservation is made, and ends when the driver starts charging on the reserved EVSE/Location,\nor when the reservation expires. A reservation can only have: `flat` and `time` ConnectorPriceElementComponentType,\nwhere time is for the duration of the reservation.\nWhen a price has both, `reservation` and `reservation_expires` ConnectorPriceElement,\nwhere both ConnectorPriceElement have a time ConnectorPriceElementComponent,\nthen the time based cost of an expired reservation will be calculated based on the `reservation_expires` ConnectorPriceElement.",
|
|
3553
3553
|
"args": [],
|
|
3554
3554
|
"type": {
|
|
3555
3555
|
"kind": "ENUM",
|
|
@@ -6040,7 +6040,7 @@
|
|
|
6040
6040
|
},
|
|
6041
6041
|
{
|
|
6042
6042
|
"name": "operators",
|
|
6043
|
-
"description": "Operator preferences for a route.
|
|
6043
|
+
"description": "Operator preferences for a route.",
|
|
6044
6044
|
"args": [],
|
|
6045
6045
|
"type": {
|
|
6046
6046
|
"kind": "OBJECT",
|
|
@@ -6064,7 +6064,7 @@
|
|
|
6064
6064
|
},
|
|
6065
6065
|
{
|
|
6066
6066
|
"name": "alternative_station_radius",
|
|
6067
|
-
"description": "
|
|
6067
|
+
"description": "Search radius for alternative charging stations along the route. Accepts a value between 500 and 5000 meters (or unit equivalent). If not specified, disables the alternative station search for the generated route.",
|
|
6068
6068
|
"args": [],
|
|
6069
6069
|
"type": {
|
|
6070
6070
|
"kind": "OBJECT",
|
|
@@ -6088,7 +6088,7 @@
|
|
|
6088
6088
|
},
|
|
6089
6089
|
{
|
|
6090
6090
|
"name": "departure_time",
|
|
6091
|
-
"description": "Route departure time.
|
|
6091
|
+
"description": "Route departure time.",
|
|
6092
6092
|
"args": [],
|
|
6093
6093
|
"type": {
|
|
6094
6094
|
"kind": "NON_NULL",
|
|
@@ -6264,7 +6264,7 @@
|
|
|
6264
6264
|
},
|
|
6265
6265
|
{
|
|
6266
6266
|
"name": "season",
|
|
6267
|
-
"description": "Optional flag to specify the season.",
|
|
6267
|
+
"description": "Optional flag to specify the season. If not specified, defaults to real-time weather data",
|
|
6268
6268
|
"type": {
|
|
6269
6269
|
"kind": "ENUM",
|
|
6270
6270
|
"name": "RouteSeason",
|
|
@@ -6276,7 +6276,7 @@
|
|
|
6276
6276
|
},
|
|
6277
6277
|
{
|
|
6278
6278
|
"name": "alternative_station_radius",
|
|
6279
|
-
"description": "
|
|
6279
|
+
"description": "Search radius for alternative charging stations along the route. Accepts a value between 500 and 5000 meters (or unit equivalent). If not specified, disables the alternative station search for the generated route.",
|
|
6280
6280
|
"type": {
|
|
6281
6281
|
"kind": "INPUT_OBJECT",
|
|
6282
6282
|
"name": "AlternativeStationRadiusInput",
|
|
@@ -6300,7 +6300,7 @@
|
|
|
6300
6300
|
},
|
|
6301
6301
|
{
|
|
6302
6302
|
"name": "departure_time",
|
|
6303
|
-
"description": "Route departure time. Used to calculate the expected arrival time
|
|
6303
|
+
"description": "Route departure time. Used to calculate the expected arrival time. If not specified, defaults to the route's request time.",
|
|
6304
6304
|
"type": {
|
|
6305
6305
|
"kind": "SCALAR",
|
|
6306
6306
|
"name": "DateTime",
|
|
@@ -6332,7 +6332,7 @@
|
|
|
6332
6332
|
},
|
|
6333
6333
|
{
|
|
6334
6334
|
"name": "weather",
|
|
6335
|
-
"description": "Weather configuration for the route. Defined by a preset or custom weather conditions.",
|
|
6335
|
+
"description": "Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to real-time weather data.",
|
|
6336
6336
|
"type": {
|
|
6337
6337
|
"kind": "INPUT_OBJECT",
|
|
6338
6338
|
"name": "RouteWeatherInput",
|
|
@@ -22416,7 +22416,7 @@
|
|
|
22416
22416
|
},
|
|
22417
22417
|
{
|
|
22418
22418
|
"name": "station",
|
|
22419
|
-
"description": "Specifies a charging station at the destination. If
|
|
22419
|
+
"description": "Specifies a charging station at the destination. If an existing station is provided, it is treated as a regular location stop and no charging will be scheduled at this location. Any configured operator preferences are ignored for this stop.",
|
|
22420
22420
|
"type": {
|
|
22421
22421
|
"kind": "INPUT_OBJECT",
|
|
22422
22422
|
"name": "RoutePropertiesStationInput",
|
|
@@ -30604,7 +30604,7 @@
|
|
|
30604
30604
|
},
|
|
30605
30605
|
{
|
|
30606
30606
|
"name": "stop_duration",
|
|
30607
|
-
"description": "Duration to stay at the station, in seconds.
|
|
30607
|
+
"description": "Duration to stay at the station, in seconds.",
|
|
30608
30608
|
"args": [],
|
|
30609
30609
|
"type": {
|
|
30610
30610
|
"kind": "SCALAR",
|
|
@@ -30652,7 +30652,7 @@
|
|
|
30652
30652
|
},
|
|
30653
30653
|
{
|
|
30654
30654
|
"name": "stop_duration",
|
|
30655
|
-
"description": "Duration to stay at the station, in seconds.
|
|
30655
|
+
"description": "Duration to stay at the station, in seconds.",
|
|
30656
30656
|
"type": {
|
|
30657
30657
|
"kind": "SCALAR",
|
|
30658
30658
|
"name": "Int",
|
package/package.json
CHANGED
package/src/graphql.ts
CHANGED
|
@@ -120,7 +120,10 @@ export type AlternativeStationRadius = {
|
|
|
120
120
|
value: Scalars["Float"];
|
|
121
121
|
/** Preferred unit for the alternative station radius. */
|
|
122
122
|
type: DistanceUnit;
|
|
123
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Source of inputted data.
|
|
125
|
+
* @deprecated Not in use.
|
|
126
|
+
*/
|
|
124
127
|
source: TelemetryInputSource;
|
|
125
128
|
};
|
|
126
129
|
|
|
@@ -713,10 +716,9 @@ export type ConnectorPriceElementComponent = {
|
|
|
713
716
|
/** Applicable VAT. */
|
|
714
717
|
vat: Scalars["Float"];
|
|
715
718
|
/**
|
|
716
|
-
*
|
|
717
|
-
* unit is billed in step-size blocks. For example, if the type is TIME and step_size is 300, then the time is billed in blocks of 5 minutes. Hence, if 6 minutes is used, then 10 minutes (2 blocks of step_size) is billed.
|
|
718
|
-
*
|
|
719
|
-
* Note: step_size also depends on the type. Every type (except FLAT) defines a step_size multiplier. This is the size of every 'step' and the unit. For example, PARKING_TIME has a step-size multiplier of 1 second. Therefore, the step_size of a price component is multiplied by 1 second. Thus, step_size = 300 means 300 seconds.
|
|
719
|
+
* Indicates the minimum amount that is billed.
|
|
720
|
+
* A unit is billed in step-size blocks. For example, if the type is TIME and step_size is 300, then the time is billed in blocks of 5 minutes. Hence, if 6 minutes is used, then 10 minutes (2 blocks of step_size) is billed.
|
|
721
|
+
* Note: step_size also depends on the type. Every type (except FLAT) defines a step_size multiplier. This is the size of every 'step' and the unit. For example, PARKING_TIME has a step-size multiplier of 1 second. Therefore, the step_size of a price component is multiplied by 1 second. Thus, step_size = 300 means 300 seconds."
|
|
720
722
|
*/
|
|
721
723
|
step_size: Scalars["Int"];
|
|
722
724
|
};
|
|
@@ -727,7 +729,7 @@ export enum ConnectorPriceElementComponentType {
|
|
|
727
729
|
ENERGY = "energy",
|
|
728
730
|
/** Fixed price per charging session. */
|
|
729
731
|
FLAT = "flat",
|
|
730
|
-
/** Parking price per hour. This fee is applicable
|
|
732
|
+
/** Parking price per hour. This fee is applicable if the parked car is not charging. */
|
|
731
733
|
PARKING_TIME = "parking_time",
|
|
732
734
|
/** Fixed price per unit of time defined in the step size. */
|
|
733
735
|
TIME = "time"
|
|
@@ -777,7 +779,6 @@ export type ConnectorPriceElementRestrictions = {
|
|
|
777
779
|
* A reservation starts when the reservation is made, and ends when the driver starts charging on the reserved EVSE/Location,
|
|
778
780
|
* or when the reservation expires. A reservation can only have: `flat` and `time` ConnectorPriceElementComponentType,
|
|
779
781
|
* where time is for the duration of the reservation.
|
|
780
|
-
*
|
|
781
782
|
* When a price has both, `reservation` and `reservation_expires` ConnectorPriceElement,
|
|
782
783
|
* where both ConnectorPriceElement have a time ConnectorPriceElementComponent,
|
|
783
784
|
* then the time based cost of an expired reservation will be calculated based on the `reservation_expires` ConnectorPriceElement.
|
|
@@ -1267,18 +1268,18 @@ export type CreateRoute = {
|
|
|
1267
1268
|
destination: RouteDestinationFeaturePoint;
|
|
1268
1269
|
/** Via points of a route. */
|
|
1269
1270
|
via?: Maybe<Array<RouteViaFeaturePoint>>;
|
|
1270
|
-
/** Operator preferences for a route.
|
|
1271
|
+
/** Operator preferences for a route. */
|
|
1271
1272
|
operators?: Maybe<RouteOperatorPreferences>;
|
|
1272
1273
|
/**
|
|
1273
1274
|
* Season of a route.
|
|
1274
1275
|
* @deprecated In favor of `weather`.
|
|
1275
1276
|
*/
|
|
1276
1277
|
season?: Maybe<RouteSeason>;
|
|
1277
|
-
/**
|
|
1278
|
+
/** Search radius for alternative charging stations along the route. Accepts a value between 500 and 5000 meters (or unit equivalent). If not specified, disables the alternative station search for the generated route. */
|
|
1278
1279
|
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
1279
1280
|
/** [BETA] Number of alternative routes to request. */
|
|
1280
1281
|
alternative_routes?: Maybe<Scalars["Int"]>;
|
|
1281
|
-
/** Route departure time.
|
|
1282
|
+
/** Route departure time. */
|
|
1282
1283
|
departure_time: Scalars["DateTime"];
|
|
1283
1284
|
/** [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. */
|
|
1284
1285
|
avoid?: Maybe<Array<RouteAvoid>>;
|
|
@@ -1304,17 +1305,17 @@ export type CreateRouteInput = {
|
|
|
1304
1305
|
via?: Maybe<Array<RouteViaFeaturePointInput>>;
|
|
1305
1306
|
/** Operator preferences and restrictions for route calculation. If not specified, excludes operators per project settings, but applies no operator ranking. */
|
|
1306
1307
|
operators?: Maybe<RouteOperatorPreferencesInput>;
|
|
1307
|
-
/** Optional flag to specify the season. */
|
|
1308
|
+
/** Optional flag to specify the season. If not specified, defaults to real-time weather data */
|
|
1308
1309
|
season?: Maybe<RouteSeason>;
|
|
1309
|
-
/**
|
|
1310
|
+
/** Search radius for alternative charging stations along the route. Accepts a value between 500 and 5000 meters (or unit equivalent). If not specified, disables the alternative station search for the generated route. */
|
|
1310
1311
|
alternative_station_radius?: Maybe<AlternativeStationRadiusInput>;
|
|
1311
1312
|
/** [BETA] Additional alternative routes to calculate. Performed on a best-effort basis, it may return fewer than requested, or even none. Set to 0 to create only the recommended route. */
|
|
1312
1313
|
alternative_routes?: Maybe<Scalars["Int"]>;
|
|
1313
|
-
/** Route departure time. Used to calculate the expected arrival time
|
|
1314
|
+
/** Route departure time. Used to calculate the expected arrival time. If not specified, defaults to the route's request time. */
|
|
1314
1315
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1315
1316
|
/** [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. */
|
|
1316
1317
|
avoid?: Maybe<Array<RouteAvoid>>;
|
|
1317
|
-
/** Weather configuration for the route. Defined by a preset or custom weather conditions. */
|
|
1318
|
+
/** Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to real-time weather data. */
|
|
1318
1319
|
weather?: Maybe<RouteWeatherInput>;
|
|
1319
1320
|
/** Charging stations preferences for route calculation. */
|
|
1320
1321
|
station_preferences?: Maybe<RouteStationPreferencesInput>;
|
|
@@ -4439,7 +4440,7 @@ export type RouteDestinationProperties = {
|
|
|
4439
4440
|
export type RouteDestinationPropertiesInput = {
|
|
4440
4441
|
/** Data about the destination location. */
|
|
4441
4442
|
location?: Maybe<RoutePropertiesLocationInput>;
|
|
4442
|
-
/** Specifies a charging station at the destination. If
|
|
4443
|
+
/** Specifies a charging station at the destination. If an existing station is provided, it is treated as a regular location stop and no charging will be scheduled at this location. Any configured operator preferences are ignored for this stop. */
|
|
4443
4444
|
station?: Maybe<RoutePropertiesStationInput>;
|
|
4444
4445
|
};
|
|
4445
4446
|
|
|
@@ -5977,7 +5978,7 @@ export type RoutePropertiesStation = {
|
|
|
5977
5978
|
station_id?: Maybe<Scalars["ID"]>;
|
|
5978
5979
|
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
5979
5980
|
external_station_id?: Maybe<Scalars["ID"]>;
|
|
5980
|
-
/** Duration to stay at the station, in seconds.
|
|
5981
|
+
/** Duration to stay at the station, in seconds. */
|
|
5981
5982
|
stop_duration?: Maybe<Scalars["Int"]>;
|
|
5982
5983
|
};
|
|
5983
5984
|
|
|
@@ -5986,7 +5987,7 @@ export type RoutePropertiesStationInput = {
|
|
|
5986
5987
|
station_id?: Maybe<Scalars["ID"]>;
|
|
5987
5988
|
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
5988
5989
|
external_station_id?: Maybe<Scalars["ID"]>;
|
|
5989
|
-
/** Duration to stay at the station, in seconds.
|
|
5990
|
+
/** Duration to stay at the station, in seconds. */
|
|
5990
5991
|
stop_duration?: Maybe<Scalars["Int"]>;
|
|
5991
5992
|
};
|
|
5992
5993
|
|