@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chargetrip/types",
3
- "version": "1.44.0",
3
+ "version": "1.45.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "chargetrip",
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. */
@@ -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. */
@@ -2397,8 +2415,8 @@ export type CreateRoute = {
2397
2415
  operators?: Maybe<RouteOperatorPreferences>;
2398
2416
  /** Season of a route. */
2399
2417
  season: RouteSeason;
2400
- /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2401
- alternative_station_radius?: Maybe<Scalars["Int"]>;
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>;
2402
2420
  /** Departure time of a route. */
2403
2421
  departure_time?: Maybe<Scalars["DateTime"]>;
2404
2422
  };
@@ -2417,12 +2435,195 @@ export type CreateRouteInput = {
2417
2435
  operators?: Maybe<RouteOperatorPreferencesInput>;
2418
2436
  /** Optional flag to specify the season. */
2419
2437
  season?: Maybe<RouteSeason>;
2420
- /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2421
- alternative_station_radius?: Maybe<Scalars["Int"]>;
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>;
2422
2440
  /** Route departure time. */
2423
2441
  departure_time?: Maybe<Scalars["DateTime"]>;
2424
2442
  };
2425
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
+
2426
2627
  /** Currency according to the ISO 4217 standard. */
2427
2628
  export enum CurrencyUnit {
2428
2629
  /** Return the currency in EUR. */
@@ -3941,7 +4142,7 @@ export type OdometerInput = {
3941
4142
  /** Type of the value of the vehicle's odometer. */
3942
4143
  type: DistanceUnit;
3943
4144
  /** Source of inputted data, defaults to 'manual'. */
3944
- source?: TelemetryInputSource;
4145
+ source?: Maybe<TelemetryInputSource>;
3945
4146
  };
3946
4147
 
3947
4148
  /** Operator data which extends OCPI BusinessDetails. */
@@ -4009,6 +4210,24 @@ export type OutsideTempInput = {
4009
4210
  source?: Maybe<TelemetryInputSource>;
4010
4211
  };
4011
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
+
4222
+ export type OutsideTemperatureInput = {
4223
+ /** Value of the outside temperature. */
4224
+ value: Scalars["Float"];
4225
+ /** Type of the value of the outside temperature. */
4226
+ type: TemperatureUnit;
4227
+ /** Source of inputted data. */
4228
+ source?: Maybe<TelemetryInputSource>;
4229
+ };
4230
+
4012
4231
  export enum ParkingCost {
4013
4232
  /** Parking is free. */
4014
4233
  FREE = "free",
@@ -4751,7 +4970,7 @@ export type RouteAlternative = {
4751
4970
  id?: Maybe<Scalars["ID"]>;
4752
4971
  /** Type of alternative route. */
4753
4972
  type?: Maybe<RouteAlternativeType>;
4754
- /** Number of charges along a route. */
4973
+ /** Number of charging stops required for this route. */
4755
4974
  charges?: Maybe<Scalars["Int"]>;
4756
4975
  /** Number of available charges along a route. */
4757
4976
  chargesAvailable?: Maybe<Scalars["Int"]>;
@@ -4904,8 +5123,6 @@ export type RouteDetails = {
4904
5123
  range_at_origin: Scalars["Float"];
4905
5124
  /** Range available at the end of a trip. */
4906
5125
  range_at_destination: Scalars["Float"];
4907
- /** Text information about a route direction. */
4908
- via?: Maybe<Scalars["String"]>;
4909
5126
  /** Polyline containing encoded coordinates. */
4910
5127
  polyline?: Maybe<Scalars["String"]>;
4911
5128
  /** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
@@ -4916,10 +5133,11 @@ export type RouteDetails = {
4916
5133
  savings?: Maybe<RouteDetailsSavings>;
4917
5134
  /** Legs of a route. */
4918
5135
  legs: Array<RouteDetailsLeg>;
5136
+ /** Alternative stations along a route within specified radius. */
4919
5137
  alternative_stations: Array<RouteDetailsAlternativeStation>;
4920
5138
  /** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
4921
5139
  tags: Array<RouteDetailsTag>;
4922
- /** Number of charges along a route. */
5140
+ /** Number of charging stops required for this route. */
4923
5141
  charges: Scalars["Int"];
4924
5142
  };
4925
5143
 
@@ -4936,7 +5154,7 @@ export type RouteDetailsrange_at_destinationArgs = {
4936
5154
  };
4937
5155
 
4938
5156
  export type RouteDetailspolylineArgs = {
4939
- decimals: PolylineInputDecimals;
5157
+ decimals?: Maybe<PolylineInputDecimals>;
4940
5158
  };
4941
5159
 
4942
5160
  export type RouteDetailsAlternativeStation = {
@@ -5032,8 +5250,6 @@ export type RouteDetailsLeg = {
5032
5250
  range_after_charge?: Maybe<Scalars["Float"]>;
5033
5251
  /** Type of a leg. */
5034
5252
  type: RouteDetailsLegType;
5035
- /** 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. */
5036
- name?: Maybe<Scalars["String"]>;
5037
5253
  /** Information about the station at the origin of this leg. */
5038
5254
  station?: Maybe<RouteDetailsLegStation>;
5039
5255
  /** Polyline containing encoded coordinates. */
@@ -5068,7 +5284,7 @@ export type RouteDetailsLegrange_after_chargeArgs = {
5068
5284
 
5069
5285
  /** Leg of a route detail. */
5070
5286
  export type RouteDetailsLegpolylineArgs = {
5071
- decimals: PolylineInputDecimals;
5287
+ decimals?: Maybe<PolylineInputDecimals>;
5072
5288
  };
5073
5289
 
5074
5290
  export type RouteDetailsLegFeaturePoint = {
@@ -5099,7 +5315,7 @@ export type RouteDetailsLegFeatureProperties = {
5099
5315
  duration?: Maybe<Scalars["Int"]>;
5100
5316
  /** Number of occupants present in the vehicle. */
5101
5317
  occupants?: Maybe<Scalars["Int"]>;
5102
- /** Value of the current weight of the occupants. */
5318
+ /** Value of the combined weight of the occupants. */
5103
5319
  total_occupant_weight?: Maybe<Scalars["Float"]>;
5104
5320
  /** Value of the current weight of the cargo. */
5105
5321
  total_cargo_weight?: Maybe<Scalars["Float"]>;
@@ -5163,14 +5379,14 @@ export type RouteDetailsLegSection = {
5163
5379
  polyline?: Maybe<Scalars["String"]>;
5164
5380
  /** Distance from the start to the end of a section. */
5165
5381
  distance: Scalars["Float"];
5166
- /** Total drive time from the start to the end of a section, in seconds. */
5382
+ /** Total duration of a section, in seconds. The value will be 0 for walking sections. */
5167
5383
  duration: Scalars["Float"];
5168
- /** 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. */
5169
5385
  consumption: Scalars["Float"];
5170
5386
  };
5171
5387
 
5172
5388
  export type RouteDetailsLegSectionpolylineArgs = {
5173
- decimals: PolylineInputDecimals;
5389
+ decimals?: Maybe<PolylineInputDecimals>;
5174
5390
  };
5175
5391
 
5176
5392
  export type RouteDetailsLegSectiondistanceArgs = {
@@ -5191,7 +5407,7 @@ export type RouteDetailsLegSectionFeaturePoint = {
5191
5407
  export type RouteDetailsLegSectionFeaturePointProperties = {
5192
5408
  /** Number of occupants present in the vehicle. */
5193
5409
  occupants: Scalars["Int"];
5194
- /** Value of the current weight of the occupants. */
5410
+ /** Value of the combined weight of the occupants. */
5195
5411
  total_occupant_weight?: Maybe<Scalars["Float"]>;
5196
5412
  /** Value of the current weight of the cargo. */
5197
5413
  total_cargo_weight?: Maybe<Scalars["Float"]>;
@@ -5235,7 +5451,7 @@ export type RouteDetailsManeuver = {
5235
5451
  /** Type of instruction. */
5236
5452
  type: RouteDetailsLegManeuverType;
5237
5453
  /** Location of the maneuver. */
5238
- location?: Maybe<RouteDetailsLegFeaturePoint>;
5454
+ location?: Maybe<RouteDetailsLegSectionFeaturePoint>;
5239
5455
  /** Name of the street on which an instruction is. */
5240
5456
  name?: Maybe<Scalars["String"]>;
5241
5457
  /** Distance, in meters, of a route instruction. */
@@ -5270,7 +5486,7 @@ export type RouteDetailsPathSegment = {
5270
5486
  /** State of charge, in kilowatt hours, of a route path segment. */
5271
5487
  state_of_charge?: Maybe<Scalars["Float"]>;
5272
5488
  /** Maximum vehicle speed of a route path segment. */
5273
- max_speed: Scalars["Float"];
5489
+ maximum_speed: Scalars["Float"];
5274
5490
  };
5275
5491
 
5276
5492
  export type RouteDetailsPathSegmentelevationArgs = {
@@ -5289,7 +5505,7 @@ export type RouteDetailsPathSegmentstate_of_chargeArgs = {
5289
5505
  unit?: Maybe<StateOfChargeUnit>;
5290
5506
  };
5291
5507
 
5292
- export type RouteDetailsPathSegmentmax_speedArgs = {
5508
+ export type RouteDetailsPathSegmentmaximum_speedArgs = {
5293
5509
  unit?: Maybe<SpeedUnit>;
5294
5510
  };
5295
5511
 
@@ -5298,9 +5514,24 @@ export type RouteDetailsSavings = {
5298
5514
  /** Money saved by a user driving this route with an electric vehicle. */
5299
5515
  money?: Maybe<Scalars["Float"]>;
5300
5516
  /** Average gas price with which the calculation was made. */
5301
- average_gas_price?: Maybe<Scalars["Float"]>;
5517
+ average_gas_price: Scalars["Float"];
5302
5518
  /** Average energy price with which the calculation was made. */
5303
- average_energy_price?: Maybe<Scalars["Float"]>;
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>;
5304
5535
  };
5305
5536
 
5306
5537
  /** Tags of a route. */
@@ -6268,15 +6499,11 @@ export type RoutePath = {
6268
6499
  export type RoutePropertiesLocation = {
6269
6500
  /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
6270
6501
  name?: Maybe<Scalars["String"]>;
6271
- /** Duration to stay at this point. */
6272
- stop_duration?: Maybe<Scalars["Int"]>;
6273
6502
  };
6274
6503
 
6275
6504
  export type RoutePropertiesLocationInput = {
6276
6505
  /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
6277
6506
  name?: Maybe<Scalars["String"]>;
6278
- /** Duration to stay at this point. */
6279
- stop_duration?: Maybe<Scalars["Int"]>;
6280
6507
  };
6281
6508
 
6282
6509
  export type RoutePropertiesStation = {
@@ -6296,7 +6523,7 @@ export type RoutePropertiesStationInput = {
6296
6523
  export type RoutePropertiesVehicle = {
6297
6524
  /** Number of occupants present in the vehicle. */
6298
6525
  occupants?: Maybe<Scalars["Int"]>;
6299
- /** Combined weight of the occupants. */
6526
+ /** Combined weight of the occupants. This can only be used in combination with occupants. */
6300
6527
  total_occupant_weight?: Maybe<TotalOccupantWeight>;
6301
6528
  /** Weight of the cargo. */
6302
6529
  total_cargo_weight?: Maybe<TotalCargoWeight>;
@@ -6305,12 +6532,26 @@ export type RoutePropertiesVehicle = {
6305
6532
  export type RoutePropertiesVehicleInput = {
6306
6533
  /** Number of occupants present in the vehicle. */
6307
6534
  occupants?: Maybe<Scalars["Int"]>;
6308
- /** Combined weight of the occupants. */
6535
+ /** Combined weight of the occupants. This can only be used in combination with occupants. */
6309
6536
  total_occupant_weight?: Maybe<TotalOccupantWeightInput>;
6310
6537
  /** Weight of the cargo. */
6311
6538
  total_cargo_weight?: Maybe<TotalCargoWeightInput>;
6312
6539
  };
6313
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
+
6314
6555
  export type RouteResponse = {
6315
6556
  /** ID of a route calculation. */
6316
6557
  id: Scalars["ID"];
@@ -6322,8 +6563,6 @@ export type RouteResponse = {
6322
6563
  meta: RouteMetadata;
6323
6564
  /** Route request. */
6324
6565
  request_input: CreateRoute;
6325
- /** Region of a route calculation. */
6326
- region: Scalars["String"];
6327
6566
  };
6328
6567
 
6329
6568
  /** Scheduled charge stop along a route. */
@@ -6430,8 +6669,8 @@ export type RouteVehicle = {
6430
6669
  /** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
6431
6670
  motor_rpm?: Maybe<Scalars["Int"]>;
6432
6671
  /** Value of the outside temperature. */
6433
- outside_temperature?: Maybe<Temperature>;
6434
- /** Vehicle is in park, neutral or turned off. */
6672
+ outside_temperature?: Maybe<OutsideTemperature>;
6673
+ /** Flag which indicates if vehicle is in park, neutral or turned off. */
6435
6674
  is_parked?: Maybe<Scalars["Boolean"]>;
6436
6675
  /** Value of the vehicle's speed. */
6437
6676
  vehicle_speed?: Maybe<VehicleSpeed>;
@@ -6444,7 +6683,7 @@ export type RouteVehicleBattery = {
6444
6683
  capacity: StateOfCharge;
6445
6684
  /** State of charge. */
6446
6685
  state_of_charge: StateOfCharge;
6447
- /** 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. */
6448
6687
  final_state_of_charge: StateOfCharge;
6449
6688
  /** Temperature of the battery. */
6450
6689
  temperature?: Maybe<Temperature>;
@@ -6452,9 +6691,9 @@ export type RouteVehicleBattery = {
6452
6691
  current?: Maybe<Scalars["Float"]>;
6453
6692
  /** Battery voltage in volts. */
6454
6693
  voltage?: Maybe<Scalars["Float"]>;
6455
- /** 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. */
6456
6695
  power?: Maybe<Scalars["Float"]>;
6457
- /** Indicates if the vehicle is charging. */
6696
+ /** Flag which indicates if the vehicle is charging. */
6458
6697
  is_charging?: Maybe<Scalars["Boolean"]>;
6459
6698
  };
6460
6699
 
@@ -6464,7 +6703,7 @@ export type RouteVehicleBatteryInput = {
6464
6703
  capacity?: Maybe<StateOfChargeInput>;
6465
6704
  /** Battery state of charge. */
6466
6705
  state_of_charge?: Maybe<StateOfChargeInput>;
6467
- /** Minimum battery state of charge. */
6706
+ /** Minimum final battery state of charge. The value should be between 0 and 60% of the battery capacity. */
6468
6707
  final_state_of_charge?: Maybe<StateOfChargeInput>;
6469
6708
  /** Battery temperature. */
6470
6709
  temperature?: Maybe<TemperatureInput>;
@@ -6472,9 +6711,9 @@ export type RouteVehicleBatteryInput = {
6472
6711
  current?: Maybe<Scalars["Float"]>;
6473
6712
  /** Battery voltage in volts. */
6474
6713
  voltage?: Maybe<Scalars["Float"]>;
6475
- /** Vehicle power. */
6714
+ /** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
6476
6715
  power?: Maybe<Scalars["Float"]>;
6477
- /** Vehicle is currently charging. */
6716
+ /** Flag which indicates if the vehicle is charging. */
6478
6717
  is_charging?: Maybe<Scalars["Boolean"]>;
6479
6718
  };
6480
6719
 
@@ -6487,16 +6726,16 @@ export type RouteVehicleCabin = {
6487
6726
 
6488
6727
  export type RouteVehicleCabinInput = {
6489
6728
  /** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
6490
- is_preconditioned?: Scalars["Boolean"];
6729
+ is_preconditioned?: Maybe<Scalars["Boolean"]>;
6491
6730
  /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
6492
- desired_temperature: TemperatureInput;
6731
+ desired_temperature?: Maybe<TemperatureInput>;
6493
6732
  };
6494
6733
 
6495
6734
  export type RouteVehicleCharging = {
6496
6735
  /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
6497
6736
  mode: ChargeMode;
6498
- /** Minimum desired power of chargers. */
6499
- minimum_power: Scalars["Int"];
6737
+ /** Minimum desired power of chargers, in kWh. */
6738
+ minimum_power: Scalars["Float"];
6500
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. */
6501
6740
  risk_margin: Scalars["Int"];
6502
6741
  /** Supported connectors. */
@@ -6509,20 +6748,20 @@ export type RouteVehicleChargingConnector = {
6509
6748
  /** Type of the plug. */
6510
6749
  standard: ConnectorType;
6511
6750
  /** Maximum charging speed for the plug. */
6512
- max_charge_speed: ChargeSpeed;
6751
+ maximum_charge_speed: ChargeSpeed;
6513
6752
  };
6514
6753
 
6515
6754
  export type RouteVehicleChargingConnectorInput = {
6516
6755
  /** Plug type. */
6517
6756
  standard: ConnectorType;
6518
6757
  /** Maximum charging speed for this plug. */
6519
- max_charge_speed: ChargeSpeedInput;
6758
+ maximum_charge_speed: ChargeSpeedInput;
6520
6759
  };
6521
6760
 
6522
6761
  export type RouteVehicleChargingInput = {
6523
6762
  /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
6524
6763
  mode?: Maybe<ChargeMode>;
6525
- /** Minimum desired power of chargers. */
6764
+ /** Minimum desired power of chargers, in kWh. */
6526
6765
  minimum_power?: Maybe<Scalars["Float"]>;
6527
6766
  /** Percentage representing the minimum value of the state of charge at a next charge stop. The value should be between 0 and 60. */
6528
6767
  risk_margin?: Maybe<Scalars["Int"]>;
@@ -6578,8 +6817,8 @@ export type RouteVehicleInput = {
6578
6817
  /** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
6579
6818
  motor_rpm?: Maybe<Scalars["Int"]>;
6580
6819
  /** Outside temperature. */
6581
- outside_temperature?: Maybe<TemperatureInput>;
6582
- /** Vehicle is in park, neutral or turned off. */
6820
+ outside_temperature?: Maybe<OutsideTemperatureInput>;
6821
+ /** Flag which indicates if vehicle is in park, neutral or turned off. */
6583
6822
  is_parked?: Maybe<Scalars["Boolean"]>;
6584
6823
  /** Vehicle speed. */
6585
6824
  vehicle_speed?: Maybe<VehicleSpeedInput>;
@@ -6662,7 +6901,7 @@ export type RouteViaFeaturePointInput = {
6662
6901
 
6663
6902
  export type RouteViaProperties = {
6664
6903
  /** Location data of the via point. */
6665
- location?: Maybe<RoutePropertiesLocation>;
6904
+ location?: Maybe<RoutePropertiesViaLocation>;
6666
6905
  /** Vehicle data of the via point. */
6667
6906
  vehicle?: Maybe<RoutePropertiesVehicle>;
6668
6907
  /** Station data of the via point. */
@@ -6671,7 +6910,7 @@ export type RouteViaProperties = {
6671
6910
 
6672
6911
  export type RouteViaPropertiesInput = {
6673
6912
  /** Location data of the via point. */
6674
- location?: Maybe<RoutePropertiesLocationInput>;
6913
+ location?: Maybe<RoutePropertiesViaLocationInput>;
6675
6914
  /** Vehicle data of the via point. */
6676
6915
  vehicle?: Maybe<RoutePropertiesVehicleInput>;
6677
6916
  /** Station data of the via point. */
@@ -6728,7 +6967,7 @@ export type StateOfChargeInput = {
6728
6967
  /** Type of the state of charge of the vehicle. */
6729
6968
  type: StateOfChargeUnit;
6730
6969
  /** Source of inputted data, defaults to 'manual'. */
6731
- source?: TelemetryInputSource;
6970
+ source?: Maybe<TelemetryInputSource>;
6732
6971
  };
6733
6972
 
6734
6973
  /** State of charge unit. */
@@ -7342,7 +7581,9 @@ export enum TelemetryInputSource {
7342
7581
  /** Manually inputted value. */
7343
7582
  MANUAL = "manual",
7344
7583
  /** Value from the vehicle's telemetry. */
7345
- TELEMETRY = "telemetry"
7584
+ TELEMETRY = "telemetry",
7585
+ /** Default value. */
7586
+ DEFAULT = "default"
7346
7587
  }
7347
7588
 
7348
7589
  export type Temperature = {
@@ -7382,7 +7623,7 @@ export type TirePressureInput = {
7382
7623
  /** Type of the value of pressure. */
7383
7624
  type: PressureUnit;
7384
7625
  /** Source of inputted data, defaults to 'manual'. */
7385
- source?: TelemetryInputSource;
7626
+ source?: Maybe<TelemetryInputSource>;
7386
7627
  };
7387
7628
 
7388
7629
  export enum TorqueUnit {
@@ -7407,11 +7648,11 @@ export type TotalCargoWeightInput = {
7407
7648
  /** Type of the current weight of the cargo. */
7408
7649
  type: WeightUnit;
7409
7650
  /** Source of inputted data, defaults to 'manual'. */
7410
- source?: TelemetryInputSource;
7651
+ source?: Maybe<TelemetryInputSource>;
7411
7652
  };
7412
7653
 
7413
7654
  export type TotalOccupantWeight = {
7414
- /** Value of the current weight of the occupants. */
7655
+ /** Value of the combined weight of the occupants. */
7415
7656
  value: Scalars["Float"];
7416
7657
  /** Type of the current weight of the occupants. */
7417
7658
  type: WeightUnit;
@@ -7420,12 +7661,12 @@ export type TotalOccupantWeight = {
7420
7661
  };
7421
7662
 
7422
7663
  export type TotalOccupantWeightInput = {
7423
- /** Value of the current weight of the occupants. */
7664
+ /** Value of the combined weight of the occupants. */
7424
7665
  value: Scalars["Float"];
7425
7666
  /** Type of the current weight of the occupants. */
7426
7667
  type: WeightUnit;
7427
7668
  /** Source of inputted data, defaults to 'manual'. */
7428
- source?: TelemetryInputSource;
7669
+ source?: Maybe<TelemetryInputSource>;
7429
7670
  };
7430
7671
 
7431
7672
  export enum TurningCircleUnit {
@@ -8850,7 +9091,7 @@ export type VehicleSpeedInput = {
8850
9091
  /** Type of the vehicle speed. */
8851
9092
  type: SpeedUnit;
8852
9093
  /** Source of inputted data, defaults to 'manual'. */
8853
- source?: TelemetryInputSource;
9094
+ source?: Maybe<TelemetryInputSource>;
8854
9095
  };
8855
9096
 
8856
9097
  export type VehicleToEverything = {