@chargetrip/types 1.44.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 +12 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +187 -1
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +187 -1
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +291 -60
- package/graphql.schema.json +1558 -238
- package/package.json +1 -1
- package/src/graphql.ts +301 -60
package/dist/ts/graphql.d.ts
CHANGED
|
@@ -100,6 +100,22 @@ export declare enum AdhocAuthorisationMethod {
|
|
|
100
100
|
QR_CODE = "QR_CODE",
|
|
101
101
|
SMS = "SMS"
|
|
102
102
|
}
|
|
103
|
+
export declare type AlternativeStationRadius = {
|
|
104
|
+
/** Value of the alternative station radius. */
|
|
105
|
+
value: Scalars["Float"];
|
|
106
|
+
/** Type of the alternative station radius. */
|
|
107
|
+
type: DistanceUnit;
|
|
108
|
+
/** Source of inputted data. */
|
|
109
|
+
source: TelemetryInputSource;
|
|
110
|
+
};
|
|
111
|
+
export declare 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
|
+
};
|
|
103
119
|
/** Amenities available near a station */
|
|
104
120
|
export declare enum Amenities {
|
|
105
121
|
PARK = "park",
|
|
@@ -189,7 +205,7 @@ export declare type AuxiliaryConsumptionInput = {
|
|
|
189
205
|
/** Type of auxiliary power consumption of the vehicle. */
|
|
190
206
|
type: AuxiliaryConsumptionUnit;
|
|
191
207
|
/** Source of inputted data, defaults to 'manual'. */
|
|
192
|
-
source?: TelemetryInputSource
|
|
208
|
+
source?: Maybe<TelemetryInputSource>;
|
|
193
209
|
};
|
|
194
210
|
/** Auxiliary consumption units. */
|
|
195
211
|
export declare enum AuxiliaryConsumptionUnit {
|
|
@@ -1434,7 +1450,7 @@ export declare type ChargeSpeedInput = {
|
|
|
1434
1450
|
/** Type of the charge speed of the battery. */
|
|
1435
1451
|
type: ChargeSpeedUnit;
|
|
1436
1452
|
/** Source of inputted data, defaults to 'manual'. */
|
|
1437
|
-
source?: TelemetryInputSource
|
|
1453
|
+
source?: Maybe<TelemetryInputSource>;
|
|
1438
1454
|
};
|
|
1439
1455
|
/** Charge speed unit. */
|
|
1440
1456
|
export declare enum ChargeSpeedUnit {
|
|
@@ -2266,8 +2282,8 @@ export declare type CreateRoute = {
|
|
|
2266
2282
|
operators?: Maybe<RouteOperatorPreferences>;
|
|
2267
2283
|
/** Season of a route. */
|
|
2268
2284
|
season: RouteSeason;
|
|
2269
|
-
/** Alternative stations along a route within a specified radius
|
|
2270
|
-
alternative_station_radius?: Maybe<
|
|
2285
|
+
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
2286
|
+
alternative_station_radius?: Maybe<AlternativeStationRadius>;
|
|
2271
2287
|
/** Departure time of a route. */
|
|
2272
2288
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
2273
2289
|
};
|
|
@@ -2285,11 +2301,193 @@ export declare type CreateRouteInput = {
|
|
|
2285
2301
|
operators?: Maybe<RouteOperatorPreferencesInput>;
|
|
2286
2302
|
/** Optional flag to specify the season. */
|
|
2287
2303
|
season?: Maybe<RouteSeason>;
|
|
2288
|
-
/** Alternative stations along a route within a specified radius
|
|
2289
|
-
alternative_station_radius?: Maybe<
|
|
2304
|
+
/** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
|
|
2305
|
+
alternative_station_radius?: Maybe<AlternativeStationRadiusInput>;
|
|
2290
2306
|
/** Route departure time. */
|
|
2291
2307
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
2292
2308
|
};
|
|
2309
|
+
/** Currency in the ISO 4217 format. */
|
|
2310
|
+
export declare enum Currency {
|
|
2311
|
+
AED = "AED",
|
|
2312
|
+
AFN = "AFN",
|
|
2313
|
+
ALL = "ALL",
|
|
2314
|
+
AMD = "AMD",
|
|
2315
|
+
ANG = "ANG",
|
|
2316
|
+
AOA = "AOA",
|
|
2317
|
+
ARS = "ARS",
|
|
2318
|
+
AUD = "AUD",
|
|
2319
|
+
AWG = "AWG",
|
|
2320
|
+
AZN = "AZN",
|
|
2321
|
+
BAM = "BAM",
|
|
2322
|
+
BBD = "BBD",
|
|
2323
|
+
BDT = "BDT",
|
|
2324
|
+
BGN = "BGN",
|
|
2325
|
+
BHD = "BHD",
|
|
2326
|
+
BIF = "BIF",
|
|
2327
|
+
BMD = "BMD",
|
|
2328
|
+
BND = "BND",
|
|
2329
|
+
BOB = "BOB",
|
|
2330
|
+
BRL = "BRL",
|
|
2331
|
+
BSD = "BSD",
|
|
2332
|
+
BTN = "BTN",
|
|
2333
|
+
BWP = "BWP",
|
|
2334
|
+
BYN = "BYN",
|
|
2335
|
+
BYR = "BYR",
|
|
2336
|
+
BZD = "BZD",
|
|
2337
|
+
CAD = "CAD",
|
|
2338
|
+
CDF = "CDF",
|
|
2339
|
+
CHF = "CHF",
|
|
2340
|
+
CLF = "CLF",
|
|
2341
|
+
CLP = "CLP",
|
|
2342
|
+
CNY = "CNY",
|
|
2343
|
+
COP = "COP",
|
|
2344
|
+
CRC = "CRC",
|
|
2345
|
+
CUC = "CUC",
|
|
2346
|
+
CUP = "CUP",
|
|
2347
|
+
CVE = "CVE",
|
|
2348
|
+
CZK = "CZK",
|
|
2349
|
+
DJF = "DJF",
|
|
2350
|
+
DKK = "DKK",
|
|
2351
|
+
DOP = "DOP",
|
|
2352
|
+
DZD = "DZD",
|
|
2353
|
+
EGP = "EGP",
|
|
2354
|
+
ERN = "ERN",
|
|
2355
|
+
ETB = "ETB",
|
|
2356
|
+
EUR = "EUR",
|
|
2357
|
+
FJD = "FJD",
|
|
2358
|
+
FKP = "FKP",
|
|
2359
|
+
GBP = "GBP",
|
|
2360
|
+
GEL = "GEL",
|
|
2361
|
+
GGP = "GGP",
|
|
2362
|
+
GHS = "GHS",
|
|
2363
|
+
GIP = "GIP",
|
|
2364
|
+
GMD = "GMD",
|
|
2365
|
+
GNF = "GNF",
|
|
2366
|
+
GTQ = "GTQ",
|
|
2367
|
+
GYD = "GYD",
|
|
2368
|
+
HKD = "HKD",
|
|
2369
|
+
HNL = "HNL",
|
|
2370
|
+
HRK = "HRK",
|
|
2371
|
+
HTG = "HTG",
|
|
2372
|
+
HUF = "HUF",
|
|
2373
|
+
IDR = "IDR",
|
|
2374
|
+
ILS = "ILS",
|
|
2375
|
+
IMP = "IMP",
|
|
2376
|
+
INR = "INR",
|
|
2377
|
+
IQD = "IQD",
|
|
2378
|
+
IRR = "IRR",
|
|
2379
|
+
ISK = "ISK",
|
|
2380
|
+
JEP = "JEP",
|
|
2381
|
+
JMD = "JMD",
|
|
2382
|
+
JOD = "JOD",
|
|
2383
|
+
JPY = "JPY",
|
|
2384
|
+
KES = "KES",
|
|
2385
|
+
KGS = "KGS",
|
|
2386
|
+
KHR = "KHR",
|
|
2387
|
+
KMF = "KMF",
|
|
2388
|
+
KPW = "KPW",
|
|
2389
|
+
KRW = "KRW",
|
|
2390
|
+
KWD = "KWD",
|
|
2391
|
+
KYD = "KYD",
|
|
2392
|
+
KZT = "KZT",
|
|
2393
|
+
LAK = "LAK",
|
|
2394
|
+
LBP = "LBP",
|
|
2395
|
+
LKR = "LKR",
|
|
2396
|
+
LRD = "LRD",
|
|
2397
|
+
LSL = "LSL",
|
|
2398
|
+
LTL = "LTL",
|
|
2399
|
+
LVL = "LVL",
|
|
2400
|
+
LYD = "LYD",
|
|
2401
|
+
MAD = "MAD",
|
|
2402
|
+
MDL = "MDL",
|
|
2403
|
+
MGA = "MGA",
|
|
2404
|
+
MKD = "MKD",
|
|
2405
|
+
MMK = "MMK",
|
|
2406
|
+
MNT = "MNT",
|
|
2407
|
+
MOP = "MOP",
|
|
2408
|
+
MRO = "MRO",
|
|
2409
|
+
MUR = "MUR",
|
|
2410
|
+
MVR = "MVR",
|
|
2411
|
+
MWK = "MWK",
|
|
2412
|
+
MXN = "MXN",
|
|
2413
|
+
MYR = "MYR",
|
|
2414
|
+
MZN = "MZN",
|
|
2415
|
+
NAD = "NAD",
|
|
2416
|
+
NGN = "NGN",
|
|
2417
|
+
NIO = "NIO",
|
|
2418
|
+
NOK = "NOK",
|
|
2419
|
+
NPR = "NPR",
|
|
2420
|
+
NZD = "NZD",
|
|
2421
|
+
OMR = "OMR",
|
|
2422
|
+
PAB = "PAB",
|
|
2423
|
+
PEN = "PEN",
|
|
2424
|
+
PGK = "PGK",
|
|
2425
|
+
PHP = "PHP",
|
|
2426
|
+
PKR = "PKR",
|
|
2427
|
+
PLN = "PLN",
|
|
2428
|
+
PYG = "PYG",
|
|
2429
|
+
QAR = "QAR",
|
|
2430
|
+
RON = "RON",
|
|
2431
|
+
RSD = "RSD",
|
|
2432
|
+
RUB = "RUB",
|
|
2433
|
+
RWF = "RWF",
|
|
2434
|
+
SAR = "SAR",
|
|
2435
|
+
SBD = "SBD",
|
|
2436
|
+
SCR = "SCR",
|
|
2437
|
+
SDG = "SDG",
|
|
2438
|
+
SEK = "SEK",
|
|
2439
|
+
SGD = "SGD",
|
|
2440
|
+
SHP = "SHP",
|
|
2441
|
+
SLL = "SLL",
|
|
2442
|
+
SOS = "SOS",
|
|
2443
|
+
SRD = "SRD",
|
|
2444
|
+
STD = "STD",
|
|
2445
|
+
SVC = "SVC",
|
|
2446
|
+
SYP = "SYP",
|
|
2447
|
+
SZL = "SZL",
|
|
2448
|
+
THB = "THB",
|
|
2449
|
+
TJS = "TJS",
|
|
2450
|
+
TMT = "TMT",
|
|
2451
|
+
TND = "TND",
|
|
2452
|
+
TOP = "TOP",
|
|
2453
|
+
TRY = "TRY",
|
|
2454
|
+
TTD = "TTD",
|
|
2455
|
+
TWD = "TWD",
|
|
2456
|
+
TZS = "TZS",
|
|
2457
|
+
UAH = "UAH",
|
|
2458
|
+
UGX = "UGX",
|
|
2459
|
+
USD = "USD",
|
|
2460
|
+
UYU = "UYU",
|
|
2461
|
+
UZS = "UZS",
|
|
2462
|
+
VEF = "VEF",
|
|
2463
|
+
VND = "VND",
|
|
2464
|
+
VUV = "VUV",
|
|
2465
|
+
WST = "WST",
|
|
2466
|
+
XAF = "XAF",
|
|
2467
|
+
XAG = "XAG",
|
|
2468
|
+
XAU = "XAU",
|
|
2469
|
+
XCD = "XCD",
|
|
2470
|
+
XDR = "XDR",
|
|
2471
|
+
XOF = "XOF",
|
|
2472
|
+
XPF = "XPF",
|
|
2473
|
+
YER = "YER",
|
|
2474
|
+
ZAR = "ZAR",
|
|
2475
|
+
ZMK = "ZMK",
|
|
2476
|
+
ZMW = "ZMW",
|
|
2477
|
+
ZWL = "ZWL",
|
|
2478
|
+
XPT = "XPT",
|
|
2479
|
+
XPD = "XPD",
|
|
2480
|
+
BTC = "BTC",
|
|
2481
|
+
ETH = "ETH",
|
|
2482
|
+
BNB = "BNB",
|
|
2483
|
+
XRP = "XRP",
|
|
2484
|
+
SOL = "SOL",
|
|
2485
|
+
DOT = "DOT",
|
|
2486
|
+
AVAX = "AVAX",
|
|
2487
|
+
MATIC = "MATIC",
|
|
2488
|
+
LTC = "LTC",
|
|
2489
|
+
ADA = "ADA"
|
|
2490
|
+
}
|
|
2293
2491
|
/** Currency according to the ISO 4217 standard. */
|
|
2294
2492
|
export declare enum CurrencyUnit {
|
|
2295
2493
|
/** Return the currency in EUR. */
|
|
@@ -3680,7 +3878,7 @@ export declare type OdometerInput = {
|
|
|
3680
3878
|
/** Type of the value of the vehicle's odometer. */
|
|
3681
3879
|
type: DistanceUnit;
|
|
3682
3880
|
/** Source of inputted data, defaults to 'manual'. */
|
|
3683
|
-
source?: TelemetryInputSource
|
|
3881
|
+
source?: Maybe<TelemetryInputSource>;
|
|
3684
3882
|
};
|
|
3685
3883
|
/** Operator data which extends OCPI BusinessDetails. */
|
|
3686
3884
|
export declare type Operator = {
|
|
@@ -3742,6 +3940,22 @@ export declare type OutsideTempInput = {
|
|
|
3742
3940
|
/** Source of inputted data, defaults to 'manual'. */
|
|
3743
3941
|
source?: Maybe<TelemetryInputSource>;
|
|
3744
3942
|
};
|
|
3943
|
+
export declare type OutsideTemperature = {
|
|
3944
|
+
/** Value of the temperature. */
|
|
3945
|
+
value: Scalars["Float"];
|
|
3946
|
+
/** Type of the temperature. */
|
|
3947
|
+
type: TemperatureUnit;
|
|
3948
|
+
/** Source of inputted data. */
|
|
3949
|
+
source: TelemetryInputSource;
|
|
3950
|
+
};
|
|
3951
|
+
export declare type OutsideTemperatureInput = {
|
|
3952
|
+
/** Value of the outside temperature. */
|
|
3953
|
+
value: Scalars["Float"];
|
|
3954
|
+
/** Type of the value of the outside temperature. */
|
|
3955
|
+
type: TemperatureUnit;
|
|
3956
|
+
/** Source of inputted data. */
|
|
3957
|
+
source?: Maybe<TelemetryInputSource>;
|
|
3958
|
+
};
|
|
3745
3959
|
export declare enum ParkingCost {
|
|
3746
3960
|
/** Parking is free. */
|
|
3747
3961
|
FREE = "free",
|
|
@@ -4413,7 +4627,7 @@ export declare type RouteAlternative = {
|
|
|
4413
4627
|
id?: Maybe<Scalars["ID"]>;
|
|
4414
4628
|
/** Type of alternative route. */
|
|
4415
4629
|
type?: Maybe<RouteAlternativeType>;
|
|
4416
|
-
/** Number of
|
|
4630
|
+
/** Number of charging stops required for this route. */
|
|
4417
4631
|
charges?: Maybe<Scalars["Int"]>;
|
|
4418
4632
|
/** Number of available charges along a route. */
|
|
4419
4633
|
chargesAvailable?: Maybe<Scalars["Int"]>;
|
|
@@ -4556,8 +4770,6 @@ export declare type RouteDetails = {
|
|
|
4556
4770
|
range_at_origin: Scalars["Float"];
|
|
4557
4771
|
/** Range available at the end of a trip. */
|
|
4558
4772
|
range_at_destination: Scalars["Float"];
|
|
4559
|
-
/** Text information about a route direction. */
|
|
4560
|
-
via?: Maybe<Scalars["String"]>;
|
|
4561
4773
|
/** Polyline containing encoded coordinates. */
|
|
4562
4774
|
polyline?: Maybe<Scalars["String"]>;
|
|
4563
4775
|
/** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
|
|
@@ -4568,10 +4780,11 @@ export declare type RouteDetails = {
|
|
|
4568
4780
|
savings?: Maybe<RouteDetailsSavings>;
|
|
4569
4781
|
/** Legs of a route. */
|
|
4570
4782
|
legs: Array<RouteDetailsLeg>;
|
|
4783
|
+
/** Alternative stations along a route within specified radius. */
|
|
4571
4784
|
alternative_stations: Array<RouteDetailsAlternativeStation>;
|
|
4572
4785
|
/** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
|
|
4573
4786
|
tags: Array<RouteDetailsTag>;
|
|
4574
|
-
/** Number of
|
|
4787
|
+
/** Number of charging stops required for this route. */
|
|
4575
4788
|
charges: Scalars["Int"];
|
|
4576
4789
|
};
|
|
4577
4790
|
export declare type RouteDetailsdistanceArgs = {
|
|
@@ -4584,7 +4797,7 @@ export declare type RouteDetailsrange_at_destinationArgs = {
|
|
|
4584
4797
|
unit?: Maybe<StateOfChargeUnit>;
|
|
4585
4798
|
};
|
|
4586
4799
|
export declare type RouteDetailspolylineArgs = {
|
|
4587
|
-
decimals
|
|
4800
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
4588
4801
|
};
|
|
4589
4802
|
export declare type RouteDetailsAlternativeStation = {
|
|
4590
4803
|
/** ID of a station. */
|
|
@@ -4669,8 +4882,6 @@ export declare type RouteDetailsLeg = {
|
|
|
4669
4882
|
range_after_charge?: Maybe<Scalars["Float"]>;
|
|
4670
4883
|
/** Type of a leg. */
|
|
4671
4884
|
type: RouteDetailsLegType;
|
|
4672
|
-
/** 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. */
|
|
4673
|
-
name?: Maybe<Scalars["String"]>;
|
|
4674
4885
|
/** Information about the station at the origin of this leg. */
|
|
4675
4886
|
station?: Maybe<RouteDetailsLegStation>;
|
|
4676
4887
|
/** Polyline containing encoded coordinates. */
|
|
@@ -4700,7 +4911,7 @@ export declare type RouteDetailsLegrange_after_chargeArgs = {
|
|
|
4700
4911
|
};
|
|
4701
4912
|
/** Leg of a route detail. */
|
|
4702
4913
|
export declare type RouteDetailsLegpolylineArgs = {
|
|
4703
|
-
decimals
|
|
4914
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
4704
4915
|
};
|
|
4705
4916
|
export declare type RouteDetailsLegFeaturePoint = {
|
|
4706
4917
|
/** ID of the feature. */
|
|
@@ -4729,7 +4940,7 @@ export declare type RouteDetailsLegFeatureProperties = {
|
|
|
4729
4940
|
duration?: Maybe<Scalars["Int"]>;
|
|
4730
4941
|
/** Number of occupants present in the vehicle. */
|
|
4731
4942
|
occupants?: Maybe<Scalars["Int"]>;
|
|
4732
|
-
/** Value of the
|
|
4943
|
+
/** Value of the combined weight of the occupants. */
|
|
4733
4944
|
total_occupant_weight?: Maybe<Scalars["Float"]>;
|
|
4734
4945
|
/** Value of the current weight of the cargo. */
|
|
4735
4946
|
total_cargo_weight?: Maybe<Scalars["Float"]>;
|
|
@@ -4787,13 +4998,13 @@ export declare type RouteDetailsLegSection = {
|
|
|
4787
4998
|
polyline?: Maybe<Scalars["String"]>;
|
|
4788
4999
|
/** Distance from the start to the end of a section. */
|
|
4789
5000
|
distance: Scalars["Float"];
|
|
4790
|
-
/** Total
|
|
5001
|
+
/** Total duration of a section, in seconds. The value will be 0 for walking sections. */
|
|
4791
5002
|
duration: Scalars["Float"];
|
|
4792
|
-
/** Total energy used in a section in kilowatt-hours. */
|
|
5003
|
+
/** Total energy used in a section in kilowatt-hours. The value will be 0 for walking sections. */
|
|
4793
5004
|
consumption: Scalars["Float"];
|
|
4794
5005
|
};
|
|
4795
5006
|
export declare type RouteDetailsLegSectionpolylineArgs = {
|
|
4796
|
-
decimals
|
|
5007
|
+
decimals?: Maybe<PolylineInputDecimals>;
|
|
4797
5008
|
};
|
|
4798
5009
|
export declare type RouteDetailsLegSectiondistanceArgs = {
|
|
4799
5010
|
unit?: Maybe<DistanceUnit>;
|
|
@@ -4811,7 +5022,7 @@ export declare type RouteDetailsLegSectionFeaturePoint = {
|
|
|
4811
5022
|
export declare type RouteDetailsLegSectionFeaturePointProperties = {
|
|
4812
5023
|
/** Number of occupants present in the vehicle. */
|
|
4813
5024
|
occupants: Scalars["Int"];
|
|
4814
|
-
/** Value of the
|
|
5025
|
+
/** Value of the combined weight of the occupants. */
|
|
4815
5026
|
total_occupant_weight?: Maybe<Scalars["Float"]>;
|
|
4816
5027
|
/** Value of the current weight of the cargo. */
|
|
4817
5028
|
total_cargo_weight?: Maybe<Scalars["Float"]>;
|
|
@@ -4849,7 +5060,7 @@ export declare type RouteDetailsManeuver = {
|
|
|
4849
5060
|
/** Type of instruction. */
|
|
4850
5061
|
type: RouteDetailsLegManeuverType;
|
|
4851
5062
|
/** Location of the maneuver. */
|
|
4852
|
-
location?: Maybe<
|
|
5063
|
+
location?: Maybe<RouteDetailsLegSectionFeaturePoint>;
|
|
4853
5064
|
/** Name of the street on which an instruction is. */
|
|
4854
5065
|
name?: Maybe<Scalars["String"]>;
|
|
4855
5066
|
/** Distance, in meters, of a route instruction. */
|
|
@@ -4882,7 +5093,7 @@ export declare type RouteDetailsPathSegment = {
|
|
|
4882
5093
|
/** State of charge, in kilowatt hours, of a route path segment. */
|
|
4883
5094
|
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
4884
5095
|
/** Maximum vehicle speed of a route path segment. */
|
|
4885
|
-
|
|
5096
|
+
maximum_speed: Scalars["Float"];
|
|
4886
5097
|
};
|
|
4887
5098
|
export declare type RouteDetailsPathSegmentelevationArgs = {
|
|
4888
5099
|
unit?: Maybe<DistanceUnit>;
|
|
@@ -4896,7 +5107,7 @@ export declare type RouteDetailsPathSegmentdistanceArgs = {
|
|
|
4896
5107
|
export declare type RouteDetailsPathSegmentstate_of_chargeArgs = {
|
|
4897
5108
|
unit?: Maybe<StateOfChargeUnit>;
|
|
4898
5109
|
};
|
|
4899
|
-
export declare type
|
|
5110
|
+
export declare type RouteDetailsPathSegmentmaximum_speedArgs = {
|
|
4900
5111
|
unit?: Maybe<SpeedUnit>;
|
|
4901
5112
|
};
|
|
4902
5113
|
/** Money saving information. */
|
|
@@ -4904,9 +5115,21 @@ export declare type RouteDetailsSavings = {
|
|
|
4904
5115
|
/** Money saved by a user driving this route with an electric vehicle. */
|
|
4905
5116
|
money?: Maybe<Scalars["Float"]>;
|
|
4906
5117
|
/** Average gas price with which the calculation was made. */
|
|
4907
|
-
average_gas_price
|
|
5118
|
+
average_gas_price: Scalars["Float"];
|
|
4908
5119
|
/** Average energy price with which the calculation was made. */
|
|
4909
|
-
average_energy_price
|
|
5120
|
+
average_energy_price: Scalars["Float"];
|
|
5121
|
+
};
|
|
5122
|
+
/** Money saving information. */
|
|
5123
|
+
export declare type RouteDetailsSavingsmoneyArgs = {
|
|
5124
|
+
currency?: Maybe<Currency>;
|
|
5125
|
+
};
|
|
5126
|
+
/** Money saving information. */
|
|
5127
|
+
export declare type RouteDetailsSavingsaverage_gas_priceArgs = {
|
|
5128
|
+
currency?: Maybe<Currency>;
|
|
5129
|
+
};
|
|
5130
|
+
/** Money saving information. */
|
|
5131
|
+
export declare type RouteDetailsSavingsaverage_energy_priceArgs = {
|
|
5132
|
+
currency?: Maybe<Currency>;
|
|
4910
5133
|
};
|
|
4911
5134
|
/** Tags of a route. */
|
|
4912
5135
|
export declare enum RouteDetailsTag {
|
|
@@ -5768,14 +5991,10 @@ export declare type RoutePath = {
|
|
|
5768
5991
|
export declare type RoutePropertiesLocation = {
|
|
5769
5992
|
/** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
|
|
5770
5993
|
name?: Maybe<Scalars["String"]>;
|
|
5771
|
-
/** Duration to stay at this point. */
|
|
5772
|
-
stop_duration?: Maybe<Scalars["Int"]>;
|
|
5773
5994
|
};
|
|
5774
5995
|
export declare type RoutePropertiesLocationInput = {
|
|
5775
5996
|
/** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
|
|
5776
5997
|
name?: Maybe<Scalars["String"]>;
|
|
5777
|
-
/** Duration to stay at this point. */
|
|
5778
|
-
stop_duration?: Maybe<Scalars["Int"]>;
|
|
5779
5998
|
};
|
|
5780
5999
|
export declare type RoutePropertiesStation = {
|
|
5781
6000
|
/** ID of the station. When provided and valid, the coordinates of this station will be used. */
|
|
@@ -5792,7 +6011,7 @@ export declare type RoutePropertiesStationInput = {
|
|
|
5792
6011
|
export declare type RoutePropertiesVehicle = {
|
|
5793
6012
|
/** Number of occupants present in the vehicle. */
|
|
5794
6013
|
occupants?: Maybe<Scalars["Int"]>;
|
|
5795
|
-
/** Combined weight of the occupants. */
|
|
6014
|
+
/** Combined weight of the occupants. This can only be used in combination with occupants. */
|
|
5796
6015
|
total_occupant_weight?: Maybe<TotalOccupantWeight>;
|
|
5797
6016
|
/** Weight of the cargo. */
|
|
5798
6017
|
total_cargo_weight?: Maybe<TotalCargoWeight>;
|
|
@@ -5800,11 +6019,23 @@ export declare type RoutePropertiesVehicle = {
|
|
|
5800
6019
|
export declare type RoutePropertiesVehicleInput = {
|
|
5801
6020
|
/** Number of occupants present in the vehicle. */
|
|
5802
6021
|
occupants?: Maybe<Scalars["Int"]>;
|
|
5803
|
-
/** Combined weight of the occupants. */
|
|
6022
|
+
/** Combined weight of the occupants. This can only be used in combination with occupants. */
|
|
5804
6023
|
total_occupant_weight?: Maybe<TotalOccupantWeightInput>;
|
|
5805
6024
|
/** Weight of the cargo. */
|
|
5806
6025
|
total_cargo_weight?: Maybe<TotalCargoWeightInput>;
|
|
5807
6026
|
};
|
|
6027
|
+
export declare type RoutePropertiesViaLocation = {
|
|
6028
|
+
/** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
|
|
6029
|
+
name?: Maybe<Scalars["String"]>;
|
|
6030
|
+
/** Duration to stay at this point, in seconds. */
|
|
6031
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
6032
|
+
};
|
|
6033
|
+
export declare type RoutePropertiesViaLocationInput = {
|
|
6034
|
+
/** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
|
|
6035
|
+
name?: Maybe<Scalars["String"]>;
|
|
6036
|
+
/** Duration to stay at this point, in seconds. */
|
|
6037
|
+
stop_duration?: Maybe<Scalars["Int"]>;
|
|
6038
|
+
};
|
|
5808
6039
|
export declare type RouteResponse = {
|
|
5809
6040
|
/** ID of a route calculation. */
|
|
5810
6041
|
id: Scalars["ID"];
|
|
@@ -5816,8 +6047,6 @@ export declare type RouteResponse = {
|
|
|
5816
6047
|
meta: RouteMetadata;
|
|
5817
6048
|
/** Route request. */
|
|
5818
6049
|
request_input: CreateRoute;
|
|
5819
|
-
/** Region of a route calculation. */
|
|
5820
|
-
region: Scalars["String"];
|
|
5821
6050
|
};
|
|
5822
6051
|
/** Scheduled charge stop along a route. */
|
|
5823
6052
|
export declare type RouteScheduledChargeStop = {
|
|
@@ -5916,8 +6145,8 @@ export declare type RouteVehicle = {
|
|
|
5916
6145
|
/** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
|
|
5917
6146
|
motor_rpm?: Maybe<Scalars["Int"]>;
|
|
5918
6147
|
/** Value of the outside temperature. */
|
|
5919
|
-
outside_temperature?: Maybe<
|
|
5920
|
-
/**
|
|
6148
|
+
outside_temperature?: Maybe<OutsideTemperature>;
|
|
6149
|
+
/** Flag which indicates if vehicle is in park, neutral or turned off. */
|
|
5921
6150
|
is_parked?: Maybe<Scalars["Boolean"]>;
|
|
5922
6151
|
/** Value of the vehicle's speed. */
|
|
5923
6152
|
vehicle_speed?: Maybe<VehicleSpeed>;
|
|
@@ -5929,7 +6158,7 @@ export declare type RouteVehicleBattery = {
|
|
|
5929
6158
|
capacity: StateOfCharge;
|
|
5930
6159
|
/** State of charge. */
|
|
5931
6160
|
state_of_charge: StateOfCharge;
|
|
5932
|
-
/** Minimum final battery state of charge. */
|
|
6161
|
+
/** Minimum final battery state of charge. The value should be between 0 and 60% of the battery capacity. */
|
|
5933
6162
|
final_state_of_charge: StateOfCharge;
|
|
5934
6163
|
/** Temperature of the battery. */
|
|
5935
6164
|
temperature?: Maybe<Temperature>;
|
|
@@ -5937,9 +6166,9 @@ export declare type RouteVehicleBattery = {
|
|
|
5937
6166
|
current?: Maybe<Scalars["Float"]>;
|
|
5938
6167
|
/** Battery voltage in volts. */
|
|
5939
6168
|
voltage?: Maybe<Scalars["Float"]>;
|
|
5940
|
-
/** Value of the positive or negative power. When negative, the vehicle is charging. */
|
|
6169
|
+
/** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
|
|
5941
6170
|
power?: Maybe<Scalars["Float"]>;
|
|
5942
|
-
/**
|
|
6171
|
+
/** Flag which indicates if the vehicle is charging. */
|
|
5943
6172
|
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
5944
6173
|
};
|
|
5945
6174
|
/** EV battery specific configuration for a create route mutation. */
|
|
@@ -5948,7 +6177,7 @@ export declare type RouteVehicleBatteryInput = {
|
|
|
5948
6177
|
capacity?: Maybe<StateOfChargeInput>;
|
|
5949
6178
|
/** Battery state of charge. */
|
|
5950
6179
|
state_of_charge?: Maybe<StateOfChargeInput>;
|
|
5951
|
-
/** Minimum battery state of charge. */
|
|
6180
|
+
/** Minimum final battery state of charge. The value should be between 0 and 60% of the battery capacity. */
|
|
5952
6181
|
final_state_of_charge?: Maybe<StateOfChargeInput>;
|
|
5953
6182
|
/** Battery temperature. */
|
|
5954
6183
|
temperature?: Maybe<TemperatureInput>;
|
|
@@ -5956,9 +6185,9 @@ export declare type RouteVehicleBatteryInput = {
|
|
|
5956
6185
|
current?: Maybe<Scalars["Float"]>;
|
|
5957
6186
|
/** Battery voltage in volts. */
|
|
5958
6187
|
voltage?: Maybe<Scalars["Float"]>;
|
|
5959
|
-
/**
|
|
6188
|
+
/** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
|
|
5960
6189
|
power?: Maybe<Scalars["Float"]>;
|
|
5961
|
-
/**
|
|
6190
|
+
/** Flag which indicates if the vehicle is charging. */
|
|
5962
6191
|
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
5963
6192
|
};
|
|
5964
6193
|
export declare type RouteVehicleCabin = {
|
|
@@ -5969,15 +6198,15 @@ export declare type RouteVehicleCabin = {
|
|
|
5969
6198
|
};
|
|
5970
6199
|
export declare type RouteVehicleCabinInput = {
|
|
5971
6200
|
/** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
|
|
5972
|
-
is_preconditioned?: Scalars["Boolean"]
|
|
6201
|
+
is_preconditioned?: Maybe<Scalars["Boolean"]>;
|
|
5973
6202
|
/** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
|
|
5974
|
-
desired_temperature
|
|
6203
|
+
desired_temperature?: Maybe<TemperatureInput>;
|
|
5975
6204
|
};
|
|
5976
6205
|
export declare type RouteVehicleCharging = {
|
|
5977
6206
|
/** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
|
|
5978
6207
|
mode: ChargeMode;
|
|
5979
|
-
/** Minimum desired power of chargers. */
|
|
5980
|
-
minimum_power: Scalars["
|
|
6208
|
+
/** Minimum desired power of chargers, in kWh. */
|
|
6209
|
+
minimum_power: Scalars["Float"];
|
|
5981
6210
|
/** Percentage for the minimum limit of the battery's capacity before a recharge. The value should be between 0 and 60. Defaults to 10. */
|
|
5982
6211
|
risk_margin: Scalars["Int"];
|
|
5983
6212
|
/** Supported connectors. */
|
|
@@ -5989,18 +6218,18 @@ export declare type RouteVehicleChargingConnector = {
|
|
|
5989
6218
|
/** Type of the plug. */
|
|
5990
6219
|
standard: ConnectorType;
|
|
5991
6220
|
/** Maximum charging speed for the plug. */
|
|
5992
|
-
|
|
6221
|
+
maximum_charge_speed: ChargeSpeed;
|
|
5993
6222
|
};
|
|
5994
6223
|
export declare type RouteVehicleChargingConnectorInput = {
|
|
5995
6224
|
/** Plug type. */
|
|
5996
6225
|
standard: ConnectorType;
|
|
5997
6226
|
/** Maximum charging speed for this plug. */
|
|
5998
|
-
|
|
6227
|
+
maximum_charge_speed: ChargeSpeedInput;
|
|
5999
6228
|
};
|
|
6000
6229
|
export declare type RouteVehicleChargingInput = {
|
|
6001
6230
|
/** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
|
|
6002
6231
|
mode?: Maybe<ChargeMode>;
|
|
6003
|
-
/** Minimum desired power of chargers. */
|
|
6232
|
+
/** Minimum desired power of chargers, in kWh. */
|
|
6004
6233
|
minimum_power?: Maybe<Scalars["Float"]>;
|
|
6005
6234
|
/** Percentage representing the minimum value of the state of charge at a next charge stop. The value should be between 0 and 60. */
|
|
6006
6235
|
risk_margin?: Maybe<Scalars["Int"]>;
|
|
@@ -6052,8 +6281,8 @@ export declare type RouteVehicleInput = {
|
|
|
6052
6281
|
/** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
|
|
6053
6282
|
motor_rpm?: Maybe<Scalars["Int"]>;
|
|
6054
6283
|
/** Outside temperature. */
|
|
6055
|
-
outside_temperature?: Maybe<
|
|
6056
|
-
/**
|
|
6284
|
+
outside_temperature?: Maybe<OutsideTemperatureInput>;
|
|
6285
|
+
/** Flag which indicates if vehicle is in park, neutral or turned off. */
|
|
6057
6286
|
is_parked?: Maybe<Scalars["Boolean"]>;
|
|
6058
6287
|
/** Vehicle speed. */
|
|
6059
6288
|
vehicle_speed?: Maybe<VehicleSpeedInput>;
|
|
@@ -6126,7 +6355,7 @@ export declare type RouteViaFeaturePointInput = {
|
|
|
6126
6355
|
};
|
|
6127
6356
|
export declare type RouteViaProperties = {
|
|
6128
6357
|
/** Location data of the via point. */
|
|
6129
|
-
location?: Maybe<
|
|
6358
|
+
location?: Maybe<RoutePropertiesViaLocation>;
|
|
6130
6359
|
/** Vehicle data of the via point. */
|
|
6131
6360
|
vehicle?: Maybe<RoutePropertiesVehicle>;
|
|
6132
6361
|
/** Station data of the via point. */
|
|
@@ -6134,7 +6363,7 @@ export declare type RouteViaProperties = {
|
|
|
6134
6363
|
};
|
|
6135
6364
|
export declare type RouteViaPropertiesInput = {
|
|
6136
6365
|
/** Location data of the via point. */
|
|
6137
|
-
location?: Maybe<
|
|
6366
|
+
location?: Maybe<RoutePropertiesViaLocationInput>;
|
|
6138
6367
|
/** Vehicle data of the via point. */
|
|
6139
6368
|
vehicle?: Maybe<RoutePropertiesVehicleInput>;
|
|
6140
6369
|
/** Station data of the via point. */
|
|
@@ -6185,7 +6414,7 @@ export declare type StateOfChargeInput = {
|
|
|
6185
6414
|
/** Type of the state of charge of the vehicle. */
|
|
6186
6415
|
type: StateOfChargeUnit;
|
|
6187
6416
|
/** Source of inputted data, defaults to 'manual'. */
|
|
6188
|
-
source?: TelemetryInputSource
|
|
6417
|
+
source?: Maybe<TelemetryInputSource>;
|
|
6189
6418
|
};
|
|
6190
6419
|
/** State of charge unit. */
|
|
6191
6420
|
export declare enum StateOfChargeUnit {
|
|
@@ -6750,7 +6979,9 @@ export declare enum TelemetryInputSource {
|
|
|
6750
6979
|
/** Manually inputted value. */
|
|
6751
6980
|
MANUAL = "manual",
|
|
6752
6981
|
/** Value from the vehicle's telemetry. */
|
|
6753
|
-
TELEMETRY = "telemetry"
|
|
6982
|
+
TELEMETRY = "telemetry",
|
|
6983
|
+
/** Default value. */
|
|
6984
|
+
DEFAULT = "default"
|
|
6754
6985
|
}
|
|
6755
6986
|
export declare type Temperature = {
|
|
6756
6987
|
/** Value of the temperature. */
|
|
@@ -6785,7 +7016,7 @@ export declare type TirePressureInput = {
|
|
|
6785
7016
|
/** Type of the value of pressure. */
|
|
6786
7017
|
type: PressureUnit;
|
|
6787
7018
|
/** Source of inputted data, defaults to 'manual'. */
|
|
6788
|
-
source?: TelemetryInputSource
|
|
7019
|
+
source?: Maybe<TelemetryInputSource>;
|
|
6789
7020
|
};
|
|
6790
7021
|
export declare enum TorqueUnit {
|
|
6791
7022
|
/** Return the torque in newton meters. */
|
|
@@ -6807,10 +7038,10 @@ export declare type TotalCargoWeightInput = {
|
|
|
6807
7038
|
/** Type of the current weight of the cargo. */
|
|
6808
7039
|
type: WeightUnit;
|
|
6809
7040
|
/** Source of inputted data, defaults to 'manual'. */
|
|
6810
|
-
source?: TelemetryInputSource
|
|
7041
|
+
source?: Maybe<TelemetryInputSource>;
|
|
6811
7042
|
};
|
|
6812
7043
|
export declare type TotalOccupantWeight = {
|
|
6813
|
-
/** Value of the
|
|
7044
|
+
/** Value of the combined weight of the occupants. */
|
|
6814
7045
|
value: Scalars["Float"];
|
|
6815
7046
|
/** Type of the current weight of the occupants. */
|
|
6816
7047
|
type: WeightUnit;
|
|
@@ -6818,12 +7049,12 @@ export declare type TotalOccupantWeight = {
|
|
|
6818
7049
|
source: TelemetryInputSource;
|
|
6819
7050
|
};
|
|
6820
7051
|
export declare type TotalOccupantWeightInput = {
|
|
6821
|
-
/** Value of the
|
|
7052
|
+
/** Value of the combined weight of the occupants. */
|
|
6822
7053
|
value: Scalars["Float"];
|
|
6823
7054
|
/** Type of the current weight of the occupants. */
|
|
6824
7055
|
type: WeightUnit;
|
|
6825
7056
|
/** Source of inputted data, defaults to 'manual'. */
|
|
6826
|
-
source?: TelemetryInputSource
|
|
7057
|
+
source?: Maybe<TelemetryInputSource>;
|
|
6827
7058
|
};
|
|
6828
7059
|
export declare enum TurningCircleUnit {
|
|
6829
7060
|
/** Return the turning circle in meters. */
|
|
@@ -8089,7 +8320,7 @@ export declare type VehicleSpeedInput = {
|
|
|
8089
8320
|
/** Type of the vehicle speed. */
|
|
8090
8321
|
type: SpeedUnit;
|
|
8091
8322
|
/** Source of inputted data, defaults to 'manual'. */
|
|
8092
|
-
source?: TelemetryInputSource
|
|
8323
|
+
source?: Maybe<TelemetryInputSource>;
|
|
8093
8324
|
};
|
|
8094
8325
|
export declare type VehicleToEverything = {
|
|
8095
8326
|
/** Information about Vehicle-to-Load. */
|