@chargetrip/types 1.52.0 → 1.54.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 +36 -9
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +36 -9
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +497 -243
- package/graphql.schema.json +2453 -611
- package/package.json +1 -1
- package/src/graphql.ts +525 -243
package/src/graphql.ts
CHANGED
|
@@ -13,8 +13,6 @@ export type Scalars = {
|
|
|
13
13
|
Boolean: boolean;
|
|
14
14
|
Int: number;
|
|
15
15
|
Float: number;
|
|
16
|
-
/** Acknowledgement scalar. Returns 'OK'. */
|
|
17
|
-
Acknowledgement: any;
|
|
18
16
|
/** The date and time scalar. */
|
|
19
17
|
DateTime: string;
|
|
20
18
|
/** Email address scalar, email regex with HTML sanitization. */
|
|
@@ -67,17 +65,17 @@ export type Address = {
|
|
|
67
65
|
number?: Maybe<Scalars["String"]>;
|
|
68
66
|
/**
|
|
69
67
|
* Postal code of the location.
|
|
70
|
-
* @deprecated In favor of postal_code
|
|
68
|
+
* @deprecated In favor of `postal_code`.
|
|
71
69
|
*/
|
|
72
70
|
postalCode?: Maybe<Scalars["String"]>;
|
|
73
71
|
/**
|
|
74
72
|
* String composed of 3 words which represent the location of an address on the globe. More details: http://w3w.co/<what3Words>.
|
|
75
|
-
* @deprecated In favor of what_3_words
|
|
73
|
+
* @deprecated In favor of `what_3_words`.
|
|
76
74
|
*/
|
|
77
75
|
what3Words?: Maybe<Scalars["String"]>;
|
|
78
76
|
/**
|
|
79
77
|
* Human-readable address of the location.
|
|
80
|
-
* @deprecated In favor of formatted_address
|
|
78
|
+
* @deprecated In favor of `formatted_address`.
|
|
81
79
|
*/
|
|
82
80
|
formattedAddress?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
83
81
|
/** Postal code of the location. */
|
|
@@ -155,12 +153,12 @@ export enum Amenities {
|
|
|
155
153
|
export type Amenity = {
|
|
156
154
|
/**
|
|
157
155
|
* Unique amenity ID.
|
|
158
|
-
* @deprecated Will be removed
|
|
156
|
+
* @deprecated Will be removed.
|
|
159
157
|
*/
|
|
160
158
|
id?: Maybe<Scalars["ID"]>;
|
|
161
159
|
/**
|
|
162
160
|
* ID provided by an amenity data source as the row ID.
|
|
163
|
-
* @deprecated In favor of external_id
|
|
161
|
+
* @deprecated In favor of `external_id`.
|
|
164
162
|
*/
|
|
165
163
|
externalId?: Maybe<Scalars["String"]>;
|
|
166
164
|
/** ID provided by an amenity data source as the row ID. */
|
|
@@ -175,14 +173,14 @@ export type Amenity = {
|
|
|
175
173
|
type: Array<Maybe<Scalars["String"]>>;
|
|
176
174
|
/**
|
|
177
175
|
* Computed distance between station and amenity.
|
|
178
|
-
* @deprecated In favor of station_distance
|
|
176
|
+
* @deprecated In favor of `station_distance`.
|
|
179
177
|
*/
|
|
180
178
|
distance?: Maybe<Scalars["Int"]>;
|
|
181
179
|
/** Computed distance between station and amenity. */
|
|
182
180
|
station_distance: Scalars["Float"];
|
|
183
181
|
/**
|
|
184
182
|
* Full path URL to amenity foursquare page.
|
|
185
|
-
* @deprecated Will be removed
|
|
183
|
+
* @deprecated Will be removed.
|
|
186
184
|
*/
|
|
187
185
|
foursquareUrl?: Maybe<Scalars["String"]>;
|
|
188
186
|
/** Opening hours of the amenity. */
|
|
@@ -197,12 +195,12 @@ export type Amenity = {
|
|
|
197
195
|
rating?: Maybe<Scalars["Float"]>;
|
|
198
196
|
/**
|
|
199
197
|
* Date and time when an amenity was created.
|
|
200
|
-
* @deprecated Will be removed
|
|
198
|
+
* @deprecated Will be removed.
|
|
201
199
|
*/
|
|
202
200
|
createdAt?: Maybe<Scalars["String"]>;
|
|
203
201
|
/**
|
|
204
202
|
* Date and time when an amenity was last updated.
|
|
205
|
-
* @deprecated In favor of last_updated
|
|
203
|
+
* @deprecated In favor of `last_updated`.
|
|
206
204
|
*/
|
|
207
205
|
updatedAt?: Maybe<Scalars["String"]>;
|
|
208
206
|
/** Date and time when an amenity was last updated. */
|
|
@@ -345,7 +343,7 @@ export enum CarConnectivityProvider {
|
|
|
345
343
|
ENODE = "Enode"
|
|
346
344
|
}
|
|
347
345
|
|
|
348
|
-
/**
|
|
346
|
+
/** Consumption of the car. */
|
|
349
347
|
export type CarConsumption = {
|
|
350
348
|
/** Worst conditions are based on -10°C and use of heating. */
|
|
351
349
|
worst?: Maybe<Scalars["Float"]>;
|
|
@@ -353,7 +351,7 @@ export type CarConsumption = {
|
|
|
353
351
|
best?: Maybe<Scalars["Float"]>;
|
|
354
352
|
};
|
|
355
353
|
|
|
356
|
-
/**
|
|
354
|
+
/** Consumption of the car. */
|
|
357
355
|
export type CarConsumptionInput = {
|
|
358
356
|
/** Worst conditions are based on -10°C and use of heating. */
|
|
359
357
|
worst?: Maybe<Scalars["Float"]>;
|
|
@@ -631,22 +629,22 @@ export enum ConnectedVehicleStatus {
|
|
|
631
629
|
|
|
632
630
|
/** Connector data which extends OCPI Connector. */
|
|
633
631
|
export type Connector = {
|
|
634
|
-
/** Identifier of a connector within an EVSE. Two connectors may have the same ID as long as they do not belong to the same EVSE object.
|
|
632
|
+
/** Identifier of a connector within an EVSE. Two connectors may have the same ID as long as they do not belong to the same EVSE object. */
|
|
635
633
|
id?: Maybe<Scalars["String"]>;
|
|
636
|
-
/** Standard of an installed connector.
|
|
634
|
+
/** Standard of an installed connector. */
|
|
637
635
|
standard?: Maybe<ConnectorType>;
|
|
638
|
-
/** Format (socket/cable) of an installed connector.
|
|
636
|
+
/** Format (socket/cable) of an installed connector. */
|
|
639
637
|
format?: Maybe<OCPIConnectorFormat>;
|
|
640
|
-
/** Type of power of an installed connector.
|
|
638
|
+
/** Type of power of an installed connector. */
|
|
641
639
|
power_type?: Maybe<OCPIPowerType>;
|
|
642
|
-
/** Maximum voltage of an connector (line to neutral for AC_3_PHASE), in volt [V]. For example: DC Chargers might vary the voltage during charging when battery almost full.
|
|
640
|
+
/** Maximum voltage of an connector (line to neutral for AC_3_PHASE), in volt [V]. For example: DC Chargers might vary the voltage during charging when battery almost full. */
|
|
643
641
|
max_voltage?: Maybe<Scalars["Int"]>;
|
|
644
|
-
/** Maximum amperage of a connector, in ampere [A].
|
|
642
|
+
/** Maximum amperage of a connector, in ampere [A]. */
|
|
645
643
|
max_amperage?: Maybe<Scalars["Int"]>;
|
|
646
644
|
/**
|
|
647
645
|
* Maximum electric power that can be delivered by a connector, in watt [W]. When the maximum electric power is lower than the calculated value from voltage and amperage, this value should be set.
|
|
648
646
|
* For example: A DC Charge Point which can deliver up to 920V and up to 400A can be limited to a maximum of 150kW. Depending on the vehicle, it may supply maximum voltage or current, but not both at the same time.
|
|
649
|
-
* For AC Charge Points, the amount of phases used can also have influence on the maximum power.
|
|
647
|
+
* For AC Charge Points, the amount of phases used can also have influence on the maximum power.
|
|
650
648
|
*/
|
|
651
649
|
max_electric_power?: Maybe<Scalars["Int"]>;
|
|
652
650
|
/** Maximum electric power in kW. */
|
|
@@ -654,12 +652,12 @@ export type Connector = {
|
|
|
654
652
|
/**
|
|
655
653
|
* Identifiers of the currently valid charging tariffs. Multiple tariffs are possible, but only one of each Tariff.type can be active at the same time. Tariffs with the same type are only allowed, if they are not active at the same time: start_date_time and end_date_time period not overlapping.
|
|
656
654
|
* When preference-based smart charging is supported, one tariff for every possible ProfileType should be provided. This tells the user about the options they have at this Connector, and what the tariff is for every option.
|
|
657
|
-
* For a "free of charge" tariff, this field should be set and point to a defined "free of charge" tariff.
|
|
655
|
+
* For a "free of charge" tariff, this field should be set and point to a defined "free of charge" tariff.
|
|
658
656
|
*/
|
|
659
657
|
tariff_ids?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
660
|
-
/** URL to an operator’s terms and conditions.
|
|
658
|
+
/** URL to an operator’s terms and conditions. */
|
|
661
659
|
terms_and_conditions?: Maybe<Scalars["String"]>;
|
|
662
|
-
/** Timestamp when a connector was last updated (or created).
|
|
660
|
+
/** Timestamp when a connector was last updated (or created). */
|
|
663
661
|
last_updated?: Maybe<Scalars["DateTime"]>;
|
|
664
662
|
/** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
|
|
665
663
|
properties?: Maybe<Scalars["JSON"]>;
|
|
@@ -667,7 +665,7 @@ export type Connector = {
|
|
|
667
665
|
tariff?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
668
666
|
/**
|
|
669
667
|
* Charging prices.
|
|
670
|
-
* @deprecated In favor of prices
|
|
668
|
+
* @deprecated In favor of `prices`.
|
|
671
669
|
*/
|
|
672
670
|
pricing?: Maybe<Pricing>;
|
|
673
671
|
/** Dynamic charging prices. */
|
|
@@ -680,7 +678,7 @@ export type Connector = {
|
|
|
680
678
|
export type ConnectorCustomProperties = {
|
|
681
679
|
/**
|
|
682
680
|
* Charging prices.
|
|
683
|
-
* @deprecated In favor of connector.prices
|
|
681
|
+
* @deprecated In favor of `connector.prices`.
|
|
684
682
|
*/
|
|
685
683
|
pricing?: Maybe<Pricing>;
|
|
686
684
|
/** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values. */
|
|
@@ -870,7 +868,7 @@ export enum ConnectorPriceRestrictionsReservationType {
|
|
|
870
868
|
RESERVATION_EXPIRES = "reservation_expires"
|
|
871
869
|
}
|
|
872
870
|
|
|
873
|
-
/**
|
|
871
|
+
/** Socket or plug standard of the charging point. */
|
|
874
872
|
export enum ConnectorType {
|
|
875
873
|
/** The connector type is CHAdeMO, DC. */
|
|
876
874
|
CHADEMO = "CHADEMO",
|
|
@@ -1276,7 +1274,7 @@ export type CreateRoute = {
|
|
|
1276
1274
|
operators?: Maybe<RouteOperatorPreferences>;
|
|
1277
1275
|
/**
|
|
1278
1276
|
* Season of a route.
|
|
1279
|
-
* @deprecated In favor of weather
|
|
1277
|
+
* @deprecated In favor of `weather`.
|
|
1280
1278
|
*/
|
|
1281
1279
|
season?: Maybe<RouteSeason>;
|
|
1282
1280
|
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
@@ -1697,30 +1695,30 @@ export enum DistanceUnit {
|
|
|
1697
1695
|
export type EVSE = {
|
|
1698
1696
|
/**
|
|
1699
1697
|
* Uniquely identifies an EVSE within the CPOs platform (and suboperator platforms). For example a database ID or the actual "EVSE ID". This field can never be changed, modified or renamed. This is the 'technical' identification of the EVSE, not to be used as 'human readable' identification, use the field evse_id for that.
|
|
1700
|
-
* This field is named uid instead of id, because id could be confused with evse_id which is an eMI3 defined field.
|
|
1698
|
+
* This field is named uid instead of id, because id could be confused with evse_id which is an eMI3 defined field.
|
|
1701
1699
|
*/
|
|
1702
1700
|
uid?: Maybe<Scalars["String"]>;
|
|
1703
|
-
/** Compliant with the following specification for EVSE ID from "eMI3 standard version V1.0" (http://emi3group.com/documents-links/) "Part 2: business objects." Optional because: if an evse_id is to be re-used in the real world, the evse_id can be removed from an EVSE object if the status is set to REMOVED.
|
|
1701
|
+
/** Compliant with the following specification for EVSE ID from "eMI3 standard version V1.0" (http://emi3group.com/documents-links/) "Part 2: business objects." Optional because: if an evse_id is to be re-used in the real world, the evse_id can be removed from an EVSE object if the status is set to REMOVED. */
|
|
1704
1702
|
evse_id?: Maybe<Scalars["String"]>;
|
|
1705
|
-
/** Indicates the current status of an EVSE.
|
|
1703
|
+
/** Indicates the current status of an EVSE. */
|
|
1706
1704
|
status?: Maybe<OCPIStatus>;
|
|
1707
|
-
/** Indicates a planned status update of a nEVSE.
|
|
1705
|
+
/** Indicates a planned status update of a nEVSE. */
|
|
1708
1706
|
status_schedule?: Maybe<Array<Maybe<OCPIStatusSchedule>>>;
|
|
1709
|
-
/** List of functionalities that an EVSE is capable of.
|
|
1707
|
+
/** List of functionalities that an EVSE is capable of. */
|
|
1710
1708
|
capabilities?: Maybe<Array<Maybe<OCPICapability>>>;
|
|
1711
|
-
/** List of available connectors on an EVSE.
|
|
1709
|
+
/** List of available connectors on an EVSE. */
|
|
1712
1710
|
connectors?: Maybe<Array<Maybe<Connector>>>;
|
|
1713
|
-
/** Level on which a Charge Point is located (in garage buildings) in the locally displayed numbering scheme.
|
|
1711
|
+
/** Level on which a Charge Point is located (in garage buildings) in the locally displayed numbering scheme. */
|
|
1714
1712
|
floor_level?: Maybe<Scalars["String"]>;
|
|
1715
|
-
/** Coordinates of a EVSE.
|
|
1713
|
+
/** Coordinates of a EVSE. */
|
|
1716
1714
|
coordinates?: Maybe<OCPIGeoLocation>;
|
|
1717
|
-
/** A number/string printed on the outside of an EVSE for visual identification.
|
|
1715
|
+
/** A number/string printed on the outside of an EVSE for visual identification. */
|
|
1718
1716
|
physical_reference?: Maybe<Scalars["String"]>;
|
|
1719
|
-
/** Restrictions that apply to a parking spot.
|
|
1717
|
+
/** Restrictions that apply to a parking spot. */
|
|
1720
1718
|
parking_restrictions?: Maybe<Array<Maybe<OCPIParkingRestriction>>>;
|
|
1721
|
-
/** Links to images related to an EVSE such as photos or logos.
|
|
1719
|
+
/** Links to images related to an EVSE such as photos or logos. */
|
|
1722
1720
|
images?: Maybe<Array<Maybe<OCPIImage>>>;
|
|
1723
|
-
/** Timestamp when this EVSE or one of its Connectors was last updated (or created).
|
|
1721
|
+
/** Timestamp when this EVSE or one of its Connectors was last updated (or created). */
|
|
1724
1722
|
last_updated?: Maybe<Scalars["DateTime"]>;
|
|
1725
1723
|
/** Indicates if parking is free or paid. */
|
|
1726
1724
|
parking_cost?: Maybe<ParkingCost>;
|
|
@@ -2054,7 +2052,9 @@ export type IsolineInput = {
|
|
|
2054
2052
|
heat_pump?: Maybe<HeatPumpMode>;
|
|
2055
2053
|
/** Vehicle cabin configuration. */
|
|
2056
2054
|
cabin?: Maybe<IsolineCabinInput>;
|
|
2057
|
-
/**
|
|
2055
|
+
/** Weather configuration for the isoline. Defined by a preset or custom weather conditions. If not specified, defaults to real-time weather data. */
|
|
2056
|
+
weather?: Maybe<IsolineWeatherInput>;
|
|
2057
|
+
/** Season to be taken into account when generating the isoline. If not specified, defaults to real-time weather data. */
|
|
2058
2058
|
season?: Maybe<RouteSeason>;
|
|
2059
2059
|
/** Polygons precision quality. */
|
|
2060
2060
|
quality?: Maybe<IsolineQuality>;
|
|
@@ -2097,8 +2097,13 @@ export type IsolineRequestInput = {
|
|
|
2097
2097
|
heat_pump?: Maybe<HeatPumpMode>;
|
|
2098
2098
|
/** Vehicle cabin configuration. */
|
|
2099
2099
|
cabin?: Maybe<IsolineCabin>;
|
|
2100
|
-
/**
|
|
2100
|
+
/**
|
|
2101
|
+
* Season taken into account when isoline was generated.
|
|
2102
|
+
* @deprecated In favor of weather.
|
|
2103
|
+
*/
|
|
2101
2104
|
season?: Maybe<RouteSeason>;
|
|
2105
|
+
/** Weather configuration for the isoline. Defined by a preset or custom weather conditions. */
|
|
2106
|
+
weather?: Maybe<IsolineWeather>;
|
|
2102
2107
|
/** Polygons precision quality. */
|
|
2103
2108
|
quality?: Maybe<IsolineQuality>;
|
|
2104
2109
|
/** Ferry connections. */
|
|
@@ -2137,6 +2142,38 @@ export enum IsolineStatus {
|
|
|
2137
2142
|
ERROR = "error"
|
|
2138
2143
|
}
|
|
2139
2144
|
|
|
2145
|
+
export type IsolineWeather = {
|
|
2146
|
+
/** Weather configuration applied to the isoline. */
|
|
2147
|
+
type: WeatherType;
|
|
2148
|
+
/** [BETA] Custom weather conditions applied to the isoline. Only present when 'type' is set to 'CUSTOM'. */
|
|
2149
|
+
custom?: Maybe<IsolineWeatherCustomConditions>;
|
|
2150
|
+
};
|
|
2151
|
+
|
|
2152
|
+
export type IsolineWeatherCustomConditions = {
|
|
2153
|
+
/** Average ambient temperature estimated along the isoline. */
|
|
2154
|
+
temperature: Temperature;
|
|
2155
|
+
/** Atmospheric pressure along the isoline. */
|
|
2156
|
+
air_pressure: AirPressure;
|
|
2157
|
+
/** Solar irradiance along the isoline. */
|
|
2158
|
+
solar_irradiance: SolarIrradiance;
|
|
2159
|
+
};
|
|
2160
|
+
|
|
2161
|
+
export type IsolineWeatherCustomConditionsInput = {
|
|
2162
|
+
/** Average ambient temperature estimated within the isoline. */
|
|
2163
|
+
temperature: TemperatureInput;
|
|
2164
|
+
/** Atmospheric pressure within the isoline. */
|
|
2165
|
+
air_pressure: AirPressureInput;
|
|
2166
|
+
/** Solar irradiance within the isoline. */
|
|
2167
|
+
solar_irradiance: SolarIrradianceInput;
|
|
2168
|
+
};
|
|
2169
|
+
|
|
2170
|
+
export type IsolineWeatherInput = {
|
|
2171
|
+
/** Weather configuration applied within the isoline. */
|
|
2172
|
+
type?: Maybe<WeatherType>;
|
|
2173
|
+
/** [BETA] Custom weather conditions to apply within the isoline. Required only when 'type' is 'CUSTOM'. Must be omitted for other weather types. */
|
|
2174
|
+
custom?: Maybe<IsolineWeatherCustomConditionsInput>;
|
|
2175
|
+
};
|
|
2176
|
+
|
|
2140
2177
|
/** Types of a leg. */
|
|
2141
2178
|
export enum LegType {
|
|
2142
2179
|
/** This leg ends at a charging station and the vehicle must recharge. */
|
|
@@ -2166,6 +2203,27 @@ export enum LineStringType {
|
|
|
2166
2203
|
LINESTRING = "LineString"
|
|
2167
2204
|
}
|
|
2168
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
|
+
|
|
2169
2227
|
export type MaximumSpeed = {
|
|
2170
2228
|
/** Numeric value of the user-defined maximum speed. */
|
|
2171
2229
|
value: Scalars["Int"];
|
|
@@ -2216,11 +2274,11 @@ export type Mutation = {
|
|
|
2216
2274
|
/** [BETA] Start a new navigation session on top of an existing route */
|
|
2217
2275
|
startNavigation?: Maybe<Scalars["ID"]>;
|
|
2218
2276
|
/** [BETA] Update the navigation session */
|
|
2219
|
-
updateNavigation?: Maybe<Scalars["
|
|
2277
|
+
updateNavigation?: Maybe<Scalars["Boolean"]>;
|
|
2220
2278
|
/** [BETA] Recalculate the current navigation route */
|
|
2221
|
-
recalculateNavigation?: Maybe<Scalars["
|
|
2279
|
+
recalculateNavigation?: Maybe<Scalars["Boolean"]>;
|
|
2222
2280
|
/** [BETA] End a navigation session */
|
|
2223
|
-
finishNavigation?: Maybe<Scalars["
|
|
2281
|
+
finishNavigation?: Maybe<Scalars["Boolean"]>;
|
|
2224
2282
|
/**
|
|
2225
2283
|
* Add a new review.
|
|
2226
2284
|
* If the `x-token` header is send for a valid user, the review will belong to it, otherwise will be added for an anonymouse user
|
|
@@ -2235,11 +2293,11 @@ export type Mutation = {
|
|
|
2235
2293
|
*/
|
|
2236
2294
|
deleteUserReview: Review;
|
|
2237
2295
|
/**
|
|
2238
|
-
*
|
|
2296
|
+
* Create a new route from the route input.
|
|
2239
2297
|
* @deprecated In favor of `createRoute`.
|
|
2240
2298
|
*/
|
|
2241
2299
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
2242
|
-
/** Create a new route from the route input
|
|
2300
|
+
/** Create a new route from the route input. */
|
|
2243
2301
|
createRoute: Scalars["ID"];
|
|
2244
2302
|
};
|
|
2245
2303
|
|
|
@@ -2295,18 +2353,60 @@ export type MutationcreateRouteArgs = {
|
|
|
2295
2353
|
input: CreateRouteInput;
|
|
2296
2354
|
};
|
|
2297
2355
|
|
|
2298
|
-
/**
|
|
2356
|
+
/** Navigation session data. */
|
|
2299
2357
|
export type Navigation = {
|
|
2300
2358
|
/** ID of the navigation session. */
|
|
2301
2359
|
id: Scalars["ID"];
|
|
2302
2360
|
/** Navigation session details overview. */
|
|
2303
2361
|
overview: NavigationOverview;
|
|
2304
|
-
/** The status of
|
|
2362
|
+
/** The status of the navigation session vehicle. The status can be driving, charging or parked. */
|
|
2363
|
+
vehicle_status: NavigationVehicleStatus;
|
|
2364
|
+
/** The status of a navigation session. The status can be active, finished or error. */
|
|
2305
2365
|
status: NavigationStatus;
|
|
2306
2366
|
/** Navigation meta information. */
|
|
2307
2367
|
meta?: Maybe<NavigationMeta>;
|
|
2308
2368
|
};
|
|
2309
2369
|
|
|
2370
|
+
/** Navigation session alternative station type. */
|
|
2371
|
+
export type NavigationAlternativeStation = {
|
|
2372
|
+
/** Coordinates of a station. */
|
|
2373
|
+
location: Point;
|
|
2374
|
+
/** ID of the station. */
|
|
2375
|
+
station_id: Scalars["ID"];
|
|
2376
|
+
/** ID of the EVSE that was selected in a route. */
|
|
2377
|
+
evse_id?: Maybe<Scalars["ID"]>;
|
|
2378
|
+
/** ID of the connector that was selected in a route. */
|
|
2379
|
+
connector_id: Scalars["ID"];
|
|
2380
|
+
/** Station operator. */
|
|
2381
|
+
operator?: Maybe<NavigationStationOperator>;
|
|
2382
|
+
};
|
|
2383
|
+
|
|
2384
|
+
/** Represents the most recent completed meaningful change to the navigation session. */
|
|
2385
|
+
export type NavigationChange = {
|
|
2386
|
+
/** Timestamp when the change was finalized. */
|
|
2387
|
+
created_at: Scalars["DateTime"];
|
|
2388
|
+
/** What kind of change occurred. */
|
|
2389
|
+
type: NavigationChangeType;
|
|
2390
|
+
/** Where the change originated from. */
|
|
2391
|
+
source: NavigationChangeSource;
|
|
2392
|
+
};
|
|
2393
|
+
|
|
2394
|
+
export enum NavigationChangeSource {
|
|
2395
|
+
/** Triggered by an explicit client action (e.g. a recalculateNavigation call). */
|
|
2396
|
+
CLIENT = "client",
|
|
2397
|
+
/** Triggered by backend domain changes (e.g. station availability, background recalculation). */
|
|
2398
|
+
SERVER = "server"
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
export enum NavigationChangeType {
|
|
2402
|
+
/** Navigation session has just started. */
|
|
2403
|
+
STARTED = "started",
|
|
2404
|
+
/** The route has been modified or recalculated. */
|
|
2405
|
+
ROUTE_UPDATED = "route_updated",
|
|
2406
|
+
/** Next station availability has changed. */
|
|
2407
|
+
NEXT_STATION_AVAILABILITY_UPDATED = "next_station_availability_updated"
|
|
2408
|
+
}
|
|
2409
|
+
|
|
2310
2410
|
/** Input for the navigation recalculate. */
|
|
2311
2411
|
export type NavigationFinishInput = {
|
|
2312
2412
|
/** ID of the navigation session. */
|
|
@@ -2315,6 +2415,27 @@ export type NavigationFinishInput = {
|
|
|
2315
2415
|
current_location: PointInput;
|
|
2316
2416
|
};
|
|
2317
2417
|
|
|
2418
|
+
/** Navigation route leg section details. */
|
|
2419
|
+
export type NavigationLegSection = {
|
|
2420
|
+
/** Section type. */
|
|
2421
|
+
type: RouteDetailsLegSectionType;
|
|
2422
|
+
/** Origin point. */
|
|
2423
|
+
origin: RouteDetailsLegSectionFeaturePoint;
|
|
2424
|
+
/** Destination point. */
|
|
2425
|
+
destination: RouteDetailsLegSectionFeaturePoint;
|
|
2426
|
+
/** Aggregation of tags over the current section. */
|
|
2427
|
+
tags: Array<RouteDetailsTag>;
|
|
2428
|
+
/** Polyline containing encoded coordinates. */
|
|
2429
|
+
polyline: Scalars["String"];
|
|
2430
|
+
/** Total duration of a section, in seconds. The value will be 0 for walking sections. */
|
|
2431
|
+
duration: Scalars["Float"];
|
|
2432
|
+
};
|
|
2433
|
+
|
|
2434
|
+
/** Navigation route leg section details. */
|
|
2435
|
+
export type NavigationLegSectionpolylineArgs = {
|
|
2436
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
2437
|
+
};
|
|
2438
|
+
|
|
2318
2439
|
/** Navigation meta information. */
|
|
2319
2440
|
export type NavigationMeta = {
|
|
2320
2441
|
/** Creation time of the navigation session. */
|
|
@@ -2323,34 +2444,86 @@ export type NavigationMeta = {
|
|
|
2323
2444
|
updated_at: Scalars["DateTime"];
|
|
2324
2445
|
};
|
|
2325
2446
|
|
|
2326
|
-
/**
|
|
2447
|
+
/** Navigation session overview details. */
|
|
2327
2448
|
export type NavigationOverview = {
|
|
2328
2449
|
/** State of charge at the last known location. */
|
|
2329
2450
|
state_of_charge: Scalars["Float"];
|
|
2330
2451
|
/** Last known location. */
|
|
2331
2452
|
last_known_location: Point;
|
|
2332
|
-
/** Next charging
|
|
2333
|
-
|
|
2334
|
-
/**
|
|
2335
|
-
|
|
2453
|
+
/** Next stop details. Can be a charging or a location stop. */
|
|
2454
|
+
next_stop: NavigationStop;
|
|
2455
|
+
/** Continuously updated route legs. */
|
|
2456
|
+
legs: Array<Maybe<NavigationRouteLeg>>;
|
|
2457
|
+
/** Continuously updated durations of the route. */
|
|
2458
|
+
durations: RouteDetailsDurations;
|
|
2336
2459
|
/** Navigation route instructions. */
|
|
2337
2460
|
instructions: Array<Maybe<RouteInstruction>>;
|
|
2338
2461
|
/** Continuously updated route request input. */
|
|
2339
|
-
live_route_request:
|
|
2462
|
+
live_route_request: LiveRouteRequest;
|
|
2340
2463
|
/** Polyline containing encoded coordinates. */
|
|
2341
2464
|
polyline: Scalars["String"];
|
|
2342
2465
|
};
|
|
2343
2466
|
|
|
2344
|
-
/**
|
|
2467
|
+
/** Navigation session overview details. */
|
|
2345
2468
|
export type NavigationOverviewstate_of_chargeArgs = {
|
|
2346
2469
|
unit?: Maybe<StateOfChargeUnit>;
|
|
2347
2470
|
};
|
|
2348
2471
|
|
|
2349
|
-
/**
|
|
2472
|
+
/** Navigation session overview details. */
|
|
2350
2473
|
export type NavigationOverviewpolylineArgs = {
|
|
2351
2474
|
decimals?: Maybe<PolylineInputDecimals>;
|
|
2352
2475
|
};
|
|
2353
2476
|
|
|
2477
|
+
export type NavigationPropertiesStation = {
|
|
2478
|
+
/** ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
2479
|
+
station_id?: Maybe<Scalars["ID"]>;
|
|
2480
|
+
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
2481
|
+
external_station_id?: Maybe<Scalars["ID"]>;
|
|
2482
|
+
/** 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. */
|
|
2483
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
2484
|
+
};
|
|
2485
|
+
|
|
2486
|
+
export type NavigationPropertiesStationInput = {
|
|
2487
|
+
/** ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
2488
|
+
station_id?: Maybe<Scalars["ID"]>;
|
|
2489
|
+
/** External ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
2490
|
+
external_station_id?: Maybe<Scalars["ID"]>;
|
|
2491
|
+
/** 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. */
|
|
2492
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
2493
|
+
};
|
|
2494
|
+
|
|
2495
|
+
export type NavigationPropertiesVehicle = {
|
|
2496
|
+
/** Number of occupants present in the vehicle. */
|
|
2497
|
+
occupants: Scalars["Int"];
|
|
2498
|
+
/** Combined weight of the occupants. This can only be used in combination with occupants. */
|
|
2499
|
+
total_occupant_weight: TotalOccupantWeight;
|
|
2500
|
+
/** Weight of the cargo. */
|
|
2501
|
+
total_cargo_weight?: Maybe<TotalCargoWeight>;
|
|
2502
|
+
};
|
|
2503
|
+
|
|
2504
|
+
export type NavigationPropertiesVehicleInput = {
|
|
2505
|
+
/** Number of occupants present in the vehicle. */
|
|
2506
|
+
occupants?: Maybe<Scalars["Int"]>;
|
|
2507
|
+
/** Combined weight of the occupants. This can only be used in combination with occupants. */
|
|
2508
|
+
total_occupant_weight?: Maybe<TotalOccupantWeightInput>;
|
|
2509
|
+
/** Weight of the cargo. */
|
|
2510
|
+
total_cargo_weight?: Maybe<TotalCargoWeightInput>;
|
|
2511
|
+
};
|
|
2512
|
+
|
|
2513
|
+
export type NavigationPropertiesViaLocation = {
|
|
2514
|
+
/** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
|
|
2515
|
+
name?: Maybe<Scalars["String"]>;
|
|
2516
|
+
/** Duration to stay at this point, in seconds. */
|
|
2517
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
2518
|
+
};
|
|
2519
|
+
|
|
2520
|
+
export type NavigationPropertiesViaLocationInput = {
|
|
2521
|
+
/** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
|
|
2522
|
+
name?: Maybe<Scalars["String"]>;
|
|
2523
|
+
/** Duration to stay at this point, in seconds. */
|
|
2524
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
2525
|
+
};
|
|
2526
|
+
|
|
2354
2527
|
/** Input for the navigation recalculate. */
|
|
2355
2528
|
export type NavigationRecalculateInput = {
|
|
2356
2529
|
/** ID of the navigation session. */
|
|
@@ -2360,11 +2533,57 @@ export type NavigationRecalculateInput = {
|
|
|
2360
2533
|
/** Origin location of a new route. */
|
|
2361
2534
|
current_location: PointInput;
|
|
2362
2535
|
/** Via points of a new route. If this field is not sent, the original via points will be used. */
|
|
2363
|
-
via?: Maybe<Array<
|
|
2536
|
+
via?: Maybe<Array<NavigationViaFeaturePointInput>>;
|
|
2364
2537
|
/** Telemetry data input. */
|
|
2365
2538
|
telemetry?: Maybe<TelemetryInput>;
|
|
2366
2539
|
};
|
|
2367
2540
|
|
|
2541
|
+
/** Navigation route leg details. */
|
|
2542
|
+
export type NavigationRouteLeg = {
|
|
2543
|
+
/** Distance from the start to the end of a leg. */
|
|
2544
|
+
distance: Scalars["Float"];
|
|
2545
|
+
/** Aggregation of all durations of a route leg. */
|
|
2546
|
+
durations: RouteDetailsDurations;
|
|
2547
|
+
/** Origin point location. */
|
|
2548
|
+
origin: RouteDetailsLegFeaturePoint;
|
|
2549
|
+
/** Destination point location. */
|
|
2550
|
+
destination: RouteDetailsLegFeaturePoint;
|
|
2551
|
+
/** Range at the start of a leg. The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
2552
|
+
range_at_origin?: Maybe<Scalars["Float"]>;
|
|
2553
|
+
/** Range available at the end of a leg. The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
2554
|
+
range_at_destination?: Maybe<Scalars["Float"]>;
|
|
2555
|
+
/** Range after charging on the leg. The ranges in kilometers and miles are estimates, calculated based on the Chargetrip range, current route conditions, weather scenario (current or seasonal), and the route input at the time of planning. For HEVs and PHEVs this field will return null. */
|
|
2556
|
+
range_after_charge?: Maybe<Scalars["Float"]>;
|
|
2557
|
+
/** Type of a leg. */
|
|
2558
|
+
type: RouteDetailsLegType;
|
|
2559
|
+
/** Information about the station at the destination of a leg. */
|
|
2560
|
+
station?: Maybe<RouteDetailsLegStation>;
|
|
2561
|
+
/** Road sections of a leg - divided by means of transportation. */
|
|
2562
|
+
sections: Array<NavigationLegSection>;
|
|
2563
|
+
/** Aggregation of tags over the current leg. Tags are further subdivided over individual sections and maneuvers. */
|
|
2564
|
+
tags: Array<RouteDetailsTag>;
|
|
2565
|
+
};
|
|
2566
|
+
|
|
2567
|
+
/** Navigation route leg details. */
|
|
2568
|
+
export type NavigationRouteLegdistanceArgs = {
|
|
2569
|
+
unit?: Maybe<DistanceUnit>;
|
|
2570
|
+
};
|
|
2571
|
+
|
|
2572
|
+
/** Navigation route leg details. */
|
|
2573
|
+
export type NavigationRouteLegrange_at_originArgs = {
|
|
2574
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2575
|
+
};
|
|
2576
|
+
|
|
2577
|
+
/** Navigation route leg details. */
|
|
2578
|
+
export type NavigationRouteLegrange_at_destinationArgs = {
|
|
2579
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2580
|
+
};
|
|
2581
|
+
|
|
2582
|
+
/** Navigation route leg details. */
|
|
2583
|
+
export type NavigationRouteLegrange_after_chargeArgs = {
|
|
2584
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2585
|
+
};
|
|
2586
|
+
|
|
2368
2587
|
/** Input for the navigation start. */
|
|
2369
2588
|
export type NavigationStartInput = {
|
|
2370
2589
|
/** ID of the route of the navigation session. */
|
|
@@ -2375,45 +2594,63 @@ export type NavigationStartInput = {
|
|
|
2375
2594
|
|
|
2376
2595
|
/** Navigation session station type. */
|
|
2377
2596
|
export type NavigationStation = {
|
|
2378
|
-
/**
|
|
2597
|
+
/** ID of the station. */
|
|
2379
2598
|
station_id: Scalars["ID"];
|
|
2380
|
-
/**
|
|
2381
|
-
|
|
2382
|
-
/**
|
|
2383
|
-
|
|
2384
|
-
/**
|
|
2385
|
-
|
|
2386
|
-
/** Estimated consumption, in kWh, from last the known location until the next charging station. */
|
|
2387
|
-
estimated_consumption: Scalars["Float"];
|
|
2388
|
-
/** Estimated duration, in seconds, from the last known location until the next charging station. */
|
|
2389
|
-
estimated_duration: Scalars["Float"];
|
|
2599
|
+
/** ID of the EVSE that was selected in a route. */
|
|
2600
|
+
evse_id?: Maybe<Scalars["ID"]>;
|
|
2601
|
+
/** ID of the connector that was selected in a route. */
|
|
2602
|
+
connector_id: Scalars["ID"];
|
|
2603
|
+
/** Station operator. */
|
|
2604
|
+
operator?: Maybe<NavigationStationOperator>;
|
|
2390
2605
|
};
|
|
2391
2606
|
|
|
2392
|
-
/** Navigation session station
|
|
2393
|
-
export type
|
|
2394
|
-
|
|
2607
|
+
/** Navigation session station operator. */
|
|
2608
|
+
export type NavigationStationOperator = {
|
|
2609
|
+
/** Unique operator ID. */
|
|
2610
|
+
id?: Maybe<Scalars["ID"]>;
|
|
2395
2611
|
};
|
|
2396
2612
|
|
|
2397
|
-
/**
|
|
2613
|
+
/** Status of navigation session. */
|
|
2398
2614
|
export enum NavigationStatus {
|
|
2399
|
-
/**
|
|
2400
|
-
|
|
2401
|
-
/** Vehicle is charging. */
|
|
2402
|
-
CHARGING = "charging",
|
|
2615
|
+
/** Navigation session is live and currently tracking. */
|
|
2616
|
+
ACTIVE = "active",
|
|
2403
2617
|
/** Navigation session is completed (either manually or automatically 48 hours after the last update). */
|
|
2404
2618
|
FINISHED = "finished",
|
|
2405
2619
|
/** Failed to update navigation session due to route error or not found. */
|
|
2406
2620
|
ERROR = "error"
|
|
2407
2621
|
}
|
|
2408
2622
|
|
|
2623
|
+
/** Next stop details. Can be a charging or a location stop. */
|
|
2624
|
+
export type NavigationStop = {
|
|
2625
|
+
/** Estimated arrival state of charge at next stop. For HEVs and PHEVs this field will return null. */
|
|
2626
|
+
arrival_state_of_charge: Scalars["Float"];
|
|
2627
|
+
/** Estimated arrival time at the next stop. */
|
|
2628
|
+
arrival_time: Scalars["DateTime"];
|
|
2629
|
+
/** Coordinates of the next stop. */
|
|
2630
|
+
location: Point;
|
|
2631
|
+
/** Next stop's station to charge. Only present if the next stop is a station. */
|
|
2632
|
+
station?: Maybe<NavigationStation>;
|
|
2633
|
+
/** A set of alternative charging stations to next station. Only present if next stop is a station. */
|
|
2634
|
+
alternative_stations?: Maybe<Array<NavigationAlternativeStation>>;
|
|
2635
|
+
};
|
|
2636
|
+
|
|
2637
|
+
/** Next stop details. Can be a charging or a location stop. */
|
|
2638
|
+
export type NavigationStoparrival_state_of_chargeArgs = {
|
|
2639
|
+
unit?: Maybe<StateOfChargeUnit>;
|
|
2640
|
+
};
|
|
2641
|
+
|
|
2409
2642
|
/** The navigation session subscription data */
|
|
2410
2643
|
export type NavigationSubscription = {
|
|
2411
2644
|
/** ID of the navigation session. */
|
|
2412
2645
|
id: Scalars["ID"];
|
|
2413
|
-
/** The status of
|
|
2646
|
+
/** The status of the navigation session vehicle. The status can be driving, charging or parked. */
|
|
2647
|
+
vehicle_status: NavigationVehicleStatus;
|
|
2648
|
+
/** The status of the navigation session. The status can be active, finished or error. */
|
|
2414
2649
|
status: NavigationStatus;
|
|
2415
2650
|
/** Navigation meta information. */
|
|
2416
2651
|
meta?: Maybe<NavigationMeta>;
|
|
2652
|
+
/** Information about the latest completed change. */
|
|
2653
|
+
last_change: NavigationChange;
|
|
2417
2654
|
};
|
|
2418
2655
|
|
|
2419
2656
|
/** Input for the navigation update. */
|
|
@@ -2422,37 +2659,77 @@ export type NavigationUpdateInput = {
|
|
|
2422
2659
|
id: Scalars["ID"];
|
|
2423
2660
|
/** A list of locations that were collected since the last update. */
|
|
2424
2661
|
location_data: Array<NavigationUpdateLocationsInput>;
|
|
2425
|
-
/** Telemetry data input. */
|
|
2426
|
-
telemetry?: Maybe<TelemetryInput>;
|
|
2427
2662
|
};
|
|
2428
2663
|
|
|
2429
|
-
/**
|
|
2430
|
-
export type
|
|
2664
|
+
/** Input for the navigation update locations. */
|
|
2665
|
+
export type NavigationUpdateLocationsInput = {
|
|
2666
|
+
/** Location coordinates [longitude, latitude]. */
|
|
2667
|
+
coordinates: Array<Scalars["Float"]>;
|
|
2431
2668
|
/** Current route leg index corresponding to a location. */
|
|
2432
2669
|
route_leg: Scalars["Int"];
|
|
2433
|
-
/** Speed at a location. */
|
|
2434
|
-
speed?: Maybe<VehicleSpeedInput>;
|
|
2435
2670
|
/** UNIX timestamp at location, in seconds. */
|
|
2436
2671
|
timestamp: Scalars["Int"];
|
|
2437
|
-
/**
|
|
2438
|
-
|
|
2672
|
+
/** Telemetry data input. */
|
|
2673
|
+
telemetry?: Maybe<TelemetryInput>;
|
|
2439
2674
|
};
|
|
2440
2675
|
|
|
2441
|
-
/**
|
|
2442
|
-
export
|
|
2443
|
-
/**
|
|
2676
|
+
/** Status of navigation session vehicle. */
|
|
2677
|
+
export enum NavigationVehicleStatus {
|
|
2678
|
+
/** Vehicle is driving. */
|
|
2679
|
+
DRIVING = "driving",
|
|
2680
|
+
/** Vehicle is charging. */
|
|
2681
|
+
CHARGING = "charging",
|
|
2682
|
+
/** Vehicle is parked. */
|
|
2683
|
+
PARKED = "parked"
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
export type NavigationViaFeaturePoint = {
|
|
2687
|
+
/** ID of the feature. */
|
|
2688
|
+
id?: Maybe<Scalars["ID"]>;
|
|
2689
|
+
/** Feature type. */
|
|
2690
|
+
type: FeatureType;
|
|
2691
|
+
/** Geometry of the feature. */
|
|
2692
|
+
geometry: Point;
|
|
2693
|
+
/** 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. */
|
|
2694
|
+
properties?: Maybe<NavigationViaProperties>;
|
|
2695
|
+
};
|
|
2696
|
+
|
|
2697
|
+
export type NavigationViaFeaturePointInput = {
|
|
2698
|
+
/** ID of the feature. */
|
|
2699
|
+
id?: Maybe<Scalars["ID"]>;
|
|
2700
|
+
/** Feature type. */
|
|
2701
|
+
type: FeatureType;
|
|
2702
|
+
/** Geometry of the feature. */
|
|
2444
2703
|
geometry: PointInput;
|
|
2445
|
-
/**
|
|
2446
|
-
properties
|
|
2704
|
+
/** 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. */
|
|
2705
|
+
properties?: Maybe<NavigationViaPropertiesInput>;
|
|
2706
|
+
};
|
|
2707
|
+
|
|
2708
|
+
export type NavigationViaProperties = {
|
|
2709
|
+
/** Location data of the via point. */
|
|
2710
|
+
location?: Maybe<NavigationPropertiesViaLocation>;
|
|
2711
|
+
/** Vehicle data of the via point. */
|
|
2712
|
+
vehicle?: Maybe<NavigationPropertiesVehicle>;
|
|
2713
|
+
/** Station data of the via point. */
|
|
2714
|
+
station?: Maybe<NavigationPropertiesStation>;
|
|
2715
|
+
};
|
|
2716
|
+
|
|
2717
|
+
export type NavigationViaPropertiesInput = {
|
|
2718
|
+
/** Location data of the via point. */
|
|
2719
|
+
location?: Maybe<NavigationPropertiesViaLocationInput>;
|
|
2720
|
+
/** Vehicle data of the via point. */
|
|
2721
|
+
vehicle?: Maybe<NavigationPropertiesVehicleInput>;
|
|
2722
|
+
/** 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. */
|
|
2723
|
+
station?: Maybe<NavigationPropertiesStationInput>;
|
|
2447
2724
|
};
|
|
2448
2725
|
|
|
2449
2726
|
/** This class defines an additional geo location that is relevant for the Charge Point. The geodetic system to be used is WGS 84. */
|
|
2450
2727
|
export type OCPIAdditionalGeoLocation = {
|
|
2451
|
-
/** Latitude of the point in decimal degree. Example: 50.770774. Decimal separator: "." Regex: -?[0-9]{1,2}\.[0-9]{5,7}
|
|
2728
|
+
/** Latitude of the point in decimal degree. Example: 50.770774. Decimal separator: "." Regex: -?[0-9]{1,2}\.[0-9]{5,7} */
|
|
2452
2729
|
latitude?: Maybe<Scalars["String"]>;
|
|
2453
|
-
/** Longitude of the point in decimal degree. Example: -126.104965. Decimal separator: "." Regex: -?[0-9]{1,3}\.[0-9]{5,7}
|
|
2730
|
+
/** Longitude of the point in decimal degree. Example: -126.104965. Decimal separator: "." Regex: -?[0-9]{1,3}\.[0-9]{5,7} */
|
|
2454
2731
|
longitude?: Maybe<Scalars["String"]>;
|
|
2455
|
-
/** Name of the point in local language or as written at the location. For example the street name of a parking lot entrance or it’s number.
|
|
2732
|
+
/** Name of the point in local language or as written at the location. For example the street name of a parking lot entrance or it’s number. */
|
|
2456
2733
|
name?: Maybe<OCPIDisplayText>;
|
|
2457
2734
|
};
|
|
2458
2735
|
|
|
@@ -2494,7 +2771,7 @@ export enum OCPIConnectorFormat {
|
|
|
2494
2771
|
CABLE = "CABLE"
|
|
2495
2772
|
}
|
|
2496
2773
|
|
|
2497
|
-
/**
|
|
2774
|
+
/** Socket or plug standard of the charging point. */
|
|
2498
2775
|
export enum OCPIConnectorType {
|
|
2499
2776
|
/** The connector type is CHAdeMO, DC */
|
|
2500
2777
|
CHADEMO = "CHADEMO",
|
|
@@ -2591,30 +2868,30 @@ export enum OCPIDayOfWeek {
|
|
|
2591
2868
|
}
|
|
2592
2869
|
|
|
2593
2870
|
export type OCPIDisplayText = {
|
|
2594
|
-
/** Language Code ISO 639-1
|
|
2871
|
+
/** Language Code ISO 639-1 */
|
|
2595
2872
|
language?: Maybe<Scalars["String"]>;
|
|
2596
|
-
/** Text to be displayed to an end user. No markup, html etc. allowed.
|
|
2873
|
+
/** Text to be displayed to an end user. No markup, html etc. allowed. */
|
|
2597
2874
|
text?: Maybe<Scalars["String"]>;
|
|
2598
2875
|
};
|
|
2599
2876
|
|
|
2600
2877
|
/** This type is used to specify the energy mix and environmental impact of the supplied energy at a location or in a tariff. */
|
|
2601
2878
|
export type OCPIEnergyMix = {
|
|
2602
|
-
/** True if the power is 100% from regenerative sources
|
|
2879
|
+
/** True if the power is 100% from regenerative sources */
|
|
2603
2880
|
is_green_energy?: Maybe<Scalars["Boolean"]>;
|
|
2604
|
-
/** Key-value pairs (enum + percentage) of energy sources of this location’s tariff.
|
|
2881
|
+
/** Key-value pairs (enum + percentage) of energy sources of this location’s tariff. */
|
|
2605
2882
|
energy_sources?: Maybe<Array<Maybe<OCPIEnergySource>>>;
|
|
2606
|
-
/** Key-value pairs (enum + percentage) of nuclear waste and CO2 exhaust of this location’s tariff.
|
|
2883
|
+
/** Key-value pairs (enum + percentage) of nuclear waste and CO2 exhaust of this location’s tariff. */
|
|
2607
2884
|
environ_impact?: Maybe<Array<Maybe<OCPIEnvironmentalImpact>>>;
|
|
2608
|
-
/** Name of the energy supplier, delivering the energy for this location or tariff
|
|
2885
|
+
/** Name of the energy supplier, delivering the energy for this location or tariff.* */
|
|
2609
2886
|
supplier_name?: Maybe<Scalars["String"]>;
|
|
2610
|
-
/** Name of the energy suppliers product/tariff plan used at this location
|
|
2887
|
+
/** Name of the energy suppliers product/tariff plan used at this location.* */
|
|
2611
2888
|
energy_product_name?: Maybe<Scalars["String"]>;
|
|
2612
2889
|
};
|
|
2613
2890
|
|
|
2614
2891
|
export type OCPIEnergySource = {
|
|
2615
|
-
/** The type of energy source.
|
|
2892
|
+
/** The type of energy source. */
|
|
2616
2893
|
source?: Maybe<OCPIEnergySourceCategory>;
|
|
2617
|
-
/** Percentage of this source (0-100) in the mix.
|
|
2894
|
+
/** Percentage of this source (0-100) in the mix. */
|
|
2618
2895
|
percentage?: Maybe<Scalars["Int"]>;
|
|
2619
2896
|
};
|
|
2620
2897
|
|
|
@@ -2640,9 +2917,9 @@ export enum OCPIEnergySourceCategory {
|
|
|
2640
2917
|
|
|
2641
2918
|
/** Amount of waste produced/emitted per kWh. */
|
|
2642
2919
|
export type OCPIEnvironmentalImpact = {
|
|
2643
|
-
/** The environmental impact category of this value.
|
|
2920
|
+
/** The environmental impact category of this value. */
|
|
2644
2921
|
category?: Maybe<OCPIEnvironmentalImpactCategory>;
|
|
2645
|
-
/** Amount of this portion in g/kWh.
|
|
2922
|
+
/** Amount of this portion in g/kWh. */
|
|
2646
2923
|
amount?: Maybe<Scalars["Float"]>;
|
|
2647
2924
|
};
|
|
2648
2925
|
|
|
@@ -2656,9 +2933,9 @@ export enum OCPIEnvironmentalImpactCategory {
|
|
|
2656
2933
|
|
|
2657
2934
|
/** Specifies one exceptional period for opening or access hours. */
|
|
2658
2935
|
export type OCPIExceptionalPeriod = {
|
|
2659
|
-
/** Begin of the exception. In UTC, time_zone field can be used to convert to local time.
|
|
2936
|
+
/** Begin of the exception. In UTC, time_zone field can be used to convert to local time. */
|
|
2660
2937
|
period_begin?: Maybe<Scalars["DateTime"]>;
|
|
2661
|
-
/** End of the exception. In UTC, time_zone field can be used to convert to local time.
|
|
2938
|
+
/** End of the exception. In UTC, time_zone field can be used to convert to local time. */
|
|
2662
2939
|
period_end?: Maybe<Scalars["DateTime"]>;
|
|
2663
2940
|
};
|
|
2664
2941
|
|
|
@@ -2707,36 +2984,36 @@ export enum OCPIFacility {
|
|
|
2707
2984
|
|
|
2708
2985
|
/** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
|
|
2709
2986
|
export type OCPIGeoLocation = {
|
|
2710
|
-
/** Latitude of the point in decimal degree. Example: 50.770774. Decimal separator: "." Regex: -?[0-9]{1,2}\.[0-9]{5,7}
|
|
2987
|
+
/** Latitude of the point in decimal degree. Example: 50.770774. Decimal separator: "." Regex: -?[0-9]{1,2}\.[0-9]{5,7} */
|
|
2711
2988
|
latitude?: Maybe<Scalars["String"]>;
|
|
2712
|
-
/** Longitude of the point in decimal degree. Example: -126.104965. Decimal separator: "." Regex: -?[0-9]{1,3}\.[0-9]{5,7}
|
|
2989
|
+
/** Longitude of the point in decimal degree. Example: -126.104965. Decimal separator: "." Regex: -?[0-9]{1,3}\.[0-9]{5,7} */
|
|
2713
2990
|
longitude?: Maybe<Scalars["String"]>;
|
|
2714
2991
|
};
|
|
2715
2992
|
|
|
2716
2993
|
/** Opening and access hours of the location. */
|
|
2717
2994
|
export type OCPIHours = {
|
|
2718
|
-
/** True to represent 24 hours a day and 7 days a week, except the given exceptions.
|
|
2995
|
+
/** True to represent 24 hours a day and 7 days a week, except the given exceptions. */
|
|
2719
2996
|
twentyfourseven?: Maybe<Scalars["Boolean"]>;
|
|
2720
|
-
/** Regular hours, weekday-based. Only to be used if twentyfourseven=false, then this field needs to contain at least one RegularHours object.
|
|
2997
|
+
/** Regular hours, weekday-based. Only to be used if twentyfourseven=false, then this field needs to contain at least one RegularHours object. */
|
|
2721
2998
|
regular_hours?: Maybe<Array<Maybe<OCPIRegularHours>>>;
|
|
2722
|
-
/** Exceptions for specified calendar dates, time-range based. Periods the station is operating/accessible. Additional to regular_hours. May overlap regular rules.
|
|
2999
|
+
/** Exceptions for specified calendar dates, time-range based. Periods the station is operating/accessible. Additional to regular_hours. May overlap regular rules. */
|
|
2723
3000
|
exceptional_openings?: Maybe<Array<Maybe<OCPIExceptionalPeriod>>>;
|
|
2724
|
-
/** Exceptions for specified calendar dates, time-range based. Periods the station is not operating/accessible. Overwriting regular_hours and exceptional_openings. Should not overlap exceptional_openings.
|
|
3001
|
+
/** Exceptions for specified calendar dates, time-range based. Periods the station is not operating/accessible. Overwriting regular_hours and exceptional_openings. Should not overlap exceptional_openings. */
|
|
2725
3002
|
exceptional_closings?: Maybe<Array<Maybe<OCPIExceptionalPeriod>>>;
|
|
2726
3003
|
};
|
|
2727
3004
|
|
|
2728
3005
|
export type OCPIImage = {
|
|
2729
|
-
/** URL from where the image data can be fetched through a web browser.
|
|
3006
|
+
/** URL from where the image data can be fetched through a web browser. */
|
|
2730
3007
|
url?: Maybe<Scalars["String"]>;
|
|
2731
|
-
/** URL from where a thumbnail of the image can be fetched through a webbrowser.
|
|
3008
|
+
/** URL from where a thumbnail of the image can be fetched through a webbrowser. */
|
|
2732
3009
|
thumbnail?: Maybe<Scalars["String"]>;
|
|
2733
|
-
/** Category of an image
|
|
3010
|
+
/** Category of an image */
|
|
2734
3011
|
category?: Maybe<OCPIImageCategory>;
|
|
2735
|
-
/** Image type: gif, jpeg, png, svg
|
|
3012
|
+
/** Image type: gif, jpeg, png, svg */
|
|
2736
3013
|
type?: Maybe<Scalars["String"]>;
|
|
2737
|
-
/** Width of the full scale image
|
|
3014
|
+
/** Width of the full scale image */
|
|
2738
3015
|
width?: Maybe<Scalars["Int"]>;
|
|
2739
|
-
/** Height of the full scale image
|
|
3016
|
+
/** Height of the full scale image */
|
|
2740
3017
|
height?: Maybe<Scalars["Int"]>;
|
|
2741
3018
|
};
|
|
2742
3019
|
|
|
@@ -2802,30 +3079,30 @@ export enum OCPIPowerType {
|
|
|
2802
3079
|
}
|
|
2803
3080
|
|
|
2804
3081
|
export type OCPIPrice = {
|
|
2805
|
-
/** Price/Cost excluding VAT.
|
|
3082
|
+
/** Price/Cost excluding VAT. */
|
|
2806
3083
|
excl_vat?: Maybe<Scalars["Float"]>;
|
|
2807
|
-
/** Price/Cost including VAT.
|
|
3084
|
+
/** Price/Cost including VAT. */
|
|
2808
3085
|
incl_vat?: Maybe<Scalars["Float"]>;
|
|
2809
3086
|
};
|
|
2810
3087
|
|
|
2811
3088
|
export type OCPIPriceComponent = {
|
|
2812
|
-
/** Type of tariff dimension.
|
|
3089
|
+
/** Type of tariff dimension. */
|
|
2813
3090
|
type?: Maybe<OCPITariffDimensionType>;
|
|
2814
|
-
/** Price per unit (excl. VAT) for this tariff dimension.
|
|
3091
|
+
/** Price per unit (excl. VAT) for this tariff dimension. */
|
|
2815
3092
|
price?: Maybe<Scalars["Float"]>;
|
|
2816
|
-
/** Applicable VAT percentage for this tariff dimension. If omitted, no VAT is applicable. Not providing a VAT is different from 0% VAT, which would be a value of 0.0 here.
|
|
3093
|
+
/** Applicable VAT percentage for this tariff dimension. If omitted, no VAT is applicable. Not providing a VAT is different from 0% VAT, which would be a value of 0.0 here. */
|
|
2817
3094
|
vat?: Maybe<Scalars["Float"]>;
|
|
2818
|
-
/** Minimum amount to be billed. This unit will be billed in this step_size blocks. For example: if type is TIME and step_size has a value of 300, then time will be billed in blocks of 5 minutes. If 6 minutes were used, 10 minutes (2 blocks of step_size) will be billed.
|
|
3095
|
+
/** Minimum amount to be billed. This unit will be billed in this step_size blocks. For example: if type is TIME and step_size has a value of 300, then time will be billed in blocks of 5 minutes. If 6 minutes were used, 10 minutes (2 blocks of step_size) will be billed. */
|
|
2819
3096
|
step_size?: Maybe<Scalars["Int"]>;
|
|
2820
3097
|
};
|
|
2821
3098
|
|
|
2822
3099
|
/** Regular recurring operation or access hours. */
|
|
2823
3100
|
export type OCPIRegularHours = {
|
|
2824
|
-
/** Number of days in the week, from Monday (1) till Sunday (7)
|
|
3101
|
+
/** Number of days in the week, from Monday (1) till Sunday (7) */
|
|
2825
3102
|
weekday?: Maybe<Scalars["Int"]>;
|
|
2826
|
-
/** Begin 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].
|
|
3103
|
+
/** Begin 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]. */
|
|
2827
3104
|
period_begin?: Maybe<Scalars["String"]>;
|
|
2828
|
-
/** End of the regular period, in local time, syntax as for period_begin. Must be later than period_begin.
|
|
3105
|
+
/** End of the regular period, in local time, syntax as for period_begin. Must be later than period_begin. */
|
|
2829
3106
|
period_end?: Maybe<Scalars["String"]>;
|
|
2830
3107
|
};
|
|
2831
3108
|
|
|
@@ -2860,42 +3137,42 @@ export enum OCPIStatus {
|
|
|
2860
3137
|
|
|
2861
3138
|
/** This type is used to schedule status periods in the future. The eMSP can provide this information to the EV user for trip planning purposes. A period MAY have no end. Example: "This station will be running as of tomorrow. Today it is still planned and under construction. */
|
|
2862
3139
|
export type OCPIStatusSchedule = {
|
|
2863
|
-
/** Begin of the scheduled period.
|
|
3140
|
+
/** Begin of the scheduled period. */
|
|
2864
3141
|
period_begin?: Maybe<Scalars["DateTime"]>;
|
|
2865
|
-
/** End of the scheduled period, if known.
|
|
3142
|
+
/** End of the scheduled period, if known. */
|
|
2866
3143
|
period_end?: Maybe<Scalars["DateTime"]>;
|
|
2867
|
-
/** Status value during the scheduled period.
|
|
3144
|
+
/** Status value during the scheduled period. */
|
|
2868
3145
|
status?: Maybe<OCPIStatus>;
|
|
2869
3146
|
};
|
|
2870
3147
|
|
|
2871
3148
|
export type OCPITariff = {
|
|
2872
|
-
/** ISO-3166 alpha-2 country code of the CPO that owns this tariff
|
|
3149
|
+
/** ISO-3166 alpha-2 country code of the CPO that owns this tariff */
|
|
2873
3150
|
country_code?: Maybe<Scalars["String"]>;
|
|
2874
|
-
/** CPO ID of the CPO that owns this tariff (following the ISO-15118 standard)
|
|
3151
|
+
/** CPO ID of the CPO that owns this tariff (following the ISO-15118 standard) */
|
|
2875
3152
|
party_id?: Maybe<Scalars["String"]>;
|
|
2876
|
-
/** Uniquely identifies the tariff within the CPO’s platform (and suboperator platforms)
|
|
3153
|
+
/** Uniquely identifies the tariff within the CPO’s platform (and suboperator platforms) */
|
|
2877
3154
|
id?: Maybe<Scalars["String"]>;
|
|
2878
|
-
/** ISO-4217 code of the currency of this tariff.
|
|
3155
|
+
/** ISO-4217 code of the currency of this tariff. */
|
|
2879
3156
|
currency?: Maybe<Scalars["String"]>;
|
|
2880
|
-
/** Defines the type of the tariff. This allows for distinction in case of given charging preferences. When omitted, this tariff is valid for all sessions
|
|
3157
|
+
/** Defines the type of the tariff. This allows for distinction in case of given charging preferences. When omitted, this tariff is valid for all sessions */
|
|
2881
3158
|
type?: Maybe<OCPITariffType>;
|
|
2882
|
-
/** List of alternative tariff information texts, in multiple languages
|
|
3159
|
+
/** List of alternative tariff information texts, in multiple languages */
|
|
2883
3160
|
tariff_alt_text?: Maybe<Array<Maybe<OCPIDisplayText>>>;
|
|
2884
|
-
/** URL to a web page that contains an explanation of the tariff information in human readable form
|
|
3161
|
+
/** URL to a web page that contains an explanation of the tariff information in human readable form */
|
|
2885
3162
|
tariff_alt_url?: Maybe<Scalars["String"]>;
|
|
2886
|
-
/** When this field is set, a charging session with this tariff will cost at least the amount shown. This is different from a FLAT fee (start tariff, transaction fee), as a FLAT fee is a fixed amount that must be paid for any charging session. A minimum price indicates that when the cost of a charging session is lower than this amount, the cost of the session will be equal to this amount
|
|
3163
|
+
/** When this field is set, a charging session with this tariff will cost at least the amount shown. This is different from a FLAT fee (start tariff, transaction fee), as a FLAT fee is a fixed amount that must be paid for any charging session. A minimum price indicates that when the cost of a charging session is lower than this amount, the cost of the session will be equal to this amount */
|
|
2887
3164
|
min_price?: Maybe<OCPIPrice>;
|
|
2888
|
-
/** When this field is set, a charging session with this tariff will NOT cost more than this amount
|
|
3165
|
+
/** When this field is set, a charging session with this tariff will NOT cost more than this amount */
|
|
2889
3166
|
max_price?: Maybe<OCPIPrice>;
|
|
2890
|
-
/** List of tariff elements
|
|
3167
|
+
/** List of tariff elements */
|
|
2891
3168
|
elements?: Maybe<Array<Maybe<OCPITariffElement>>>;
|
|
2892
|
-
/** Time when this tariff becomes active, in UTC, time_zone field of the Location can be used to convert to local time. Typically used for a new tariff that is already given with the location, before it becomes active
|
|
3169
|
+
/** Time when this tariff becomes active, in UTC, time_zone field of the Location can be used to convert to local time. Typically used for a new tariff that is already given with the location, before it becomes active */
|
|
2893
3170
|
start_date_time?: Maybe<Scalars["DateTime"]>;
|
|
2894
|
-
/** Time after which this tariff is no longer valid, in UTC, time_zone field if the location can be used to convert to local time. Typically used when this tariff is going to be replaced with a different tariff in the near future
|
|
3171
|
+
/** Time after which this tariff is no longer valid, in UTC, time_zone field if the location can be used to convert to local time. Typically used when this tariff is going to be replaced with a different tariff in the near future */
|
|
2895
3172
|
end_date_time?: Maybe<Scalars["DateTime"]>;
|
|
2896
|
-
/** Details about the energy supplied with this tariff
|
|
3173
|
+
/** Details about the energy supplied with this tariff */
|
|
2897
3174
|
energy_mix?: Maybe<OCPIEnergyMix>;
|
|
2898
|
-
/** Timestamp when this tariff was last updated (or created)
|
|
3175
|
+
/** Timestamp when this tariff was last updated (or created) */
|
|
2899
3176
|
last_updated?: Maybe<Scalars["DateTime"]>;
|
|
2900
3177
|
};
|
|
2901
3178
|
|
|
@@ -2911,40 +3188,40 @@ export enum OCPITariffDimensionType {
|
|
|
2911
3188
|
}
|
|
2912
3189
|
|
|
2913
3190
|
export type OCPITariffElement = {
|
|
2914
|
-
/** List of price components that describe the pricing of a tariff.
|
|
3191
|
+
/** List of price components that describe the pricing of a tariff. */
|
|
2915
3192
|
price_components?: Maybe<Array<Maybe<OCPIPriceComponent>>>;
|
|
2916
|
-
/** Restrictions that describe the applicability of a tariff.
|
|
3193
|
+
/** Restrictions that describe the applicability of a tariff. */
|
|
2917
3194
|
restrictions?: Maybe<Array<Maybe<OCPITariffRestrictions>>>;
|
|
2918
3195
|
};
|
|
2919
3196
|
|
|
2920
3197
|
export type OCPITariffRestrictions = {
|
|
2921
|
-
/** Start time of day in local time, the time zone is defined in the time_zone field of the Location, for example 13:30, valid from this time of the day. Must be in 24h format with leading zeros. Hour/Minute separator: ":" Regex: ([0-1][0-9]|2[1-3]):[0-5][0-9]
|
|
3198
|
+
/** Start time of day in local time, the time zone is defined in the time_zone field of the Location, for example 13:30, valid from this time of the day. Must be in 24h format with leading zeros. Hour/Minute separator: ":" Regex: ([0-1][0-9]|2[1-3]):[0-5][0-9] */
|
|
2922
3199
|
start_time?: Maybe<Scalars["String"]>;
|
|
2923
|
-
/** End time of day in local time, the time zone is defined in the time_zone field of the Location, for example 19:45, valid until this time of the day. Same syntax as start_time.
|
|
3200
|
+
/** End time of day in local time, the time zone is defined in the time_zone field of the Location, for example 19:45, valid until this time of the day. Same syntax as start_time. */
|
|
2924
3201
|
end_time?: Maybe<Scalars["String"]>;
|
|
2925
|
-
/** Start date in local time, the time zone is defined in the time_zone field of the Location, for example: 2015-12-24, valid from this day. Regex: ([12][0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])
|
|
3202
|
+
/** Start date in local time, the time zone is defined in the time_zone field of the Location, for example: 2015-12-24, valid from this day. Regex: ([12][0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]) */
|
|
2926
3203
|
start_date?: Maybe<Scalars["String"]>;
|
|
2927
|
-
/** End date in local time, the time zone is defined in the time_zone field of the Location, for example: 2015-12-27, valid until this day (exclusive). Same syntax as start_date
|
|
3204
|
+
/** End date in local time, the time zone is defined in the time_zone field of the Location, for example: 2015-12-27, valid until this day (exclusive). Same syntax as start_date */
|
|
2928
3205
|
end_date?: Maybe<Scalars["String"]>;
|
|
2929
|
-
/** Minimum consumed energy in kWh, for example 20, valid from this amount of energy being used
|
|
3206
|
+
/** Minimum consumed energy in kWh, for example 20, valid from this amount of energy being used */
|
|
2930
3207
|
min_kwh?: Maybe<Scalars["Float"]>;
|
|
2931
|
-
/** Maximum consumed energy in kWh, for example 50, valid until this amount of energy being used
|
|
3208
|
+
/** Maximum consumed energy in kWh, for example 50, valid until this amount of energy being used */
|
|
2932
3209
|
max_kwh?: Maybe<Scalars["Float"]>;
|
|
2933
|
-
/** Sum of the minimum current in over all phases, for example 5. When the EV is charging with more than the defined amount of current, this tariff element is/becomes active. If the charging current is or becomes lower, this tariff element is not or no longer valid and becomes inactive. This does not describe the minimum current over the entire charging session. This restriction can make a tariff element become active when the charging current is above the defined value, but the tariff element MUST no longer be active when the charging current drops below the defined value
|
|
3210
|
+
/** Sum of the minimum current in over all phases, for example 5. When the EV is charging with more than the defined amount of current, this tariff element is/becomes active. If the charging current is or becomes lower, this tariff element is not or no longer valid and becomes inactive. This does not describe the minimum current over the entire charging session. This restriction can make a tariff element become active when the charging current is above the defined value, but the tariff element MUST no longer be active when the charging current drops below the defined value */
|
|
2934
3211
|
min_current?: Maybe<Scalars["Float"]>;
|
|
2935
|
-
/** Sum of the maximum current in over all phases, for example 20. When the EV is charging with less than the defined amount of current, this tariff element becomes/is active. If the charging current is or becomes higher, this tariff element is not or no longer valid and becomes inactive. This describes NOT the maximum current over the entire Charging Session. This restriction can make a tariff element become active when the charging current is below this value, but the tariff element MUST no longer be active when the charging current raises above the defined value
|
|
3212
|
+
/** Sum of the maximum current in over all phases, for example 20. When the EV is charging with less than the defined amount of current, this tariff element becomes/is active. If the charging current is or becomes higher, this tariff element is not or no longer valid and becomes inactive. This describes NOT the maximum current over the entire Charging Session. This restriction can make a tariff element become active when the charging current is below this value, but the tariff element MUST no longer be active when the charging current raises above the defined value */
|
|
2936
3213
|
max_current?: Maybe<Scalars["Float"]>;
|
|
2937
|
-
/** Minimum power in kW, for example 5. When the EV is charging with more than the defined amount of power, this tariff element is/becomes active. If the charging power is or becomes lower, this tariff element is not or no longer valid and becomes inactive. This does not describe the minimum power over the entire charging session. This restriction can make a tariff element become active when the charging power is above this value, but the TariffElement MUST no longer be active when the charging power drops below the defined value
|
|
3214
|
+
/** Minimum power in kW, for example 5. When the EV is charging with more than the defined amount of power, this tariff element is/becomes active. If the charging power is or becomes lower, this tariff element is not or no longer valid and becomes inactive. This does not describe the minimum power over the entire charging session. This restriction can make a tariff element become active when the charging power is above this value, but the TariffElement MUST no longer be active when the charging power drops below the defined value */
|
|
2938
3215
|
min_power?: Maybe<Scalars["Float"]>;
|
|
2939
|
-
/** Maximum power in kW, for example 20. When the EV is charging with less than the defined amount of power, this tariff element becomes/is active. If the charging power is or becomes higher, this tariff element is not or no longer valid and becomes inactive. This does not describe the maximum power over the entire charging session. This restriction can make a tariff element become active when the charging power is below this value, but the TariffElement MUST no longer be active when the charging power raises above the defined value
|
|
3216
|
+
/** Maximum power in kW, for example 20. When the EV is charging with less than the defined amount of power, this tariff element becomes/is active. If the charging power is or becomes higher, this tariff element is not or no longer valid and becomes inactive. This does not describe the maximum power over the entire charging session. This restriction can make a tariff element become active when the charging power is below this value, but the TariffElement MUST no longer be active when the charging power raises above the defined value */
|
|
2940
3217
|
max_power?: Maybe<Scalars["Float"]>;
|
|
2941
|
-
/** Minimum duration in seconds the charging session MUST last (inclusive). When the duration of a charging session is longer than the defined value, this TariffElement is or becomes active. Before that moment, this tariff element is not yet active
|
|
3218
|
+
/** Minimum duration in seconds the charging session MUST last (inclusive). When the duration of a charging session is longer than the defined value, this TariffElement is or becomes active. Before that moment, this tariff element is not yet active */
|
|
2942
3219
|
min_duration?: Maybe<Scalars["Float"]>;
|
|
2943
|
-
/** Maximum duration in seconds the charging session MUST last (exclusive). When the duration of a charging session is shorter than the defined value, this tariff element is or becomes active. After that moment, this tariff element is no longer active
|
|
3220
|
+
/** Maximum duration in seconds the charging session MUST last (exclusive). When the duration of a charging session is shorter than the defined value, this tariff element is or becomes active. After that moment, this tariff element is no longer active */
|
|
2944
3221
|
max_duration?: Maybe<Scalars["Float"]>;
|
|
2945
|
-
/** Which day(s) of the week this tariff element is active.
|
|
3222
|
+
/** Which day(s) of the week this tariff element is active. */
|
|
2946
3223
|
day_of_week?: Maybe<OCPIDayOfWeek>;
|
|
2947
|
-
/** When this field is present, the tariff element describes reservation costs. A reservation starts when the reservation is made, and ends when the drivers starts charging on the reserved EVSE/Location, or when the reservation expires. A reservation can only have: FLAT and TIME TariffDimensions, where TIME is for the duration of the reservation
|
|
3224
|
+
/** When this field is present, the tariff element describes reservation costs. A reservation starts when the reservation is made, and ends when the drivers starts charging on the reserved EVSE/Location, or when the reservation expires. A reservation can only have: FLAT and TIME TariffDimensions, where TIME is for the duration of the reservation */
|
|
2948
3225
|
reservation?: Maybe<OCPIReservationRestrictionType>;
|
|
2949
3226
|
};
|
|
2950
3227
|
|
|
@@ -3068,15 +3345,15 @@ export type Operator = {
|
|
|
3068
3345
|
id?: Maybe<Scalars["ID"]>;
|
|
3069
3346
|
/** External ID of an operator provided by the operator data source. */
|
|
3070
3347
|
external_id?: Maybe<Scalars["String"]>;
|
|
3071
|
-
/** Name of an operator.
|
|
3348
|
+
/** Name of an operator. */
|
|
3072
3349
|
name?: Maybe<Scalars["String"]>;
|
|
3073
|
-
/** Link to an operator’s website.
|
|
3350
|
+
/** Link to an operator’s website. */
|
|
3074
3351
|
website?: Maybe<Scalars["String"]>;
|
|
3075
|
-
/** Image link to an operator’s logo.
|
|
3352
|
+
/** Image link to an operator’s logo. */
|
|
3076
3353
|
logo?: Maybe<OCPIImage>;
|
|
3077
3354
|
/**
|
|
3078
3355
|
* ISO-3166 alpha-2 country code an operator is active in.
|
|
3079
|
-
* @deprecated In favor of countries
|
|
3356
|
+
* @deprecated In favor of `countries`.
|
|
3080
3357
|
*/
|
|
3081
3358
|
country?: Maybe<Scalars["String"]>;
|
|
3082
3359
|
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
@@ -3085,12 +3362,12 @@ export type Operator = {
|
|
|
3085
3362
|
contact?: Maybe<Contact>;
|
|
3086
3363
|
/**
|
|
3087
3364
|
* Ranking level on which the operator is placed or null in case the operator is not on any ranking level. Default operator preference applied to routes created through newRoute mutation if no operator preference is specified in the request.
|
|
3088
|
-
* @deprecated In favor of ranking_levels
|
|
3365
|
+
* @deprecated In favor of `ranking_levels`.
|
|
3089
3366
|
*/
|
|
3090
3367
|
ranking?: Maybe<Scalars["Int"]>;
|
|
3091
3368
|
/**
|
|
3092
3369
|
* Flag which indicates if the operator is in the excluded list. Default operator preference applied to routes created through newRoute mutation if no operator preference is specified in the request.
|
|
3093
|
-
* @deprecated In favor of excluded_countries
|
|
3370
|
+
* @deprecated In favor of `excluded_countries`.
|
|
3094
3371
|
*/
|
|
3095
3372
|
excluded?: Maybe<Scalars["Boolean"]>;
|
|
3096
3373
|
/** Ranking configuration for the operator. 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. */
|
|
@@ -3101,7 +3378,7 @@ export type Operator = {
|
|
|
3101
3378
|
avoided_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
3102
3379
|
};
|
|
3103
3380
|
|
|
3104
|
-
/**
|
|
3381
|
+
/** Criteria to filter operators in the operator list query. */
|
|
3105
3382
|
export type OperatorListFilter = {
|
|
3106
3383
|
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
3107
3384
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
@@ -3115,7 +3392,7 @@ export type OperatorListFilter = {
|
|
|
3115
3392
|
excluded_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
3116
3393
|
};
|
|
3117
3394
|
|
|
3118
|
-
/**
|
|
3395
|
+
/** Query parameters to filter operators in the operator list query. */
|
|
3119
3396
|
export type OperatorListQuery = {
|
|
3120
3397
|
/** Unique operator ID. */
|
|
3121
3398
|
id?: Maybe<Scalars["ID"]>;
|
|
@@ -3368,17 +3645,17 @@ export type Query = {
|
|
|
3368
3645
|
*/
|
|
3369
3646
|
userReviewList?: Maybe<Array<Review>>;
|
|
3370
3647
|
/**
|
|
3371
|
-
*
|
|
3648
|
+
* Get emissions for a route.
|
|
3372
3649
|
* @deprecated In favor of `getRouteEmissions`.
|
|
3373
3650
|
*/
|
|
3374
3651
|
routeEmissions: RouteEmissions;
|
|
3375
3652
|
/**
|
|
3376
|
-
*
|
|
3653
|
+
* Get a route by ID.
|
|
3377
3654
|
* @deprecated In favor of `getRoute`.
|
|
3378
3655
|
*/
|
|
3379
3656
|
route?: Maybe<Route>;
|
|
3380
3657
|
/**
|
|
3381
|
-
*
|
|
3658
|
+
* Get a route path segment by ID.
|
|
3382
3659
|
* @deprecated In favor of `RouteDetails.path_plot`.
|
|
3383
3660
|
*/
|
|
3384
3661
|
routePath?: Maybe<RoutePath>;
|
|
@@ -3581,8 +3858,8 @@ export type RequestEv = {
|
|
|
3581
3858
|
/** Cargo weight, in kg. */
|
|
3582
3859
|
cargo?: Maybe<Scalars["Float"]>;
|
|
3583
3860
|
/**
|
|
3584
|
-
*
|
|
3585
|
-
* @deprecated In favor of occupants
|
|
3861
|
+
* Number of passengers on board.
|
|
3862
|
+
* @deprecated In favor of `occupants`.
|
|
3586
3863
|
*/
|
|
3587
3864
|
numberOfPassengers?: Maybe<Scalars["Int"]>;
|
|
3588
3865
|
/** Number of occupants. */
|
|
@@ -3655,29 +3932,29 @@ export type RequestEvConsumption = {
|
|
|
3655
3932
|
auxiliary?: Maybe<Scalars["Float"]>;
|
|
3656
3933
|
/**
|
|
3657
3934
|
* Consumption, in kWh, of the auxiliaries.
|
|
3658
|
-
* @deprecated In favor of auxiliary
|
|
3935
|
+
* @deprecated In favor of `auxiliary`
|
|
3659
3936
|
*/
|
|
3660
3937
|
aux?: Maybe<CarConsumption>;
|
|
3661
3938
|
/**
|
|
3662
|
-
*
|
|
3663
|
-
* @deprecated In favor of auxiliary
|
|
3939
|
+
* Consumption, in kWh, of the battery management system.
|
|
3940
|
+
* @deprecated In favor of `auxiliary`
|
|
3664
3941
|
*/
|
|
3665
3942
|
bms?: Maybe<CarConsumption>;
|
|
3666
3943
|
/**
|
|
3667
|
-
*
|
|
3668
|
-
* @deprecated In favor of auxiliary
|
|
3944
|
+
* Consumption, in kWh, of the vehicle in idle mode.
|
|
3945
|
+
* @deprecated In favor of `auxiliary`
|
|
3669
3946
|
*/
|
|
3670
3947
|
idle?: Maybe<CarConsumption>;
|
|
3671
3948
|
};
|
|
3672
3949
|
|
|
3673
3950
|
export type RequestEvConsumptionInput = {
|
|
3674
|
-
/**
|
|
3951
|
+
/** Amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc. */
|
|
3675
3952
|
auxiliary?: Maybe<Scalars["Float"]>;
|
|
3676
|
-
/**
|
|
3953
|
+
/** Consumption, in kWh, of the auxiliaries. */
|
|
3677
3954
|
aux?: Maybe<CarConsumptionInput>;
|
|
3678
|
-
/**
|
|
3955
|
+
/** Consumption, in kWh, of the battery management system. */
|
|
3679
3956
|
bms?: Maybe<CarConsumptionInput>;
|
|
3680
|
-
/**
|
|
3957
|
+
/** Consumption, in kWh, of the vehicle in idle mode. */
|
|
3681
3958
|
idle?: Maybe<CarConsumptionInput>;
|
|
3682
3959
|
};
|
|
3683
3960
|
|
|
@@ -3706,9 +3983,9 @@ export type RequestEvInput = {
|
|
|
3706
3983
|
cargo?: Maybe<Scalars["Int"]>;
|
|
3707
3984
|
/** Consumption specific to the EV or inputted by the request. */
|
|
3708
3985
|
consumption?: Maybe<RequestEvConsumptionInput>;
|
|
3709
|
-
/**
|
|
3986
|
+
/** Consumption, in kWh, of the auxiliaries. */
|
|
3710
3987
|
auxConsumption?: Maybe<Scalars["Float"]>;
|
|
3711
|
-
/**
|
|
3988
|
+
/** Consumption, in kWh, of the battery management system. */
|
|
3712
3989
|
bmsConsumption?: Maybe<Scalars["Float"]>;
|
|
3713
3990
|
};
|
|
3714
3991
|
|
|
@@ -3738,24 +4015,24 @@ export type RequestInput = {
|
|
|
3738
4015
|
export type RequestRoute = {
|
|
3739
4016
|
/**
|
|
3740
4017
|
* Requested amenities near the stations, within a 1 kilometer radius.
|
|
3741
|
-
* @deprecated
|
|
4018
|
+
* @deprecated In favor of `amenity_preferences`.
|
|
3742
4019
|
*/
|
|
3743
4020
|
amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3744
4021
|
/** Amenity preferences for a route. */
|
|
3745
4022
|
amenity_preferences?: Maybe<RouteAmenityPreferences>;
|
|
3746
4023
|
/**
|
|
3747
4024
|
* Requested operators.
|
|
3748
|
-
* @deprecated
|
|
4025
|
+
* @deprecated In favor of `operators`.
|
|
3749
4026
|
*/
|
|
3750
4027
|
operatorIds?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3751
4028
|
/**
|
|
3752
4029
|
* Preferred operators are required. In case there are no preferred operators the route cannot be calculated.
|
|
3753
|
-
* @deprecated
|
|
4030
|
+
* @deprecated In favor of `operators`.
|
|
3754
4031
|
*/
|
|
3755
4032
|
operatorRequired?: Maybe<Scalars["Boolean"]>;
|
|
3756
4033
|
/**
|
|
3757
4034
|
* Encourage the route to use preferred operators. In case there are no preferred operators the route can still be calculated.
|
|
3758
|
-
* @deprecated
|
|
4035
|
+
* @deprecated In favor of `operators`.
|
|
3759
4036
|
*/
|
|
3760
4037
|
operatorPrefer?: Maybe<Scalars["Boolean"]>;
|
|
3761
4038
|
/** Operator prioritization for a route. */
|
|
@@ -3774,7 +4051,7 @@ export type RequestRoute = {
|
|
|
3774
4051
|
stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
|
|
3775
4052
|
/**
|
|
3776
4053
|
* 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.
|
|
3777
|
-
* @deprecated
|
|
4054
|
+
* @deprecated All routes will have turn-by-turn instructions prepared. Boolean will be ignored.
|
|
3778
4055
|
*/
|
|
3779
4056
|
instructions?: Maybe<Scalars["Boolean"]>;
|
|
3780
4057
|
/** Mode that indicates if we optimize the charging time or always charge to the maximum capacity. */
|
|
@@ -3782,15 +4059,15 @@ export type RequestRoute = {
|
|
|
3782
4059
|
};
|
|
3783
4060
|
|
|
3784
4061
|
export type RequestRouteInput = {
|
|
3785
|
-
/**
|
|
4062
|
+
/** A list of desired amenities near the stations, with a 1 kilometer radius. */
|
|
3786
4063
|
amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3787
4064
|
/** Amenity preferences for a route. */
|
|
3788
4065
|
amenity_preferences?: Maybe<AmenityPreferencesInput>;
|
|
3789
|
-
/**
|
|
4066
|
+
/** A list of requested operators. */
|
|
3790
4067
|
operatorIds?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3791
|
-
/**
|
|
4068
|
+
/** Flag which indicates if the operators are required. */
|
|
3792
4069
|
operatorRequired?: Maybe<Scalars["Boolean"]>;
|
|
3793
|
-
/**
|
|
4070
|
+
/** Flag which indicates if the preferred operators should be loaded. */
|
|
3794
4071
|
operatorPrefer?: Maybe<Scalars["Boolean"]>;
|
|
3795
4072
|
/** Operator prioritization for a route. */
|
|
3796
4073
|
operators?: Maybe<RouteOperatorsInput>;
|
|
@@ -3808,7 +4085,7 @@ export type RequestRouteInput = {
|
|
|
3808
4085
|
via?: Maybe<Array<Maybe<FeaturePointInput>>>;
|
|
3809
4086
|
/** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
|
|
3810
4087
|
stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
|
|
3811
|
-
/**
|
|
4088
|
+
/** Flag to enable turn-by-turn instructions. */
|
|
3812
4089
|
instructions?: Maybe<Scalars["Boolean"]>;
|
|
3813
4090
|
};
|
|
3814
4091
|
|
|
@@ -3953,7 +4230,7 @@ export type RouteAlternative = {
|
|
|
3953
4230
|
chargeTime?: Maybe<Scalars["Float"]>;
|
|
3954
4231
|
/**
|
|
3955
4232
|
* Amenity ranking for an alternative.
|
|
3956
|
-
* @deprecated Will be removed
|
|
4233
|
+
* @deprecated Will be removed.
|
|
3957
4234
|
*/
|
|
3958
4235
|
amenityRanking?: Maybe<Scalars["Int"]>;
|
|
3959
4236
|
/** Display value that indicates the range, in meters, available at the beginning of the trip. This range is calculated using the Chargetrip range, the conditions at the time of planning the route, weather scenario (current or seasonal) and the route input. */
|
|
@@ -3976,7 +4253,7 @@ export type RouteAlternative = {
|
|
|
3976
4253
|
pathPlot?: Maybe<Array<Maybe<PathSegment>>>;
|
|
3977
4254
|
/**
|
|
3978
4255
|
* Elevation values. Each elevationPlot has a hundred points, independent of the length of a route.
|
|
3979
|
-
* @deprecated
|
|
4256
|
+
* @deprecated In favor of `pathPlot`.
|
|
3980
4257
|
*/
|
|
3981
4258
|
elevationPlot?: Maybe<Array<Maybe<Scalars["Float"]>>>;
|
|
3982
4259
|
/** Total number of meters which are going up on a route. */
|
|
@@ -4301,7 +4578,7 @@ export type RouteDetailsLegFeatureProperties = {
|
|
|
4301
4578
|
solar_irradiance?: Maybe<Scalars["Float"]>;
|
|
4302
4579
|
/**
|
|
4303
4580
|
* Duration, in seconds, of time spent at this location.
|
|
4304
|
-
* @deprecated In favor of legs.durations
|
|
4581
|
+
* @deprecated In favor of `legs.durations`.
|
|
4305
4582
|
*/
|
|
4306
4583
|
duration?: Maybe<Scalars["Int"]>;
|
|
4307
4584
|
/** Number of occupants present in the vehicle. */
|
|
@@ -4473,6 +4750,12 @@ export enum RouteDetailsLegWarningCode {
|
|
|
4473
4750
|
SEGMENT_UNAVOIDABLE = "segment_unavoidable",
|
|
4474
4751
|
/** The charging station used in the leg has limited opening hours. */
|
|
4475
4752
|
STATION_LIMITED_OPEN_HOURS = "station_limited_open_hours",
|
|
4753
|
+
/** The leg's charging station has unknown open hours. */
|
|
4754
|
+
STATION_UNKNOWN_OPEN_HOURS = "station_unknown_open_hours",
|
|
4755
|
+
/** The leg's charging station is closed at the estimated time of arrival. */
|
|
4756
|
+
STATION_CLOSED = "station_closed",
|
|
4757
|
+
/** The leg's charging station is closing within 45 minutes of the estimated time of arrival. */
|
|
4758
|
+
STATION_CLOSING_SOON = "station_closing_soon",
|
|
4476
4759
|
/** The specified stop duration at the via charging station is insufficient to start a charging session. */
|
|
4477
4760
|
VIA_INSUFFICIENT_CHARGING_TIME = "via_insufficient_charging_time"
|
|
4478
4761
|
}
|
|
@@ -4517,7 +4800,7 @@ export type RouteDetailsPathSegment = {
|
|
|
4517
4800
|
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
4518
4801
|
/**
|
|
4519
4802
|
* Maximum vehicle speed of a route path segment.
|
|
4520
|
-
* @deprecated Will be removed
|
|
4803
|
+
* @deprecated Will be removed.
|
|
4521
4804
|
*/
|
|
4522
4805
|
maximum_speed: Scalars["Float"];
|
|
4523
4806
|
};
|
|
@@ -5701,12 +5984,12 @@ export type RouteStationOperator = {
|
|
|
5701
5984
|
};
|
|
5702
5985
|
|
|
5703
5986
|
export type RouteStationPreferences = {
|
|
5704
|
-
/**
|
|
5987
|
+
/** Prioritises charging stations located directly on the highway, avoiding exiting highways to charge. It's considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. */
|
|
5705
5988
|
prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
|
|
5706
5989
|
};
|
|
5707
5990
|
|
|
5708
5991
|
export type RouteStationPreferencesInput = {
|
|
5709
|
-
/**
|
|
5992
|
+
/** Prioritises charging stations located directly on the highway, avoiding exiting highways to charge. It's considered alongside final SOC and operator preferences, and may reduce their influence if they conflict. This logic may require additional client-specific tuning. Please contact Chargetrip if the behavior seems suboptimal. */
|
|
5710
5993
|
prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
|
|
5711
5994
|
};
|
|
5712
5995
|
|
|
@@ -6215,59 +6498,59 @@ export enum StateOfChargeUnit {
|
|
|
6215
6498
|
|
|
6216
6499
|
/** Station data which extends OCPI Location. */
|
|
6217
6500
|
export type Station = {
|
|
6218
|
-
/** Unique ID of a station.
|
|
6501
|
+
/** Unique ID of a station. */
|
|
6219
6502
|
id: Scalars["ID"];
|
|
6220
|
-
/** ISO-3166 alpha-2 country code of a station.
|
|
6503
|
+
/** ISO-3166 alpha-2 country code of a station. */
|
|
6221
6504
|
country_code?: Maybe<Scalars["String"]>;
|
|
6222
|
-
/** CPO ID of a CPO that 'owns' this station (following the ISO-15118 standard).
|
|
6505
|
+
/** CPO ID of a CPO that 'owns' this station (following the ISO-15118 standard). */
|
|
6223
6506
|
party_id?: Maybe<Scalars["String"]>;
|
|
6224
6507
|
/**
|
|
6225
6508
|
* Defines if a location may be published on a website or app etc.
|
|
6226
6509
|
* When this is set to false, only tokens identified in the field: publish_allowed_to are allowed to show this location.
|
|
6227
|
-
* When the same location has EVSEs that may be published and may not be published, two 'locations' should be created.
|
|
6510
|
+
* When the same location has EVSEs that may be published and may not be published, two 'locations' should be created.
|
|
6228
6511
|
*/
|
|
6229
6512
|
publish?: Maybe<Scalars["Boolean"]>;
|
|
6230
|
-
/** Name of a charging station.
|
|
6513
|
+
/** Name of a charging station. */
|
|
6231
6514
|
name?: Maybe<Scalars["String"]>;
|
|
6232
|
-
/** Street/block name and house number if available.
|
|
6515
|
+
/** Street/block name and house number if available. */
|
|
6233
6516
|
address?: Maybe<Scalars["String"]>;
|
|
6234
|
-
/** City or town
|
|
6517
|
+
/** City or town */
|
|
6235
6518
|
city?: Maybe<Scalars["String"]>;
|
|
6236
|
-
/** Postal code of a location, may only be omitted when a location has no postal code: in some countries charging locations at highways don’t have postal codes.
|
|
6519
|
+
/** Postal code of a location, may only be omitted when a location has no postal code: in some countries charging locations at highways don’t have postal codes. */
|
|
6237
6520
|
postal_code?: Maybe<Scalars["String"]>;
|
|
6238
|
-
/** State or province of a location, only to be used when relevant.
|
|
6521
|
+
/** State or province of a location, only to be used when relevant. */
|
|
6239
6522
|
state?: Maybe<Scalars["String"]>;
|
|
6240
|
-
/** ISO 3166-1 alpha-3 code for the country of this station.
|
|
6523
|
+
/** ISO 3166-1 alpha-3 code for the country of this station. */
|
|
6241
6524
|
country?: Maybe<Scalars["String"]>;
|
|
6242
|
-
/** Coordinates of a location.
|
|
6525
|
+
/** Coordinates of a location. */
|
|
6243
6526
|
coordinates?: Maybe<OCPIGeoLocation>;
|
|
6244
|
-
/** Geographical location of related points relevant to a user.
|
|
6527
|
+
/** Geographical location of related points relevant to a user. */
|
|
6245
6528
|
related_locations?: Maybe<Array<Maybe<OCPIAdditionalGeoLocation>>>;
|
|
6246
|
-
/** Type of parking at a charge point location.
|
|
6529
|
+
/** Type of parking at a charge point location. */
|
|
6247
6530
|
parking_type?: Maybe<OCPIParkingType>;
|
|
6248
|
-
/** EVSEs that belong to a station.
|
|
6531
|
+
/** EVSEs that belong to a station. */
|
|
6249
6532
|
evses?: Maybe<Array<Maybe<EVSE>>>;
|
|
6250
|
-
/** Human-readable directions on how to reach a station.
|
|
6533
|
+
/** Human-readable directions on how to reach a station. */
|
|
6251
6534
|
directions?: Maybe<Array<Maybe<OCPIDisplayText>>>;
|
|
6252
|
-
/** Information about an operator.
|
|
6535
|
+
/** Information about an operator. */
|
|
6253
6536
|
operator?: Maybe<Operator>;
|
|
6254
|
-
/** Information about a suboperator if applicable.
|
|
6537
|
+
/** Information about a suboperator if applicable. */
|
|
6255
6538
|
suboperator?: Maybe<Operator>;
|
|
6256
|
-
/** Information about an owner if available.
|
|
6539
|
+
/** Information about an owner if available. */
|
|
6257
6540
|
owner?: Maybe<Operator>;
|
|
6258
|
-
/** Facilities a charging station belongs to.
|
|
6541
|
+
/** Facilities a charging station belongs to. */
|
|
6259
6542
|
facilities?: Maybe<Array<Maybe<OCPIFacility>>>;
|
|
6260
|
-
/** Value from the IANA time zone database representing the time zone of a location. Examples: "Europe/Oslo", "Europe/Zurich". (http://www.iana.org/time-zones).
|
|
6543
|
+
/** Value from the IANA time zone database representing the time zone of a location. Examples: "Europe/Oslo", "Europe/Zurich". (http://www.iana.org/time-zones). */
|
|
6261
6544
|
time_zone?: Maybe<Scalars["String"]>;
|
|
6262
|
-
/** Times when an EVSEs at a location can be accessed for charging.
|
|
6545
|
+
/** Times when an EVSEs at a location can be accessed for charging. */
|
|
6263
6546
|
opening_times?: Maybe<OCPIHours>;
|
|
6264
|
-
/** Indicates if the EVSEs are still charging outside the opening hours. E.g. when a parking garage closes its barriers overnight, is it allowed to charge till the next morning? Default: true.
|
|
6547
|
+
/** Indicates if the EVSEs are still charging outside the opening hours. E.g. when a parking garage closes its barriers overnight, is it allowed to charge till the next morning? Default: true. */
|
|
6265
6548
|
charging_when_closed?: Maybe<Scalars["Boolean"]>;
|
|
6266
|
-
/** Links to images related to a location such as photos or logos.
|
|
6549
|
+
/** Links to images related to a location such as photos or logos. */
|
|
6267
6550
|
images?: Maybe<Array<Maybe<OCPIImage>>>;
|
|
6268
|
-
/** Details of the energy supplied at a location.
|
|
6551
|
+
/** Details of the energy supplied at a location. */
|
|
6269
6552
|
energy_mix?: Maybe<OCPIEnergyMix>;
|
|
6270
|
-
/** Timestamp when a location, or one of its EVSEs or Connectors were last updated (or created).
|
|
6553
|
+
/** Timestamp when a location, or one of its EVSEs or Connectors were last updated (or created). */
|
|
6271
6554
|
last_updated?: Maybe<Scalars["DateTime"]>;
|
|
6272
6555
|
/** ID provided by a station data source. */
|
|
6273
6556
|
external_id?: Maybe<Scalars["String"]>;
|
|
@@ -6359,7 +6642,7 @@ export enum StationAdhocAuthorisationPaymentMethod {
|
|
|
6359
6642
|
AUTH_BY_CAR_AUTOCHARGE = "AUTH_BY_CAR_AUTOCHARGE"
|
|
6360
6643
|
}
|
|
6361
6644
|
|
|
6362
|
-
/**
|
|
6645
|
+
/** Criteria to filter stations in the station around query. */
|
|
6363
6646
|
export type StationAroundFilter = {
|
|
6364
6647
|
/** GeoJSON Point of the center of the around me circle. */
|
|
6365
6648
|
location?: Maybe<PointInput>;
|
|
@@ -6379,7 +6662,7 @@ export type StationAroundFilter = {
|
|
|
6379
6662
|
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
6380
6663
|
};
|
|
6381
6664
|
|
|
6382
|
-
/**
|
|
6665
|
+
/** Query parameters to filter stations in the station around query. */
|
|
6383
6666
|
export type StationAroundQuery = {
|
|
6384
6667
|
/** GeoJSON Point of the center of the around me circle. */
|
|
6385
6668
|
location?: Maybe<PointInput>;
|
|
@@ -6394,7 +6677,7 @@ export type StationAroundQuery = {
|
|
|
6394
6677
|
export type StationCustomProperties = {
|
|
6395
6678
|
/**
|
|
6396
6679
|
* Shows how reliable a charging station is (1 to 5; 1 = unreliable, 5 = reliable), taking into account the charging behaviour history and error values.
|
|
6397
|
-
* @deprecated In favor of station.reliability_score
|
|
6680
|
+
* @deprecated In favor of `station.reliability_score`.
|
|
6398
6681
|
*/
|
|
6399
6682
|
reliability_score?: Maybe<Scalars["Int"]>;
|
|
6400
6683
|
/** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
@@ -6453,7 +6736,7 @@ export type StationHeavyVehiclesRestrictionsmassArgs = {
|
|
|
6453
6736
|
unit?: Maybe<WeightUnit>;
|
|
6454
6737
|
};
|
|
6455
6738
|
|
|
6456
|
-
/**
|
|
6739
|
+
/** Criteria to filter stations in the station list query. */
|
|
6457
6740
|
export type StationListFilter = {
|
|
6458
6741
|
/** Powers in kW. */
|
|
6459
6742
|
powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
|
|
@@ -6469,7 +6752,7 @@ export type StationListFilter = {
|
|
|
6469
6752
|
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
6470
6753
|
};
|
|
6471
6754
|
|
|
6472
|
-
/**
|
|
6755
|
+
/** Query parameters to filter stations in the station list query. */
|
|
6473
6756
|
export type StationListQuery = {
|
|
6474
6757
|
/** ID of the station. */
|
|
6475
6758
|
id?: Maybe<Scalars["ID"]>;
|
|
@@ -6579,12 +6862,15 @@ export enum StepType {
|
|
|
6579
6862
|
}
|
|
6580
6863
|
|
|
6581
6864
|
export type Subscription = {
|
|
6582
|
-
/**
|
|
6865
|
+
/**
|
|
6866
|
+
* Subscribe to a specific route to receive system event updates.
|
|
6867
|
+
* @deprecated In favor of `route`.
|
|
6868
|
+
*/
|
|
6583
6869
|
routeUpdatedById?: Maybe<Route>;
|
|
6584
6870
|
/** Subscribe to a specific route to receive system event updates. */
|
|
6585
6871
|
route: RouteResponse;
|
|
6586
|
-
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
6587
|
-
|
|
6872
|
+
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates. */
|
|
6873
|
+
navigation?: Maybe<NavigationSubscription>;
|
|
6588
6874
|
/** [BETA] Subscribe to a connected vehicle. */
|
|
6589
6875
|
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
6590
6876
|
/** Subscribe to an isoline in order to receive updates. */
|
|
@@ -6599,7 +6885,7 @@ export type SubscriptionrouteArgs = {
|
|
|
6599
6885
|
id: Scalars["ID"];
|
|
6600
6886
|
};
|
|
6601
6887
|
|
|
6602
|
-
export type
|
|
6888
|
+
export type SubscriptionnavigationArgs = {
|
|
6603
6889
|
id: Scalars["ID"];
|
|
6604
6890
|
};
|
|
6605
6891
|
|
|
@@ -6650,8 +6936,6 @@ export type Telemetry = {
|
|
|
6650
6936
|
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
6651
6937
|
/** Values for the average tire pressures of all wheels, starting from the front side right to left and to the rear. */
|
|
6652
6938
|
tire_pressure?: Maybe<Array<Scalars["Float"]>>;
|
|
6653
|
-
/** UNIX timestamp in seconds. */
|
|
6654
|
-
timestamp?: Maybe<Scalars["Int"]>;
|
|
6655
6939
|
/** Value of the vehicle speed. */
|
|
6656
6940
|
vehicle_speed?: Maybe<Scalars["Float"]>;
|
|
6657
6941
|
/** Custom input fields can be added based on telemetry architecture. */
|
|
@@ -6749,8 +7033,6 @@ export type TelemetryInput = {
|
|
|
6749
7033
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
6750
7034
|
/** Average tire pressures of all wheels, starting from the front side right to left and to the rear. */
|
|
6751
7035
|
tire_pressure?: Maybe<TirePressureInput>;
|
|
6752
|
-
/** UNIX timestamp in seconds. */
|
|
6753
|
-
timestamp?: Maybe<Scalars["Int"]>;
|
|
6754
7036
|
/** Vehicle speed. */
|
|
6755
7037
|
vehicle_speed?: Maybe<VehicleSpeedInput>;
|
|
6756
7038
|
/** Custom input fields can be added based on telemetry architecture. */
|
|
@@ -7014,7 +7296,7 @@ export type VehicleConnector = {
|
|
|
7014
7296
|
time: Scalars["Int"];
|
|
7015
7297
|
/**
|
|
7016
7298
|
* Charging speed.
|
|
7017
|
-
* @deprecated In favor of charge_speed
|
|
7299
|
+
* @deprecated In favor of `charge_speed`.
|
|
7018
7300
|
*/
|
|
7019
7301
|
speed: Scalars["Float"];
|
|
7020
7302
|
/** Charging speed. */
|
|
@@ -7225,7 +7507,7 @@ export type VehicleListMedia = {
|
|
|
7225
7507
|
image: VehicleImage;
|
|
7226
7508
|
/**
|
|
7227
7509
|
* Latest make logo of the vehicle.
|
|
7228
|
-
* @deprecated In favor of make
|
|
7510
|
+
* @deprecated In favor of `make`.
|
|
7229
7511
|
*/
|
|
7230
7512
|
brand: VehicleImage;
|
|
7231
7513
|
/** Latest make logo of the vehicle. */
|
|
@@ -7281,7 +7563,7 @@ export type VehicleMedia = {
|
|
|
7281
7563
|
image: VehicleImage;
|
|
7282
7564
|
/**
|
|
7283
7565
|
* Latest make logo.
|
|
7284
|
-
* @deprecated In favor of make
|
|
7566
|
+
* @deprecated In favor of `make`.
|
|
7285
7567
|
*/
|
|
7286
7568
|
brand: VehicleImage;
|
|
7287
7569
|
/** Latest make logo. */
|
|
@@ -7968,7 +8250,7 @@ export type VehiclePremiumMedia = {
|
|
|
7968
8250
|
image: VehicleImage;
|
|
7969
8251
|
/**
|
|
7970
8252
|
* Latest make logo.
|
|
7971
|
-
* @deprecated In favor of make
|
|
8253
|
+
* @deprecated In favor of `make`.
|
|
7972
8254
|
*/
|
|
7973
8255
|
brand: VehicleImage;
|
|
7974
8256
|
/** Latest make logo. */
|