@chargetrip/types 1.53.0 → 1.55.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 +33 -8
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +33 -8
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +457 -242
- package/graphql.schema.json +1977 -363
- package/package.json +1 -1
- package/src/graphql.ts +481 -242
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>;
|
|
@@ -2205,6 +2203,27 @@ export enum LineStringType {
|
|
|
2205
2203
|
LINESTRING = "LineString"
|
|
2206
2204
|
}
|
|
2207
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
|
+
|
|
2208
2227
|
export type MaximumSpeed = {
|
|
2209
2228
|
/** Numeric value of the user-defined maximum speed. */
|
|
2210
2229
|
value: Scalars["Int"];
|
|
@@ -2255,11 +2274,11 @@ export type Mutation = {
|
|
|
2255
2274
|
/** [BETA] Start a new navigation session on top of an existing route */
|
|
2256
2275
|
startNavigation?: Maybe<Scalars["ID"]>;
|
|
2257
2276
|
/** [BETA] Update the navigation session */
|
|
2258
|
-
updateNavigation?: Maybe<Scalars["
|
|
2277
|
+
updateNavigation?: Maybe<Scalars["Boolean"]>;
|
|
2259
2278
|
/** [BETA] Recalculate the current navigation route */
|
|
2260
|
-
recalculateNavigation?: Maybe<Scalars["
|
|
2279
|
+
recalculateNavigation?: Maybe<Scalars["Boolean"]>;
|
|
2261
2280
|
/** [BETA] End a navigation session */
|
|
2262
|
-
finishNavigation?: Maybe<Scalars["
|
|
2281
|
+
finishNavigation?: Maybe<Scalars["Boolean"]>;
|
|
2263
2282
|
/**
|
|
2264
2283
|
* Add a new review.
|
|
2265
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
|
|
@@ -2274,11 +2293,11 @@ export type Mutation = {
|
|
|
2274
2293
|
*/
|
|
2275
2294
|
deleteUserReview: Review;
|
|
2276
2295
|
/**
|
|
2277
|
-
*
|
|
2296
|
+
* Create a new route from the route input.
|
|
2278
2297
|
* @deprecated In favor of `createRoute`.
|
|
2279
2298
|
*/
|
|
2280
2299
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
2281
|
-
/** Create a new route from the route input
|
|
2300
|
+
/** Create a new route from the route input. */
|
|
2282
2301
|
createRoute: Scalars["ID"];
|
|
2283
2302
|
};
|
|
2284
2303
|
|
|
@@ -2334,18 +2353,60 @@ export type MutationcreateRouteArgs = {
|
|
|
2334
2353
|
input: CreateRouteInput;
|
|
2335
2354
|
};
|
|
2336
2355
|
|
|
2337
|
-
/**
|
|
2356
|
+
/** Navigation session data. */
|
|
2338
2357
|
export type Navigation = {
|
|
2339
2358
|
/** ID of the navigation session. */
|
|
2340
2359
|
id: Scalars["ID"];
|
|
2341
2360
|
/** Navigation session details overview. */
|
|
2342
2361
|
overview: NavigationOverview;
|
|
2343
|
-
/** 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. */
|
|
2344
2365
|
status: NavigationStatus;
|
|
2345
2366
|
/** Navigation meta information. */
|
|
2346
2367
|
meta?: Maybe<NavigationMeta>;
|
|
2347
2368
|
};
|
|
2348
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
|
+
|
|
2349
2410
|
/** Input for the navigation recalculate. */
|
|
2350
2411
|
export type NavigationFinishInput = {
|
|
2351
2412
|
/** ID of the navigation session. */
|
|
@@ -2354,6 +2415,27 @@ export type NavigationFinishInput = {
|
|
|
2354
2415
|
current_location: PointInput;
|
|
2355
2416
|
};
|
|
2356
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
|
+
|
|
2357
2439
|
/** Navigation meta information. */
|
|
2358
2440
|
export type NavigationMeta = {
|
|
2359
2441
|
/** Creation time of the navigation session. */
|
|
@@ -2362,34 +2444,86 @@ export type NavigationMeta = {
|
|
|
2362
2444
|
updated_at: Scalars["DateTime"];
|
|
2363
2445
|
};
|
|
2364
2446
|
|
|
2365
|
-
/**
|
|
2447
|
+
/** Navigation session overview details. */
|
|
2366
2448
|
export type NavigationOverview = {
|
|
2367
2449
|
/** State of charge at the last known location. */
|
|
2368
2450
|
state_of_charge: Scalars["Float"];
|
|
2369
2451
|
/** Last known location. */
|
|
2370
2452
|
last_known_location: Point;
|
|
2371
|
-
/** Next charging
|
|
2372
|
-
|
|
2373
|
-
/**
|
|
2374
|
-
|
|
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;
|
|
2375
2459
|
/** Navigation route instructions. */
|
|
2376
2460
|
instructions: Array<Maybe<RouteInstruction>>;
|
|
2377
2461
|
/** Continuously updated route request input. */
|
|
2378
|
-
live_route_request:
|
|
2462
|
+
live_route_request: LiveRouteRequest;
|
|
2379
2463
|
/** Polyline containing encoded coordinates. */
|
|
2380
2464
|
polyline: Scalars["String"];
|
|
2381
2465
|
};
|
|
2382
2466
|
|
|
2383
|
-
/**
|
|
2467
|
+
/** Navigation session overview details. */
|
|
2384
2468
|
export type NavigationOverviewstate_of_chargeArgs = {
|
|
2385
2469
|
unit?: Maybe<StateOfChargeUnit>;
|
|
2386
2470
|
};
|
|
2387
2471
|
|
|
2388
|
-
/**
|
|
2472
|
+
/** Navigation session overview details. */
|
|
2389
2473
|
export type NavigationOverviewpolylineArgs = {
|
|
2390
2474
|
decimals?: Maybe<PolylineInputDecimals>;
|
|
2391
2475
|
};
|
|
2392
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
|
+
|
|
2393
2527
|
/** Input for the navigation recalculate. */
|
|
2394
2528
|
export type NavigationRecalculateInput = {
|
|
2395
2529
|
/** ID of the navigation session. */
|
|
@@ -2399,11 +2533,57 @@ export type NavigationRecalculateInput = {
|
|
|
2399
2533
|
/** Origin location of a new route. */
|
|
2400
2534
|
current_location: PointInput;
|
|
2401
2535
|
/** Via points of a new route. If this field is not sent, the original via points will be used. */
|
|
2402
|
-
via?: Maybe<Array<
|
|
2536
|
+
via?: Maybe<Array<NavigationViaFeaturePointInput>>;
|
|
2403
2537
|
/** Telemetry data input. */
|
|
2404
2538
|
telemetry?: Maybe<TelemetryInput>;
|
|
2405
2539
|
};
|
|
2406
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
|
+
|
|
2407
2587
|
/** Input for the navigation start. */
|
|
2408
2588
|
export type NavigationStartInput = {
|
|
2409
2589
|
/** ID of the route of the navigation session. */
|
|
@@ -2414,45 +2594,63 @@ export type NavigationStartInput = {
|
|
|
2414
2594
|
|
|
2415
2595
|
/** Navigation session station type. */
|
|
2416
2596
|
export type NavigationStation = {
|
|
2417
|
-
/**
|
|
2597
|
+
/** ID of the station. */
|
|
2418
2598
|
station_id: Scalars["ID"];
|
|
2419
|
-
/**
|
|
2420
|
-
|
|
2421
|
-
/**
|
|
2422
|
-
|
|
2423
|
-
/**
|
|
2424
|
-
|
|
2425
|
-
/** Estimated consumption, in kWh, from last the known location until the next charging station. */
|
|
2426
|
-
estimated_consumption: Scalars["Float"];
|
|
2427
|
-
/** Estimated duration, in seconds, from the last known location until the next charging station. */
|
|
2428
|
-
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>;
|
|
2429
2605
|
};
|
|
2430
2606
|
|
|
2431
|
-
/** Navigation session station
|
|
2432
|
-
export type
|
|
2433
|
-
|
|
2607
|
+
/** Navigation session station operator. */
|
|
2608
|
+
export type NavigationStationOperator = {
|
|
2609
|
+
/** Unique operator ID. */
|
|
2610
|
+
id?: Maybe<Scalars["ID"]>;
|
|
2434
2611
|
};
|
|
2435
2612
|
|
|
2436
|
-
/**
|
|
2613
|
+
/** Status of navigation session. */
|
|
2437
2614
|
export enum NavigationStatus {
|
|
2438
|
-
/**
|
|
2439
|
-
|
|
2440
|
-
/** Vehicle is charging. */
|
|
2441
|
-
CHARGING = "charging",
|
|
2615
|
+
/** Navigation session is live and currently tracking. */
|
|
2616
|
+
ACTIVE = "active",
|
|
2442
2617
|
/** Navigation session is completed (either manually or automatically 48 hours after the last update). */
|
|
2443
2618
|
FINISHED = "finished",
|
|
2444
2619
|
/** Failed to update navigation session due to route error or not found. */
|
|
2445
2620
|
ERROR = "error"
|
|
2446
2621
|
}
|
|
2447
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
|
+
|
|
2448
2642
|
/** The navigation session subscription data */
|
|
2449
2643
|
export type NavigationSubscription = {
|
|
2450
2644
|
/** ID of the navigation session. */
|
|
2451
2645
|
id: Scalars["ID"];
|
|
2452
|
-
/** 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. */
|
|
2453
2649
|
status: NavigationStatus;
|
|
2454
2650
|
/** Navigation meta information. */
|
|
2455
2651
|
meta?: Maybe<NavigationMeta>;
|
|
2652
|
+
/** Information about the latest completed change. */
|
|
2653
|
+
last_change: NavigationChange;
|
|
2456
2654
|
};
|
|
2457
2655
|
|
|
2458
2656
|
/** Input for the navigation update. */
|
|
@@ -2461,37 +2659,77 @@ export type NavigationUpdateInput = {
|
|
|
2461
2659
|
id: Scalars["ID"];
|
|
2462
2660
|
/** A list of locations that were collected since the last update. */
|
|
2463
2661
|
location_data: Array<NavigationUpdateLocationsInput>;
|
|
2464
|
-
/** Telemetry data input. */
|
|
2465
|
-
telemetry?: Maybe<TelemetryInput>;
|
|
2466
2662
|
};
|
|
2467
2663
|
|
|
2468
|
-
/**
|
|
2469
|
-
export type
|
|
2664
|
+
/** Input for the navigation update locations. */
|
|
2665
|
+
export type NavigationUpdateLocationsInput = {
|
|
2666
|
+
/** Location coordinates [longitude, latitude]. */
|
|
2667
|
+
coordinates: Array<Scalars["Float"]>;
|
|
2470
2668
|
/** Current route leg index corresponding to a location. */
|
|
2471
2669
|
route_leg: Scalars["Int"];
|
|
2472
|
-
/** Speed at a location. */
|
|
2473
|
-
speed?: Maybe<VehicleSpeedInput>;
|
|
2474
2670
|
/** UNIX timestamp at location, in seconds. */
|
|
2475
2671
|
timestamp: Scalars["Int"];
|
|
2476
|
-
/**
|
|
2477
|
-
|
|
2672
|
+
/** Telemetry data input. */
|
|
2673
|
+
telemetry?: Maybe<TelemetryInput>;
|
|
2478
2674
|
};
|
|
2479
2675
|
|
|
2480
|
-
/**
|
|
2481
|
-
export
|
|
2482
|
-
/**
|
|
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. */
|
|
2483
2703
|
geometry: PointInput;
|
|
2484
|
-
/**
|
|
2485
|
-
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>;
|
|
2486
2724
|
};
|
|
2487
2725
|
|
|
2488
2726
|
/** This class defines an additional geo location that is relevant for the Charge Point. The geodetic system to be used is WGS 84. */
|
|
2489
2727
|
export type OCPIAdditionalGeoLocation = {
|
|
2490
|
-
/** 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} */
|
|
2491
2729
|
latitude?: Maybe<Scalars["String"]>;
|
|
2492
|
-
/** 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} */
|
|
2493
2731
|
longitude?: Maybe<Scalars["String"]>;
|
|
2494
|
-
/** 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. */
|
|
2495
2733
|
name?: Maybe<OCPIDisplayText>;
|
|
2496
2734
|
};
|
|
2497
2735
|
|
|
@@ -2533,7 +2771,7 @@ export enum OCPIConnectorFormat {
|
|
|
2533
2771
|
CABLE = "CABLE"
|
|
2534
2772
|
}
|
|
2535
2773
|
|
|
2536
|
-
/**
|
|
2774
|
+
/** Socket or plug standard of the charging point. */
|
|
2537
2775
|
export enum OCPIConnectorType {
|
|
2538
2776
|
/** The connector type is CHAdeMO, DC */
|
|
2539
2777
|
CHADEMO = "CHADEMO",
|
|
@@ -2630,30 +2868,30 @@ export enum OCPIDayOfWeek {
|
|
|
2630
2868
|
}
|
|
2631
2869
|
|
|
2632
2870
|
export type OCPIDisplayText = {
|
|
2633
|
-
/** Language Code ISO 639-1
|
|
2871
|
+
/** Language Code ISO 639-1 */
|
|
2634
2872
|
language?: Maybe<Scalars["String"]>;
|
|
2635
|
-
/** 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. */
|
|
2636
2874
|
text?: Maybe<Scalars["String"]>;
|
|
2637
2875
|
};
|
|
2638
2876
|
|
|
2639
2877
|
/** This type is used to specify the energy mix and environmental impact of the supplied energy at a location or in a tariff. */
|
|
2640
2878
|
export type OCPIEnergyMix = {
|
|
2641
|
-
/** True if the power is 100% from regenerative sources
|
|
2879
|
+
/** True if the power is 100% from regenerative sources */
|
|
2642
2880
|
is_green_energy?: Maybe<Scalars["Boolean"]>;
|
|
2643
|
-
/** 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. */
|
|
2644
2882
|
energy_sources?: Maybe<Array<Maybe<OCPIEnergySource>>>;
|
|
2645
|
-
/** 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. */
|
|
2646
2884
|
environ_impact?: Maybe<Array<Maybe<OCPIEnvironmentalImpact>>>;
|
|
2647
|
-
/** 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.* */
|
|
2648
2886
|
supplier_name?: Maybe<Scalars["String"]>;
|
|
2649
|
-
/** 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.* */
|
|
2650
2888
|
energy_product_name?: Maybe<Scalars["String"]>;
|
|
2651
2889
|
};
|
|
2652
2890
|
|
|
2653
2891
|
export type OCPIEnergySource = {
|
|
2654
|
-
/** The type of energy source.
|
|
2892
|
+
/** The type of energy source. */
|
|
2655
2893
|
source?: Maybe<OCPIEnergySourceCategory>;
|
|
2656
|
-
/** Percentage of this source (0-100) in the mix.
|
|
2894
|
+
/** Percentage of this source (0-100) in the mix. */
|
|
2657
2895
|
percentage?: Maybe<Scalars["Int"]>;
|
|
2658
2896
|
};
|
|
2659
2897
|
|
|
@@ -2679,9 +2917,9 @@ export enum OCPIEnergySourceCategory {
|
|
|
2679
2917
|
|
|
2680
2918
|
/** Amount of waste produced/emitted per kWh. */
|
|
2681
2919
|
export type OCPIEnvironmentalImpact = {
|
|
2682
|
-
/** The environmental impact category of this value.
|
|
2920
|
+
/** The environmental impact category of this value. */
|
|
2683
2921
|
category?: Maybe<OCPIEnvironmentalImpactCategory>;
|
|
2684
|
-
/** Amount of this portion in g/kWh.
|
|
2922
|
+
/** Amount of this portion in g/kWh. */
|
|
2685
2923
|
amount?: Maybe<Scalars["Float"]>;
|
|
2686
2924
|
};
|
|
2687
2925
|
|
|
@@ -2695,9 +2933,9 @@ export enum OCPIEnvironmentalImpactCategory {
|
|
|
2695
2933
|
|
|
2696
2934
|
/** Specifies one exceptional period for opening or access hours. */
|
|
2697
2935
|
export type OCPIExceptionalPeriod = {
|
|
2698
|
-
/** 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. */
|
|
2699
2937
|
period_begin?: Maybe<Scalars["DateTime"]>;
|
|
2700
|
-
/** 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. */
|
|
2701
2939
|
period_end?: Maybe<Scalars["DateTime"]>;
|
|
2702
2940
|
};
|
|
2703
2941
|
|
|
@@ -2746,36 +2984,36 @@ export enum OCPIFacility {
|
|
|
2746
2984
|
|
|
2747
2985
|
/** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
|
|
2748
2986
|
export type OCPIGeoLocation = {
|
|
2749
|
-
/** 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} */
|
|
2750
2988
|
latitude?: Maybe<Scalars["String"]>;
|
|
2751
|
-
/** 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} */
|
|
2752
2990
|
longitude?: Maybe<Scalars["String"]>;
|
|
2753
2991
|
};
|
|
2754
2992
|
|
|
2755
2993
|
/** Opening and access hours of the location. */
|
|
2756
2994
|
export type OCPIHours = {
|
|
2757
|
-
/** 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. */
|
|
2758
2996
|
twentyfourseven?: Maybe<Scalars["Boolean"]>;
|
|
2759
|
-
/** 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. */
|
|
2760
2998
|
regular_hours?: Maybe<Array<Maybe<OCPIRegularHours>>>;
|
|
2761
|
-
/** 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. */
|
|
2762
3000
|
exceptional_openings?: Maybe<Array<Maybe<OCPIExceptionalPeriod>>>;
|
|
2763
|
-
/** 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. */
|
|
2764
3002
|
exceptional_closings?: Maybe<Array<Maybe<OCPIExceptionalPeriod>>>;
|
|
2765
3003
|
};
|
|
2766
3004
|
|
|
2767
3005
|
export type OCPIImage = {
|
|
2768
|
-
/** 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. */
|
|
2769
3007
|
url?: Maybe<Scalars["String"]>;
|
|
2770
|
-
/** 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. */
|
|
2771
3009
|
thumbnail?: Maybe<Scalars["String"]>;
|
|
2772
|
-
/** Category of an image
|
|
3010
|
+
/** Category of an image */
|
|
2773
3011
|
category?: Maybe<OCPIImageCategory>;
|
|
2774
|
-
/** Image type: gif, jpeg, png, svg
|
|
3012
|
+
/** Image type: gif, jpeg, png, svg */
|
|
2775
3013
|
type?: Maybe<Scalars["String"]>;
|
|
2776
|
-
/** Width of the full scale image
|
|
3014
|
+
/** Width of the full scale image */
|
|
2777
3015
|
width?: Maybe<Scalars["Int"]>;
|
|
2778
|
-
/** Height of the full scale image
|
|
3016
|
+
/** Height of the full scale image */
|
|
2779
3017
|
height?: Maybe<Scalars["Int"]>;
|
|
2780
3018
|
};
|
|
2781
3019
|
|
|
@@ -2841,30 +3079,30 @@ export enum OCPIPowerType {
|
|
|
2841
3079
|
}
|
|
2842
3080
|
|
|
2843
3081
|
export type OCPIPrice = {
|
|
2844
|
-
/** Price/Cost excluding VAT.
|
|
3082
|
+
/** Price/Cost excluding VAT. */
|
|
2845
3083
|
excl_vat?: Maybe<Scalars["Float"]>;
|
|
2846
|
-
/** Price/Cost including VAT.
|
|
3084
|
+
/** Price/Cost including VAT. */
|
|
2847
3085
|
incl_vat?: Maybe<Scalars["Float"]>;
|
|
2848
3086
|
};
|
|
2849
3087
|
|
|
2850
3088
|
export type OCPIPriceComponent = {
|
|
2851
|
-
/** Type of tariff dimension.
|
|
3089
|
+
/** Type of tariff dimension. */
|
|
2852
3090
|
type?: Maybe<OCPITariffDimensionType>;
|
|
2853
|
-
/** Price per unit (excl. VAT) for this tariff dimension.
|
|
3091
|
+
/** Price per unit (excl. VAT) for this tariff dimension. */
|
|
2854
3092
|
price?: Maybe<Scalars["Float"]>;
|
|
2855
|
-
/** 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. */
|
|
2856
3094
|
vat?: Maybe<Scalars["Float"]>;
|
|
2857
|
-
/** 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. */
|
|
2858
3096
|
step_size?: Maybe<Scalars["Int"]>;
|
|
2859
3097
|
};
|
|
2860
3098
|
|
|
2861
3099
|
/** Regular recurring operation or access hours. */
|
|
2862
3100
|
export type OCPIRegularHours = {
|
|
2863
|
-
/** 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) */
|
|
2864
3102
|
weekday?: Maybe<Scalars["Int"]>;
|
|
2865
|
-
/** 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]. */
|
|
2866
3104
|
period_begin?: Maybe<Scalars["String"]>;
|
|
2867
|
-
/** 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. */
|
|
2868
3106
|
period_end?: Maybe<Scalars["String"]>;
|
|
2869
3107
|
};
|
|
2870
3108
|
|
|
@@ -2899,42 +3137,42 @@ export enum OCPIStatus {
|
|
|
2899
3137
|
|
|
2900
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. */
|
|
2901
3139
|
export type OCPIStatusSchedule = {
|
|
2902
|
-
/** Begin of the scheduled period.
|
|
3140
|
+
/** Begin of the scheduled period. */
|
|
2903
3141
|
period_begin?: Maybe<Scalars["DateTime"]>;
|
|
2904
|
-
/** End of the scheduled period, if known.
|
|
3142
|
+
/** End of the scheduled period, if known. */
|
|
2905
3143
|
period_end?: Maybe<Scalars["DateTime"]>;
|
|
2906
|
-
/** Status value during the scheduled period.
|
|
3144
|
+
/** Status value during the scheduled period. */
|
|
2907
3145
|
status?: Maybe<OCPIStatus>;
|
|
2908
3146
|
};
|
|
2909
3147
|
|
|
2910
3148
|
export type OCPITariff = {
|
|
2911
|
-
/** 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 */
|
|
2912
3150
|
country_code?: Maybe<Scalars["String"]>;
|
|
2913
|
-
/** 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) */
|
|
2914
3152
|
party_id?: Maybe<Scalars["String"]>;
|
|
2915
|
-
/** 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) */
|
|
2916
3154
|
id?: Maybe<Scalars["String"]>;
|
|
2917
|
-
/** ISO-4217 code of the currency of this tariff.
|
|
3155
|
+
/** ISO-4217 code of the currency of this tariff. */
|
|
2918
3156
|
currency?: Maybe<Scalars["String"]>;
|
|
2919
|
-
/** 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 */
|
|
2920
3158
|
type?: Maybe<OCPITariffType>;
|
|
2921
|
-
/** List of alternative tariff information texts, in multiple languages
|
|
3159
|
+
/** List of alternative tariff information texts, in multiple languages */
|
|
2922
3160
|
tariff_alt_text?: Maybe<Array<Maybe<OCPIDisplayText>>>;
|
|
2923
|
-
/** 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 */
|
|
2924
3162
|
tariff_alt_url?: Maybe<Scalars["String"]>;
|
|
2925
|
-
/** 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 */
|
|
2926
3164
|
min_price?: Maybe<OCPIPrice>;
|
|
2927
|
-
/** 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 */
|
|
2928
3166
|
max_price?: Maybe<OCPIPrice>;
|
|
2929
|
-
/** List of tariff elements
|
|
3167
|
+
/** List of tariff elements */
|
|
2930
3168
|
elements?: Maybe<Array<Maybe<OCPITariffElement>>>;
|
|
2931
|
-
/** 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 */
|
|
2932
3170
|
start_date_time?: Maybe<Scalars["DateTime"]>;
|
|
2933
|
-
/** 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 */
|
|
2934
3172
|
end_date_time?: Maybe<Scalars["DateTime"]>;
|
|
2935
|
-
/** Details about the energy supplied with this tariff
|
|
3173
|
+
/** Details about the energy supplied with this tariff */
|
|
2936
3174
|
energy_mix?: Maybe<OCPIEnergyMix>;
|
|
2937
|
-
/** Timestamp when this tariff was last updated (or created)
|
|
3175
|
+
/** Timestamp when this tariff was last updated (or created) */
|
|
2938
3176
|
last_updated?: Maybe<Scalars["DateTime"]>;
|
|
2939
3177
|
};
|
|
2940
3178
|
|
|
@@ -2950,40 +3188,40 @@ export enum OCPITariffDimensionType {
|
|
|
2950
3188
|
}
|
|
2951
3189
|
|
|
2952
3190
|
export type OCPITariffElement = {
|
|
2953
|
-
/** List of price components that describe the pricing of a tariff.
|
|
3191
|
+
/** List of price components that describe the pricing of a tariff. */
|
|
2954
3192
|
price_components?: Maybe<Array<Maybe<OCPIPriceComponent>>>;
|
|
2955
|
-
/** Restrictions that describe the applicability of a tariff.
|
|
3193
|
+
/** Restrictions that describe the applicability of a tariff. */
|
|
2956
3194
|
restrictions?: Maybe<Array<Maybe<OCPITariffRestrictions>>>;
|
|
2957
3195
|
};
|
|
2958
3196
|
|
|
2959
3197
|
export type OCPITariffRestrictions = {
|
|
2960
|
-
/** 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] */
|
|
2961
3199
|
start_time?: Maybe<Scalars["String"]>;
|
|
2962
|
-
/** 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. */
|
|
2963
3201
|
end_time?: Maybe<Scalars["String"]>;
|
|
2964
|
-
/** 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]) */
|
|
2965
3203
|
start_date?: Maybe<Scalars["String"]>;
|
|
2966
|
-
/** 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 */
|
|
2967
3205
|
end_date?: Maybe<Scalars["String"]>;
|
|
2968
|
-
/** 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 */
|
|
2969
3207
|
min_kwh?: Maybe<Scalars["Float"]>;
|
|
2970
|
-
/** 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 */
|
|
2971
3209
|
max_kwh?: Maybe<Scalars["Float"]>;
|
|
2972
|
-
/** 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 */
|
|
2973
3211
|
min_current?: Maybe<Scalars["Float"]>;
|
|
2974
|
-
/** 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 */
|
|
2975
3213
|
max_current?: Maybe<Scalars["Float"]>;
|
|
2976
|
-
/** 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 */
|
|
2977
3215
|
min_power?: Maybe<Scalars["Float"]>;
|
|
2978
|
-
/** 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 */
|
|
2979
3217
|
max_power?: Maybe<Scalars["Float"]>;
|
|
2980
|
-
/** 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 */
|
|
2981
3219
|
min_duration?: Maybe<Scalars["Float"]>;
|
|
2982
|
-
/** 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 */
|
|
2983
3221
|
max_duration?: Maybe<Scalars["Float"]>;
|
|
2984
|
-
/** Which day(s) of the week this tariff element is active.
|
|
3222
|
+
/** Which day(s) of the week this tariff element is active. */
|
|
2985
3223
|
day_of_week?: Maybe<OCPIDayOfWeek>;
|
|
2986
|
-
/** 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 */
|
|
2987
3225
|
reservation?: Maybe<OCPIReservationRestrictionType>;
|
|
2988
3226
|
};
|
|
2989
3227
|
|
|
@@ -3107,15 +3345,15 @@ export type Operator = {
|
|
|
3107
3345
|
id?: Maybe<Scalars["ID"]>;
|
|
3108
3346
|
/** External ID of an operator provided by the operator data source. */
|
|
3109
3347
|
external_id?: Maybe<Scalars["String"]>;
|
|
3110
|
-
/** Name of an operator.
|
|
3348
|
+
/** Name of an operator. */
|
|
3111
3349
|
name?: Maybe<Scalars["String"]>;
|
|
3112
|
-
/** Link to an operator’s website.
|
|
3350
|
+
/** Link to an operator’s website. */
|
|
3113
3351
|
website?: Maybe<Scalars["String"]>;
|
|
3114
|
-
/** Image link to an operator’s logo.
|
|
3352
|
+
/** Image link to an operator’s logo. */
|
|
3115
3353
|
logo?: Maybe<OCPIImage>;
|
|
3116
3354
|
/**
|
|
3117
3355
|
* ISO-3166 alpha-2 country code an operator is active in.
|
|
3118
|
-
* @deprecated In favor of countries
|
|
3356
|
+
* @deprecated In favor of `countries`.
|
|
3119
3357
|
*/
|
|
3120
3358
|
country?: Maybe<Scalars["String"]>;
|
|
3121
3359
|
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
@@ -3124,12 +3362,12 @@ export type Operator = {
|
|
|
3124
3362
|
contact?: Maybe<Contact>;
|
|
3125
3363
|
/**
|
|
3126
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.
|
|
3127
|
-
* @deprecated In favor of ranking_levels
|
|
3365
|
+
* @deprecated In favor of `ranking_levels`.
|
|
3128
3366
|
*/
|
|
3129
3367
|
ranking?: Maybe<Scalars["Int"]>;
|
|
3130
3368
|
/**
|
|
3131
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.
|
|
3132
|
-
* @deprecated In favor of excluded_countries
|
|
3370
|
+
* @deprecated In favor of `excluded_countries`.
|
|
3133
3371
|
*/
|
|
3134
3372
|
excluded?: Maybe<Scalars["Boolean"]>;
|
|
3135
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. */
|
|
@@ -3140,7 +3378,7 @@ export type Operator = {
|
|
|
3140
3378
|
avoided_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
3141
3379
|
};
|
|
3142
3380
|
|
|
3143
|
-
/**
|
|
3381
|
+
/** Criteria to filter operators in the operator list query. */
|
|
3144
3382
|
export type OperatorListFilter = {
|
|
3145
3383
|
/** ISO-3166 alpha-2 country codes an operator is active in. */
|
|
3146
3384
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
@@ -3154,7 +3392,7 @@ export type OperatorListFilter = {
|
|
|
3154
3392
|
excluded_countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
3155
3393
|
};
|
|
3156
3394
|
|
|
3157
|
-
/**
|
|
3395
|
+
/** Query parameters to filter operators in the operator list query. */
|
|
3158
3396
|
export type OperatorListQuery = {
|
|
3159
3397
|
/** Unique operator ID. */
|
|
3160
3398
|
id?: Maybe<Scalars["ID"]>;
|
|
@@ -3407,17 +3645,17 @@ export type Query = {
|
|
|
3407
3645
|
*/
|
|
3408
3646
|
userReviewList?: Maybe<Array<Review>>;
|
|
3409
3647
|
/**
|
|
3410
|
-
*
|
|
3648
|
+
* Get emissions for a route.
|
|
3411
3649
|
* @deprecated In favor of `getRouteEmissions`.
|
|
3412
3650
|
*/
|
|
3413
3651
|
routeEmissions: RouteEmissions;
|
|
3414
3652
|
/**
|
|
3415
|
-
*
|
|
3653
|
+
* Get a route by ID.
|
|
3416
3654
|
* @deprecated In favor of `getRoute`.
|
|
3417
3655
|
*/
|
|
3418
3656
|
route?: Maybe<Route>;
|
|
3419
3657
|
/**
|
|
3420
|
-
*
|
|
3658
|
+
* Get a route path segment by ID.
|
|
3421
3659
|
* @deprecated In favor of `RouteDetails.path_plot`.
|
|
3422
3660
|
*/
|
|
3423
3661
|
routePath?: Maybe<RoutePath>;
|
|
@@ -3620,8 +3858,8 @@ export type RequestEv = {
|
|
|
3620
3858
|
/** Cargo weight, in kg. */
|
|
3621
3859
|
cargo?: Maybe<Scalars["Float"]>;
|
|
3622
3860
|
/**
|
|
3623
|
-
*
|
|
3624
|
-
* @deprecated In favor of occupants
|
|
3861
|
+
* Number of passengers on board.
|
|
3862
|
+
* @deprecated In favor of `occupants`.
|
|
3625
3863
|
*/
|
|
3626
3864
|
numberOfPassengers?: Maybe<Scalars["Int"]>;
|
|
3627
3865
|
/** Number of occupants. */
|
|
@@ -3694,29 +3932,29 @@ export type RequestEvConsumption = {
|
|
|
3694
3932
|
auxiliary?: Maybe<Scalars["Float"]>;
|
|
3695
3933
|
/**
|
|
3696
3934
|
* Consumption, in kWh, of the auxiliaries.
|
|
3697
|
-
* @deprecated In favor of auxiliary
|
|
3935
|
+
* @deprecated In favor of `auxiliary`
|
|
3698
3936
|
*/
|
|
3699
3937
|
aux?: Maybe<CarConsumption>;
|
|
3700
3938
|
/**
|
|
3701
|
-
*
|
|
3702
|
-
* @deprecated In favor of auxiliary
|
|
3939
|
+
* Consumption, in kWh, of the battery management system.
|
|
3940
|
+
* @deprecated In favor of `auxiliary`
|
|
3703
3941
|
*/
|
|
3704
3942
|
bms?: Maybe<CarConsumption>;
|
|
3705
3943
|
/**
|
|
3706
|
-
*
|
|
3707
|
-
* @deprecated In favor of auxiliary
|
|
3944
|
+
* Consumption, in kWh, of the vehicle in idle mode.
|
|
3945
|
+
* @deprecated In favor of `auxiliary`
|
|
3708
3946
|
*/
|
|
3709
3947
|
idle?: Maybe<CarConsumption>;
|
|
3710
3948
|
};
|
|
3711
3949
|
|
|
3712
3950
|
export type RequestEvConsumptionInput = {
|
|
3713
|
-
/**
|
|
3951
|
+
/** Amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc. */
|
|
3714
3952
|
auxiliary?: Maybe<Scalars["Float"]>;
|
|
3715
|
-
/**
|
|
3953
|
+
/** Consumption, in kWh, of the auxiliaries. */
|
|
3716
3954
|
aux?: Maybe<CarConsumptionInput>;
|
|
3717
|
-
/**
|
|
3955
|
+
/** Consumption, in kWh, of the battery management system. */
|
|
3718
3956
|
bms?: Maybe<CarConsumptionInput>;
|
|
3719
|
-
/**
|
|
3957
|
+
/** Consumption, in kWh, of the vehicle in idle mode. */
|
|
3720
3958
|
idle?: Maybe<CarConsumptionInput>;
|
|
3721
3959
|
};
|
|
3722
3960
|
|
|
@@ -3745,9 +3983,9 @@ export type RequestEvInput = {
|
|
|
3745
3983
|
cargo?: Maybe<Scalars["Int"]>;
|
|
3746
3984
|
/** Consumption specific to the EV or inputted by the request. */
|
|
3747
3985
|
consumption?: Maybe<RequestEvConsumptionInput>;
|
|
3748
|
-
/**
|
|
3986
|
+
/** Consumption, in kWh, of the auxiliaries. */
|
|
3749
3987
|
auxConsumption?: Maybe<Scalars["Float"]>;
|
|
3750
|
-
/**
|
|
3988
|
+
/** Consumption, in kWh, of the battery management system. */
|
|
3751
3989
|
bmsConsumption?: Maybe<Scalars["Float"]>;
|
|
3752
3990
|
};
|
|
3753
3991
|
|
|
@@ -3777,24 +4015,24 @@ export type RequestInput = {
|
|
|
3777
4015
|
export type RequestRoute = {
|
|
3778
4016
|
/**
|
|
3779
4017
|
* Requested amenities near the stations, within a 1 kilometer radius.
|
|
3780
|
-
* @deprecated
|
|
4018
|
+
* @deprecated In favor of `amenity_preferences`.
|
|
3781
4019
|
*/
|
|
3782
4020
|
amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3783
4021
|
/** Amenity preferences for a route. */
|
|
3784
4022
|
amenity_preferences?: Maybe<RouteAmenityPreferences>;
|
|
3785
4023
|
/**
|
|
3786
4024
|
* Requested operators.
|
|
3787
|
-
* @deprecated
|
|
4025
|
+
* @deprecated In favor of `operators`.
|
|
3788
4026
|
*/
|
|
3789
4027
|
operatorIds?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3790
4028
|
/**
|
|
3791
4029
|
* Preferred operators are required. In case there are no preferred operators the route cannot be calculated.
|
|
3792
|
-
* @deprecated
|
|
4030
|
+
* @deprecated In favor of `operators`.
|
|
3793
4031
|
*/
|
|
3794
4032
|
operatorRequired?: Maybe<Scalars["Boolean"]>;
|
|
3795
4033
|
/**
|
|
3796
4034
|
* Encourage the route to use preferred operators. In case there are no preferred operators the route can still be calculated.
|
|
3797
|
-
* @deprecated
|
|
4035
|
+
* @deprecated In favor of `operators`.
|
|
3798
4036
|
*/
|
|
3799
4037
|
operatorPrefer?: Maybe<Scalars["Boolean"]>;
|
|
3800
4038
|
/** Operator prioritization for a route. */
|
|
@@ -3813,7 +4051,7 @@ export type RequestRoute = {
|
|
|
3813
4051
|
stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
|
|
3814
4052
|
/**
|
|
3815
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.
|
|
3816
|
-
* @deprecated
|
|
4054
|
+
* @deprecated All routes will have turn-by-turn instructions prepared. Boolean will be ignored.
|
|
3817
4055
|
*/
|
|
3818
4056
|
instructions?: Maybe<Scalars["Boolean"]>;
|
|
3819
4057
|
/** Mode that indicates if we optimize the charging time or always charge to the maximum capacity. */
|
|
@@ -3821,15 +4059,15 @@ export type RequestRoute = {
|
|
|
3821
4059
|
};
|
|
3822
4060
|
|
|
3823
4061
|
export type RequestRouteInput = {
|
|
3824
|
-
/**
|
|
4062
|
+
/** A list of desired amenities near the stations, with a 1 kilometer radius. */
|
|
3825
4063
|
amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3826
4064
|
/** Amenity preferences for a route. */
|
|
3827
4065
|
amenity_preferences?: Maybe<AmenityPreferencesInput>;
|
|
3828
|
-
/**
|
|
4066
|
+
/** A list of requested operators. */
|
|
3829
4067
|
operatorIds?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3830
|
-
/**
|
|
4068
|
+
/** Flag which indicates if the operators are required. */
|
|
3831
4069
|
operatorRequired?: Maybe<Scalars["Boolean"]>;
|
|
3832
|
-
/**
|
|
4070
|
+
/** Flag which indicates if the preferred operators should be loaded. */
|
|
3833
4071
|
operatorPrefer?: Maybe<Scalars["Boolean"]>;
|
|
3834
4072
|
/** Operator prioritization for a route. */
|
|
3835
4073
|
operators?: Maybe<RouteOperatorsInput>;
|
|
@@ -3847,7 +4085,7 @@ export type RequestRouteInput = {
|
|
|
3847
4085
|
via?: Maybe<Array<Maybe<FeaturePointInput>>>;
|
|
3848
4086
|
/** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
|
|
3849
4087
|
stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
|
|
3850
|
-
/**
|
|
4088
|
+
/** Flag to enable turn-by-turn instructions. */
|
|
3851
4089
|
instructions?: Maybe<Scalars["Boolean"]>;
|
|
3852
4090
|
};
|
|
3853
4091
|
|
|
@@ -3992,7 +4230,7 @@ export type RouteAlternative = {
|
|
|
3992
4230
|
chargeTime?: Maybe<Scalars["Float"]>;
|
|
3993
4231
|
/**
|
|
3994
4232
|
* Amenity ranking for an alternative.
|
|
3995
|
-
* @deprecated Will be removed
|
|
4233
|
+
* @deprecated Will be removed.
|
|
3996
4234
|
*/
|
|
3997
4235
|
amenityRanking?: Maybe<Scalars["Int"]>;
|
|
3998
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. */
|
|
@@ -4015,7 +4253,7 @@ export type RouteAlternative = {
|
|
|
4015
4253
|
pathPlot?: Maybe<Array<Maybe<PathSegment>>>;
|
|
4016
4254
|
/**
|
|
4017
4255
|
* Elevation values. Each elevationPlot has a hundred points, independent of the length of a route.
|
|
4018
|
-
* @deprecated
|
|
4256
|
+
* @deprecated In favor of `pathPlot`.
|
|
4019
4257
|
*/
|
|
4020
4258
|
elevationPlot?: Maybe<Array<Maybe<Scalars["Float"]>>>;
|
|
4021
4259
|
/** Total number of meters which are going up on a route. */
|
|
@@ -4340,7 +4578,7 @@ export type RouteDetailsLegFeatureProperties = {
|
|
|
4340
4578
|
solar_irradiance?: Maybe<Scalars["Float"]>;
|
|
4341
4579
|
/**
|
|
4342
4580
|
* Duration, in seconds, of time spent at this location.
|
|
4343
|
-
* @deprecated In favor of legs.durations
|
|
4581
|
+
* @deprecated In favor of `legs.durations`.
|
|
4344
4582
|
*/
|
|
4345
4583
|
duration?: Maybe<Scalars["Int"]>;
|
|
4346
4584
|
/** Number of occupants present in the vehicle. */
|
|
@@ -4562,7 +4800,7 @@ export type RouteDetailsPathSegment = {
|
|
|
4562
4800
|
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
4563
4801
|
/**
|
|
4564
4802
|
* Maximum vehicle speed of a route path segment.
|
|
4565
|
-
* @deprecated Will be removed
|
|
4803
|
+
* @deprecated Will be removed.
|
|
4566
4804
|
*/
|
|
4567
4805
|
maximum_speed: Scalars["Float"];
|
|
4568
4806
|
};
|
|
@@ -5746,12 +5984,12 @@ export type RouteStationOperator = {
|
|
|
5746
5984
|
};
|
|
5747
5985
|
|
|
5748
5986
|
export type RouteStationPreferences = {
|
|
5749
|
-
/**
|
|
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. */
|
|
5750
5988
|
prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
|
|
5751
5989
|
};
|
|
5752
5990
|
|
|
5753
5991
|
export type RouteStationPreferencesInput = {
|
|
5754
|
-
/**
|
|
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. */
|
|
5755
5993
|
prefer_highway_charging?: Maybe<Scalars["Boolean"]>;
|
|
5756
5994
|
};
|
|
5757
5995
|
|
|
@@ -6150,7 +6388,9 @@ export enum RouteWarningCode {
|
|
|
6150
6388
|
/** Operator preferences were ignored because they have not been configured for this project nor provided in the route create request. */
|
|
6151
6389
|
OPERATOR_PREFERENCES_NOT_FOUND = "operator_preferences_not_found",
|
|
6152
6390
|
/** Traffic data for this route is not available. */
|
|
6153
|
-
TRAFFIC_DATA_NOT_AVAILABLE = "traffic_data_not_available"
|
|
6391
|
+
TRAFFIC_DATA_NOT_AVAILABLE = "traffic_data_not_available",
|
|
6392
|
+
/** One or more preferred, excluded, or avoided operators have no active stations available and were ignored. */
|
|
6393
|
+
OPERATORS_IGNORED = "operators_ignored"
|
|
6154
6394
|
}
|
|
6155
6395
|
|
|
6156
6396
|
export type RouteWeather = {
|
|
@@ -6260,59 +6500,59 @@ export enum StateOfChargeUnit {
|
|
|
6260
6500
|
|
|
6261
6501
|
/** Station data which extends OCPI Location. */
|
|
6262
6502
|
export type Station = {
|
|
6263
|
-
/** Unique ID of a station.
|
|
6503
|
+
/** Unique ID of a station. */
|
|
6264
6504
|
id: Scalars["ID"];
|
|
6265
|
-
/** ISO-3166 alpha-2 country code of a station.
|
|
6505
|
+
/** ISO-3166 alpha-2 country code of a station. */
|
|
6266
6506
|
country_code?: Maybe<Scalars["String"]>;
|
|
6267
|
-
/** CPO ID of a CPO that 'owns' this station (following the ISO-15118 standard).
|
|
6507
|
+
/** CPO ID of a CPO that 'owns' this station (following the ISO-15118 standard). */
|
|
6268
6508
|
party_id?: Maybe<Scalars["String"]>;
|
|
6269
6509
|
/**
|
|
6270
6510
|
* Defines if a location may be published on a website or app etc.
|
|
6271
6511
|
* When this is set to false, only tokens identified in the field: publish_allowed_to are allowed to show this location.
|
|
6272
|
-
* When the same location has EVSEs that may be published and may not be published, two 'locations' should be created.
|
|
6512
|
+
* When the same location has EVSEs that may be published and may not be published, two 'locations' should be created.
|
|
6273
6513
|
*/
|
|
6274
6514
|
publish?: Maybe<Scalars["Boolean"]>;
|
|
6275
|
-
/** Name of a charging station.
|
|
6515
|
+
/** Name of a charging station. */
|
|
6276
6516
|
name?: Maybe<Scalars["String"]>;
|
|
6277
|
-
/** Street/block name and house number if available.
|
|
6517
|
+
/** Street/block name and house number if available. */
|
|
6278
6518
|
address?: Maybe<Scalars["String"]>;
|
|
6279
|
-
/** City or town
|
|
6519
|
+
/** City or town */
|
|
6280
6520
|
city?: Maybe<Scalars["String"]>;
|
|
6281
|
-
/** 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.
|
|
6521
|
+
/** 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. */
|
|
6282
6522
|
postal_code?: Maybe<Scalars["String"]>;
|
|
6283
|
-
/** State or province of a location, only to be used when relevant.
|
|
6523
|
+
/** State or province of a location, only to be used when relevant. */
|
|
6284
6524
|
state?: Maybe<Scalars["String"]>;
|
|
6285
|
-
/** ISO 3166-1 alpha-3 code for the country of this station.
|
|
6525
|
+
/** ISO 3166-1 alpha-3 code for the country of this station. */
|
|
6286
6526
|
country?: Maybe<Scalars["String"]>;
|
|
6287
|
-
/** Coordinates of a location.
|
|
6527
|
+
/** Coordinates of a location. */
|
|
6288
6528
|
coordinates?: Maybe<OCPIGeoLocation>;
|
|
6289
|
-
/** Geographical location of related points relevant to a user.
|
|
6529
|
+
/** Geographical location of related points relevant to a user. */
|
|
6290
6530
|
related_locations?: Maybe<Array<Maybe<OCPIAdditionalGeoLocation>>>;
|
|
6291
|
-
/** Type of parking at a charge point location.
|
|
6531
|
+
/** Type of parking at a charge point location. */
|
|
6292
6532
|
parking_type?: Maybe<OCPIParkingType>;
|
|
6293
|
-
/** EVSEs that belong to a station.
|
|
6533
|
+
/** EVSEs that belong to a station. */
|
|
6294
6534
|
evses?: Maybe<Array<Maybe<EVSE>>>;
|
|
6295
|
-
/** Human-readable directions on how to reach a station.
|
|
6535
|
+
/** Human-readable directions on how to reach a station. */
|
|
6296
6536
|
directions?: Maybe<Array<Maybe<OCPIDisplayText>>>;
|
|
6297
|
-
/** Information about an operator.
|
|
6537
|
+
/** Information about an operator. */
|
|
6298
6538
|
operator?: Maybe<Operator>;
|
|
6299
|
-
/** Information about a suboperator if applicable.
|
|
6539
|
+
/** Information about a suboperator if applicable. */
|
|
6300
6540
|
suboperator?: Maybe<Operator>;
|
|
6301
|
-
/** Information about an owner if available.
|
|
6541
|
+
/** Information about an owner if available. */
|
|
6302
6542
|
owner?: Maybe<Operator>;
|
|
6303
|
-
/** Facilities a charging station belongs to.
|
|
6543
|
+
/** Facilities a charging station belongs to. */
|
|
6304
6544
|
facilities?: Maybe<Array<Maybe<OCPIFacility>>>;
|
|
6305
|
-
/** 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).
|
|
6545
|
+
/** 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). */
|
|
6306
6546
|
time_zone?: Maybe<Scalars["String"]>;
|
|
6307
|
-
/** Times when an EVSEs at a location can be accessed for charging.
|
|
6547
|
+
/** Times when an EVSEs at a location can be accessed for charging. */
|
|
6308
6548
|
opening_times?: Maybe<OCPIHours>;
|
|
6309
|
-
/** 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.
|
|
6549
|
+
/** 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. */
|
|
6310
6550
|
charging_when_closed?: Maybe<Scalars["Boolean"]>;
|
|
6311
|
-
/** Links to images related to a location such as photos or logos.
|
|
6551
|
+
/** Links to images related to a location such as photos or logos. */
|
|
6312
6552
|
images?: Maybe<Array<Maybe<OCPIImage>>>;
|
|
6313
|
-
/** Details of the energy supplied at a location.
|
|
6553
|
+
/** Details of the energy supplied at a location. */
|
|
6314
6554
|
energy_mix?: Maybe<OCPIEnergyMix>;
|
|
6315
|
-
/** Timestamp when a location, or one of its EVSEs or Connectors were last updated (or created).
|
|
6555
|
+
/** Timestamp when a location, or one of its EVSEs or Connectors were last updated (or created). */
|
|
6316
6556
|
last_updated?: Maybe<Scalars["DateTime"]>;
|
|
6317
6557
|
/** ID provided by a station data source. */
|
|
6318
6558
|
external_id?: Maybe<Scalars["String"]>;
|
|
@@ -6404,7 +6644,7 @@ export enum StationAdhocAuthorisationPaymentMethod {
|
|
|
6404
6644
|
AUTH_BY_CAR_AUTOCHARGE = "AUTH_BY_CAR_AUTOCHARGE"
|
|
6405
6645
|
}
|
|
6406
6646
|
|
|
6407
|
-
/**
|
|
6647
|
+
/** Criteria to filter stations in the station around query. */
|
|
6408
6648
|
export type StationAroundFilter = {
|
|
6409
6649
|
/** GeoJSON Point of the center of the around me circle. */
|
|
6410
6650
|
location?: Maybe<PointInput>;
|
|
@@ -6424,7 +6664,7 @@ export type StationAroundFilter = {
|
|
|
6424
6664
|
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
6425
6665
|
};
|
|
6426
6666
|
|
|
6427
|
-
/**
|
|
6667
|
+
/** Query parameters to filter stations in the station around query. */
|
|
6428
6668
|
export type StationAroundQuery = {
|
|
6429
6669
|
/** GeoJSON Point of the center of the around me circle. */
|
|
6430
6670
|
location?: Maybe<PointInput>;
|
|
@@ -6439,7 +6679,7 @@ export type StationAroundQuery = {
|
|
|
6439
6679
|
export type StationCustomProperties = {
|
|
6440
6680
|
/**
|
|
6441
6681
|
* Shows how reliable a charging station is (1 to 5; 1 = unreliable, 5 = reliable), taking into account the charging behaviour history and error values.
|
|
6442
|
-
* @deprecated In favor of station.reliability_score
|
|
6682
|
+
* @deprecated In favor of `station.reliability_score`.
|
|
6443
6683
|
*/
|
|
6444
6684
|
reliability_score?: Maybe<Scalars["Int"]>;
|
|
6445
6685
|
/** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
@@ -6498,7 +6738,7 @@ export type StationHeavyVehiclesRestrictionsmassArgs = {
|
|
|
6498
6738
|
unit?: Maybe<WeightUnit>;
|
|
6499
6739
|
};
|
|
6500
6740
|
|
|
6501
|
-
/**
|
|
6741
|
+
/** Criteria to filter stations in the station list query. */
|
|
6502
6742
|
export type StationListFilter = {
|
|
6503
6743
|
/** Powers in kW. */
|
|
6504
6744
|
powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
|
|
@@ -6514,7 +6754,7 @@ export type StationListFilter = {
|
|
|
6514
6754
|
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
6515
6755
|
};
|
|
6516
6756
|
|
|
6517
|
-
/**
|
|
6757
|
+
/** Query parameters to filter stations in the station list query. */
|
|
6518
6758
|
export type StationListQuery = {
|
|
6519
6759
|
/** ID of the station. */
|
|
6520
6760
|
id?: Maybe<Scalars["ID"]>;
|
|
@@ -6624,12 +6864,15 @@ export enum StepType {
|
|
|
6624
6864
|
}
|
|
6625
6865
|
|
|
6626
6866
|
export type Subscription = {
|
|
6627
|
-
/**
|
|
6867
|
+
/**
|
|
6868
|
+
* Subscribe to a specific route to receive system event updates.
|
|
6869
|
+
* @deprecated In favor of `route`.
|
|
6870
|
+
*/
|
|
6628
6871
|
routeUpdatedById?: Maybe<Route>;
|
|
6629
6872
|
/** Subscribe to a specific route to receive system event updates. */
|
|
6630
6873
|
route: RouteResponse;
|
|
6631
|
-
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
6632
|
-
|
|
6874
|
+
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates. */
|
|
6875
|
+
navigation?: Maybe<NavigationSubscription>;
|
|
6633
6876
|
/** [BETA] Subscribe to a connected vehicle. */
|
|
6634
6877
|
connectedVehicle?: Maybe<ConnectedVehicle>;
|
|
6635
6878
|
/** Subscribe to an isoline in order to receive updates. */
|
|
@@ -6644,7 +6887,7 @@ export type SubscriptionrouteArgs = {
|
|
|
6644
6887
|
id: Scalars["ID"];
|
|
6645
6888
|
};
|
|
6646
6889
|
|
|
6647
|
-
export type
|
|
6890
|
+
export type SubscriptionnavigationArgs = {
|
|
6648
6891
|
id: Scalars["ID"];
|
|
6649
6892
|
};
|
|
6650
6893
|
|
|
@@ -6695,8 +6938,6 @@ export type Telemetry = {
|
|
|
6695
6938
|
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
6696
6939
|
/** Values for the average tire pressures of all wheels, starting from the front side right to left and to the rear. */
|
|
6697
6940
|
tire_pressure?: Maybe<Array<Scalars["Float"]>>;
|
|
6698
|
-
/** UNIX timestamp in seconds. */
|
|
6699
|
-
timestamp?: Maybe<Scalars["Int"]>;
|
|
6700
6941
|
/** Value of the vehicle speed. */
|
|
6701
6942
|
vehicle_speed?: Maybe<Scalars["Float"]>;
|
|
6702
6943
|
/** Custom input fields can be added based on telemetry architecture. */
|
|
@@ -6794,8 +7035,6 @@ export type TelemetryInput = {
|
|
|
6794
7035
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
6795
7036
|
/** Average tire pressures of all wheels, starting from the front side right to left and to the rear. */
|
|
6796
7037
|
tire_pressure?: Maybe<TirePressureInput>;
|
|
6797
|
-
/** UNIX timestamp in seconds. */
|
|
6798
|
-
timestamp?: Maybe<Scalars["Int"]>;
|
|
6799
7038
|
/** Vehicle speed. */
|
|
6800
7039
|
vehicle_speed?: Maybe<VehicleSpeedInput>;
|
|
6801
7040
|
/** Custom input fields can be added based on telemetry architecture. */
|
|
@@ -7059,7 +7298,7 @@ export type VehicleConnector = {
|
|
|
7059
7298
|
time: Scalars["Int"];
|
|
7060
7299
|
/**
|
|
7061
7300
|
* Charging speed.
|
|
7062
|
-
* @deprecated In favor of charge_speed
|
|
7301
|
+
* @deprecated In favor of `charge_speed`.
|
|
7063
7302
|
*/
|
|
7064
7303
|
speed: Scalars["Float"];
|
|
7065
7304
|
/** Charging speed. */
|
|
@@ -7270,7 +7509,7 @@ export type VehicleListMedia = {
|
|
|
7270
7509
|
image: VehicleImage;
|
|
7271
7510
|
/**
|
|
7272
7511
|
* Latest make logo of the vehicle.
|
|
7273
|
-
* @deprecated In favor of make
|
|
7512
|
+
* @deprecated In favor of `make`.
|
|
7274
7513
|
*/
|
|
7275
7514
|
brand: VehicleImage;
|
|
7276
7515
|
/** Latest make logo of the vehicle. */
|
|
@@ -7326,7 +7565,7 @@ export type VehicleMedia = {
|
|
|
7326
7565
|
image: VehicleImage;
|
|
7327
7566
|
/**
|
|
7328
7567
|
* Latest make logo.
|
|
7329
|
-
* @deprecated In favor of make
|
|
7568
|
+
* @deprecated In favor of `make`.
|
|
7330
7569
|
*/
|
|
7331
7570
|
brand: VehicleImage;
|
|
7332
7571
|
/** Latest make logo. */
|
|
@@ -8013,7 +8252,7 @@ export type VehiclePremiumMedia = {
|
|
|
8013
8252
|
image: VehicleImage;
|
|
8014
8253
|
/**
|
|
8015
8254
|
* Latest make logo.
|
|
8016
|
-
* @deprecated In favor of make
|
|
8255
|
+
* @deprecated In favor of `make`.
|
|
8017
8256
|
*/
|
|
8018
8257
|
brand: VehicleImage;
|
|
8019
8258
|
/** Latest make logo. */
|