@chargetrip/types 1.43.0 → 1.45.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/CHANGELOG.md +19 -0
- package/README.md +2 -4
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +255 -20
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +255 -20
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +588 -226
- package/graphql.schema.json +3703 -1863
- package/package.json +1 -1
- package/src/graphql.ts +618 -232
package/src/graphql.ts
CHANGED
|
@@ -99,6 +99,24 @@ export enum AdhocAuthorisationMethod {
|
|
|
99
99
|
SMS = "SMS"
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
export type AlternativeStationRadius = {
|
|
103
|
+
/** Value of the alternative station radius. */
|
|
104
|
+
value: Scalars["Float"];
|
|
105
|
+
/** Type of the alternative station radius. */
|
|
106
|
+
type: DistanceUnit;
|
|
107
|
+
/** Source of inputted data. */
|
|
108
|
+
source: TelemetryInputSource;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export type AlternativeStationRadiusInput = {
|
|
112
|
+
/** Value of the alternative station radius. */
|
|
113
|
+
value: Scalars["Float"];
|
|
114
|
+
/** Type of the alternative station radius. */
|
|
115
|
+
type: DistanceUnit;
|
|
116
|
+
/** Source of inputted data. */
|
|
117
|
+
source?: Maybe<TelemetryInputSource>;
|
|
118
|
+
};
|
|
119
|
+
|
|
102
120
|
/** Amenities available near a station */
|
|
103
121
|
export enum Amenities {
|
|
104
122
|
PARK = "park",
|
|
@@ -196,7 +214,7 @@ export type AuxiliaryConsumptionInput = {
|
|
|
196
214
|
/** Type of auxiliary power consumption of the vehicle. */
|
|
197
215
|
type: AuxiliaryConsumptionUnit;
|
|
198
216
|
/** Source of inputted data, defaults to 'manual'. */
|
|
199
|
-
source?: TelemetryInputSource
|
|
217
|
+
source?: Maybe<TelemetryInputSource>;
|
|
200
218
|
};
|
|
201
219
|
|
|
202
220
|
/** Auxiliary consumption units. */
|
|
@@ -219,7 +237,7 @@ export type BatteryTemperatureInput = {
|
|
|
219
237
|
/** Type of temperature of the battery. */
|
|
220
238
|
type: TemperatureUnit;
|
|
221
239
|
/** Source of inputted data, defaults to 'manual'. */
|
|
222
|
-
source?: TelemetryInputSource
|
|
240
|
+
source?: Maybe<TelemetryInputSource>;
|
|
223
241
|
};
|
|
224
242
|
|
|
225
243
|
/** Deprecated: In favour of Vehicle. */
|
|
@@ -1519,7 +1537,7 @@ export type ChargeSpeedInput = {
|
|
|
1519
1537
|
/** Type of the charge speed of the battery. */
|
|
1520
1538
|
type: ChargeSpeedUnit;
|
|
1521
1539
|
/** Source of inputted data, defaults to 'manual'. */
|
|
1522
|
-
source?: TelemetryInputSource
|
|
1540
|
+
source?: Maybe<TelemetryInputSource>;
|
|
1523
1541
|
};
|
|
1524
1542
|
|
|
1525
1543
|
/** Charge speed unit. */
|
|
@@ -1791,8 +1809,13 @@ export type Connector = {
|
|
|
1791
1809
|
properties?: Maybe<Scalars["JSON"]>;
|
|
1792
1810
|
/** List of valid charging tariffs. */
|
|
1793
1811
|
tariff?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
1794
|
-
/**
|
|
1812
|
+
/**
|
|
1813
|
+
* Charging prices.
|
|
1814
|
+
* @deprecated In favor of prices.
|
|
1815
|
+
*/
|
|
1795
1816
|
pricing?: Maybe<Pricing>;
|
|
1817
|
+
/** Dynamic charging prices. */
|
|
1818
|
+
prices?: Maybe<Array<ConnectorPrice>>;
|
|
1796
1819
|
/** Custom properties of a connector. These are vendor specific and will return null values on the fields that are not supported by your station database. */
|
|
1797
1820
|
custom_properties?: Maybe<ConnectorCustomProperties>;
|
|
1798
1821
|
};
|
|
@@ -1801,13 +1824,196 @@ export type Connector = {
|
|
|
1801
1824
|
export type ConnectorCustomProperties = {
|
|
1802
1825
|
/**
|
|
1803
1826
|
* Charging prices.
|
|
1804
|
-
* @deprecated In favor of connector.
|
|
1827
|
+
* @deprecated In favor of connector.prices.
|
|
1805
1828
|
*/
|
|
1806
1829
|
pricing?: Maybe<Pricing>;
|
|
1807
1830
|
/** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values. */
|
|
1808
1831
|
oicp?: Maybe<OICPConnectorCustomProperties>;
|
|
1809
1832
|
};
|
|
1810
1833
|
|
|
1834
|
+
/** Connector charging price. */
|
|
1835
|
+
export type ConnectorPrice = {
|
|
1836
|
+
/** ID for the price. */
|
|
1837
|
+
external_id: Scalars["String"];
|
|
1838
|
+
/** Owner of the payment product. */
|
|
1839
|
+
partner?: Maybe<Scalars["String"]>;
|
|
1840
|
+
/** ID for the owner of the payment product. */
|
|
1841
|
+
partner_id: Scalars["String"];
|
|
1842
|
+
/** Payment product. */
|
|
1843
|
+
product: ConnectorPriceProduct;
|
|
1844
|
+
/** Price product elements. */
|
|
1845
|
+
elements: Array<ConnectorPriceElement>;
|
|
1846
|
+
/** Indicates when the pricing data was last updated. The date is in ISO 8601 standard and the time zone is UTC. The update could be a price update or any other update (for example, pricing type update). */
|
|
1847
|
+
last_updated?: Maybe<Scalars["DateTime"]>;
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1850
|
+
export type ConnectorPriceElement = {
|
|
1851
|
+
/** Connector price element components. */
|
|
1852
|
+
components: Array<ConnectorPriceElementComponent>;
|
|
1853
|
+
/** Connector price element restrictions. */
|
|
1854
|
+
restrictions?: Maybe<ConnectorPriceElementRestrictions>;
|
|
1855
|
+
};
|
|
1856
|
+
|
|
1857
|
+
export type ConnectorPriceElementComponent = {
|
|
1858
|
+
/** Type of pricing that is applicable. */
|
|
1859
|
+
type: ConnectorPriceElementComponentType;
|
|
1860
|
+
/** Applicable price excluding VAT. */
|
|
1861
|
+
price_excl_vat: Scalars["Float"];
|
|
1862
|
+
/** Applicable VAT. */
|
|
1863
|
+
vat: Scalars["Float"];
|
|
1864
|
+
/**
|
|
1865
|
+
* Indicates the minimum amount that is billed. A
|
|
1866
|
+
* unit is billed in step-size blocks. For example, if the type is TIME and step_size is 300, then the time is billed in blocks of 5 minutes. Hence, if 6 minutes is used, then 10 minutes (2 blocks of step_size) is billed.
|
|
1867
|
+
*
|
|
1868
|
+
* Note: step_size also depends on the type. Every type (except FLAT) defines a step_size multiplier. This is the size of every 'step' and the unit. For example, PARKING_TIME has a step-size multiplier of 1 second. Therefore, the step_size of a price component is multiplied by 1 second. Thus, step_size = 300 means 300 seconds.
|
|
1869
|
+
*/
|
|
1870
|
+
step_size: Scalars["Int"];
|
|
1871
|
+
};
|
|
1872
|
+
|
|
1873
|
+
/** Type of pricing that is applicable. */
|
|
1874
|
+
export enum ConnectorPriceElementComponentType {
|
|
1875
|
+
/** Price per kWh. */
|
|
1876
|
+
ENERGY = "energy",
|
|
1877
|
+
/** Fixed price per charging session. */
|
|
1878
|
+
FLAT = "flat",
|
|
1879
|
+
/** Parking price per hour. This fee is applicable even if the parked car is not charging. */
|
|
1880
|
+
PARKING_TIME = "parking_time",
|
|
1881
|
+
/** Fixed price per hour. */
|
|
1882
|
+
TIME = "time"
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
export type ConnectorPriceElementRestrictions = {
|
|
1886
|
+
/** Starting time of the day for the prices. */
|
|
1887
|
+
start_time?: Maybe<Scalars["String"]>;
|
|
1888
|
+
/** Ending time of the day for the prices. */
|
|
1889
|
+
end_time?: Maybe<Scalars["String"]>;
|
|
1890
|
+
/** Starting date for the prices. */
|
|
1891
|
+
start_date?: Maybe<Scalars["String"]>;
|
|
1892
|
+
/** Ending date for the prices. */
|
|
1893
|
+
end_date?: Maybe<Scalars["String"]>;
|
|
1894
|
+
/** Minimum energy used, in kWh. */
|
|
1895
|
+
minimum_kwh?: Maybe<Scalars["Float"]>;
|
|
1896
|
+
/** Maximum energy used, in kWh. */
|
|
1897
|
+
maximum_kwh?: Maybe<Scalars["Float"]>;
|
|
1898
|
+
/** Minimum charging speed, in kW. */
|
|
1899
|
+
minimum_power?: Maybe<Scalars["Float"]>;
|
|
1900
|
+
/** Maximum charging speed, in kW. */
|
|
1901
|
+
maximum_power?: Maybe<Scalars["Float"]>;
|
|
1902
|
+
/** Sum of the minimum current (in Amperes) over all the phases. When the EV is charging with more than or equal to this value the prices are active. If the charging current is lower, this price is inactive. */
|
|
1903
|
+
minimum_current?: Maybe<Scalars["Float"]>;
|
|
1904
|
+
/** Sum of the maximum current (in Amperes) over all the phases. When the EV is charging with less than this value the prices are active. If the charging current is higher, this price is inactive. */
|
|
1905
|
+
maximum_current?: Maybe<Scalars["Float"]>;
|
|
1906
|
+
/** Minimum price based on the amount of kWh that is being delivered. */
|
|
1907
|
+
minimum_price?: Maybe<Scalars["Float"]>;
|
|
1908
|
+
/** Maximum price based on the amount of kWh that is being delivered. */
|
|
1909
|
+
maximum_price?: Maybe<Scalars["Float"]>;
|
|
1910
|
+
/** Battery percentage at which the overstay prices are active. */
|
|
1911
|
+
overstay_battery_percentage?: Maybe<
|
|
1912
|
+
ConnectorPriceRestrictionsOverstayBatteryPercentage
|
|
1913
|
+
>;
|
|
1914
|
+
/** Time after which the overstay prices are active. */
|
|
1915
|
+
overstay_time?: Maybe<ConnectorPriceRestrictionsOverstayTime>;
|
|
1916
|
+
/** Minimum duration, in seconds. */
|
|
1917
|
+
minimum_duration?: Maybe<Scalars["Int"]>;
|
|
1918
|
+
/** Maximum duration, in seconds. */
|
|
1919
|
+
maximum_duration?: Maybe<Scalars["Int"]>;
|
|
1920
|
+
/** Day(s) of the week that the prices are valid. */
|
|
1921
|
+
day_of_week?: Maybe<Array<DayOfWeek>>;
|
|
1922
|
+
/** Contract signed between the eMSP and the customer. */
|
|
1923
|
+
emsp_contract_date?: Maybe<ConnectorPriceRestrictionsEmspContractDate>;
|
|
1924
|
+
/**
|
|
1925
|
+
* When this field is present, the ConnectorPriceElement describes reservation costs.
|
|
1926
|
+
* A reservation starts when the reservation is made, and ends when the driver starts charging on the reserved EVSE/Location,
|
|
1927
|
+
* or when the reservation expires. A reservation can only have: `flat` and `time` ConnectorPriceElementComponentType,
|
|
1928
|
+
* where time is for the duration of the reservation.
|
|
1929
|
+
*
|
|
1930
|
+
* When a price has both, `reservation` and `reservation_expires` ConnectorPriceElement,
|
|
1931
|
+
* where both ConnectorPriceElement have a time ConnectorPriceElementComponent,
|
|
1932
|
+
* then the time based cost of an expired reservation will be calculated based on the `reservation_expires` ConnectorPriceElement.
|
|
1933
|
+
*/
|
|
1934
|
+
reservation?: Maybe<ConnectorPriceRestrictionsReservationType>;
|
|
1935
|
+
};
|
|
1936
|
+
|
|
1937
|
+
/** Payment product. */
|
|
1938
|
+
export type ConnectorPriceProduct = {
|
|
1939
|
+
/** Name of the payment product. */
|
|
1940
|
+
name: Scalars["String"];
|
|
1941
|
+
/** Type of the payment product. */
|
|
1942
|
+
type: ConnectorPriceProductType;
|
|
1943
|
+
/** A brief description of the product. */
|
|
1944
|
+
description: Scalars["String"];
|
|
1945
|
+
/** Indicates the type of subscription. */
|
|
1946
|
+
subscription_type: ConnectorPriceProductSubscriptionType;
|
|
1947
|
+
/** Subscription price for a month or year, excluding VAT, if applicable. */
|
|
1948
|
+
subscription_fee_excl_vat: Scalars["Float"];
|
|
1949
|
+
/** Three-digit currency code of the country where the charging station is located. */
|
|
1950
|
+
currency: CurrencyUnit;
|
|
1951
|
+
};
|
|
1952
|
+
|
|
1953
|
+
/** Type of the payment product. */
|
|
1954
|
+
export enum ConnectorPriceProductSubscriptionType {
|
|
1955
|
+
/** The subscription fee is applicable every month. */
|
|
1956
|
+
MONTHLY = "monthly",
|
|
1957
|
+
/** The subscription fee is applicable every year. */
|
|
1958
|
+
YEARLY = "yearly",
|
|
1959
|
+
/** An initial fee is applicable to purchase a RFID card or chip, but there isn't a recurring subscription fee. */
|
|
1960
|
+
ONE_OFF = "one_off",
|
|
1961
|
+
/** The product doesn’t have a subscription option. */
|
|
1962
|
+
NOT_APPLICABLE = "not_applicable"
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
/** Type of the payment product. */
|
|
1966
|
+
export enum ConnectorPriceProductType {
|
|
1967
|
+
AD_HOC = "ad_hoc",
|
|
1968
|
+
MSP = "msp",
|
|
1969
|
+
CPO_SUBSCRIPTION = "cpo_subscription"
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
export type ConnectorPriceRestrictionsEmspContractDate = {
|
|
1973
|
+
/** Name of the contract signed between the eMSP and a customer. */
|
|
1974
|
+
name?: Maybe<Scalars["String"]>;
|
|
1975
|
+
/** Prices are active from this date, which is based on the contract signed between the eMSP and a customer. */
|
|
1976
|
+
from?: Maybe<Scalars["String"]>;
|
|
1977
|
+
/** Prices are active until this date, which is based on the contract signed between the eMSP and a customer. */
|
|
1978
|
+
to?: Maybe<Scalars["String"]>;
|
|
1979
|
+
};
|
|
1980
|
+
|
|
1981
|
+
export type ConnectorPriceRestrictionsOverstayBatteryPercentage = {
|
|
1982
|
+
/** Battery percentage at which the overstay prices are active. */
|
|
1983
|
+
minimum?: Maybe<Scalars["Int"]>;
|
|
1984
|
+
/** Battery percentage at which the overstay prices are inactive. */
|
|
1985
|
+
maximum?: Maybe<Scalars["Int"]>;
|
|
1986
|
+
/** Unit for the time after which the prices are active. */
|
|
1987
|
+
unit?: Maybe<ConnectorPriceRestrictionsOverstayTimeUnit>;
|
|
1988
|
+
};
|
|
1989
|
+
|
|
1990
|
+
export type ConnectorPriceRestrictionsOverstayTime = {
|
|
1991
|
+
/** Time at which the overstay prices are active. */
|
|
1992
|
+
minimum?: Maybe<Scalars["Int"]>;
|
|
1993
|
+
/** Time at which the overstay prices are inactive. */
|
|
1994
|
+
maximum?: Maybe<Scalars["Int"]>;
|
|
1995
|
+
/** Unit for the time after which the prices are active. */
|
|
1996
|
+
unit?: Maybe<ConnectorPriceRestrictionsOverstayTimeUnit>;
|
|
1997
|
+
};
|
|
1998
|
+
|
|
1999
|
+
/** The unit of time after which the overstay restrictions are applicable. */
|
|
2000
|
+
export enum ConnectorPriceRestrictionsOverstayTimeUnit {
|
|
2001
|
+
/** The overstay restrictions are applicable after a certain number of seconds. */
|
|
2002
|
+
SECONDS = "seconds",
|
|
2003
|
+
/** The overstay restrictions are applicable after a certain number of minutes. */
|
|
2004
|
+
MINUTES = "minutes",
|
|
2005
|
+
/** The overstay restrictions are applicable after a certain number of hours. */
|
|
2006
|
+
HOURS = "hours"
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
/** Describes the cost associated with reserving a charging station. */
|
|
2010
|
+
export enum ConnectorPriceRestrictionsReservationType {
|
|
2011
|
+
/** Describes costs for a reservation. */
|
|
2012
|
+
RESERVATION = "reservation",
|
|
2013
|
+
/** Describes costs for a reservation that expires (i.e. driver does not start a charging session before expiry date of the reservation). */
|
|
2014
|
+
RESERVATION_EXPIRES = "reservation_expires"
|
|
2015
|
+
}
|
|
2016
|
+
|
|
1811
2017
|
/** The socket or plug standard of the charging point. */
|
|
1812
2018
|
export enum ConnectorType {
|
|
1813
2019
|
/** The connector type is CHAdeMO, DC. */
|
|
@@ -2209,8 +2415,8 @@ export type CreateRoute = {
|
|
|
2209
2415
|
operators?: Maybe<RouteOperatorPreferences>;
|
|
2210
2416
|
/** Season of a route. */
|
|
2211
2417
|
season: RouteSeason;
|
|
2212
|
-
/** Alternative stations along a route within a specified radius
|
|
2213
|
-
alternative_station_radius?: Maybe<
|
|
2418
|
+
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
2419
|
+
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
2214
2420
|
/** Departure time of a route. */
|
|
2215
2421
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
2216
2422
|
};
|
|
@@ -2229,14 +2435,195 @@ export type CreateRouteInput = {
|
|
|
2229
2435
|
operators?: Maybe<RouteOperatorPreferencesInput>;
|
|
2230
2436
|
/** Optional flag to specify the season. */
|
|
2231
2437
|
season?: Maybe<RouteSeason>;
|
|
2232
|
-
/** Alternative stations along a route within a specified radius
|
|
2233
|
-
alternative_station_radius?: Maybe<
|
|
2234
|
-
/** Current elevation. */
|
|
2235
|
-
elevation?: Maybe<ElevationInput>;
|
|
2438
|
+
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
2439
|
+
alternative_station_radius?: Maybe<AlternativeStationRadiusInput>;
|
|
2236
2440
|
/** Route departure time. */
|
|
2237
2441
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
2238
2442
|
};
|
|
2239
2443
|
|
|
2444
|
+
/** Currency in the ISO 4217 format. */
|
|
2445
|
+
export enum Currency {
|
|
2446
|
+
AED = "AED",
|
|
2447
|
+
AFN = "AFN",
|
|
2448
|
+
ALL = "ALL",
|
|
2449
|
+
AMD = "AMD",
|
|
2450
|
+
ANG = "ANG",
|
|
2451
|
+
AOA = "AOA",
|
|
2452
|
+
ARS = "ARS",
|
|
2453
|
+
AUD = "AUD",
|
|
2454
|
+
AWG = "AWG",
|
|
2455
|
+
AZN = "AZN",
|
|
2456
|
+
BAM = "BAM",
|
|
2457
|
+
BBD = "BBD",
|
|
2458
|
+
BDT = "BDT",
|
|
2459
|
+
BGN = "BGN",
|
|
2460
|
+
BHD = "BHD",
|
|
2461
|
+
BIF = "BIF",
|
|
2462
|
+
BMD = "BMD",
|
|
2463
|
+
BND = "BND",
|
|
2464
|
+
BOB = "BOB",
|
|
2465
|
+
BRL = "BRL",
|
|
2466
|
+
BSD = "BSD",
|
|
2467
|
+
BTN = "BTN",
|
|
2468
|
+
BWP = "BWP",
|
|
2469
|
+
BYN = "BYN",
|
|
2470
|
+
BYR = "BYR",
|
|
2471
|
+
BZD = "BZD",
|
|
2472
|
+
CAD = "CAD",
|
|
2473
|
+
CDF = "CDF",
|
|
2474
|
+
CHF = "CHF",
|
|
2475
|
+
CLF = "CLF",
|
|
2476
|
+
CLP = "CLP",
|
|
2477
|
+
CNY = "CNY",
|
|
2478
|
+
COP = "COP",
|
|
2479
|
+
CRC = "CRC",
|
|
2480
|
+
CUC = "CUC",
|
|
2481
|
+
CUP = "CUP",
|
|
2482
|
+
CVE = "CVE",
|
|
2483
|
+
CZK = "CZK",
|
|
2484
|
+
DJF = "DJF",
|
|
2485
|
+
DKK = "DKK",
|
|
2486
|
+
DOP = "DOP",
|
|
2487
|
+
DZD = "DZD",
|
|
2488
|
+
EGP = "EGP",
|
|
2489
|
+
ERN = "ERN",
|
|
2490
|
+
ETB = "ETB",
|
|
2491
|
+
EUR = "EUR",
|
|
2492
|
+
FJD = "FJD",
|
|
2493
|
+
FKP = "FKP",
|
|
2494
|
+
GBP = "GBP",
|
|
2495
|
+
GEL = "GEL",
|
|
2496
|
+
GGP = "GGP",
|
|
2497
|
+
GHS = "GHS",
|
|
2498
|
+
GIP = "GIP",
|
|
2499
|
+
GMD = "GMD",
|
|
2500
|
+
GNF = "GNF",
|
|
2501
|
+
GTQ = "GTQ",
|
|
2502
|
+
GYD = "GYD",
|
|
2503
|
+
HKD = "HKD",
|
|
2504
|
+
HNL = "HNL",
|
|
2505
|
+
HRK = "HRK",
|
|
2506
|
+
HTG = "HTG",
|
|
2507
|
+
HUF = "HUF",
|
|
2508
|
+
IDR = "IDR",
|
|
2509
|
+
ILS = "ILS",
|
|
2510
|
+
IMP = "IMP",
|
|
2511
|
+
INR = "INR",
|
|
2512
|
+
IQD = "IQD",
|
|
2513
|
+
IRR = "IRR",
|
|
2514
|
+
ISK = "ISK",
|
|
2515
|
+
JEP = "JEP",
|
|
2516
|
+
JMD = "JMD",
|
|
2517
|
+
JOD = "JOD",
|
|
2518
|
+
JPY = "JPY",
|
|
2519
|
+
KES = "KES",
|
|
2520
|
+
KGS = "KGS",
|
|
2521
|
+
KHR = "KHR",
|
|
2522
|
+
KMF = "KMF",
|
|
2523
|
+
KPW = "KPW",
|
|
2524
|
+
KRW = "KRW",
|
|
2525
|
+
KWD = "KWD",
|
|
2526
|
+
KYD = "KYD",
|
|
2527
|
+
KZT = "KZT",
|
|
2528
|
+
LAK = "LAK",
|
|
2529
|
+
LBP = "LBP",
|
|
2530
|
+
LKR = "LKR",
|
|
2531
|
+
LRD = "LRD",
|
|
2532
|
+
LSL = "LSL",
|
|
2533
|
+
LTL = "LTL",
|
|
2534
|
+
LVL = "LVL",
|
|
2535
|
+
LYD = "LYD",
|
|
2536
|
+
MAD = "MAD",
|
|
2537
|
+
MDL = "MDL",
|
|
2538
|
+
MGA = "MGA",
|
|
2539
|
+
MKD = "MKD",
|
|
2540
|
+
MMK = "MMK",
|
|
2541
|
+
MNT = "MNT",
|
|
2542
|
+
MOP = "MOP",
|
|
2543
|
+
MRO = "MRO",
|
|
2544
|
+
MUR = "MUR",
|
|
2545
|
+
MVR = "MVR",
|
|
2546
|
+
MWK = "MWK",
|
|
2547
|
+
MXN = "MXN",
|
|
2548
|
+
MYR = "MYR",
|
|
2549
|
+
MZN = "MZN",
|
|
2550
|
+
NAD = "NAD",
|
|
2551
|
+
NGN = "NGN",
|
|
2552
|
+
NIO = "NIO",
|
|
2553
|
+
NOK = "NOK",
|
|
2554
|
+
NPR = "NPR",
|
|
2555
|
+
NZD = "NZD",
|
|
2556
|
+
OMR = "OMR",
|
|
2557
|
+
PAB = "PAB",
|
|
2558
|
+
PEN = "PEN",
|
|
2559
|
+
PGK = "PGK",
|
|
2560
|
+
PHP = "PHP",
|
|
2561
|
+
PKR = "PKR",
|
|
2562
|
+
PLN = "PLN",
|
|
2563
|
+
PYG = "PYG",
|
|
2564
|
+
QAR = "QAR",
|
|
2565
|
+
RON = "RON",
|
|
2566
|
+
RSD = "RSD",
|
|
2567
|
+
RUB = "RUB",
|
|
2568
|
+
RWF = "RWF",
|
|
2569
|
+
SAR = "SAR",
|
|
2570
|
+
SBD = "SBD",
|
|
2571
|
+
SCR = "SCR",
|
|
2572
|
+
SDG = "SDG",
|
|
2573
|
+
SEK = "SEK",
|
|
2574
|
+
SGD = "SGD",
|
|
2575
|
+
SHP = "SHP",
|
|
2576
|
+
SLL = "SLL",
|
|
2577
|
+
SOS = "SOS",
|
|
2578
|
+
SRD = "SRD",
|
|
2579
|
+
STD = "STD",
|
|
2580
|
+
SVC = "SVC",
|
|
2581
|
+
SYP = "SYP",
|
|
2582
|
+
SZL = "SZL",
|
|
2583
|
+
THB = "THB",
|
|
2584
|
+
TJS = "TJS",
|
|
2585
|
+
TMT = "TMT",
|
|
2586
|
+
TND = "TND",
|
|
2587
|
+
TOP = "TOP",
|
|
2588
|
+
TRY = "TRY",
|
|
2589
|
+
TTD = "TTD",
|
|
2590
|
+
TWD = "TWD",
|
|
2591
|
+
TZS = "TZS",
|
|
2592
|
+
UAH = "UAH",
|
|
2593
|
+
UGX = "UGX",
|
|
2594
|
+
USD = "USD",
|
|
2595
|
+
UYU = "UYU",
|
|
2596
|
+
UZS = "UZS",
|
|
2597
|
+
VEF = "VEF",
|
|
2598
|
+
VND = "VND",
|
|
2599
|
+
VUV = "VUV",
|
|
2600
|
+
WST = "WST",
|
|
2601
|
+
XAF = "XAF",
|
|
2602
|
+
XAG = "XAG",
|
|
2603
|
+
XAU = "XAU",
|
|
2604
|
+
XCD = "XCD",
|
|
2605
|
+
XDR = "XDR",
|
|
2606
|
+
XOF = "XOF",
|
|
2607
|
+
XPF = "XPF",
|
|
2608
|
+
YER = "YER",
|
|
2609
|
+
ZAR = "ZAR",
|
|
2610
|
+
ZMK = "ZMK",
|
|
2611
|
+
ZMW = "ZMW",
|
|
2612
|
+
ZWL = "ZWL",
|
|
2613
|
+
XPT = "XPT",
|
|
2614
|
+
XPD = "XPD",
|
|
2615
|
+
BTC = "BTC",
|
|
2616
|
+
ETH = "ETH",
|
|
2617
|
+
BNB = "BNB",
|
|
2618
|
+
XRP = "XRP",
|
|
2619
|
+
SOL = "SOL",
|
|
2620
|
+
DOT = "DOT",
|
|
2621
|
+
AVAX = "AVAX",
|
|
2622
|
+
MATIC = "MATIC",
|
|
2623
|
+
LTC = "LTC",
|
|
2624
|
+
ADA = "ADA"
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2240
2627
|
/** Currency according to the ISO 4217 standard. */
|
|
2241
2628
|
export enum CurrencyUnit {
|
|
2242
2629
|
/** Return the currency in EUR. */
|
|
@@ -2378,6 +2765,17 @@ export enum CurrencyUnit {
|
|
|
2378
2765
|
ZMW = "ZMW"
|
|
2379
2766
|
}
|
|
2380
2767
|
|
|
2768
|
+
/** Represents a day of the week. */
|
|
2769
|
+
export enum DayOfWeek {
|
|
2770
|
+
MONDAY = "monday",
|
|
2771
|
+
TUESDAY = "tuesday",
|
|
2772
|
+
WEDNESDAY = "wednesday",
|
|
2773
|
+
THURSDAY = "thursday",
|
|
2774
|
+
FRIDAY = "friday",
|
|
2775
|
+
SATURDAY = "saturday",
|
|
2776
|
+
SUNDAY = "sunday"
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2381
2779
|
export enum DimensionUnit {
|
|
2382
2780
|
/** Return the dimension in meters. */
|
|
2383
2781
|
METER = "meter",
|
|
@@ -2457,7 +2855,7 @@ export type ElevationInput = {
|
|
|
2457
2855
|
/** Type of the value of elevation. */
|
|
2458
2856
|
type: DistanceUnit;
|
|
2459
2857
|
/** Source of inputted data, defaults to 'manual'. */
|
|
2460
|
-
source?: TelemetryInputSource
|
|
2858
|
+
source?: Maybe<TelemetryInputSource>;
|
|
2461
2859
|
};
|
|
2462
2860
|
|
|
2463
2861
|
export enum ElevationUnit {
|
|
@@ -2582,45 +2980,60 @@ export enum FeatureType {
|
|
|
2582
2980
|
FEATURE = "Feature"
|
|
2583
2981
|
}
|
|
2584
2982
|
|
|
2585
|
-
export type
|
|
2586
|
-
/** Total fluid emissions. */
|
|
2983
|
+
export type FluidEndOfLifeEmissions = {
|
|
2984
|
+
/** Total fluid end of life emissions. */
|
|
2587
2985
|
total: Scalars["Float"];
|
|
2588
|
-
/** Wiper fluid
|
|
2986
|
+
/** Wiper fluid end of life emissions. */
|
|
2589
2987
|
wiper: Scalars["Float"];
|
|
2590
|
-
/** Brake fluid
|
|
2988
|
+
/** Brake fluid end of life emissions. */
|
|
2591
2989
|
brake: Scalars["Float"];
|
|
2592
|
-
/** Powertrain coolant fluid
|
|
2990
|
+
/** Powertrain coolant fluid end of life emissions. */
|
|
2593
2991
|
powertrain_coolant: Scalars["Float"];
|
|
2594
|
-
/** Transmission fluid
|
|
2992
|
+
/** Transmission fluid end of life emissions. */
|
|
2595
2993
|
transmission: Scalars["Float"];
|
|
2596
|
-
/** Motor oil
|
|
2994
|
+
/** Motor oil end of life emissions. */
|
|
2597
2995
|
motor_oil?: Maybe<Scalars["Float"]>;
|
|
2598
2996
|
};
|
|
2599
2997
|
|
|
2600
|
-
export type
|
|
2998
|
+
export type FluidEndOfLifeEmissionstotalArgs = {
|
|
2601
2999
|
unit?: Maybe<EmissionUnit>;
|
|
2602
3000
|
};
|
|
2603
3001
|
|
|
2604
|
-
export type
|
|
3002
|
+
export type FluidEndOfLifeEmissionswiperArgs = {
|
|
2605
3003
|
unit?: Maybe<EmissionUnit>;
|
|
2606
3004
|
};
|
|
2607
3005
|
|
|
2608
|
-
export type
|
|
3006
|
+
export type FluidEndOfLifeEmissionsbrakeArgs = {
|
|
2609
3007
|
unit?: Maybe<EmissionUnit>;
|
|
2610
3008
|
};
|
|
2611
3009
|
|
|
2612
|
-
export type
|
|
3010
|
+
export type FluidEndOfLifeEmissionspowertrain_coolantArgs = {
|
|
2613
3011
|
unit?: Maybe<EmissionUnit>;
|
|
2614
3012
|
};
|
|
2615
3013
|
|
|
2616
|
-
export type
|
|
3014
|
+
export type FluidEndOfLifeEmissionstransmissionArgs = {
|
|
2617
3015
|
unit?: Maybe<EmissionUnit>;
|
|
2618
3016
|
};
|
|
2619
3017
|
|
|
2620
|
-
export type
|
|
3018
|
+
export type FluidEndOfLifeEmissionsmotor_oilArgs = {
|
|
2621
3019
|
unit?: Maybe<EmissionUnit>;
|
|
2622
3020
|
};
|
|
2623
3021
|
|
|
3022
|
+
export type FluidMaintenanceEmissions = {
|
|
3023
|
+
/** Total fluid maintenance emissions. */
|
|
3024
|
+
total: RouteOperationalMaintenanceEmissionsField;
|
|
3025
|
+
/** Wiper fluid maintenance emissions. */
|
|
3026
|
+
wiper: RouteOperationalMaintenanceEmissionsField;
|
|
3027
|
+
/** Brake fluid maintenance emissions. */
|
|
3028
|
+
brake: RouteOperationalMaintenanceEmissionsField;
|
|
3029
|
+
/** Powertrain coolant fluid maintenance emissions. */
|
|
3030
|
+
powertrain_coolant: RouteOperationalMaintenanceEmissionsField;
|
|
3031
|
+
/** Transmission fluid maintenance emissions. */
|
|
3032
|
+
transmission: RouteOperationalMaintenanceEmissionsField;
|
|
3033
|
+
/** Motor oil maintenance emissions. */
|
|
3034
|
+
motor_oil?: Maybe<RouteOperationalMaintenanceEmissionsField>;
|
|
3035
|
+
};
|
|
3036
|
+
|
|
2624
3037
|
export enum FuelConsumptionUnit {
|
|
2625
3038
|
/** Return the fuel consumption in liters per 100 kilometers. */
|
|
2626
3039
|
LITERS_PER_100_KILOMETERS = "liters_per_100_kilometers",
|
|
@@ -3714,13 +4127,22 @@ export enum OICPValueAddedServices {
|
|
|
3714
4127
|
NONE = "none"
|
|
3715
4128
|
}
|
|
3716
4129
|
|
|
4130
|
+
export type Odometer = {
|
|
4131
|
+
/** Value of the vehicle's odometer. */
|
|
4132
|
+
value: Scalars["Float"];
|
|
4133
|
+
/** Type of the value of the vehicle's odometer. */
|
|
4134
|
+
type: DistanceUnit;
|
|
4135
|
+
/** Source of inputted data. */
|
|
4136
|
+
source: TelemetryInputSource;
|
|
4137
|
+
};
|
|
4138
|
+
|
|
3717
4139
|
export type OdometerInput = {
|
|
3718
4140
|
/** Value of the vehicle's odometer. */
|
|
3719
4141
|
value: Scalars["Float"];
|
|
3720
4142
|
/** Type of the value of the vehicle's odometer. */
|
|
3721
4143
|
type: DistanceUnit;
|
|
3722
4144
|
/** Source of inputted data, defaults to 'manual'. */
|
|
3723
|
-
source?: TelemetryInputSource
|
|
4145
|
+
source?: Maybe<TelemetryInputSource>;
|
|
3724
4146
|
};
|
|
3725
4147
|
|
|
3726
4148
|
/** Operator data which extends OCPI BusinessDetails. */
|
|
@@ -3772,6 +4194,13 @@ export type OperatorListQuery = {
|
|
|
3772
4194
|
country?: Maybe<Scalars["String"]>;
|
|
3773
4195
|
};
|
|
3774
4196
|
|
|
4197
|
+
/** Operator ranking level. */
|
|
4198
|
+
export enum OperatorRankingLevel {
|
|
4199
|
+
LOW = "low",
|
|
4200
|
+
MEDIUM = "medium",
|
|
4201
|
+
HIGH = "high"
|
|
4202
|
+
}
|
|
4203
|
+
|
|
3775
4204
|
export type OutsideTempInput = {
|
|
3776
4205
|
/** Value of the outside temperature. */
|
|
3777
4206
|
value: Scalars["Float"];
|
|
@@ -3781,13 +4210,22 @@ export type OutsideTempInput = {
|
|
|
3781
4210
|
source?: Maybe<TelemetryInputSource>;
|
|
3782
4211
|
};
|
|
3783
4212
|
|
|
4213
|
+
export type OutsideTemperature = {
|
|
4214
|
+
/** Value of the temperature. */
|
|
4215
|
+
value: Scalars["Float"];
|
|
4216
|
+
/** Type of the temperature. */
|
|
4217
|
+
type: TemperatureUnit;
|
|
4218
|
+
/** Source of inputted data. */
|
|
4219
|
+
source: TelemetryInputSource;
|
|
4220
|
+
};
|
|
4221
|
+
|
|
3784
4222
|
export type OutsideTemperatureInput = {
|
|
3785
4223
|
/** Value of the outside temperature. */
|
|
3786
4224
|
value: Scalars["Float"];
|
|
3787
4225
|
/** Type of the value of the outside temperature. */
|
|
3788
4226
|
type: TemperatureUnit;
|
|
3789
4227
|
/** Source of inputted data. */
|
|
3790
|
-
source?: TelemetryInputSource
|
|
4228
|
+
source?: Maybe<TelemetryInputSource>;
|
|
3791
4229
|
};
|
|
3792
4230
|
|
|
3793
4231
|
export enum ParkingCost {
|
|
@@ -3982,7 +4420,7 @@ export type Query = {
|
|
|
3982
4420
|
getRoute: RouteResponse;
|
|
3983
4421
|
/** [BETA] Get emissions for a route. */
|
|
3984
4422
|
getRouteEmissions: RouteDetailsEmissions;
|
|
3985
|
-
/**
|
|
4423
|
+
/** Emissions profile for route. */
|
|
3986
4424
|
routeEmissions: RouteEmissions;
|
|
3987
4425
|
/** Retrieve information about a route path segment */
|
|
3988
4426
|
routePath?: Maybe<RoutePath>;
|
|
@@ -3998,8 +4436,6 @@ export type Query = {
|
|
|
3998
4436
|
tariff?: Maybe<OCPITariff>;
|
|
3999
4437
|
/** Get the full list of tariffs. */
|
|
4000
4438
|
tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
4001
|
-
/** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
|
|
4002
|
-
navigationMapping?: Maybe<Scalars["JSON"]>;
|
|
4003
4439
|
/** Get information about a vehicle by its ID. */
|
|
4004
4440
|
vehicle?: Maybe<Vehicle>;
|
|
4005
4441
|
/** Vehicle premium data provides even more information about your vehicle: tire pressure, prices, drivetrain data, and more. Please contact us for access to premium data. */
|
|
@@ -4128,13 +4564,6 @@ export type QuerytariffListArgs = {
|
|
|
4128
4564
|
page?: Maybe<Scalars["Int"]>;
|
|
4129
4565
|
};
|
|
4130
4566
|
|
|
4131
|
-
export type QuerynavigationMappingArgs = {
|
|
4132
|
-
id: Scalars["ID"];
|
|
4133
|
-
provider: MappingProvider;
|
|
4134
|
-
precision?: Maybe<Scalars["Int"]>;
|
|
4135
|
-
language?: Maybe<MappingLanguage>;
|
|
4136
|
-
};
|
|
4137
|
-
|
|
4138
4567
|
export type QueryvehicleArgs = {
|
|
4139
4568
|
id: Scalars["ID"];
|
|
4140
4569
|
country?: Maybe<CountryCodeAlpha2>;
|
|
@@ -4541,7 +4970,7 @@ export type RouteAlternative = {
|
|
|
4541
4970
|
id?: Maybe<Scalars["ID"]>;
|
|
4542
4971
|
/** Type of alternative route. */
|
|
4543
4972
|
type?: Maybe<RouteAlternativeType>;
|
|
4544
|
-
/** Number of
|
|
4973
|
+
/** Number of charging stops required for this route. */
|
|
4545
4974
|
charges?: Maybe<Scalars["Int"]>;
|
|
4546
4975
|
/** Number of available charges along a route. */
|
|
4547
4976
|
chargesAvailable?: Maybe<Scalars["Int"]>;
|
|
@@ -4646,6 +5075,8 @@ export type RouteApp = {
|
|
|
4646
5075
|
};
|
|
4647
5076
|
|
|
4648
5077
|
export type RouteDestinationFeaturePoint = {
|
|
5078
|
+
/** ID of the feature. */
|
|
5079
|
+
id?: Maybe<Scalars["ID"]>;
|
|
4649
5080
|
/** Feature type. */
|
|
4650
5081
|
type: FeatureType;
|
|
4651
5082
|
/** Geometry of the feature. */
|
|
@@ -4655,6 +5086,8 @@ export type RouteDestinationFeaturePoint = {
|
|
|
4655
5086
|
};
|
|
4656
5087
|
|
|
4657
5088
|
export type RouteDestinationFeaturePointInput = {
|
|
5089
|
+
/** ID of the feature. */
|
|
5090
|
+
id?: Maybe<Scalars["ID"]>;
|
|
4658
5091
|
/** Feature type. */
|
|
4659
5092
|
type: FeatureType;
|
|
4660
5093
|
/** Geometry of the feature. */
|
|
@@ -4680,10 +5113,6 @@ export type RouteDestinationPropertiesInput = {
|
|
|
4680
5113
|
export type RouteDetails = {
|
|
4681
5114
|
/** ID of a route computation. */
|
|
4682
5115
|
id: Scalars["ID"];
|
|
4683
|
-
/** Type of a computed route. */
|
|
4684
|
-
type: RouteDetailsType;
|
|
4685
|
-
/** Aggregation of the connectors. */
|
|
4686
|
-
connectors: RouteDetailsConnectors;
|
|
4687
5116
|
/** Total distance of a route. */
|
|
4688
5117
|
distance: Scalars["Float"];
|
|
4689
5118
|
/** Aggregation of all durations of a route. */
|
|
@@ -4694,8 +5123,6 @@ export type RouteDetails = {
|
|
|
4694
5123
|
range_at_origin: Scalars["Float"];
|
|
4695
5124
|
/** Range available at the end of a trip. */
|
|
4696
5125
|
range_at_destination: Scalars["Float"];
|
|
4697
|
-
/** Text information about a route direction. */
|
|
4698
|
-
via?: Maybe<Scalars["String"]>;
|
|
4699
5126
|
/** Polyline containing encoded coordinates. */
|
|
4700
5127
|
polyline?: Maybe<Scalars["String"]>;
|
|
4701
5128
|
/** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
|
|
@@ -4706,10 +5133,11 @@ export type RouteDetails = {
|
|
|
4706
5133
|
savings?: Maybe<RouteDetailsSavings>;
|
|
4707
5134
|
/** Legs of a route. */
|
|
4708
5135
|
legs: Array<RouteDetailsLeg>;
|
|
5136
|
+
/** Alternative stations along a route within specified radius. */
|
|
4709
5137
|
alternative_stations: Array<RouteDetailsAlternativeStation>;
|
|
4710
5138
|
/** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
|
|
4711
5139
|
tags: Array<RouteDetailsTag>;
|
|
4712
|
-
/** Number of
|
|
5140
|
+
/** Number of charging stops required for this route. */
|
|
4713
5141
|
charges: Scalars["Int"];
|
|
4714
5142
|
};
|
|
4715
5143
|
|
|
@@ -4726,7 +5154,7 @@ export type RouteDetailsrange_at_destinationArgs = {
|
|
|
4726
5154
|
};
|
|
4727
5155
|
|
|
4728
5156
|
export type RouteDetailspolylineArgs = {
|
|
4729
|
-
decimals
|
|
5157
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
4730
5158
|
};
|
|
4731
5159
|
|
|
4732
5160
|
export type RouteDetailsAlternativeStation = {
|
|
@@ -4739,29 +5167,7 @@ export type RouteDetailsAlternativeStation = {
|
|
|
4739
5167
|
/** Status of a station. */
|
|
4740
5168
|
status: ChargerStatus;
|
|
4741
5169
|
/** Ranking of an operator. */
|
|
4742
|
-
operator_ranking?: Maybe<
|
|
4743
|
-
};
|
|
4744
|
-
|
|
4745
|
-
/** Aggregation of the connectors on a route. */
|
|
4746
|
-
export type RouteDetailsConnectors = {
|
|
4747
|
-
/** Aggregation of every connector on a route. */
|
|
4748
|
-
all: RouteDetailsConnectorsValues;
|
|
4749
|
-
/** Aggregation of every usable connector on a route. */
|
|
4750
|
-
usable: RouteDetailsConnectorsValues;
|
|
4751
|
-
};
|
|
4752
|
-
|
|
4753
|
-
/** Aggregation of the connectors on a route by status. */
|
|
4754
|
-
export type RouteDetailsConnectorsValues = {
|
|
4755
|
-
/** Total numbers of connectors. */
|
|
4756
|
-
total: Scalars["Int"];
|
|
4757
|
-
/** Number of connectors with status available. */
|
|
4758
|
-
available: Scalars["Int"];
|
|
4759
|
-
/** Number of connectors with status occupied. */
|
|
4760
|
-
occupied: Scalars["Int"];
|
|
4761
|
-
/** Number of connectors with status unknown. */
|
|
4762
|
-
unknown: Scalars["Int"];
|
|
4763
|
-
/** Number of connectors with status out of order. */
|
|
4764
|
-
out_of_order: Scalars["Int"];
|
|
5170
|
+
operator_ranking?: Maybe<OperatorRankingLevel>;
|
|
4765
5171
|
};
|
|
4766
5172
|
|
|
4767
5173
|
/** Aggregation of all durations of a route. */
|
|
@@ -4844,12 +5250,8 @@ export type RouteDetailsLeg = {
|
|
|
4844
5250
|
range_after_charge?: Maybe<Scalars["Float"]>;
|
|
4845
5251
|
/** Type of a leg. */
|
|
4846
5252
|
type: RouteDetailsLegType;
|
|
4847
|
-
/** Name of a destination. This is the station name in case a user should charge or the name of the location in case this was provided. */
|
|
4848
|
-
name?: Maybe<Scalars["String"]>;
|
|
4849
5253
|
/** Information about the station at the origin of this leg. */
|
|
4850
5254
|
station?: Maybe<RouteDetailsLegStation>;
|
|
4851
|
-
/** Aggregation of the connectors on the leg. */
|
|
4852
|
-
connectors: RouteDetailsConnectors;
|
|
4853
5255
|
/** Polyline containing encoded coordinates. */
|
|
4854
5256
|
polyline: Scalars["String"];
|
|
4855
5257
|
/** Aggregation of tags over the current leg. Tags are further subdivided over individual sections and maneuvers. */
|
|
@@ -4882,10 +5284,12 @@ export type RouteDetailsLegrange_after_chargeArgs = {
|
|
|
4882
5284
|
|
|
4883
5285
|
/** Leg of a route detail. */
|
|
4884
5286
|
export type RouteDetailsLegpolylineArgs = {
|
|
4885
|
-
decimals
|
|
5287
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
4886
5288
|
};
|
|
4887
5289
|
|
|
4888
5290
|
export type RouteDetailsLegFeaturePoint = {
|
|
5291
|
+
/** ID of the feature. */
|
|
5292
|
+
id?: Maybe<Scalars["ID"]>;
|
|
4889
5293
|
/** Feature type. */
|
|
4890
5294
|
type: FeatureType;
|
|
4891
5295
|
/** Geometry of the feature. */
|
|
@@ -4902,7 +5306,7 @@ export type RouteDetailsLegFeatureProperties = {
|
|
|
4902
5306
|
/** External ID of the station. */
|
|
4903
5307
|
external_station_id?: Maybe<Scalars["ID"]>;
|
|
4904
5308
|
/** Temperature at the location. */
|
|
4905
|
-
temperature?: Maybe<Scalars["
|
|
5309
|
+
temperature?: Maybe<Scalars["Int"]>;
|
|
4906
5310
|
/** Air pressure at the location. */
|
|
4907
5311
|
air_pressure?: Maybe<Scalars["Float"]>;
|
|
4908
5312
|
/** Solar irradiance at the location. */
|
|
@@ -4911,7 +5315,7 @@ export type RouteDetailsLegFeatureProperties = {
|
|
|
4911
5315
|
duration?: Maybe<Scalars["Int"]>;
|
|
4912
5316
|
/** Number of occupants present in the vehicle. */
|
|
4913
5317
|
occupants?: Maybe<Scalars["Int"]>;
|
|
4914
|
-
/** Value of the
|
|
5318
|
+
/** Value of the combined weight of the occupants. */
|
|
4915
5319
|
total_occupant_weight?: Maybe<Scalars["Float"]>;
|
|
4916
5320
|
/** Value of the current weight of the cargo. */
|
|
4917
5321
|
total_cargo_weight?: Maybe<Scalars["Float"]>;
|
|
@@ -4975,14 +5379,14 @@ export type RouteDetailsLegSection = {
|
|
|
4975
5379
|
polyline?: Maybe<Scalars["String"]>;
|
|
4976
5380
|
/** Distance from the start to the end of a section. */
|
|
4977
5381
|
distance: Scalars["Float"];
|
|
4978
|
-
/** Total
|
|
5382
|
+
/** Total duration of a section, in seconds. The value will be 0 for walking sections. */
|
|
4979
5383
|
duration: Scalars["Float"];
|
|
4980
|
-
/** Total energy used in a section in kilowatt-hours. */
|
|
5384
|
+
/** Total energy used in a section in kilowatt-hours. The value will be 0 for walking sections. */
|
|
4981
5385
|
consumption: Scalars["Float"];
|
|
4982
5386
|
};
|
|
4983
5387
|
|
|
4984
5388
|
export type RouteDetailsLegSectionpolylineArgs = {
|
|
4985
|
-
decimals
|
|
5389
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
4986
5390
|
};
|
|
4987
5391
|
|
|
4988
5392
|
export type RouteDetailsLegSectiondistanceArgs = {
|
|
@@ -4990,6 +5394,8 @@ export type RouteDetailsLegSectiondistanceArgs = {
|
|
|
4990
5394
|
};
|
|
4991
5395
|
|
|
4992
5396
|
export type RouteDetailsLegSectionFeaturePoint = {
|
|
5397
|
+
/** ID of the feature. */
|
|
5398
|
+
id?: Maybe<Scalars["ID"]>;
|
|
4993
5399
|
/** Feature type. */
|
|
4994
5400
|
type: FeatureType;
|
|
4995
5401
|
/** Geometry of the feature. */
|
|
@@ -5001,7 +5407,7 @@ export type RouteDetailsLegSectionFeaturePoint = {
|
|
|
5001
5407
|
export type RouteDetailsLegSectionFeaturePointProperties = {
|
|
5002
5408
|
/** Number of occupants present in the vehicle. */
|
|
5003
5409
|
occupants: Scalars["Int"];
|
|
5004
|
-
/** Value of the
|
|
5410
|
+
/** Value of the combined weight of the occupants. */
|
|
5005
5411
|
total_occupant_weight?: Maybe<Scalars["Float"]>;
|
|
5006
5412
|
/** Value of the current weight of the cargo. */
|
|
5007
5413
|
total_cargo_weight?: Maybe<Scalars["Float"]>;
|
|
@@ -5025,18 +5431,10 @@ export enum RouteDetailsLegSectionType {
|
|
|
5025
5431
|
export type RouteDetailsLegStation = {
|
|
5026
5432
|
/** ID of a station. */
|
|
5027
5433
|
station_id: Scalars["ID"];
|
|
5028
|
-
/** Name of a station. */
|
|
5029
|
-
station_name?: Maybe<Scalars["String"]>;
|
|
5030
|
-
/** ID of an operator. */
|
|
5031
|
-
operator_id: Scalars["ID"];
|
|
5032
|
-
/** Name of an operator. */
|
|
5033
|
-
operator_name?: Maybe<Scalars["String"]>;
|
|
5034
5434
|
/** ID of the EVSE that was selected in a route. */
|
|
5035
|
-
|
|
5435
|
+
evse_id?: Maybe<Scalars["ID"]>;
|
|
5036
5436
|
/** ID of the connector that was selected in a route. */
|
|
5037
|
-
connector_id
|
|
5038
|
-
/** List of amenities present at the station. */
|
|
5039
|
-
amenities?: Maybe<Array<AmenityType>>;
|
|
5437
|
+
connector_id: Scalars["ID"];
|
|
5040
5438
|
};
|
|
5041
5439
|
|
|
5042
5440
|
/** Type of a leg. */
|
|
@@ -5053,7 +5451,7 @@ export type RouteDetailsManeuver = {
|
|
|
5053
5451
|
/** Type of instruction. */
|
|
5054
5452
|
type: RouteDetailsLegManeuverType;
|
|
5055
5453
|
/** Location of the maneuver. */
|
|
5056
|
-
location?: Maybe<
|
|
5454
|
+
location?: Maybe<RouteDetailsLegSectionFeaturePoint>;
|
|
5057
5455
|
/** Name of the street on which an instruction is. */
|
|
5058
5456
|
name?: Maybe<Scalars["String"]>;
|
|
5059
5457
|
/** Distance, in meters, of a route instruction. */
|
|
@@ -5088,7 +5486,7 @@ export type RouteDetailsPathSegment = {
|
|
|
5088
5486
|
/** State of charge, in kilowatt hours, of a route path segment. */
|
|
5089
5487
|
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
5090
5488
|
/** Maximum vehicle speed of a route path segment. */
|
|
5091
|
-
|
|
5489
|
+
maximum_speed: Scalars["Float"];
|
|
5092
5490
|
};
|
|
5093
5491
|
|
|
5094
5492
|
export type RouteDetailsPathSegmentelevationArgs = {
|
|
@@ -5107,7 +5505,7 @@ export type RouteDetailsPathSegmentstate_of_chargeArgs = {
|
|
|
5107
5505
|
unit?: Maybe<StateOfChargeUnit>;
|
|
5108
5506
|
};
|
|
5109
5507
|
|
|
5110
|
-
export type
|
|
5508
|
+
export type RouteDetailsPathSegmentmaximum_speedArgs = {
|
|
5111
5509
|
unit?: Maybe<SpeedUnit>;
|
|
5112
5510
|
};
|
|
5113
5511
|
|
|
@@ -5116,9 +5514,24 @@ export type RouteDetailsSavings = {
|
|
|
5116
5514
|
/** Money saved by a user driving this route with an electric vehicle. */
|
|
5117
5515
|
money?: Maybe<Scalars["Float"]>;
|
|
5118
5516
|
/** Average gas price with which the calculation was made. */
|
|
5119
|
-
average_gas_price
|
|
5517
|
+
average_gas_price: Scalars["Float"];
|
|
5120
5518
|
/** Average energy price with which the calculation was made. */
|
|
5121
|
-
average_energy_price
|
|
5519
|
+
average_energy_price: Scalars["Float"];
|
|
5520
|
+
};
|
|
5521
|
+
|
|
5522
|
+
/** Money saving information. */
|
|
5523
|
+
export type RouteDetailsSavingsmoneyArgs = {
|
|
5524
|
+
currency?: Maybe<Currency>;
|
|
5525
|
+
};
|
|
5526
|
+
|
|
5527
|
+
/** Money saving information. */
|
|
5528
|
+
export type RouteDetailsSavingsaverage_gas_priceArgs = {
|
|
5529
|
+
currency?: Maybe<Currency>;
|
|
5530
|
+
};
|
|
5531
|
+
|
|
5532
|
+
/** Money saving information. */
|
|
5533
|
+
export type RouteDetailsSavingsaverage_energy_priceArgs = {
|
|
5534
|
+
currency?: Maybe<Currency>;
|
|
5122
5535
|
};
|
|
5123
5536
|
|
|
5124
5537
|
/** Tags of a route. */
|
|
@@ -5131,13 +5544,6 @@ export enum RouteDetailsTag {
|
|
|
5131
5544
|
CROSSBORDER = "crossborder"
|
|
5132
5545
|
}
|
|
5133
5546
|
|
|
5134
|
-
/** Types of a route. */
|
|
5135
|
-
export enum RouteDetailsType {
|
|
5136
|
-
FASTEST = "fastest",
|
|
5137
|
-
BEST_MATCHING = "best_matching",
|
|
5138
|
-
ALTERNATIVE = "alternative"
|
|
5139
|
-
}
|
|
5140
|
-
|
|
5141
5547
|
export type RouteEmbeddedEmissions = {
|
|
5142
5548
|
/** Total embedded emissions. */
|
|
5143
5549
|
total: Scalars["Float"];
|
|
@@ -5253,7 +5659,7 @@ export type RouteEndOfLifeEmissions = {
|
|
|
5253
5659
|
/** Total end of life emissions. */
|
|
5254
5660
|
total: Scalars["Float"];
|
|
5255
5661
|
/** Fluid related end of life emissions. */
|
|
5256
|
-
fluids:
|
|
5662
|
+
fluids: FluidEndOfLifeEmissions;
|
|
5257
5663
|
/** Battery related end of life emissions. */
|
|
5258
5664
|
battery: Scalars["Float"];
|
|
5259
5665
|
/** Tire related end of life emissions. */
|
|
@@ -5860,42 +6266,41 @@ export type RouteOperationalInfrastructureEmissionsmaintenanceArgs = {
|
|
|
5860
6266
|
|
|
5861
6267
|
export type RouteOperationalMaintenanceEmissions = {
|
|
5862
6268
|
/** Total maintenance emissions. */
|
|
5863
|
-
total:
|
|
6269
|
+
total: RouteOperationalMaintenanceEmissionsField;
|
|
5864
6270
|
/** Fluid related maintenance emissions. */
|
|
5865
|
-
fluids:
|
|
6271
|
+
fluids: FluidMaintenanceEmissions;
|
|
5866
6272
|
/** Battery related maintenance emissions. */
|
|
5867
|
-
battery:
|
|
6273
|
+
battery: RouteOperationalMaintenanceEmissionsField;
|
|
5868
6274
|
/** Tire related maintenance emissions. */
|
|
5869
|
-
tires:
|
|
6275
|
+
tires: RouteOperationalMaintenanceEmissionsField;
|
|
5870
6276
|
/** Miscellaneous component maintenance emissions. */
|
|
5871
|
-
components:
|
|
6277
|
+
components: RouteOperationalMaintenanceEmissionsField;
|
|
5872
6278
|
/** Accident repair related maintenance emissions. */
|
|
5873
|
-
repair:
|
|
5874
|
-
};
|
|
5875
|
-
|
|
5876
|
-
export type RouteOperationalMaintenanceEmissionstotalArgs = {
|
|
5877
|
-
unit?: Maybe<EmissionUnit>;
|
|
6279
|
+
repair: RouteOperationalMaintenanceEmissionsField;
|
|
5878
6280
|
};
|
|
5879
6281
|
|
|
5880
|
-
export type
|
|
5881
|
-
|
|
6282
|
+
export type RouteOperationalMaintenanceEmissionsField = {
|
|
6283
|
+
/** Total emissions. */
|
|
6284
|
+
total: Scalars["Float"];
|
|
6285
|
+
/** Emissions from replacement production and transport. */
|
|
6286
|
+
production: Scalars["Float"];
|
|
6287
|
+
/** Emissions from disposal. */
|
|
6288
|
+
disposal: Scalars["Float"];
|
|
5882
6289
|
};
|
|
5883
6290
|
|
|
5884
|
-
export type
|
|
6291
|
+
export type RouteOperationalMaintenanceEmissionsFieldtotalArgs = {
|
|
5885
6292
|
unit?: Maybe<EmissionUnit>;
|
|
5886
6293
|
};
|
|
5887
6294
|
|
|
5888
|
-
export type
|
|
6295
|
+
export type RouteOperationalMaintenanceEmissionsFieldproductionArgs = {
|
|
5889
6296
|
unit?: Maybe<EmissionUnit>;
|
|
5890
6297
|
};
|
|
5891
6298
|
|
|
5892
|
-
export type
|
|
6299
|
+
export type RouteOperationalMaintenanceEmissionsFielddisposalArgs = {
|
|
5893
6300
|
unit?: Maybe<EmissionUnit>;
|
|
5894
6301
|
};
|
|
5895
6302
|
|
|
5896
6303
|
export type RouteOperatorPreferences = {
|
|
5897
|
-
/** Flag indicating if an operator should be preferred or required. */
|
|
5898
|
-
type?: Maybe<RouteOperatorsType>;
|
|
5899
6304
|
/** Ranking of an operator with multiple levels, each level having its own penalty value. */
|
|
5900
6305
|
ranking?: Maybe<RouteOperatorPreferencesRanking>;
|
|
5901
6306
|
/** Route operators that should be excluded. */
|
|
@@ -5904,8 +6309,6 @@ export type RouteOperatorPreferences = {
|
|
|
5904
6309
|
|
|
5905
6310
|
/** Prioritized operators for a route calculation. */
|
|
5906
6311
|
export type RouteOperatorPreferencesInput = {
|
|
5907
|
-
/** Flag indicating if the operators ranking should be preferred or required. */
|
|
5908
|
-
type: RouteOperatorsType;
|
|
5909
6312
|
/** Ranking of an operator with multiple levels, each level having its own penalty value. */
|
|
5910
6313
|
ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
|
|
5911
6314
|
/** Route operators that should be excluded. */
|
|
@@ -5913,49 +6316,35 @@ export type RouteOperatorPreferencesInput = {
|
|
|
5913
6316
|
};
|
|
5914
6317
|
|
|
5915
6318
|
export type RouteOperatorPreferencesRanking = {
|
|
5916
|
-
/**
|
|
5917
|
-
|
|
5918
|
-
/**
|
|
5919
|
-
|
|
5920
|
-
/** Level three for operator ranking. */
|
|
5921
|
-
level_three?: Maybe<Array<RouteOperatorsValue>>;
|
|
5922
|
-
/** Level four for operator ranking. */
|
|
5923
|
-
level_four?: Maybe<Array<RouteOperatorsValue>>;
|
|
5924
|
-
/** Level five for operator ranking. */
|
|
5925
|
-
level_five?: Maybe<Array<RouteOperatorsValue>>;
|
|
5926
|
-
/** Level six for operator ranking. */
|
|
5927
|
-
level_six?: Maybe<Array<RouteOperatorsValue>>;
|
|
5928
|
-
/** Level seven for operator ranking. */
|
|
5929
|
-
level_seven?: Maybe<Array<RouteOperatorsValue>>;
|
|
5930
|
-
/** Level eight for operator ranking. */
|
|
5931
|
-
level_eight?: Maybe<Array<RouteOperatorsValue>>;
|
|
5932
|
-
/** Level nine for operator ranking. */
|
|
5933
|
-
level_nine?: Maybe<Array<RouteOperatorsValue>>;
|
|
5934
|
-
/** Level ten for operator ranking. */
|
|
5935
|
-
level_ten?: Maybe<Array<RouteOperatorsValue>>;
|
|
6319
|
+
/** Flag indicating if an operator should be preferred or required. */
|
|
6320
|
+
type: RouteOperatorsType;
|
|
6321
|
+
/** Ranking levels for operator ranking. */
|
|
6322
|
+
levels?: Maybe<RouteOperatorPreferencesRankingLevels>;
|
|
5936
6323
|
};
|
|
5937
6324
|
|
|
5938
6325
|
export type RouteOperatorPreferencesRankingInput = {
|
|
5939
|
-
/**
|
|
5940
|
-
|
|
5941
|
-
/**
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
/**
|
|
5956
|
-
|
|
5957
|
-
/**
|
|
5958
|
-
|
|
6326
|
+
/** Flag indicating if the operators ranking should be preferred or required. */
|
|
6327
|
+
type: RouteOperatorsType;
|
|
6328
|
+
/** Ranking levels for operator ranking. */
|
|
6329
|
+
levels?: Maybe<RouteOperatorPreferencesRankingLevelsInput>;
|
|
6330
|
+
};
|
|
6331
|
+
|
|
6332
|
+
export type RouteOperatorPreferencesRankingLevels = {
|
|
6333
|
+
/** Least significant level for operators ranking. */
|
|
6334
|
+
low?: Maybe<Array<RouteOperatorsValue>>;
|
|
6335
|
+
/** Medium level for operators ranking. */
|
|
6336
|
+
medium?: Maybe<Array<RouteOperatorsValue>>;
|
|
6337
|
+
/** Most significant level for operator ranking. */
|
|
6338
|
+
high?: Maybe<Array<RouteOperatorsValue>>;
|
|
6339
|
+
};
|
|
6340
|
+
|
|
6341
|
+
export type RouteOperatorPreferencesRankingLevelsInput = {
|
|
6342
|
+
/** Least significant level for operator ranking. */
|
|
6343
|
+
low?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
6344
|
+
/** Medium level for operator ranking. */
|
|
6345
|
+
medium?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
6346
|
+
/** Most significant level three for operator ranking. */
|
|
6347
|
+
high?: Maybe<Array<RouteOperatorsValueInput>>;
|
|
5959
6348
|
};
|
|
5960
6349
|
|
|
5961
6350
|
/** Prioritized operators for a route calculation. */
|
|
@@ -6039,18 +6428,20 @@ export enum RouteOperatorsType {
|
|
|
6039
6428
|
export type RouteOperatorsValue = {
|
|
6040
6429
|
/** ID of an operator. */
|
|
6041
6430
|
id: Scalars["ID"];
|
|
6042
|
-
/** List of
|
|
6431
|
+
/** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
|
|
6043
6432
|
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
6044
6433
|
};
|
|
6045
6434
|
|
|
6046
6435
|
export type RouteOperatorsValueInput = {
|
|
6047
6436
|
/** ID of an operator. */
|
|
6048
6437
|
id: Scalars["ID"];
|
|
6049
|
-
/** List of countries in which the operator should be excluded. When
|
|
6050
|
-
countries
|
|
6438
|
+
/** List of countries in which the operator should be preferred/excluded. When omitted the operator will be preferred/excluded in every country. */
|
|
6439
|
+
countries?: Maybe<Array<CountryCodeAlpha2>>;
|
|
6051
6440
|
};
|
|
6052
6441
|
|
|
6053
6442
|
export type RouteOriginFeaturePoint = {
|
|
6443
|
+
/** ID of the feature. */
|
|
6444
|
+
id?: Maybe<Scalars["ID"]>;
|
|
6054
6445
|
/** Feature type. */
|
|
6055
6446
|
type: FeatureType;
|
|
6056
6447
|
/** Geometry of the feature. */
|
|
@@ -6060,6 +6451,8 @@ export type RouteOriginFeaturePoint = {
|
|
|
6060
6451
|
};
|
|
6061
6452
|
|
|
6062
6453
|
export type RouteOriginFeaturePointInput = {
|
|
6454
|
+
/** ID of the feature. */
|
|
6455
|
+
id?: Maybe<Scalars["ID"]>;
|
|
6063
6456
|
/** Feature type. */
|
|
6064
6457
|
type: FeatureType;
|
|
6065
6458
|
/** Geometry of the feature. */
|
|
@@ -6080,8 +6473,6 @@ export type RouteOriginPropertiesInput = {
|
|
|
6080
6473
|
location?: Maybe<RoutePropertiesLocationInput>;
|
|
6081
6474
|
/** Vehicle data at the origin location. */
|
|
6082
6475
|
vehicle?: Maybe<RoutePropertiesVehicleInput>;
|
|
6083
|
-
/** Station data at the origin location. */
|
|
6084
|
-
station?: Maybe<RoutePropertiesStationInput>;
|
|
6085
6476
|
};
|
|
6086
6477
|
|
|
6087
6478
|
export type RoutePath = {
|
|
@@ -6108,23 +6499,11 @@ export type RoutePath = {
|
|
|
6108
6499
|
export type RoutePropertiesLocation = {
|
|
6109
6500
|
/** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
|
|
6110
6501
|
name?: Maybe<Scalars["String"]>;
|
|
6111
|
-
/** Duration to stay at this point. */
|
|
6112
|
-
stop_duration?: Maybe<Scalars["Int"]>;
|
|
6113
|
-
/** Temperature. */
|
|
6114
|
-
temperature?: Maybe<Scalars["Float"]>;
|
|
6115
|
-
/** Air pressure. */
|
|
6116
|
-
air_pressure?: Maybe<Scalars["Float"]>;
|
|
6117
|
-
/** Solar irradiance. */
|
|
6118
|
-
solar_irradiance?: Maybe<Scalars["Float"]>;
|
|
6119
|
-
/** Country. */
|
|
6120
|
-
country?: Maybe<Array<CountryCodeAlpha2>>;
|
|
6121
6502
|
};
|
|
6122
6503
|
|
|
6123
6504
|
export type RoutePropertiesLocationInput = {
|
|
6124
6505
|
/** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
|
|
6125
6506
|
name?: Maybe<Scalars["String"]>;
|
|
6126
|
-
/** Duration to stay at this point. */
|
|
6127
|
-
stop_duration?: Maybe<Scalars["Int"]>;
|
|
6128
6507
|
};
|
|
6129
6508
|
|
|
6130
6509
|
export type RoutePropertiesStation = {
|
|
@@ -6144,7 +6523,7 @@ export type RoutePropertiesStationInput = {
|
|
|
6144
6523
|
export type RoutePropertiesVehicle = {
|
|
6145
6524
|
/** Number of occupants present in the vehicle. */
|
|
6146
6525
|
occupants?: Maybe<Scalars["Int"]>;
|
|
6147
|
-
/** Combined weight of the occupants. */
|
|
6526
|
+
/** Combined weight of the occupants. This can only be used in combination with occupants. */
|
|
6148
6527
|
total_occupant_weight?: Maybe<TotalOccupantWeight>;
|
|
6149
6528
|
/** Weight of the cargo. */
|
|
6150
6529
|
total_cargo_weight?: Maybe<TotalCargoWeight>;
|
|
@@ -6153,12 +6532,26 @@ export type RoutePropertiesVehicle = {
|
|
|
6153
6532
|
export type RoutePropertiesVehicleInput = {
|
|
6154
6533
|
/** Number of occupants present in the vehicle. */
|
|
6155
6534
|
occupants?: Maybe<Scalars["Int"]>;
|
|
6156
|
-
/** Combined weight of the occupants. */
|
|
6535
|
+
/** Combined weight of the occupants. This can only be used in combination with occupants. */
|
|
6157
6536
|
total_occupant_weight?: Maybe<TotalOccupantWeightInput>;
|
|
6158
6537
|
/** Weight of the cargo. */
|
|
6159
6538
|
total_cargo_weight?: Maybe<TotalCargoWeightInput>;
|
|
6160
6539
|
};
|
|
6161
6540
|
|
|
6541
|
+
export type RoutePropertiesViaLocation = {
|
|
6542
|
+
/** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
|
|
6543
|
+
name?: Maybe<Scalars["String"]>;
|
|
6544
|
+
/** Duration to stay at this point, in seconds. */
|
|
6545
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
6546
|
+
};
|
|
6547
|
+
|
|
6548
|
+
export type RoutePropertiesViaLocationInput = {
|
|
6549
|
+
/** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
|
|
6550
|
+
name?: Maybe<Scalars["String"]>;
|
|
6551
|
+
/** Duration to stay at this point, in seconds. */
|
|
6552
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
6553
|
+
};
|
|
6554
|
+
|
|
6162
6555
|
export type RouteResponse = {
|
|
6163
6556
|
/** ID of a route calculation. */
|
|
6164
6557
|
id: Scalars["ID"];
|
|
@@ -6170,8 +6563,6 @@ export type RouteResponse = {
|
|
|
6170
6563
|
meta: RouteMetadata;
|
|
6171
6564
|
/** Route request. */
|
|
6172
6565
|
request_input: CreateRoute;
|
|
6173
|
-
/** Region of a route calculation. */
|
|
6174
|
-
region: Scalars["String"];
|
|
6175
6566
|
};
|
|
6176
6567
|
|
|
6177
6568
|
/** Scheduled charge stop along a route. */
|
|
@@ -6266,7 +6657,7 @@ export type RouteVehicle = {
|
|
|
6266
6657
|
/** Average tire pressures of all wheels, starting from the front side (right to left) and then to the rear. */
|
|
6267
6658
|
tire_pressure?: Maybe<TirePressure>;
|
|
6268
6659
|
/** Value of the vehicle's odometer. */
|
|
6269
|
-
odometer?: Maybe<
|
|
6660
|
+
odometer?: Maybe<Odometer>;
|
|
6270
6661
|
/** Value of the auxiliary power consumption of the vehicle. */
|
|
6271
6662
|
auxiliary_consumption?: Maybe<AuxiliaryConsumption>;
|
|
6272
6663
|
/** Flag which indicates if climate control is on. */
|
|
@@ -6278,8 +6669,8 @@ export type RouteVehicle = {
|
|
|
6278
6669
|
/** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
|
|
6279
6670
|
motor_rpm?: Maybe<Scalars["Int"]>;
|
|
6280
6671
|
/** Value of the outside temperature. */
|
|
6281
|
-
outside_temperature?: Maybe<
|
|
6282
|
-
/**
|
|
6672
|
+
outside_temperature?: Maybe<OutsideTemperature>;
|
|
6673
|
+
/** Flag which indicates if vehicle is in park, neutral or turned off. */
|
|
6283
6674
|
is_parked?: Maybe<Scalars["Boolean"]>;
|
|
6284
6675
|
/** Value of the vehicle's speed. */
|
|
6285
6676
|
vehicle_speed?: Maybe<VehicleSpeed>;
|
|
@@ -6292,7 +6683,7 @@ export type RouteVehicleBattery = {
|
|
|
6292
6683
|
capacity: StateOfCharge;
|
|
6293
6684
|
/** State of charge. */
|
|
6294
6685
|
state_of_charge: StateOfCharge;
|
|
6295
|
-
/** Minimum final battery state of charge. */
|
|
6686
|
+
/** Minimum final battery state of charge. The value should be between 0 and 60% of the battery capacity. */
|
|
6296
6687
|
final_state_of_charge: StateOfCharge;
|
|
6297
6688
|
/** Temperature of the battery. */
|
|
6298
6689
|
temperature?: Maybe<Temperature>;
|
|
@@ -6300,9 +6691,9 @@ export type RouteVehicleBattery = {
|
|
|
6300
6691
|
current?: Maybe<Scalars["Float"]>;
|
|
6301
6692
|
/** Battery voltage in volts. */
|
|
6302
6693
|
voltage?: Maybe<Scalars["Float"]>;
|
|
6303
|
-
/** Value of the positive or negative power. When negative, the vehicle is charging. */
|
|
6694
|
+
/** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
|
|
6304
6695
|
power?: Maybe<Scalars["Float"]>;
|
|
6305
|
-
/**
|
|
6696
|
+
/** Flag which indicates if the vehicle is charging. */
|
|
6306
6697
|
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
6307
6698
|
};
|
|
6308
6699
|
|
|
@@ -6312,17 +6703,17 @@ export type RouteVehicleBatteryInput = {
|
|
|
6312
6703
|
capacity?: Maybe<StateOfChargeInput>;
|
|
6313
6704
|
/** Battery state of charge. */
|
|
6314
6705
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
6315
|
-
/** Minimum battery state of charge. */
|
|
6706
|
+
/** Minimum final battery state of charge. The value should be between 0 and 60% of the battery capacity. */
|
|
6316
6707
|
final_state_of_charge?: Maybe<StateOfChargeInput>;
|
|
6317
6708
|
/** Battery temperature. */
|
|
6318
|
-
temperature?: Maybe<
|
|
6709
|
+
temperature?: Maybe<TemperatureInput>;
|
|
6319
6710
|
/** Battery current in ampere. */
|
|
6320
6711
|
current?: Maybe<Scalars["Float"]>;
|
|
6321
6712
|
/** Battery voltage in volts. */
|
|
6322
6713
|
voltage?: Maybe<Scalars["Float"]>;
|
|
6323
|
-
/**
|
|
6714
|
+
/** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
|
|
6324
6715
|
power?: Maybe<Scalars["Float"]>;
|
|
6325
|
-
/**
|
|
6716
|
+
/** Flag which indicates if the vehicle is charging. */
|
|
6326
6717
|
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
6327
6718
|
};
|
|
6328
6719
|
|
|
@@ -6335,16 +6726,16 @@ export type RouteVehicleCabin = {
|
|
|
6335
6726
|
|
|
6336
6727
|
export type RouteVehicleCabinInput = {
|
|
6337
6728
|
/** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
|
|
6338
|
-
is_preconditioned?: Scalars["Boolean"]
|
|
6729
|
+
is_preconditioned?: Maybe<Scalars["Boolean"]>;
|
|
6339
6730
|
/** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
|
|
6340
|
-
desired_temperature
|
|
6731
|
+
desired_temperature?: Maybe<TemperatureInput>;
|
|
6341
6732
|
};
|
|
6342
6733
|
|
|
6343
6734
|
export type RouteVehicleCharging = {
|
|
6344
6735
|
/** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
|
|
6345
6736
|
mode: ChargeMode;
|
|
6346
|
-
/** Minimum desired power of chargers. */
|
|
6347
|
-
minimum_power: Scalars["
|
|
6737
|
+
/** Minimum desired power of chargers, in kWh. */
|
|
6738
|
+
minimum_power: Scalars["Float"];
|
|
6348
6739
|
/** Percentage for the minimum limit of the battery's capacity before a recharge. The value should be between 0 and 60. Defaults to 10. */
|
|
6349
6740
|
risk_margin: Scalars["Int"];
|
|
6350
6741
|
/** Supported connectors. */
|
|
@@ -6357,20 +6748,20 @@ export type RouteVehicleChargingConnector = {
|
|
|
6357
6748
|
/** Type of the plug. */
|
|
6358
6749
|
standard: ConnectorType;
|
|
6359
6750
|
/** Maximum charging speed for the plug. */
|
|
6360
|
-
|
|
6751
|
+
maximum_charge_speed: ChargeSpeed;
|
|
6361
6752
|
};
|
|
6362
6753
|
|
|
6363
6754
|
export type RouteVehicleChargingConnectorInput = {
|
|
6364
6755
|
/** Plug type. */
|
|
6365
6756
|
standard: ConnectorType;
|
|
6366
6757
|
/** Maximum charging speed for this plug. */
|
|
6367
|
-
|
|
6758
|
+
maximum_charge_speed: ChargeSpeedInput;
|
|
6368
6759
|
};
|
|
6369
6760
|
|
|
6370
6761
|
export type RouteVehicleChargingInput = {
|
|
6371
6762
|
/** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
|
|
6372
6763
|
mode?: Maybe<ChargeMode>;
|
|
6373
|
-
/** Minimum desired power of chargers. */
|
|
6764
|
+
/** Minimum desired power of chargers, in kWh. */
|
|
6374
6765
|
minimum_power?: Maybe<Scalars["Float"]>;
|
|
6375
6766
|
/** Percentage representing the minimum value of the state of charge at a next charge stop. The value should be between 0 and 60. */
|
|
6376
6767
|
risk_margin?: Maybe<Scalars["Int"]>;
|
|
@@ -6423,9 +6814,11 @@ export type RouteVehicleInput = {
|
|
|
6423
6814
|
heat_pump?: Maybe<HeatPumpMode>;
|
|
6424
6815
|
/** Vehicle cabin configuration for creating the route. */
|
|
6425
6816
|
cabin?: Maybe<RouteVehicleCabinInput>;
|
|
6817
|
+
/** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
|
|
6818
|
+
motor_rpm?: Maybe<Scalars["Int"]>;
|
|
6426
6819
|
/** Outside temperature. */
|
|
6427
6820
|
outside_temperature?: Maybe<OutsideTemperatureInput>;
|
|
6428
|
-
/**
|
|
6821
|
+
/** Flag which indicates if vehicle is in park, neutral or turned off. */
|
|
6429
6822
|
is_parked?: Maybe<Scalars["Boolean"]>;
|
|
6430
6823
|
/** Vehicle speed. */
|
|
6431
6824
|
vehicle_speed?: Maybe<VehicleSpeedInput>;
|
|
@@ -6485,6 +6878,8 @@ export type RouteVehicleOperationalEmissionstotalArgs = {
|
|
|
6485
6878
|
};
|
|
6486
6879
|
|
|
6487
6880
|
export type RouteViaFeaturePoint = {
|
|
6881
|
+
/** ID of the feature. */
|
|
6882
|
+
id?: Maybe<Scalars["ID"]>;
|
|
6488
6883
|
/** Feature type. */
|
|
6489
6884
|
type: FeatureType;
|
|
6490
6885
|
/** Geometry of the feature. */
|
|
@@ -6494,6 +6889,8 @@ export type RouteViaFeaturePoint = {
|
|
|
6494
6889
|
};
|
|
6495
6890
|
|
|
6496
6891
|
export type RouteViaFeaturePointInput = {
|
|
6892
|
+
/** ID of the feature. */
|
|
6893
|
+
id?: Maybe<Scalars["ID"]>;
|
|
6497
6894
|
/** Feature type. */
|
|
6498
6895
|
type: FeatureType;
|
|
6499
6896
|
/** Geometry of the feature. */
|
|
@@ -6504,20 +6901,20 @@ export type RouteViaFeaturePointInput = {
|
|
|
6504
6901
|
|
|
6505
6902
|
export type RouteViaProperties = {
|
|
6506
6903
|
/** Location data of the via point. */
|
|
6507
|
-
location
|
|
6904
|
+
location?: Maybe<RoutePropertiesViaLocation>;
|
|
6508
6905
|
/** Vehicle data of the via point. */
|
|
6509
|
-
vehicle
|
|
6906
|
+
vehicle?: Maybe<RoutePropertiesVehicle>;
|
|
6510
6907
|
/** Station data of the via point. */
|
|
6511
|
-
station
|
|
6908
|
+
station?: Maybe<RoutePropertiesStation>;
|
|
6512
6909
|
};
|
|
6513
6910
|
|
|
6514
6911
|
export type RouteViaPropertiesInput = {
|
|
6515
6912
|
/** Location data of the via point. */
|
|
6516
|
-
location
|
|
6913
|
+
location?: Maybe<RoutePropertiesViaLocationInput>;
|
|
6517
6914
|
/** Vehicle data of the via point. */
|
|
6518
|
-
vehicle
|
|
6915
|
+
vehicle?: Maybe<RoutePropertiesVehicleInput>;
|
|
6519
6916
|
/** Station data of the via point. */
|
|
6520
|
-
station
|
|
6917
|
+
station?: Maybe<RoutePropertiesStationInput>;
|
|
6521
6918
|
};
|
|
6522
6919
|
|
|
6523
6920
|
/** Scheduled charge stop along a route. */
|
|
@@ -6570,7 +6967,7 @@ export type StateOfChargeInput = {
|
|
|
6570
6967
|
/** Type of the state of charge of the vehicle. */
|
|
6571
6968
|
type: StateOfChargeUnit;
|
|
6572
6969
|
/** Source of inputted data, defaults to 'manual'. */
|
|
6573
|
-
source?: TelemetryInputSource
|
|
6970
|
+
source?: Maybe<TelemetryInputSource>;
|
|
6574
6971
|
};
|
|
6575
6972
|
|
|
6576
6973
|
/** State of charge unit. */
|
|
@@ -6663,7 +7060,10 @@ export type Station = {
|
|
|
6663
7060
|
location_category?: Maybe<Scalars["String"]>;
|
|
6664
7061
|
/** Coordinates for the location's entrances in decimal degrees. If available, there can be more than one entrances to the location. */
|
|
6665
7062
|
entrance_for_navigation?: Maybe<Array<OCPIAdditionalGeoLocation>>;
|
|
6666
|
-
/**
|
|
7063
|
+
/**
|
|
7064
|
+
* Optional object where you can store custom data you need in your application. This extends the current functionalities we offer.
|
|
7065
|
+
* @deprecated No longer used.
|
|
7066
|
+
*/
|
|
6667
7067
|
properties?: Maybe<Scalars["JSON"]>;
|
|
6668
7068
|
/** A flag that indicates if a station has real-time information about the availability of its connectors. */
|
|
6669
7069
|
realtime?: Maybe<Scalars["Boolean"]>;
|
|
@@ -7181,7 +7581,9 @@ export enum TelemetryInputSource {
|
|
|
7181
7581
|
/** Manually inputted value. */
|
|
7182
7582
|
MANUAL = "manual",
|
|
7183
7583
|
/** Value from the vehicle's telemetry. */
|
|
7184
|
-
TELEMETRY = "telemetry"
|
|
7584
|
+
TELEMETRY = "telemetry",
|
|
7585
|
+
/** Default value. */
|
|
7586
|
+
DEFAULT = "default"
|
|
7185
7587
|
}
|
|
7186
7588
|
|
|
7187
7589
|
export type Temperature = {
|
|
@@ -7189,8 +7591,6 @@ export type Temperature = {
|
|
|
7189
7591
|
value: Scalars["Float"];
|
|
7190
7592
|
/** Type of temperature. */
|
|
7191
7593
|
type: TemperatureUnit;
|
|
7192
|
-
/** Source of inputted data. */
|
|
7193
|
-
source: TelemetryInputSource;
|
|
7194
7594
|
};
|
|
7195
7595
|
|
|
7196
7596
|
export type TemperatureInput = {
|
|
@@ -7198,8 +7598,6 @@ export type TemperatureInput = {
|
|
|
7198
7598
|
value: Scalars["Float"];
|
|
7199
7599
|
/** Type of temperature. */
|
|
7200
7600
|
type: TemperatureUnit;
|
|
7201
|
-
/** Source of inputted data. */
|
|
7202
|
-
source?: TelemetryInputSource;
|
|
7203
7601
|
};
|
|
7204
7602
|
|
|
7205
7603
|
/** Temperature unit. */
|
|
@@ -7225,7 +7623,7 @@ export type TirePressureInput = {
|
|
|
7225
7623
|
/** Type of the value of pressure. */
|
|
7226
7624
|
type: PressureUnit;
|
|
7227
7625
|
/** Source of inputted data, defaults to 'manual'. */
|
|
7228
|
-
source?: TelemetryInputSource
|
|
7626
|
+
source?: Maybe<TelemetryInputSource>;
|
|
7229
7627
|
};
|
|
7230
7628
|
|
|
7231
7629
|
export enum TorqueUnit {
|
|
@@ -7250,11 +7648,11 @@ export type TotalCargoWeightInput = {
|
|
|
7250
7648
|
/** Type of the current weight of the cargo. */
|
|
7251
7649
|
type: WeightUnit;
|
|
7252
7650
|
/** Source of inputted data, defaults to 'manual'. */
|
|
7253
|
-
source?: TelemetryInputSource
|
|
7651
|
+
source?: Maybe<TelemetryInputSource>;
|
|
7254
7652
|
};
|
|
7255
7653
|
|
|
7256
7654
|
export type TotalOccupantWeight = {
|
|
7257
|
-
/** Value of the
|
|
7655
|
+
/** Value of the combined weight of the occupants. */
|
|
7258
7656
|
value: Scalars["Float"];
|
|
7259
7657
|
/** Type of the current weight of the occupants. */
|
|
7260
7658
|
type: WeightUnit;
|
|
@@ -7263,12 +7661,12 @@ export type TotalOccupantWeight = {
|
|
|
7263
7661
|
};
|
|
7264
7662
|
|
|
7265
7663
|
export type TotalOccupantWeightInput = {
|
|
7266
|
-
/** Value of the
|
|
7664
|
+
/** Value of the combined weight of the occupants. */
|
|
7267
7665
|
value: Scalars["Float"];
|
|
7268
7666
|
/** Type of the current weight of the occupants. */
|
|
7269
7667
|
type: WeightUnit;
|
|
7270
7668
|
/** Source of inputted data, defaults to 'manual'. */
|
|
7271
|
-
source?: TelemetryInputSource
|
|
7669
|
+
source?: Maybe<TelemetryInputSource>;
|
|
7272
7670
|
};
|
|
7273
7671
|
|
|
7274
7672
|
export enum TurningCircleUnit {
|
|
@@ -8693,21 +9091,9 @@ export type VehicleSpeedInput = {
|
|
|
8693
9091
|
/** Type of the vehicle speed. */
|
|
8694
9092
|
type: SpeedUnit;
|
|
8695
9093
|
/** Source of inputted data, defaults to 'manual'. */
|
|
8696
|
-
source?: TelemetryInputSource
|
|
9094
|
+
source?: Maybe<TelemetryInputSource>;
|
|
8697
9095
|
};
|
|
8698
9096
|
|
|
8699
|
-
/** Status of a vehicle. */
|
|
8700
|
-
export enum VehicleStatus {
|
|
8701
|
-
/** Is being reviewed by a human operator. */
|
|
8702
|
-
DRAFT = "draft",
|
|
8703
|
-
/** Is public and can be used by a customer. */
|
|
8704
|
-
PUBLIC = "public",
|
|
8705
|
-
/** Is private and can be used by a human operator. */
|
|
8706
|
-
PRIVATE = "private",
|
|
8707
|
-
/** Is archived and can not be used. */
|
|
8708
|
-
ARCHIVED = "archived"
|
|
8709
|
-
}
|
|
8710
|
-
|
|
8711
9097
|
export type VehicleToEverything = {
|
|
8712
9098
|
/** Information about Vehicle-to-Load. */
|
|
8713
9099
|
vehicle_to_load?: Maybe<VehicleToEverythingLoad>;
|