@chargetrip/types 1.41.0 → 1.43.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/src/graphql.ts CHANGED
@@ -13,16 +13,18 @@ export type Scalars = {
13
13
  Boolean: boolean;
14
14
  Int: number;
15
15
  Float: number;
16
- /** Returns 'OK' */
16
+ /** Acknowledgement scalar. Returns 'OK'. */
17
17
  Acknowledgement: any;
18
- /** The date and time scalar */
18
+ /** The date and time scalar. */
19
19
  DateTime: string;
20
20
  /** Email address scalar, email regex with HTML sanitization. */
21
21
  Email: any;
22
- /** Any JSON object */
22
+ /** Any JSON object or array. */
23
23
  JSON: { [key: string]: number | string | boolean | null | Scalars["JSON"] };
24
24
  /** The non empty string scalar. */
25
25
  NonEmptyString: any;
26
+ /** The `PlainID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The `PlainID` type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID. */
27
+ PlainID: any;
26
28
  /**
27
29
  * The `PlainString` scalar type represents textual data, represented as UTF-8 character sequences.
28
30
  * The PlainString type represents free-form human-readable text with HTML sanitization.
@@ -179,15 +181,25 @@ export type AuthorizeConnectedVehicleOptions = {
179
181
  code?: Maybe<Scalars["PlainString"]>;
180
182
  };
181
183
 
184
+ export type AuxiliaryConsumption = {
185
+ /** Value of the auxiliary power consumption of the vehicle. */
186
+ value: Scalars["Float"];
187
+ /** Type of auxiliary power consumption of the vehicle. */
188
+ type: AuxiliaryConsumptionUnit;
189
+ /** Source of inputted data. */
190
+ source: TelemetryInputSource;
191
+ };
192
+
182
193
  export type AuxiliaryConsumptionInput = {
183
194
  /** Value of the auxiliary power consumption of the vehicle. */
184
195
  value: Scalars["Float"];
185
196
  /** Type of auxiliary power consumption of the vehicle. */
186
197
  type: AuxiliaryConsumptionUnit;
187
198
  /** Source of inputted data, defaults to 'manual'. */
188
- source?: Maybe<TelemetryInputSource>;
199
+ source?: TelemetryInputSource;
189
200
  };
190
201
 
202
+ /** Auxiliary consumption units. */
191
203
  export enum AuxiliaryConsumptionUnit {
192
204
  /** Return the auxiliary consumption in kilowatt hours. */
193
205
  KILOWATT_HOUR = "kilowatt_hour"
@@ -207,10 +219,10 @@ export type BatteryTemperatureInput = {
207
219
  /** Type of temperature of the battery. */
208
220
  type: TemperatureUnit;
209
221
  /** Source of inputted data, defaults to 'manual'. */
210
- source?: Maybe<TelemetryInputSource>;
222
+ source?: TelemetryInputSource;
211
223
  };
212
224
 
213
- /** Output of a car query. */
225
+ /** Deprecated: In favour of Vehicle. */
214
226
  export type Car = {
215
227
  /** Cars unique ID. */
216
228
  id?: Maybe<Scalars["ID"]>;
@@ -363,6 +375,7 @@ export type Car = {
363
375
  imagesData?: Maybe<CarImageData>;
364
376
  };
365
377
 
378
+ /** Deprecated: In favour of VehicleAvailability. */
366
379
  export type CarAvailability = {
367
380
  /**
368
381
  * Availability of car.
@@ -381,6 +394,7 @@ export type CarAvailability = {
381
394
  status?: Maybe<Scalars["Int"]>;
382
395
  };
383
396
 
397
+ /** Deprecated: In favour of VehicleBattery. */
384
398
  export type CarBattery = {
385
399
  /** Usable battery capacity in kWh. */
386
400
  usable_kwh?: Maybe<Scalars["Float"]>;
@@ -398,7 +412,7 @@ export type CarBatteryEfficiency = {
398
412
  best?: Maybe<CarEstimationData>;
399
413
  };
400
414
 
401
- /** Battery field estimated. */
415
+ /** Deprecated: In favour of VehicleBatteryFieldEstimations. */
402
416
  export enum CarBatteryFieldEstimations {
403
417
  /** Both of the battery kWh fields are estimations. */
404
418
  B = "B",
@@ -410,6 +424,7 @@ export enum CarBatteryFieldEstimations {
410
424
  U = "U"
411
425
  }
412
426
 
427
+ /** Deprecated: In favour of VehicleBody. */
413
428
  export type CarBody = {
414
429
  /** Width with folded mirrors in mm. */
415
430
  width?: Maybe<Scalars["Int"]>;
@@ -433,7 +448,7 @@ export type CarConsumption = {
433
448
  best?: Maybe<Scalars["Float"]>;
434
449
  };
435
450
 
436
- /** The consumption of the car */
451
+ /** Deprecated: In favour of VehicleConsumptionInput. */
437
452
  export type CarConsumptionInput = {
438
453
  /** Worst conditions are based on -10°C and use of heating. */
439
454
  worst?: Maybe<Scalars["Float"]>;
@@ -441,7 +456,7 @@ export type CarConsumptionInput = {
441
456
  best?: Maybe<Scalars["Float"]>;
442
457
  };
443
458
 
444
- /** Drivetrain. */
459
+ /** Deprecated: In favour of VehicleDrivetrain. */
445
460
  export enum CarDrivetrain {
446
461
  /** Battery Electric Car.. */
447
462
  BEV = "BEV",
@@ -469,12 +484,13 @@ export type CarExtraConsumption = {
469
484
  idle?: Maybe<CarConsumption>;
470
485
  };
471
486
 
472
- /** Fuel type. */
487
+ /** Deprecated: In favour of VehicleFuel. */
473
488
  export enum CarFuel {
474
489
  /** Electricity only. Full electric car. */
475
490
  E = "E"
476
491
  }
477
492
 
493
+ /** Deprecated: In favour of VehicleImage */
478
494
  export type CarImage = {
479
495
  /** Image id. */
480
496
  id?: Maybe<Scalars["ID"]>;
@@ -506,7 +522,7 @@ export type CarImageData = {
506
522
  brand_thumbnail?: Maybe<CarImage>;
507
523
  };
508
524
 
509
- /** Available types of images which can be found for a car. Each type has specific image sizes. */
525
+ /** Deprecated: In favour of VehicleImageType. */
510
526
  export enum CarImageType {
511
527
  /** Images provided by a Car Datasource. */
512
528
  PROVIDER = "provider",
@@ -522,13 +538,13 @@ export enum CarImageType {
522
538
  PLACEHOLDER = "placeholder"
523
539
  }
524
540
 
525
- /** When uploading images to a car, you can select one of this types. The rest of the types are automatically generated by the system. */
541
+ /** Deprecated: In favour of VehicleImageTypeUploadable. */
526
542
  export enum CarImageTypeUploadable {
527
543
  /** Full size image with a resolution at least 1536x864 px. */
528
544
  IMAGE = "image"
529
545
  }
530
546
 
531
- /** The output element of the carList query. */
547
+ /** Deprecated: In favour of VehicleList. */
532
548
  export type CarList = {
533
549
  /** Cars unique ID. */
534
550
  id?: Maybe<Scalars["ID"]>;
@@ -657,6 +673,7 @@ export type CarList = {
657
673
  images?: Maybe<Array<Maybe<CarImage>>>;
658
674
  };
659
675
 
676
+ /** Deprecated: In favour of VehicleListAvailability. */
660
677
  export type CarListAvailability = {
661
678
  /**
662
679
  * Availability of car.
@@ -675,6 +692,7 @@ export type CarListAvailability = {
675
692
  status?: Maybe<Scalars["Int"]>;
676
693
  };
677
694
 
695
+ /** Deprecated: In favour of VehicleListBattery. */
678
696
  export type CarListBattery = {
679
697
  /** Usable battery capacity in kWh. */
680
698
  usable_kwh?: Maybe<Scalars["Float"]>;
@@ -682,11 +700,13 @@ export type CarListBattery = {
682
700
  full_kwh?: Maybe<Scalars["Float"]>;
683
701
  };
684
702
 
703
+ /** Deprecated: In favour of VehicleListBody. */
685
704
  export type CarListBody = {
686
705
  /** Number of seats in car. */
687
706
  seats?: Maybe<Scalars["Int"]>;
688
707
  };
689
708
 
709
+ /** Deprecated: In favour of VehicleListFilter. */
690
710
  export type CarListFilter = {
691
711
  /**
692
712
  * Availability of car.
@@ -707,6 +727,7 @@ export type CarListFilter = {
707
727
  connect?: Maybe<ConnectFilter>;
708
728
  };
709
729
 
730
+ /** Deprecated: In favour of VehicleListMedia. */
710
731
  export type CarListMedia = {
711
732
  /** Latest image of the car. */
712
733
  image?: Maybe<CarImage>;
@@ -716,6 +737,7 @@ export type CarListMedia = {
716
737
  video?: Maybe<CarVideo>;
717
738
  };
718
739
 
740
+ /** Deprecated: In favour of VehicleListNaming. */
719
741
  export type CarListNaming = {
720
742
  /** Car manufacturer name. */
721
743
  make?: Maybe<Scalars["String"]>;
@@ -743,10 +765,13 @@ export type CarListQuery = {
743
765
  mode?: Maybe<CarMode>;
744
766
  };
745
767
 
768
+ /** Deprecated: In favour of VehicleListRange. */
746
769
  export type CarListRange = {
747
770
  /**
748
- * Is an index value of what we consider to be the real-world range.
749
- * (Comparable to Range_Real from EV Database.) It is essentially a normalized range to display in the front-end.
771
+ * Chargetrip's custom real-world range provides a carefully calculated display range for all-electric vehicle models.
772
+ * Chargetrip range is based on the theoretical distance driven using only the electric engine.
773
+ * Vehicles that do not have a full electric drivetrain type (all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
774
+ * More information on the CT range can be found at https://chargetrip.com/blog/what-is-ct-real-range
750
775
  */
751
776
  chargetrip_range?: Maybe<ChargetripRange>;
752
777
  /** @deprecated You will receive null values */
@@ -757,11 +782,13 @@ export type CarListRange = {
757
782
  best?: Maybe<CarEstimationData>;
758
783
  };
759
784
 
785
+ /** Deprecated: In favour of VehicleListRouting. */
760
786
  export type CarListRouting = {
761
787
  /** Cars that support fast charging have a minimum charging speed of 43 kWh. */
762
788
  fast_charging_support?: Maybe<Scalars["Boolean"]>;
763
789
  };
764
790
 
791
+ /** Deprecated: In favour of VehicleMedia. */
765
792
  export type CarMedia = {
766
793
  /** URL to detail page on EV database. */
767
794
  evdb_details_url?: Maybe<Scalars["String"]>;
@@ -782,7 +809,7 @@ export type CarMedia = {
782
809
  evdb_detail_url?: Maybe<Scalars["String"]>;
783
810
  };
784
811
 
785
- /** Mode (state) of the current production. */
812
+ /** Deprecated: In favour of VehicleMode. */
786
813
  export enum CarMode {
787
814
  /** Old car that is no longer manufactured. */
788
815
  INDEX_ONLY = "index_only",
@@ -792,6 +819,7 @@ export enum CarMode {
792
819
  CONCEPT = "concept"
793
820
  }
794
821
 
822
+ /** Deprecated: In favour of VehicleNaming. */
795
823
  export type CarNaming = {
796
824
  /** Car manufacturer name. */
797
825
  make?: Maybe<Scalars["String"]>;
@@ -805,6 +833,7 @@ export type CarNaming = {
805
833
  chargetrip_version?: Maybe<Scalars["String"]>;
806
834
  };
807
835
 
836
+ /** Deprecated: In favour of VehiclePerformance. */
808
837
  export type CarPerformance = {
809
838
  /** Acceleration 0-100 km/h in seconds. */
810
839
  acceleration?: Maybe<Scalars["Float"]>;
@@ -812,7 +841,7 @@ export type CarPerformance = {
812
841
  top_speed?: Maybe<Scalars["Int"]>;
813
842
  };
814
843
 
815
- /** Car plug model. */
844
+ /** Deprecated: In favour of VehicleConnector. */
816
845
  export type CarPlug = {
817
846
  /** Plug type, known as connector standard in OCPI. */
818
847
  standard?: Maybe<ConnectorType>;
@@ -826,7 +855,7 @@ export type CarPlug = {
826
855
  speed?: Maybe<Scalars["Int"]>;
827
856
  };
828
857
 
829
- /** The output element of the carPremium query. */
858
+ /** Deprecated: In favour of VehiclePremium. */
830
859
  export type CarPremium = {
831
860
  /** Unique ID of a car. */
832
861
  id?: Maybe<Scalars["ID"]>;
@@ -868,6 +897,7 @@ export type CarPremium = {
868
897
  connect?: Maybe<Connect>;
869
898
  };
870
899
 
900
+ /** Deprecated: In favour of VehiclePremiumAvailability. */
871
901
  export type CarPremiumAvailability = {
872
902
  /**
873
903
  * Availability of car.
@@ -892,6 +922,7 @@ export type CarPremiumAvailability = {
892
922
  date_to?: Maybe<Scalars["String"]>;
893
923
  };
894
924
 
925
+ /** Deprecated: In favour of VehiclePremiumBattery. */
895
926
  export type CarPremiumBattery = {
896
927
  /** Usable battery capacity in kWh. */
897
928
  usable_kwh?: Maybe<Scalars["Float"]>;
@@ -907,6 +938,7 @@ export type CarPremiumBattery = {
907
938
  warranty_mileage?: Maybe<Scalars["Float"]>;
908
939
  };
909
940
 
941
+ /** Deprecated: In favour of VehiclePremiumBody. */
910
942
  export type CarPremiumBody = {
911
943
  /** Length in mm. */
912
944
  length?: Maybe<Scalars["Int"]>;
@@ -969,6 +1001,7 @@ export type CarPremiumBody = {
969
1001
  rooftrails?: Maybe<Scalars["Boolean"]>;
970
1002
  };
971
1003
 
1004
+ /** Deprecated: In favour of VehiclePremiumCharge. */
972
1005
  export type CarPremiumCharge = {
973
1006
  /** Location of charge port. */
974
1007
  plug?: Maybe<CarPremiumChargePlug>;
@@ -982,6 +1015,7 @@ export type CarPremiumCharge = {
982
1015
  option?: Maybe<CarPremiumChargeOptionOBC>;
983
1016
  };
984
1017
 
1018
+ /** Deprecated: In favour of VehiclePremiumChargeAlternativeOBC. */
985
1019
  export type CarPremiumChargeAlternativeOBC = {
986
1020
  /** Maximum power OBC can accept to charge a battery (standard OBC). */
987
1021
  power?: Maybe<Scalars["Float"]>;
@@ -997,6 +1031,7 @@ export type CarPremiumChargeAlternativeOBC = {
997
1031
  table?: Maybe<Array<Maybe<CarPremiumChargeOBCTable>>>;
998
1032
  };
999
1033
 
1034
+ /** Deprecated: In favour of VehiclePremiumChargeOBCTable. */
1000
1035
  export type CarPremiumChargeOBCTable = {
1001
1036
  /** Voltage between phase and neutral for this EVSE (phase voltage). */
1002
1037
  evse_phase_voltage?: Maybe<Scalars["Int"]>;
@@ -1018,6 +1053,7 @@ export type CarPremiumChargeOBCTable = {
1018
1053
  charge_speed?: Maybe<Scalars["Int"]>;
1019
1054
  };
1020
1055
 
1056
+ /** Deprecated: In favour of VehiclePremiumChargeOptionOBC. */
1021
1057
  export type CarPremiumChargeOptionOBC = {
1022
1058
  /** Maximum power OBC can accept to charge a battery (standard OBC). */
1023
1059
  power?: Maybe<Scalars["Float"]>;
@@ -1033,6 +1069,7 @@ export type CarPremiumChargeOptionOBC = {
1033
1069
  table?: Maybe<Array<Maybe<CarPremiumChargeOBCTable>>>;
1034
1070
  };
1035
1071
 
1072
+ /** Deprecated: In favour of VehiclePremiumChargePlug. */
1036
1073
  export type CarPremiumChargePlug = {
1037
1074
  /** Type of charge port on vehicle. */
1038
1075
  value?: Maybe<ConnectorType>;
@@ -1042,6 +1079,7 @@ export type CarPremiumChargePlug = {
1042
1079
  location?: Maybe<Scalars["String"]>;
1043
1080
  };
1044
1081
 
1082
+ /** Deprecated: In favour of VehiclePremiumChargePower. */
1045
1083
  export type CarPremiumChargePower = {
1046
1084
  /** Maximum value. */
1047
1085
  max?: Maybe<Scalars["Float"]>;
@@ -1049,6 +1087,7 @@ export type CarPremiumChargePower = {
1049
1087
  average?: Maybe<Scalars["Float"]>;
1050
1088
  };
1051
1089
 
1090
+ /** Deprecated: In favour of VehiclePremiumChargeSecondPlug. */
1052
1091
  export type CarPremiumChargeSecondPlug = {
1053
1092
  /** Location of charge port. */
1054
1093
  location?: Maybe<Scalars["String"]>;
@@ -1056,6 +1095,7 @@ export type CarPremiumChargeSecondPlug = {
1056
1095
  is_optional?: Maybe<Scalars["Boolean"]>;
1057
1096
  };
1058
1097
 
1098
+ /** Deprecated: In favour of VehiclePremiumChargeStandardOBC. */
1059
1099
  export type CarPremiumChargeStandardOBC = {
1060
1100
  /** Maximum power OBC can accept to charge a battery (standard OBC). */
1061
1101
  power?: Maybe<Scalars["Float"]>;
@@ -1073,6 +1113,7 @@ export type CarPremiumChargeStandardOBC = {
1073
1113
  table?: Maybe<Array<Maybe<CarPremiumChargeOBCTable>>>;
1074
1114
  };
1075
1115
 
1116
+ /** Deprecated: In favour of VehiclePremiumDrivetrain. */
1076
1117
  export type CarPremiumDrivetrain = {
1077
1118
  /** Type of drivetrain. */
1078
1119
  type?: Maybe<CarDrivetrain>;
@@ -1094,6 +1135,7 @@ export type CarPremiumDrivetrain = {
1094
1135
  torque_is_estimated?: Maybe<Scalars["Boolean"]>;
1095
1136
  };
1096
1137
 
1138
+ /** Deprecated: In favour of VehiclePremiumEfficiency. */
1097
1139
  export type CarPremiumEfficiency = {
1098
1140
  /** Rated efficiency in WLTP combined cycle. */
1099
1141
  wltp?: Maybe<CarPremiumEfficiencyWLTP>;
@@ -1105,6 +1147,7 @@ export type CarPremiumEfficiency = {
1105
1147
  real?: Maybe<CarPremiumEfficiencyReal>;
1106
1148
  };
1107
1149
 
1150
+ /** Deprecated: In favour of VehiclePremiumEfficiencyNEDC. */
1108
1151
  export type CarPremiumEfficiencyNEDC = {
1109
1152
  /** Rated efficiency in NEDC combined cycle in kWh/100 km. */
1110
1153
  value?: Maybe<Scalars["Float"]>;
@@ -1118,6 +1161,7 @@ export type CarPremiumEfficiencyNEDC = {
1118
1161
  co2?: Maybe<Scalars["Int"]>;
1119
1162
  };
1120
1163
 
1164
+ /** Deprecated: In favour of VehiclePremiumEfficiencyProvider. */
1121
1165
  export type CarPremiumEfficiencyReal = {
1122
1166
  /** Car efficiency based on RealRange (useable battery/range) in kWh/100 km. */
1123
1167
  value?: Maybe<Scalars["Float"]>;
@@ -1129,6 +1173,7 @@ export type CarPremiumEfficiencyReal = {
1129
1173
  best?: Maybe<CarPremiumEfficiencyRealValue>;
1130
1174
  };
1131
1175
 
1176
+ /** Deprecated: In favour of VehiclePremiumEfficiencyProviderValue. */
1132
1177
  export type CarPremiumEfficiencyRealValue = {
1133
1178
  /** Estimated value on highway or express roads. */
1134
1179
  highway?: Maybe<Scalars["Float"]>;
@@ -1138,6 +1183,7 @@ export type CarPremiumEfficiencyRealValue = {
1138
1183
  combined?: Maybe<Scalars["Float"]>;
1139
1184
  };
1140
1185
 
1186
+ /** Deprecated: In favour of VehiclePremiumEfficiencyWLTP. */
1141
1187
  export type CarPremiumEfficiencyWLTP = {
1142
1188
  /** Rated efficiency in WLTP combined cycle in kWh/100 km. */
1143
1189
  value?: Maybe<Scalars["Float"]>;
@@ -1151,6 +1197,7 @@ export type CarPremiumEfficiencyWLTP = {
1151
1197
  co2?: Maybe<Scalars["Int"]>;
1152
1198
  };
1153
1199
 
1200
+ /** Deprecated: In favour of VehiclePremiumEfficiencyWLTPTEH. */
1154
1201
  export type CarPremiumEfficiencyWLTPTEH = {
1155
1202
  /** Rated efficiency in WLTP TEH combined cycle (TEH/least efficient trim). */
1156
1203
  value?: Maybe<Scalars["Float"]>;
@@ -1164,6 +1211,7 @@ export type CarPremiumEfficiencyWLTPTEH = {
1164
1211
  co2?: Maybe<Scalars["Int"]>;
1165
1212
  };
1166
1213
 
1214
+ /** Deprecated: In favour of VehiclePremiumChargePlug. */
1167
1215
  export type CarPremiumFastCharge = {
1168
1216
  /** Location of charge port. */
1169
1217
  plug?: Maybe<CarPremiumChargePlug>;
@@ -1181,6 +1229,7 @@ export type CarPremiumFastCharge = {
1181
1229
  table?: Maybe<Array<Maybe<CarPremiumFastChargeTable>>>;
1182
1230
  };
1183
1231
 
1232
+ /** Deprecated: In favour of VehiclePremiumFastChargeTable. */
1184
1233
  export type CarPremiumFastChargeTable = {
1185
1234
  /** Charging details for fast charging (format: ChargerPlug-ChargerPower-AC/DC). */
1186
1235
  format?: Maybe<Scalars["String"]>;
@@ -1196,6 +1245,7 @@ export type CarPremiumFastChargeTable = {
1196
1245
  average_is_limited?: Maybe<Scalars["Boolean"]>;
1197
1246
  };
1198
1247
 
1248
+ /** Deprecated: In favour of VehiclePremiumMedia. */
1199
1249
  export type CarPremiumMedia = {
1200
1250
  /** URL to detail page on EV database. */
1201
1251
  evdb_details_url?: Maybe<Scalars["String"]>;
@@ -1216,6 +1266,7 @@ export type CarPremiumMedia = {
1216
1266
  evdb_detail_url?: Maybe<Scalars["String"]>;
1217
1267
  };
1218
1268
 
1269
+ /** Deprecated: In favour of VehiclePremiumNaming. */
1219
1270
  export type CarPremiumNaming = {
1220
1271
  /** Car manufacturer name. */
1221
1272
  make?: Maybe<Scalars["String"]>;
@@ -1229,6 +1280,7 @@ export type CarPremiumNaming = {
1229
1280
  chargetrip_version?: Maybe<Scalars["String"]>;
1230
1281
  };
1231
1282
 
1283
+ /** Deprecated: In favour of VehiclePremiumPerformance. */
1232
1284
  export type CarPremiumPerformance = {
1233
1285
  /** Acceleration 0-100 km/h in seconds. */
1234
1286
  acceleration?: Maybe<Scalars["Float"]>;
@@ -1240,6 +1292,7 @@ export type CarPremiumPerformance = {
1240
1292
  top_speed_is_estimated?: Maybe<Scalars["Boolean"]>;
1241
1293
  };
1242
1294
 
1295
+ /** Deprecated: In favour of VehiclePremiumPrice. */
1243
1296
  export type CarPremiumPrice = {
1244
1297
  /** Starting price for German market. */
1245
1298
  de?: Maybe<CarPremiumPriceValue>;
@@ -1249,6 +1302,7 @@ export type CarPremiumPrice = {
1249
1302
  uk?: Maybe<CarPremiumPriceValueWithGrant>;
1250
1303
  };
1251
1304
 
1305
+ /** Deprecated: In favour of VehiclePremiumPrice.value */
1252
1306
  export type CarPremiumPriceValue = {
1253
1307
  /** Starting price for local market. */
1254
1308
  value?: Maybe<Scalars["Int"]>;
@@ -1263,6 +1317,7 @@ export type CarPremiumPriceValue = {
1263
1317
  estimated?: Maybe<Scalars["Boolean"]>;
1264
1318
  };
1265
1319
 
1320
+ /** Deprecated: In favour of VehiclePremiumPriceValueWithGrant. */
1266
1321
  export type CarPremiumPriceValueWithGrant = {
1267
1322
  /** Starting price for local market. */
1268
1323
  value?: Maybe<Scalars["Int"]>;
@@ -1279,6 +1334,7 @@ export type CarPremiumPriceValueWithGrant = {
1279
1334
  estimated?: Maybe<Scalars["Boolean"]>;
1280
1335
  };
1281
1336
 
1337
+ /** Deprecated: In favour of VehiclePremiumRange. */
1282
1338
  export type CarPremiumRange = {
1283
1339
  /** Rated range in WLTP combined cycle (NULL if not WLTP rated) in km. */
1284
1340
  wltp?: Maybe<Scalars["Int"]>;
@@ -1298,10 +1354,16 @@ export type CarPremiumRange = {
1298
1354
  worst?: Maybe<CarPremiumRangeValue>;
1299
1355
  /** Best conditions are based on 23°C and no use of A/C. */
1300
1356
  best?: Maybe<CarPremiumRangeValue>;
1301
- /** Is an index value of what we consider to be the real-world range. (Comparable to Range_Real from EV Database.) It is essentially a normalized range to display on the front-end. */
1357
+ /**
1358
+ * Chargetrip's custom real-world range provides a carefully calculated display range for all-electric vehicle models.
1359
+ * Chargetrip range is based on the theoretical distance driven using only the electric engine.
1360
+ * Vehicles that do not have a full electric drivetrain type (all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
1361
+ * More information on the CT range can be found at https://chargetrip.com/blog/what-is-ct-real-range
1362
+ */
1302
1363
  chargetrip_range?: Maybe<ChargetripRange>;
1303
1364
  };
1304
1365
 
1366
+ /** Deprecated: In favour of VehiclePremiumRangeValue. */
1305
1367
  export type CarPremiumRangeValue = {
1306
1368
  /** Estimated value on highway or express roads. */
1307
1369
  highway?: Maybe<Scalars["Int"]>;
@@ -1311,6 +1373,7 @@ export type CarPremiumRangeValue = {
1311
1373
  combined?: Maybe<Scalars["Int"]>;
1312
1374
  };
1313
1375
 
1376
+ /** Deprecated: In favour of VehiclePremiumRouting. */
1314
1377
  export type CarPremiumRouting = {
1315
1378
  /** Cars that support fast charging have a minimum charging speed of 43 kWh. */
1316
1379
  fast_charging_support?: Maybe<Scalars["Boolean"]>;
@@ -1324,6 +1387,7 @@ export type CarPremiumRouting = {
1324
1387
  petrol_consumption?: Maybe<Scalars["Float"]>;
1325
1388
  };
1326
1389
 
1390
+ /** Deprecated: In favour of VehiclePremiumRoutingConsumption. */
1327
1391
  export type CarPremiumRoutingConsumption = {
1328
1392
  /** Consumption, in kWh, of the auxiliaries. */
1329
1393
  aux?: Maybe<CarPremiumRoutingConsumptionValue>;
@@ -1333,6 +1397,7 @@ export type CarPremiumRoutingConsumption = {
1333
1397
  idle?: Maybe<CarPremiumRoutingConsumptionValue>;
1334
1398
  };
1335
1399
 
1400
+ /** Deprecated: In favour of VehiclePremiumRoutingConsumptionValue. */
1336
1401
  export type CarPremiumRoutingConsumptionValue = {
1337
1402
  /** Best (lowest) consumption in summer. */
1338
1403
  best?: Maybe<Scalars["Float"]>;
@@ -1340,6 +1405,7 @@ export type CarPremiumRoutingConsumptionValue = {
1340
1405
  worst?: Maybe<Scalars["Float"]>;
1341
1406
  };
1342
1407
 
1408
+ /** Deprecated: In favour of VehiclePremiumSafety. */
1343
1409
  export type CarPremiumSafety = {
1344
1410
  /** Number of seats equipped with ISOFIX. */
1345
1411
  isofix_seats?: Maybe<Scalars["Int"]>;
@@ -1347,6 +1413,7 @@ export type CarPremiumSafety = {
1347
1413
  euro_ncap?: Maybe<CarPremiumSafetyEuroNcap>;
1348
1414
  };
1349
1415
 
1416
+ /** Deprecated: In favour of VehiclePremiumSafetyEuroNcap. */
1350
1417
  export type CarPremiumSafetyEuroNcap = {
1351
1418
  /** EuroNCAP rating (out of 5 stars). */
1352
1419
  rating?: Maybe<Scalars["Int"]>;
@@ -1362,7 +1429,7 @@ export type CarPremiumSafetyEuroNcap = {
1362
1429
  sa?: Maybe<Scalars["Int"]>;
1363
1430
  };
1364
1431
 
1365
- /** Propulsion. */
1432
+ /** Deprecated: In favour of VehiclePropulsion. */
1366
1433
  export enum CarPropulsion {
1367
1434
  /** All-wheel drive car. */
1368
1435
  AWD = "AWD",
@@ -1372,6 +1439,7 @@ export enum CarPropulsion {
1372
1439
  REAR = "Rear"
1373
1440
  }
1374
1441
 
1442
+ /** Deprecated: In favour of VehicleRange. */
1375
1443
  export type CarRange = {
1376
1444
  /** Index range in EV Database RealRange model in km. */
1377
1445
  real?: Maybe<Scalars["Int"]>;
@@ -1381,12 +1449,18 @@ export type CarRange = {
1381
1449
  worst?: Maybe<CarRangeValue>;
1382
1450
  /** Best conditions are based on 23°C and no use of A/C. */
1383
1451
  best?: Maybe<CarRangeValue>;
1384
- /** Chargetrip's custom real world range provides a carefully calculated display range for all EV models. This is based on our own research and driving data. */
1452
+ /**
1453
+ * Chargetrip's custom real-world range provides a carefully calculated display range for all-electric vehicle models.
1454
+ * Chargetrip range is based on the theoretical distance driven using only the electric engine.
1455
+ * Vehicles that do not have a full electric drivetrain type (all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
1456
+ * More information on the CT range can be found at https://chargetrip.com/blog/what-is-ct-real-range
1457
+ */
1385
1458
  chargetrip_range?: Maybe<ChargetripRange>;
1386
1459
  /** @deprecated You will receive null values */
1387
1460
  wltp?: Maybe<Scalars["Float"]>;
1388
1461
  };
1389
1462
 
1463
+ /** Deprecated: In favour of VehicleRangeValue. */
1390
1464
  export type CarRangeValue = {
1391
1465
  /** Estimated value on the highway or express roads. */
1392
1466
  highway?: Maybe<Scalars["Int"]>;
@@ -1396,12 +1470,13 @@ export type CarRangeValue = {
1396
1470
  combined?: Maybe<Scalars["Int"]>;
1397
1471
  };
1398
1472
 
1473
+ /** Deprecated: In favour of VehicleRouting. */
1399
1474
  export type CarRouting = {
1400
1475
  /** Cars that support fast charging have a minimum charging speed of 43 kWh. */
1401
1476
  fast_charging_support?: Maybe<Scalars["Boolean"]>;
1402
1477
  };
1403
1478
 
1404
- /** Status of a car. */
1479
+ /** Deprecated: In favour of VehicleStatus. */
1405
1480
  export enum CarStatus {
1406
1481
  /** Was just imported. */
1407
1482
  NEW = "new",
@@ -1413,6 +1488,7 @@ export enum CarStatus {
1413
1488
  REMOVED = "removed"
1414
1489
  }
1415
1490
 
1491
+ /** Deprecated: In favour of VehicleVideo. */
1416
1492
  export type CarVideo = {
1417
1493
  /** Video id. */
1418
1494
  id?: Maybe<Scalars["ID"]>;
@@ -1428,15 +1504,25 @@ export enum ChargeMode {
1428
1504
  ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
1429
1505
  }
1430
1506
 
1507
+ export type ChargeSpeed = {
1508
+ /** Value of the charge speed of the battery. */
1509
+ value: Scalars["Float"];
1510
+ /** Type of the charge speed of the battery. */
1511
+ type: ChargeSpeedUnit;
1512
+ /** Source of inputted data */
1513
+ source: TelemetryInputSource;
1514
+ };
1515
+
1431
1516
  export type ChargeSpeedInput = {
1432
1517
  /** Value of the charge speed of the battery. */
1433
1518
  value: Scalars["Float"];
1434
1519
  /** Type of the charge speed of the battery. */
1435
1520
  type: ChargeSpeedUnit;
1436
1521
  /** Source of inputted data, defaults to 'manual'. */
1437
- source?: Maybe<TelemetryInputSource>;
1522
+ source?: TelemetryInputSource;
1438
1523
  };
1439
1524
 
1525
+ /** Charge speed unit. */
1440
1526
  export enum ChargeSpeedUnit {
1441
1527
  /** Return the charge speed in kilowatt hours. */
1442
1528
  KILOWATT_HOUR = "kilowatt_hour",
@@ -1459,7 +1545,7 @@ export type ChargeTotalInput = {
1459
1545
  export type Charger = {
1460
1546
  /** Type of a charger. */
1461
1547
  standard?: Maybe<ConnectorType>;
1462
- /** Power of a charger. */
1548
+ /** Power of a charger, in kW. */
1463
1549
  power?: Maybe<Scalars["Float"]>;
1464
1550
  /** Price of a charger. */
1465
1551
  price?: Maybe<Scalars["String"]>;
@@ -1471,6 +1557,7 @@ export type Charger = {
1471
1557
  total?: Maybe<Scalars["Int"]>;
1472
1558
  };
1473
1559
 
1560
+ /** Status of a charger. */
1474
1561
  export enum ChargerStatus {
1475
1562
  /** The charger is free. */
1476
1563
  FREE = "free",
@@ -1495,30 +1582,41 @@ export type ChargerStatuses = {
1495
1582
  };
1496
1583
 
1497
1584
  /**
1498
- * Chargetrip's custom real-world range provides a carefully calculated display range for all electric vehicle models based on our own research and driving data.
1499
- * CT range is based on the theoretical distance driven using only the electric engine.
1500
- * Vehicles that do not have a full electric drivetrain type ( all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
1585
+ * Chargetrip's custom real-world range provides a carefully calculated display range for all-electric vehicle models.
1586
+ * Chargetrip range is based on the theoretical distance driven using only the electric engine.
1587
+ * Vehicles that do not have a full electric drivetrain type (all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
1588
+ * More information on the CT range can be found at https://chargetrip.com/blog/what-is-ct-real-range
1501
1589
  */
1502
1590
  export type ChargetripRange = {
1503
- /** Range in kilometers. Worst conditions are based on -10°C and use of heating. */
1504
- worst?: Maybe<Scalars["Int"]>;
1505
- /** Range in kilometers. Best conditions are based on 23°C and no use of A/C. */
1506
- best?: Maybe<Scalars["Int"]>;
1591
+ /**
1592
+ * Range calculated using the worst conditions.
1593
+ * Worst conditions are based on -0°C, including use of heating.
1594
+ * More information on the CT range can be found at https://chargetrip.com/blog/what-is-ct-real-range
1595
+ */
1596
+ worst?: Maybe<Scalars["Float"]>;
1597
+ /**
1598
+ * Range calculated using the best conditions.
1599
+ * Best conditions are based on 25°C, including use of A/C.
1600
+ * More information on the CT range can be found at https://chargetrip.com/blog/what-is-ct-real-range
1601
+ */
1602
+ best?: Maybe<Scalars["Float"]>;
1507
1603
  };
1508
1604
 
1509
1605
  /**
1510
- * Chargetrip's custom real-world range provides a carefully calculated display range for all electric vehicle models based on our own research and driving data.
1511
- * CT range is based on the theoretical distance driven using only the electric engine.
1512
- * Vehicles that do not have a full electric drivetrain type ( all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
1606
+ * Chargetrip's custom real-world range provides a carefully calculated display range for all-electric vehicle models.
1607
+ * Chargetrip range is based on the theoretical distance driven using only the electric engine.
1608
+ * Vehicles that do not have a full electric drivetrain type (all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
1609
+ * More information on the CT range can be found at https://chargetrip.com/blog/what-is-ct-real-range
1513
1610
  */
1514
1611
  export type ChargetripRangeworstArgs = {
1515
1612
  unit?: Maybe<DistanceUnit>;
1516
1613
  };
1517
1614
 
1518
1615
  /**
1519
- * Chargetrip's custom real-world range provides a carefully calculated display range for all electric vehicle models based on our own research and driving data.
1520
- * CT range is based on the theoretical distance driven using only the electric engine.
1521
- * Vehicles that do not have a full electric drivetrain type ( all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
1616
+ * Chargetrip's custom real-world range provides a carefully calculated display range for all-electric vehicle models.
1617
+ * Chargetrip range is based on the theoretical distance driven using only the electric engine.
1618
+ * Vehicles that do not have a full electric drivetrain type (all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
1619
+ * More information on the CT range can be found at https://chargetrip.com/blog/what-is-ct-real-range
1522
1620
  */
1523
1621
  export type ChargetripRangebestArgs = {
1524
1622
  unit?: Maybe<DistanceUnit>;
@@ -2098,6 +2196,47 @@ export type CreateConnectedVehicleOptions = {
2098
2196
  scope?: Maybe<Array<ConnectScope>>;
2099
2197
  };
2100
2198
 
2199
+ export type CreateRoute = {
2200
+ /** Vehicle used on a route. */
2201
+ vehicle: RouteVehicle;
2202
+ /** Origin of a route. */
2203
+ origin: RouteOriginFeaturePoint;
2204
+ /** Destination of a route. */
2205
+ destination: RouteDestinationFeaturePoint;
2206
+ /** Via points of a route. */
2207
+ via?: Maybe<Array<RouteViaFeaturePoint>>;
2208
+ /** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
2209
+ operators?: Maybe<RouteOperatorPreferences>;
2210
+ /** Season of a route. */
2211
+ season: RouteSeason;
2212
+ /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2213
+ alternative_station_radius?: Maybe<Scalars["Int"]>;
2214
+ /** Departure time of a route. */
2215
+ departure_time?: Maybe<Scalars["DateTime"]>;
2216
+ };
2217
+
2218
+ /** Input for the create route mutation. */
2219
+ export type CreateRouteInput = {
2220
+ /** Vehicle specific input. */
2221
+ vehicle: RouteVehicleInput;
2222
+ /** Origin of a route. */
2223
+ origin: RouteOriginFeaturePointInput;
2224
+ /** Destination of a route. */
2225
+ destination: RouteDestinationFeaturePointInput;
2226
+ /** Optional via points of a route. */
2227
+ via?: Maybe<Array<RouteViaFeaturePointInput>>;
2228
+ /** Prioritized operators for a route calculation. */
2229
+ operators?: Maybe<RouteOperatorPreferencesInput>;
2230
+ /** Optional flag to specify the season. */
2231
+ season?: Maybe<RouteSeason>;
2232
+ /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000). */
2233
+ alternative_station_radius?: Maybe<Scalars["Int"]>;
2234
+ /** Current elevation. */
2235
+ elevation?: Maybe<ElevationInput>;
2236
+ /** Route departure time. */
2237
+ departure_time?: Maybe<Scalars["DateTime"]>;
2238
+ };
2239
+
2101
2240
  /** Currency according to the ISO 4217 standard. */
2102
2241
  export enum CurrencyUnit {
2103
2242
  /** Return the currency in EUR. */
@@ -2105,7 +2244,138 @@ export enum CurrencyUnit {
2105
2244
  /** Return the currency in USD. */
2106
2245
  USD = "USD",
2107
2246
  /** Return the currency in GBP. */
2108
- GBP = "GBP"
2247
+ GBP = "GBP",
2248
+ AED = "AED",
2249
+ AFN = "AFN",
2250
+ ALL = "ALL",
2251
+ AMD = "AMD",
2252
+ ANG = "ANG",
2253
+ AOA = "AOA",
2254
+ ARS = "ARS",
2255
+ AUD = "AUD",
2256
+ AWG = "AWG",
2257
+ AZN = "AZN",
2258
+ BAM = "BAM",
2259
+ BBD = "BBD",
2260
+ BDT = "BDT",
2261
+ BGN = "BGN",
2262
+ BIF = "BIF",
2263
+ BMD = "BMD",
2264
+ BND = "BND",
2265
+ BOB = "BOB",
2266
+ BRL = "BRL",
2267
+ BSD = "BSD",
2268
+ BWP = "BWP",
2269
+ BYN = "BYN",
2270
+ BZD = "BZD",
2271
+ CAD = "CAD",
2272
+ CDF = "CDF",
2273
+ CHF = "CHF",
2274
+ CLP = "CLP",
2275
+ CNY = "CNY",
2276
+ COP = "COP",
2277
+ CRC = "CRC",
2278
+ CVE = "CVE",
2279
+ CZK = "CZK",
2280
+ DJF = "DJF",
2281
+ DKK = "DKK",
2282
+ DOP = "DOP",
2283
+ DZD = "DZD",
2284
+ EGP = "EGP",
2285
+ ETB = "ETB",
2286
+ FJD = "FJD",
2287
+ FKP = "FKP",
2288
+ GEL = "GEL",
2289
+ GIP = "GIP",
2290
+ GMD = "GMD",
2291
+ GNF = "GNF",
2292
+ GTQ = "GTQ",
2293
+ GYD = "GYD",
2294
+ HKD = "HKD",
2295
+ HNL = "HNL",
2296
+ HTG = "HTG",
2297
+ HUF = "HUF",
2298
+ IDR = "IDR",
2299
+ ILS = "ILS",
2300
+ INR = "INR",
2301
+ ISK = "ISK",
2302
+ JMD = "JMD",
2303
+ JPY = "JPY",
2304
+ KES = "KES",
2305
+ KGS = "KGS",
2306
+ KHR = "KHR",
2307
+ KMF = "KMF",
2308
+ KRW = "KRW",
2309
+ KYD = "KYD",
2310
+ KZT = "KZT",
2311
+ LAK = "LAK",
2312
+ LBP = "LBP",
2313
+ LKR = "LKR",
2314
+ LRD = "LRD",
2315
+ LSL = "LSL",
2316
+ MAD = "MAD",
2317
+ MDL = "MDL",
2318
+ MGA = "MGA",
2319
+ MKD = "MKD",
2320
+ MMK = "MMK",
2321
+ MNT = "MNT",
2322
+ MOP = "MOP",
2323
+ MUR = "MUR",
2324
+ MVR = "MVR",
2325
+ MWK = "MWK",
2326
+ MXN = "MXN",
2327
+ MYR = "MYR",
2328
+ MZN = "MZN",
2329
+ NAD = "NAD",
2330
+ NGN = "NGN",
2331
+ NIO = "NIO",
2332
+ NOK = "NOK",
2333
+ NPR = "NPR",
2334
+ NZD = "NZD",
2335
+ PAB = "PAB",
2336
+ PEN = "PEN",
2337
+ PGK = "PGK",
2338
+ PHP = "PHP",
2339
+ PKR = "PKR",
2340
+ PLN = "PLN",
2341
+ PYG = "PYG",
2342
+ QAR = "QAR",
2343
+ RON = "RON",
2344
+ RSD = "RSD",
2345
+ RUB = "RUB",
2346
+ RWF = "RWF",
2347
+ SAR = "SAR",
2348
+ SBD = "SBD",
2349
+ SCR = "SCR",
2350
+ SEK = "SEK",
2351
+ SGD = "SGD",
2352
+ SHP = "SHP",
2353
+ SLE = "SLE",
2354
+ SOS = "SOS",
2355
+ SRD = "SRD",
2356
+ STD = "STD",
2357
+ SZL = "SZL",
2358
+ THB = "THB",
2359
+ TJS = "TJS",
2360
+ TOP = "TOP",
2361
+ TRY = "TRY",
2362
+ TTD = "TTD",
2363
+ TWD = "TWD",
2364
+ TZS = "TZS",
2365
+ UAH = "UAH",
2366
+ UGX = "UGX",
2367
+ UYU = "UYU",
2368
+ UZS = "UZS",
2369
+ VND = "VND",
2370
+ VUV = "VUV",
2371
+ WST = "WST",
2372
+ XAF = "XAF",
2373
+ XCD = "XCD",
2374
+ XOF = "XOF",
2375
+ XPF = "XPF",
2376
+ YER = "YER",
2377
+ ZAR = "ZAR",
2378
+ ZMW = "ZMW"
2109
2379
  }
2110
2380
 
2111
2381
  export enum DimensionUnit {
@@ -2119,6 +2389,7 @@ export enum DimensionUnit {
2119
2389
  MILE = "mile"
2120
2390
  }
2121
2391
 
2392
+ /** Distance unit */
2122
2393
  export enum DistanceUnit {
2123
2394
  /** Return the distance in meters. */
2124
2395
  METER = "meter",
@@ -2169,13 +2440,24 @@ export type EVSE = {
2169
2440
  custom_properties?: Maybe<EvseCustomProperties>;
2170
2441
  };
2171
2442
 
2443
+ export type ElectricityGenerationMethod = {
2444
+ /** Fraction of total electricity production. */
2445
+ fraction: Scalars["Float"];
2446
+ /** Emissions per kWh of the generation method. */
2447
+ intensity: Scalars["Float"];
2448
+ };
2449
+
2450
+ export type ElectricityGenerationMethodintensityArgs = {
2451
+ unit?: Maybe<EmissionUnit>;
2452
+ };
2453
+
2172
2454
  export type ElevationInput = {
2173
2455
  /** Value of the elevation. */
2174
2456
  value: Scalars["Float"];
2175
2457
  /** Type of the value of elevation. */
2176
2458
  type: DistanceUnit;
2177
2459
  /** Source of inputted data, defaults to 'manual'. */
2178
- source?: Maybe<TelemetryInputSource>;
2460
+ source?: TelemetryInputSource;
2179
2461
  };
2180
2462
 
2181
2463
  export enum ElevationUnit {
@@ -2199,6 +2481,22 @@ export enum EmissionUnit {
2199
2481
  OUNCE = "ounce"
2200
2482
  }
2201
2483
 
2484
+ export type EmissionsFactor = {
2485
+ /** The name of the area for which the emissions factor was calculated. */
2486
+ name: Scalars["String"];
2487
+ /** The type of area for which the emissions factor was calculated. */
2488
+ type: EmissionsFactorType;
2489
+ /** The base regional emissions factor in CO2e/kWh. */
2490
+ value: Scalars["Float"];
2491
+ };
2492
+
2493
+ /** Emissions factor type. */
2494
+ export enum EmissionsFactorType {
2495
+ COUNTRY = "country",
2496
+ SUBREGION = "subregion",
2497
+ REGION = "region"
2498
+ }
2499
+
2202
2500
  /** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
2203
2501
  export type EvseCustomProperties = {
2204
2502
  /** OICP standard custom properties. */
@@ -2279,11 +2577,50 @@ export type FeaturePointPolygonPropertiesInput = {
2279
2577
  name?: Maybe<Scalars["String"]>;
2280
2578
  };
2281
2579
 
2282
- /** GeoJSON Feature type */
2580
+ /** GeoJSON Feature type. */
2283
2581
  export enum FeatureType {
2284
2582
  FEATURE = "Feature"
2285
2583
  }
2286
2584
 
2585
+ export type FluidEmissions = {
2586
+ /** Total fluid emissions. */
2587
+ total: Scalars["Float"];
2588
+ /** Wiper fluid maintenance emissions. */
2589
+ wiper: Scalars["Float"];
2590
+ /** Brake fluid maintenance emissions. */
2591
+ brake: Scalars["Float"];
2592
+ /** Powertrain coolant fluid maintenance emissions. */
2593
+ powertrain_coolant: Scalars["Float"];
2594
+ /** Transmission fluid maintenance emissions. */
2595
+ transmission: Scalars["Float"];
2596
+ /** Motor oil maintenance emissions. */
2597
+ motor_oil?: Maybe<Scalars["Float"]>;
2598
+ };
2599
+
2600
+ export type FluidEmissionstotalArgs = {
2601
+ unit?: Maybe<EmissionUnit>;
2602
+ };
2603
+
2604
+ export type FluidEmissionswiperArgs = {
2605
+ unit?: Maybe<EmissionUnit>;
2606
+ };
2607
+
2608
+ export type FluidEmissionsbrakeArgs = {
2609
+ unit?: Maybe<EmissionUnit>;
2610
+ };
2611
+
2612
+ export type FluidEmissionspowertrain_coolantArgs = {
2613
+ unit?: Maybe<EmissionUnit>;
2614
+ };
2615
+
2616
+ export type FluidEmissionstransmissionArgs = {
2617
+ unit?: Maybe<EmissionUnit>;
2618
+ };
2619
+
2620
+ export type FluidEmissionsmotor_oilArgs = {
2621
+ unit?: Maybe<EmissionUnit>;
2622
+ };
2623
+
2287
2624
  export enum FuelConsumptionUnit {
2288
2625
  /** Return the fuel consumption in liters per 100 kilometers. */
2289
2626
  LITERS_PER_100_KILOMETERS = "liters_per_100_kilometers",
@@ -2304,6 +2641,7 @@ export type GeometryPoint = {
2304
2641
  coordinates: Array<Scalars["Float"]>;
2305
2642
  };
2306
2643
 
2644
+ /** Mode of heat pump. */
2307
2645
  export enum HeatPumpMode {
2308
2646
  /** Default to the vehicle configuration. */
2309
2647
  DEFAULT = "default",
@@ -2411,9 +2749,9 @@ export type IsolineInput = {
2411
2749
  quality?: Maybe<IsolineQuality>;
2412
2750
  /** Include ferry connections. Single and multiple ferry connections increase the calculation time and the number of polygons. */
2413
2751
  ferry_connections?: Maybe<IsolineFerryConnectionsType>;
2414
- /** Battery state of charge. When omitted the default value is 100 percent. */
2752
+ /** Battery state of charge. Default is usable battery kwh of the inputted vehicle. */
2415
2753
  state_of_charge?: Maybe<StateOfChargeInput>;
2416
- /** Minimum final battery state of charge. When omitted the default value is 0 percent. */
2754
+ /** Minimum final battery state of charge. Default is 0 */
2417
2755
  final_state_of_charge?: Maybe<StateOfChargeInput>;
2418
2756
  };
2419
2757
 
@@ -2581,6 +2919,8 @@ export type Mutation = {
2581
2919
  * This is a premium feature, contact Chargetrip for more information.
2582
2920
  */
2583
2921
  deleteUserReview: Review;
2922
+ /** [BETA] Create a new route from the route input and its ID. */
2923
+ createRoute: Scalars["ID"];
2584
2924
  /** Create a new route from the route input and its ID */
2585
2925
  newRoute?: Maybe<Scalars["ID"]>;
2586
2926
  };
@@ -2629,6 +2969,10 @@ export type MutationdeleteUserReviewArgs = {
2629
2969
  id: Scalars["ID"];
2630
2970
  };
2631
2971
 
2972
+ export type MutationcreateRouteArgs = {
2973
+ input: CreateRouteInput;
2974
+ };
2975
+
2632
2976
  export type MutationnewRouteArgs = {
2633
2977
  input?: Maybe<RequestInput>;
2634
2978
  };
@@ -2675,7 +3019,7 @@ export type NavigationInstructionsInput = {
2675
3019
  instructions_format: InstructionsFormat;
2676
3020
  /** Preferred navigation instructions language. Default: en */
2677
3021
  language?: Maybe<MappingLanguage>;
2678
- /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6, the default is 5 */
3022
+ /** Number of decimals used for the Google Polyline encoding Algorithm. Allowed values are 5 or 6. */
2679
3023
  precision?: Maybe<Scalars["Int"]>;
2680
3024
  };
2681
3025
 
@@ -2974,9 +3318,9 @@ export type OCPIEnvironmentalImpact = {
2974
3318
 
2975
3319
  /** Categories of environmental impact values. */
2976
3320
  export enum OCPIEnvironmentalImpactCategory {
2977
- /** Produced nuclear waste in grams per kilowatthour. */
3321
+ /** Produced nuclear waste in g/kWh. */
2978
3322
  NUCLEAR_WASTE = "NUCLEAR_WASTE",
2979
- /** Exhausted carbon dioxide in grams per kilowatthour. */
3323
+ /** Exhausted carbon dioxide in g/kWh. */
2980
3324
  CARBON_DIOXIDE = "CARBON_DIOXIDE"
2981
3325
  }
2982
3326
 
@@ -3376,7 +3720,7 @@ export type OdometerInput = {
3376
3720
  /** Type of the value of the vehicle's odometer. */
3377
3721
  type: DistanceUnit;
3378
3722
  /** Source of inputted data, defaults to 'manual'. */
3379
- source?: Maybe<TelemetryInputSource>;
3723
+ source?: TelemetryInputSource;
3380
3724
  };
3381
3725
 
3382
3726
  /** Operator data which extends OCPI BusinessDetails. */
@@ -3437,6 +3781,15 @@ export type OutsideTempInput = {
3437
3781
  source?: Maybe<TelemetryInputSource>;
3438
3782
  };
3439
3783
 
3784
+ export type OutsideTemperatureInput = {
3785
+ /** Value of the outside temperature. */
3786
+ value: Scalars["Float"];
3787
+ /** Type of the value of the outside temperature. */
3788
+ type: TemperatureUnit;
3789
+ /** Source of inputted data. */
3790
+ source?: TelemetryInputSource;
3791
+ };
3792
+
3440
3793
  export enum ParkingCost {
3441
3794
  /** Parking is free. */
3442
3795
  FREE = "free",
@@ -3461,11 +3814,11 @@ export type PathSegment = {
3461
3814
  stateOfCharge?: Maybe<Scalars["Float"]>;
3462
3815
  };
3463
3816
 
3464
- /** A GeoJSON Point */
3817
+ /** A GeoJSON Point. */
3465
3818
  export type Point = {
3466
- /** Point type */
3819
+ /** Point type. */
3467
3820
  type: PointType;
3468
- /** The coordinates array with longitude as first value and latitude as second one */
3821
+ /** The coordinates array with longitude as first value and latitude as second one. */
3469
3822
  coordinates: Array<Scalars["Float"]>;
3470
3823
  };
3471
3824
 
@@ -3477,7 +3830,7 @@ export type PointInput = {
3477
3830
  coordinates: Array<Scalars["Float"]>;
3478
3831
  };
3479
3832
 
3480
- /** GeoJSON Point type */
3833
+ /** GeoJSON Point type. */
3481
3834
  export enum PointType {
3482
3835
  POINT = "Point"
3483
3836
  }
@@ -3488,6 +3841,12 @@ export type PolygonProperties = {
3488
3841
  index?: Maybe<Scalars["Int"]>;
3489
3842
  };
3490
3843
 
3844
+ /** Number of decimals for a polyline. */
3845
+ export enum PolylineInputDecimals {
3846
+ FIVE = "five",
3847
+ SIX = "six"
3848
+ }
3849
+
3491
3850
  export type PowerInput = {
3492
3851
  /** Value of the positive or negative power. When negative the vehicle is charging. */
3493
3852
  value: Scalars["Float"];
@@ -3529,6 +3888,7 @@ export enum PowerUnit {
3529
3888
  HORSEPOWER = "horsepower"
3530
3889
  }
3531
3890
 
3891
+ /** Pressure units. */
3532
3892
  export enum PressureUnit {
3533
3893
  /** Return the pressure in bar. */
3534
3894
  BAR = "bar",
@@ -3536,18 +3896,6 @@ export enum PressureUnit {
3536
3896
  POUNDS_PER_SQUARE_INCH = "pounds_per_square_inch"
3537
3897
  }
3538
3898
 
3539
- /** The price model. */
3540
- export type Price = {
3541
- /** The value of the price. */
3542
- value?: Maybe<Scalars["String"]>;
3543
- /** The currency of the price. */
3544
- currency?: Maybe<Scalars["String"]>;
3545
- /** The pricing model. */
3546
- model?: Maybe<Scalars["String"]>;
3547
- /** The value of the price which should be display by the frontend. */
3548
- displayValue?: Maybe<Scalars["String"]>;
3549
- };
3550
-
3551
3899
  export type Pricing = {
3552
3900
  /** Unique ID of a price. */
3553
3901
  id?: Maybe<Scalars["String"]>;
@@ -3600,11 +3948,11 @@ export type PricingListProduct = {
3600
3948
  export type Query = {
3601
3949
  /** Get a full list of amenities around a station */
3602
3950
  amenityList?: Maybe<Array<Maybe<Amenity>>>;
3603
- /** Get information about a car by its ID. */
3951
+ /** Deprecated: In favor of vehicle. */
3604
3952
  car?: Maybe<Car>;
3605
- /** Car premium data provides even more information about your car: tire pressure, prices, drivetrain data, and more. Please contact us for access to premium data. */
3953
+ /** Deprecated: In favor of VehiclePremium. */
3606
3954
  carPremium?: Maybe<CarPremium>;
3607
- /** Get a full list of cars. */
3955
+ /** Deprecated: In favor of VehicleList. */
3608
3956
  carList?: Maybe<Array<Maybe<CarList>>>;
3609
3957
  /** [BETA] Get a connected vehicles by id */
3610
3958
  connectedVehicle?: Maybe<ConnectedVehicle>;
@@ -3616,11 +3964,11 @@ export type Query = {
3616
3964
  isoline?: Maybe<Isoline>;
3617
3965
  /** [BETA] Get a navigation session by ID */
3618
3966
  navigation?: Maybe<Navigation>;
3619
- /** Get a full list of operators */
3967
+ /** Get a full list of operators. */
3620
3968
  operatorList?: Maybe<Array<Maybe<Operator>>>;
3621
- /** Get information about an operator by its ID */
3969
+ /** Get information about an operator by its ID. */
3622
3970
  operator?: Maybe<Operator>;
3623
- /** Get all reviews of a station by the station ID */
3971
+ /** Get all reviews of a station by the station ID. */
3624
3972
  reviewList?: Maybe<Array<Review>>;
3625
3973
  /**
3626
3974
  * Get all reviews of stations that were added by an authenticated user.
@@ -3630,6 +3978,10 @@ export type Query = {
3630
3978
  userReviewList?: Maybe<Array<Review>>;
3631
3979
  /** Get a route by ID */
3632
3980
  route?: Maybe<Route>;
3981
+ /** [BETA] Get a route by ID. */
3982
+ getRoute: RouteResponse;
3983
+ /** [BETA] Get emissions for a route. */
3984
+ getRouteEmissions: RouteDetailsEmissions;
3633
3985
  /** [BETA] Emissions profile for route. */
3634
3986
  routeEmissions: RouteEmissions;
3635
3987
  /** Retrieve information about a route path segment */
@@ -3642,17 +3994,17 @@ export type Query = {
3642
3994
  stationList?: Maybe<Array<Maybe<Station>>>;
3643
3995
  /** Search for stations around a GeoJSON point with a specific distance in meters. */
3644
3996
  stationAround?: Maybe<Array<Maybe<Station>>>;
3645
- /** Get information about a tariff by the tariff ID */
3997
+ /** Get information about a tariff by the tariff ID. */
3646
3998
  tariff?: Maybe<OCPITariff>;
3647
- /** Get the full list of tariffs */
3999
+ /** Get the full list of tariffs. */
3648
4000
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
3649
4001
  /** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
3650
4002
  navigationMapping?: Maybe<Scalars["JSON"]>;
3651
- /** [BETA] Get information about a vehicle by its ID. */
4003
+ /** Get information about a vehicle by its ID. */
3652
4004
  vehicle?: Maybe<Vehicle>;
3653
- /** [BETA] 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. */
4005
+ /** 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. */
3654
4006
  vehiclePremium?: Maybe<VehiclePremium>;
3655
- /** [BETA] Get a full list of vehicles. */
4007
+ /** Get a full list of vehicles. */
3656
4008
  vehicleList?: Maybe<Array<Maybe<VehicleList>>>;
3657
4009
  };
3658
4010
 
@@ -3726,6 +4078,15 @@ export type QueryrouteArgs = {
3726
4078
  id: Scalars["ID"];
3727
4079
  };
3728
4080
 
4081
+ export type QuerygetRouteArgs = {
4082
+ id: Scalars["ID"];
4083
+ };
4084
+
4085
+ export type QuerygetRouteEmissionsArgs = {
4086
+ route_id: Scalars["ID"];
4087
+ route_details_id: Scalars["ID"];
4088
+ };
4089
+
3729
4090
  export type QueryrouteEmissionsArgs = {
3730
4091
  route_id: Scalars["ID"];
3731
4092
  route_alternative_id?: Maybe<Scalars["ID"]>;
@@ -3809,7 +4170,7 @@ export type RequestEv = {
3809
4170
  adapters?: Maybe<Array<Maybe<RequestEvPlug>>>;
3810
4171
  /** Minimum desired power of chargers. */
3811
4172
  minPower?: Maybe<Scalars["Int"]>;
3812
- /** Climate is on. The default is true. */
4173
+ /** Climate is on. */
3813
4174
  climate?: Maybe<Scalars["Boolean"]>;
3814
4175
  /** Vehicle Heat Pump configuration. */
3815
4176
  heatPump?: Maybe<HeatPumpMode>;
@@ -3888,7 +4249,7 @@ export type RequestEvCabinInput = {
3888
4249
  };
3889
4250
 
3890
4251
  export type RequestEvConsumption = {
3891
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
4252
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
3892
4253
  auxiliary?: Maybe<Scalars["Float"]>;
3893
4254
  /**
3894
4255
  * Consumption, in kWh, of the auxiliaries.
@@ -3908,7 +4269,7 @@ export type RequestEvConsumption = {
3908
4269
  };
3909
4270
 
3910
4271
  export type RequestEvConsumptionInput = {
3911
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc. */
4272
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc. */
3912
4273
  auxiliary?: Maybe<Scalars["Float"]>;
3913
4274
  /** Deprecated in favor of auxiliary. */
3914
4275
  aux?: Maybe<CarConsumptionInput>;
@@ -3929,7 +4290,7 @@ export type RequestEvInput = {
3929
4290
  adapters?: Maybe<Array<Maybe<RequestEvPlugInput>>>;
3930
4291
  /** Minimum desired power of chargers. */
3931
4292
  minPower?: Maybe<Scalars["Int"]>;
3932
- /** Flag which indicates if the climate is on. The default is true. */
4293
+ /** Flag which indicates if the climate is on. */
3933
4294
  climate?: Maybe<Scalars["Boolean"]>;
3934
4295
  /** Vehicle Heat Pump configuration. */
3935
4296
  heatPump?: Maybe<HeatPumpMode>;
@@ -3997,7 +4358,7 @@ export type RequestRoute = {
3997
4358
  operators?: Maybe<RouteOperators>;
3998
4359
  /** Season. */
3999
4360
  season?: Maybe<RouteSeason>;
4000
- /** Percentage for the minimum limit of the battery capacity before a recharge. The value should be between 0 and 60, with a default of 10%. */
4361
+ /** Percentage for the minimum limit of the battery capacity before a recharge. The value should be between 0 and 60. When omitted, the project configuration is used. */
4001
4362
  safeRiskMargin?: Maybe<Scalars["Int"]>;
4002
4363
  /** Origin of a route. */
4003
4364
  origin?: Maybe<FeaturePoint>;
@@ -4028,7 +4389,7 @@ export type RequestRouteInput = {
4028
4389
  operators?: Maybe<RouteOperatorsInput>;
4029
4390
  /** Optional flag to specify the season. */
4030
4391
  season?: Maybe<RouteSeason>;
4031
- /** Percentage for a minimum limit of a battery capacity before a recharge. The value should be between 0 and 60, with a default of 10%. */
4392
+ /** Percentage for a minimum limit of a battery capacity before a recharge. The value should be between 0 and 60. When omitted, the project configuration is used. */
4032
4393
  safeRiskMargin?: Maybe<Scalars["Int"]>;
4033
4394
  /** Mode that indicates if we optimize the charging time or always charge to the maximum capacity. */
4034
4395
  chargeMode?: Maybe<ChargeMode>;
@@ -4064,7 +4425,7 @@ export type Review = {
4064
4425
  /** Locale of a message. */
4065
4426
  locale?: Maybe<Scalars["String"]>;
4066
4427
  /** Vehicle that was provided/selected by a user. */
4067
- ev?: Maybe<Car>;
4428
+ ev?: Maybe<Vehicle>;
4068
4429
  /** Plug type that was provided/selected by a user. */
4069
4430
  plugType?: Maybe<ConnectorType>;
4070
4431
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer. */
@@ -4284,188 +4645,642 @@ export type RouteApp = {
4284
4645
  id?: Maybe<Scalars["ID"]>;
4285
4646
  };
4286
4647
 
4287
- export type RouteEmbeddedEmissions = {
4288
- /** Total embedded emissions. */
4289
- total: Scalars["Float"];
4290
- /** Total manufacturing emissions. */
4291
- manufacturing: RouteEmbeddedManufacturingEmissions;
4292
- /** Total distribution related emissions. */
4293
- distribution: Scalars["Float"];
4294
- /** Distribution sea segment emissions. */
4295
- maritime: RouteEmbeddedMaritimeEmissions;
4296
- /** Distribution land segment emissions. */
4297
- land: RouteEmbeddedLandEmissions;
4298
- };
4299
-
4300
- export type RouteEmbeddedEmissionstotalArgs = {
4301
- unit?: Maybe<EmissionUnit>;
4302
- };
4303
-
4304
- export type RouteEmbeddedEmissionsdistributionArgs = {
4305
- unit?: Maybe<EmissionUnit>;
4306
- };
4307
-
4308
- export type RouteEmbeddedLandEmissions = {
4309
- /** Total embedded land emissions. */
4310
- total: Scalars["Float"];
4311
- /** Distribution land segment emissions from fuel consumption. */
4312
- fuel: Scalars["Float"];
4313
- /** Distribution land segment lifecycle emissions. */
4314
- lifecycle: Scalars["Float"];
4315
- };
4316
-
4317
- export type RouteEmbeddedLandEmissionstotalArgs = {
4318
- unit?: Maybe<EmissionUnit>;
4648
+ export type RouteDestinationFeaturePoint = {
4649
+ /** Feature type. */
4650
+ type: FeatureType;
4651
+ /** Geometry of the feature. */
4652
+ geometry: Point;
4653
+ /** Optional object where additional properties can be specified. */
4654
+ properties?: Maybe<RouteDestinationProperties>;
4319
4655
  };
4320
4656
 
4321
- export type RouteEmbeddedLandEmissionsfuelArgs = {
4322
- unit?: Maybe<EmissionUnit>;
4657
+ export type RouteDestinationFeaturePointInput = {
4658
+ /** Feature type. */
4659
+ type: FeatureType;
4660
+ /** Geometry of the feature. */
4661
+ geometry: PointInput;
4662
+ /** Optional object where additional properties can be specified. */
4663
+ properties?: Maybe<RouteDestinationPropertiesInput>;
4323
4664
  };
4324
4665
 
4325
- export type RouteEmbeddedLandEmissionslifecycleArgs = {
4326
- unit?: Maybe<EmissionUnit>;
4666
+ export type RouteDestinationProperties = {
4667
+ /** Data about the destination location. */
4668
+ location?: Maybe<RoutePropertiesLocation>;
4669
+ /** Data about the destination station. */
4670
+ station?: Maybe<RoutePropertiesStation>;
4327
4671
  };
4328
4672
 
4329
- export type RouteEmbeddedManufacturingEmissions = {
4330
- /** Total embedded manufacturing emissions. */
4331
- total: Scalars["Float"];
4332
- /** Body manufacturing emissions. */
4333
- body: Scalars["Float"];
4334
- /** Lithium ion battery manufacturing emissions. */
4335
- battery?: Maybe<Scalars["Float"]>;
4673
+ export type RouteDestinationPropertiesInput = {
4674
+ /** Data about the destination location. */
4675
+ location?: Maybe<RoutePropertiesLocationInput>;
4676
+ /** Data about the destination station. */
4677
+ station?: Maybe<RoutePropertiesStationInput>;
4336
4678
  };
4337
4679
 
4338
- export type RouteEmbeddedManufacturingEmissionstotalArgs = {
4339
- unit?: Maybe<EmissionUnit>;
4680
+ export type RouteDetails = {
4681
+ /** ID of a route computation. */
4682
+ id: Scalars["ID"];
4683
+ /** Type of a computed route. */
4684
+ type: RouteDetailsType;
4685
+ /** Aggregation of the connectors. */
4686
+ connectors: RouteDetailsConnectors;
4687
+ /** Total distance of a route. */
4688
+ distance: Scalars["Float"];
4689
+ /** Aggregation of all durations of a route. */
4690
+ durations: RouteDetailsDurations;
4691
+ /** Total energy used for a route in kilowatt hours. */
4692
+ consumption: Scalars["Float"];
4693
+ /** Range available at the beginning of a trip. */
4694
+ range_at_origin: Scalars["Float"];
4695
+ /** Range available at the end of a trip. */
4696
+ range_at_destination: Scalars["Float"];
4697
+ /** Text information about a route direction. */
4698
+ via?: Maybe<Scalars["String"]>;
4699
+ /** Polyline containing encoded coordinates. */
4700
+ polyline?: Maybe<Scalars["String"]>;
4701
+ /** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments. */
4702
+ path_plot: Array<RouteDetailsPathSegment>;
4703
+ /** Details about elevation on a route. */
4704
+ elevation: RouteDetailsElevation;
4705
+ /** Money saving information. */
4706
+ savings?: Maybe<RouteDetailsSavings>;
4707
+ /** Legs of a route. */
4708
+ legs: Array<RouteDetailsLeg>;
4709
+ alternative_stations: Array<RouteDetailsAlternativeStation>;
4710
+ /** Aggregation of tags over the current RouteDetails. Tags are available on legs and further subdivided over individual sections and maneuvers. */
4711
+ tags: Array<RouteDetailsTag>;
4712
+ /** Number of charges along a route. */
4713
+ charges: Scalars["Int"];
4340
4714
  };
4341
4715
 
4342
- export type RouteEmbeddedManufacturingEmissionsbodyArgs = {
4343
- unit?: Maybe<EmissionUnit>;
4716
+ export type RouteDetailsdistanceArgs = {
4717
+ unit?: Maybe<DistanceUnit>;
4344
4718
  };
4345
4719
 
4346
- export type RouteEmbeddedManufacturingEmissionsbatteryArgs = {
4347
- unit?: Maybe<EmissionUnit>;
4720
+ export type RouteDetailsrange_at_originArgs = {
4721
+ unit?: Maybe<StateOfChargeUnit>;
4348
4722
  };
4349
4723
 
4350
- export type RouteEmbeddedMaritimeEmissions = {
4351
- /** Total embedded maritime emissions. */
4352
- total: Scalars["Float"];
4353
- /** Fuel related sea segment emissions. */
4354
- fuel: Scalars["Float"];
4355
- /** Port facility related sea segment emissions. */
4356
- port: Scalars["Float"];
4357
- /** Idling related sea segment emissions. */
4358
- idle: Scalars["Float"];
4359
- /** Distributed lifecycle related sea segment emissions. */
4360
- lifecycle: Scalars["Float"];
4724
+ export type RouteDetailsrange_at_destinationArgs = {
4725
+ unit?: Maybe<StateOfChargeUnit>;
4361
4726
  };
4362
4727
 
4363
- export type RouteEmbeddedMaritimeEmissionstotalArgs = {
4364
- unit?: Maybe<EmissionUnit>;
4728
+ export type RouteDetailspolylineArgs = {
4729
+ decimals: PolylineInputDecimals;
4365
4730
  };
4366
4731
 
4367
- export type RouteEmbeddedMaritimeEmissionsfuelArgs = {
4368
- unit?: Maybe<EmissionUnit>;
4732
+ export type RouteDetailsAlternativeStation = {
4733
+ /** ID of a station. */
4734
+ id: Scalars["ID"];
4735
+ /** GeoJSON location of a station. */
4736
+ location: Point;
4737
+ /** Speed of a station. A station along a route can be either fast or turbo. */
4738
+ speed: StationSpeedType;
4739
+ /** Status of a station. */
4740
+ status: ChargerStatus;
4741
+ /** Ranking of an operator. */
4742
+ operator_ranking?: Maybe<Scalars["Int"]>;
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"];
4765
+ };
4766
+
4767
+ /** Aggregation of all durations of a route. */
4768
+ export type RouteDetailsDurations = {
4769
+ /** Total duration, in seconds. */
4770
+ total: Scalars["Int"];
4771
+ /** Total duration charging, in seconds. */
4772
+ charging: Scalars["Int"];
4773
+ /** Total duration driving, in seconds. */
4774
+ driving: Scalars["Int"];
4775
+ /** Total duration stopped for a short stay, for example at a via point, in seconds. */
4776
+ stopover: Scalars["Int"];
4777
+ /** Total duration of ferry rides, in seconds. */
4778
+ ferry?: Maybe<Scalars["Int"]>;
4779
+ };
4780
+
4781
+ export type RouteDetailsElevation = {
4782
+ /** Total value driving uphill on a route. */
4783
+ up: Scalars["Float"];
4784
+ /** Total value driving downhill on a route. */
4785
+ down: Scalars["Float"];
4786
+ /** Maximum elevation on a route. */
4787
+ maximum: Scalars["Float"];
4788
+ /** Minimum elevation on a route. */
4789
+ minimum: Scalars["Float"];
4790
+ };
4791
+
4792
+ export type RouteDetailsElevationupArgs = {
4793
+ unit?: Maybe<DistanceUnit>;
4369
4794
  };
4370
4795
 
4371
- export type RouteEmbeddedMaritimeEmissionsportArgs = {
4372
- unit?: Maybe<EmissionUnit>;
4796
+ export type RouteDetailsElevationdownArgs = {
4797
+ unit?: Maybe<DistanceUnit>;
4373
4798
  };
4374
4799
 
4375
- export type RouteEmbeddedMaritimeEmissionsidleArgs = {
4376
- unit?: Maybe<EmissionUnit>;
4800
+ export type RouteDetailsElevationmaximumArgs = {
4801
+ unit?: Maybe<DistanceUnit>;
4377
4802
  };
4378
4803
 
4379
- export type RouteEmbeddedMaritimeEmissionslifecycleArgs = {
4380
- unit?: Maybe<EmissionUnit>;
4804
+ export type RouteDetailsElevationminimumArgs = {
4805
+ unit?: Maybe<DistanceUnit>;
4381
4806
  };
4382
4807
 
4383
- export type RouteEmissions = {
4808
+ export type RouteDetailsEmissions = {
4384
4809
  /** ID of the route for which we retrieve the emissions profile. */
4385
4810
  route_id: Scalars["ID"];
4386
- /** ID of the route alternative for which we retrieve the emissions profile. */
4387
4811
  route_alternative_id: Scalars["ID"];
4388
4812
  /** Emissions profile for the vehicle used in route. */
4389
4813
  route_vehicle: RouteVehicleEmissions;
4390
- /** Emissions profile for an equivalent internal combustion engine vehicle. */
4391
4814
  internal_combustion_vehicle: RouteInternalCombustionVehicleEmissions;
4815
+ /** Estimated GHG emissions saved by a user driving this route with the electric vehicle in grams of CO2e. */
4816
+ co2e_saved: Scalars["Float"];
4392
4817
  };
4393
4818
 
4394
- export type RouteEmissionsinternal_combustion_vehicleArgs = {
4819
+ export type RouteDetailsEmissionsinternal_combustion_vehicleArgs = {
4395
4820
  fuel_type?: Maybe<RouteOperationalFuelType>;
4396
4821
  };
4397
4822
 
4398
- export type RouteEndOfLifeEmissions = {
4399
- /** Total end of life emissions. */
4400
- total: Scalars["Float"];
4401
- /** Total fluid related end of life emissions. */
4402
- fluids: RouteEndOfLifeFluidsEmissions;
4403
- /** Battery related end of life emissions. */
4404
- battery: Scalars["Float"];
4405
- /** Tire related end of life emissions. */
4406
- tires: Scalars["Float"];
4407
- /** Body end of life emissions. */
4408
- body: Scalars["Float"];
4409
- /** Transport end of life emissions. */
4410
- transport: Scalars["Float"];
4823
+ export type RouteDetailsEmissionsco2e_savedArgs = {
4824
+ unit?: Maybe<EmissionUnit>;
4411
4825
  };
4412
4826
 
4413
- export type RouteEndOfLifeEmissionstotalArgs = {
4414
- unit?: Maybe<EmissionUnit>;
4827
+ /** Leg of a route detail. */
4828
+ export type RouteDetailsLeg = {
4829
+ /** Distance from the start to the end of a leg. */
4830
+ distance: Scalars["Float"];
4831
+ /** Aggregation of all durations of a route leg. */
4832
+ durations: RouteDetailsDurations;
4833
+ /** Total energy used in a leg in kilowatt hours. */
4834
+ consumption: Scalars["Float"];
4835
+ /** Origin point location. */
4836
+ origin: RouteDetailsLegFeaturePoint;
4837
+ /** Destination point location. */
4838
+ destination: RouteDetailsLegFeaturePoint;
4839
+ /** Range at the origin of the leg. */
4840
+ range_at_origin: Scalars["Float"];
4841
+ /** Range at the destination of the leg. */
4842
+ range_at_destination: Scalars["Float"];
4843
+ /** Range after charging on the leg. */
4844
+ range_after_charge?: Maybe<Scalars["Float"]>;
4845
+ /** Type of a leg. */
4846
+ 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
+ /** Information about the station at the origin of this leg. */
4850
+ station?: Maybe<RouteDetailsLegStation>;
4851
+ /** Aggregation of the connectors on the leg. */
4852
+ connectors: RouteDetailsConnectors;
4853
+ /** Polyline containing encoded coordinates. */
4854
+ polyline: Scalars["String"];
4855
+ /** Aggregation of tags over the current leg. Tags are further subdivided over individual sections and maneuvers. */
4856
+ tags: Array<RouteDetailsTag>;
4857
+ /** Maneuvers of a leg - used to generate turn-by-turn instructions. */
4858
+ maneuvers: Array<RouteDetailsManeuver>;
4859
+ /** Road sections of a leg - divided by means of transportation. */
4860
+ sections: Array<RouteDetailsLegSection>;
4415
4861
  };
4416
4862
 
4417
- export type RouteEndOfLifeEmissionsbatteryArgs = {
4418
- unit?: Maybe<EmissionUnit>;
4863
+ /** Leg of a route detail. */
4864
+ export type RouteDetailsLegdistanceArgs = {
4865
+ unit?: Maybe<DistanceUnit>;
4419
4866
  };
4420
4867
 
4421
- export type RouteEndOfLifeEmissionstiresArgs = {
4422
- unit?: Maybe<EmissionUnit>;
4868
+ /** Leg of a route detail. */
4869
+ export type RouteDetailsLegrange_at_originArgs = {
4870
+ unit?: Maybe<StateOfChargeUnit>;
4423
4871
  };
4424
4872
 
4425
- export type RouteEndOfLifeEmissionsbodyArgs = {
4426
- unit?: Maybe<EmissionUnit>;
4873
+ /** Leg of a route detail. */
4874
+ export type RouteDetailsLegrange_at_destinationArgs = {
4875
+ unit?: Maybe<StateOfChargeUnit>;
4427
4876
  };
4428
4877
 
4429
- export type RouteEndOfLifeEmissionstransportArgs = {
4430
- unit?: Maybe<EmissionUnit>;
4878
+ /** Leg of a route detail. */
4879
+ export type RouteDetailsLegrange_after_chargeArgs = {
4880
+ unit?: Maybe<StateOfChargeUnit>;
4431
4881
  };
4432
4882
 
4433
- export type RouteEndOfLifeFluidsEmissions = {
4434
- /** Total end of life fluids emissions. */
4435
- total: Scalars["Float"];
4436
- /** Total wiper fluid end of life emissions. */
4437
- wiper: Scalars["Float"];
4438
- /** Total brake fluid end of life emissions. */
4439
- brake: Scalars["Float"];
4440
- /** Total powertrain coolant fluid end of life emissions. */
4441
- coolant: Scalars["Float"];
4442
- /** Total transmission fluid end of life emissions. */
4443
- transmission: Scalars["Float"];
4444
- /** Total motor oil end of life emissions. */
4445
- motor_oil?: Maybe<Scalars["Float"]>;
4883
+ /** Leg of a route detail. */
4884
+ export type RouteDetailsLegpolylineArgs = {
4885
+ decimals: PolylineInputDecimals;
4446
4886
  };
4447
4887
 
4448
- export type RouteEndOfLifeFluidsEmissionstotalArgs = {
4449
- unit?: Maybe<EmissionUnit>;
4888
+ export type RouteDetailsLegFeaturePoint = {
4889
+ /** Feature type. */
4890
+ type: FeatureType;
4891
+ /** Geometry of the feature. */
4892
+ geometry: Point;
4893
+ /** Properties of the feature. */
4894
+ properties?: Maybe<RouteDetailsLegFeatureProperties>;
4450
4895
  };
4451
4896
 
4452
- export type RouteEndOfLifeFluidsEmissionswiperArgs = {
4453
- unit?: Maybe<EmissionUnit>;
4897
+ export type RouteDetailsLegFeatureProperties = {
4898
+ /** Name of the location. */
4899
+ name?: Maybe<Scalars["String"]>;
4900
+ /** ID of the station. */
4901
+ station_id?: Maybe<Scalars["ID"]>;
4902
+ /** External ID of the station. */
4903
+ external_station_id?: Maybe<Scalars["ID"]>;
4904
+ /** Temperature at the location. */
4905
+ temperature?: Maybe<Scalars["Float"]>;
4906
+ /** Air pressure at the location. */
4907
+ air_pressure?: Maybe<Scalars["Float"]>;
4908
+ /** Solar irradiance at the location. */
4909
+ solar_irradiance?: Maybe<Scalars["Float"]>;
4910
+ /** Duration, in seconds, of time spent at this location. */
4911
+ duration?: Maybe<Scalars["Int"]>;
4912
+ /** Number of occupants present in the vehicle. */
4913
+ occupants?: Maybe<Scalars["Int"]>;
4914
+ /** Value of the current weight of the occupants. */
4915
+ total_occupant_weight?: Maybe<Scalars["Float"]>;
4916
+ /** Value of the current weight of the cargo. */
4917
+ total_cargo_weight?: Maybe<Scalars["Float"]>;
4454
4918
  };
4455
4919
 
4456
- export type RouteEndOfLifeFluidsEmissionsbrakeArgs = {
4457
- unit?: Maybe<EmissionUnit>;
4920
+ export type RouteDetailsLegFeaturePropertiestemperatureArgs = {
4921
+ unit?: Maybe<TemperatureUnit>;
4458
4922
  };
4459
4923
 
4460
- export type RouteEndOfLifeFluidsEmissionscoolantArgs = {
4461
- unit?: Maybe<EmissionUnit>;
4924
+ export type RouteDetailsLegFeaturePropertiestotal_occupant_weightArgs = {
4925
+ unit?: Maybe<WeightUnit>;
4462
4926
  };
4463
4927
 
4464
- export type RouteEndOfLifeFluidsEmissionstransmissionArgs = {
4465
- unit?: Maybe<EmissionUnit>;
4928
+ export type RouteDetailsLegFeaturePropertiestotal_cargo_weightArgs = {
4929
+ unit?: Maybe<WeightUnit>;
4466
4930
  };
4467
4931
 
4468
- export type RouteEndOfLifeFluidsEmissionsmotor_oilArgs = {
4932
+ export type RouteDetailsLegManeuverPoints = {
4933
+ /** Number of polyline points which are included in this instruction. */
4934
+ size: Scalars["Int"];
4935
+ /** Interval of points that are included in this instruction, an array with 2 values, where the first value is the index of the polyline where the interval starts. The second value is where it ends. */
4936
+ interval: Array<Scalars["Int"]>;
4937
+ };
4938
+
4939
+ /** Type of a maneuver indicating the main action. */
4940
+ export enum RouteDetailsLegManeuverType {
4941
+ UNKNOWN = "UNKNOWN",
4942
+ U_TURN_UNKNOWN = "U_TURN_UNKNOWN",
4943
+ U_TURN_LEFT = "U_TURN_LEFT",
4944
+ KEEP_LEFT = "KEEP_LEFT",
4945
+ LEAVE_ROUNDABOUT = "LEAVE_ROUNDABOUT",
4946
+ TURN_SHARP_LEFT = "TURN_SHARP_LEFT",
4947
+ TURN_LEFT = "TURN_LEFT",
4948
+ TURN_SLIGHT_LEFT = "TURN_SLIGHT_LEFT",
4949
+ CONTINUE_ON_STREET = "CONTINUE_ON_STREET",
4950
+ TURN_SLIGHT_RIGHT = "TURN_SLIGHT_RIGHT",
4951
+ TURN_RIGHT = "TURN_RIGHT",
4952
+ TURN_SHARP_RIGHT = "TURN_SHARP_RIGHT",
4953
+ FINISH = "FINISH",
4954
+ REACHED_VIA = "REACHED_VIA",
4955
+ REACHED_CHARGING_STATION = "REACHED_CHARGING_STATION",
4956
+ USE_ROUNDABOUT = "USE_ROUNDABOUT",
4957
+ KEEP_RIGHT = "KEEP_RIGHT",
4958
+ U_TURN_RIGHT = "U_TURN_RIGHT",
4959
+ PT_START_TRIP = "PT_START_TRIP",
4960
+ PT_TRANSFER = "PT_TRANSFER",
4961
+ PT_END_TRIP = "PT_END_TRIP",
4962
+ IGNORE = "IGNORE"
4963
+ }
4964
+
4965
+ export type RouteDetailsLegSection = {
4966
+ /** Section type. */
4967
+ type: RouteDetailsLegSectionType;
4968
+ /** Origin point. */
4969
+ origin: RouteDetailsLegSectionFeaturePoint;
4970
+ /** Destination point. */
4971
+ destination: RouteDetailsLegSectionFeaturePoint;
4972
+ /** Aggregation of tags over the current section. */
4973
+ tags: Array<RouteDetailsTag>;
4974
+ /** Polyline containing encoded coordinates. */
4975
+ polyline?: Maybe<Scalars["String"]>;
4976
+ /** Distance from the start to the end of a section. */
4977
+ distance: Scalars["Float"];
4978
+ /** Total drive time from the start to the end of a section, in seconds. */
4979
+ duration: Scalars["Float"];
4980
+ /** Total energy used in a section in kilowatt-hours. */
4981
+ consumption: Scalars["Float"];
4982
+ };
4983
+
4984
+ export type RouteDetailsLegSectionpolylineArgs = {
4985
+ decimals: PolylineInputDecimals;
4986
+ };
4987
+
4988
+ export type RouteDetailsLegSectiondistanceArgs = {
4989
+ unit?: Maybe<DistanceUnit>;
4990
+ };
4991
+
4992
+ export type RouteDetailsLegSectionFeaturePoint = {
4993
+ /** Feature type. */
4994
+ type: FeatureType;
4995
+ /** Geometry of the feature. */
4996
+ geometry: Point;
4997
+ /** Properties of the feature. */
4998
+ properties: RouteDetailsLegSectionFeaturePointProperties;
4999
+ };
5000
+
5001
+ export type RouteDetailsLegSectionFeaturePointProperties = {
5002
+ /** Number of occupants present in the vehicle. */
5003
+ occupants: Scalars["Int"];
5004
+ /** Value of the current weight of the occupants. */
5005
+ total_occupant_weight?: Maybe<Scalars["Float"]>;
5006
+ /** Value of the current weight of the cargo. */
5007
+ total_cargo_weight?: Maybe<Scalars["Float"]>;
5008
+ };
5009
+
5010
+ export type RouteDetailsLegSectionFeaturePointPropertiestotal_occupant_weightArgs = {
5011
+ unit?: Maybe<WeightUnit>;
5012
+ };
5013
+
5014
+ export type RouteDetailsLegSectionFeaturePointPropertiestotal_cargo_weightArgs = {
5015
+ unit?: Maybe<WeightUnit>;
5016
+ };
5017
+
5018
+ /** Type of a route details leg section. */
5019
+ export enum RouteDetailsLegSectionType {
5020
+ DRIVING = "driving",
5021
+ FERRY = "ferry",
5022
+ WALKING = "walking"
5023
+ }
5024
+
5025
+ export type RouteDetailsLegStation = {
5026
+ /** ID of a station. */
5027
+ 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
+ /** ID of the EVSE that was selected in a route. */
5035
+ evse_uid?: Maybe<Scalars["ID"]>;
5036
+ /** ID of the connector that was selected in a route. */
5037
+ connector_id?: Maybe<Scalars["ID"]>;
5038
+ /** List of amenities present at the station. */
5039
+ amenities?: Maybe<Array<AmenityType>>;
5040
+ };
5041
+
5042
+ /** Type of a leg. */
5043
+ export enum RouteDetailsLegType {
5044
+ STATION = "station",
5045
+ STATION_VIA = "station_via",
5046
+ STATION_FINAL = "station_final",
5047
+ STATION_AMENITY = "station_amenity",
5048
+ VIA = "via",
5049
+ FINAL = "final"
5050
+ }
5051
+
5052
+ export type RouteDetailsManeuver = {
5053
+ /** Type of instruction. */
5054
+ type: RouteDetailsLegManeuverType;
5055
+ /** Location of the maneuver. */
5056
+ location?: Maybe<RouteDetailsLegFeaturePoint>;
5057
+ /** Name of the street on which an instruction is. */
5058
+ name?: Maybe<Scalars["String"]>;
5059
+ /** Distance, in meters, of a route instruction. */
5060
+ distance: Scalars["Float"];
5061
+ /** Duration, in seconds, of a route instruction. */
5062
+ duration: Scalars["Int"];
5063
+ /** Information about the points on a polyline. */
5064
+ points: RouteDetailsLegManeuverPoints;
5065
+ /** Exit number on a roundabout. This field exists only on sign `USE_ROUNDABOUT` (6), otherwise this value is null. */
5066
+ exit_number?: Maybe<Scalars["Int"]>;
5067
+ /** Curvature angle between the roundabout and the exit of the roundabout. This field exists only on sign USE_ROUNDABOUT (6), otherwise this value is `null`. */
5068
+ turn_angle?: Maybe<Scalars["Float"]>;
5069
+ /** Aggregation of tags over the current maneuver. */
5070
+ tags?: Maybe<Array<RouteDetailsTag>>;
5071
+ };
5072
+
5073
+ export type RouteDetailsManeuverdistanceArgs = {
5074
+ unit?: Maybe<DistanceUnit>;
5075
+ };
5076
+
5077
+ export type RouteDetailsPathSegment = {
5078
+ /** Elevation value of a route path segment. */
5079
+ elevation: Scalars["Float"];
5080
+ /** Average speed of a route path segment. */
5081
+ average_speed: Scalars["Float"];
5082
+ /** Consumption, in kilowatt hours, of a route path segment. */
5083
+ consumption: Scalars["Float"];
5084
+ /** Distance of a route path segment. */
5085
+ distance: Scalars["Float"];
5086
+ /** Duration, in seconds, of a route path segment. */
5087
+ duration: Scalars["Float"];
5088
+ /** State of charge, in kilowatt hours, of a route path segment. */
5089
+ state_of_charge?: Maybe<Scalars["Float"]>;
5090
+ /** Maximum vehicle speed of a route path segment. */
5091
+ max_speed: Scalars["Float"];
5092
+ };
5093
+
5094
+ export type RouteDetailsPathSegmentelevationArgs = {
5095
+ unit?: Maybe<DistanceUnit>;
5096
+ };
5097
+
5098
+ export type RouteDetailsPathSegmentaverage_speedArgs = {
5099
+ unit?: Maybe<SpeedUnit>;
5100
+ };
5101
+
5102
+ export type RouteDetailsPathSegmentdistanceArgs = {
5103
+ unit?: Maybe<DistanceUnit>;
5104
+ };
5105
+
5106
+ export type RouteDetailsPathSegmentstate_of_chargeArgs = {
5107
+ unit?: Maybe<StateOfChargeUnit>;
5108
+ };
5109
+
5110
+ export type RouteDetailsPathSegmentmax_speedArgs = {
5111
+ unit?: Maybe<SpeedUnit>;
5112
+ };
5113
+
5114
+ /** Money saving information. */
5115
+ export type RouteDetailsSavings = {
5116
+ /** Money saved by a user driving this route with an electric vehicle. */
5117
+ money?: Maybe<Scalars["Float"]>;
5118
+ /** Average gas price with which the calculation was made. */
5119
+ average_gas_price?: Maybe<Scalars["Float"]>;
5120
+ /** Average energy price with which the calculation was made. */
5121
+ average_energy_price?: Maybe<Scalars["Float"]>;
5122
+ };
5123
+
5124
+ /** Tags of a route. */
5125
+ export enum RouteDetailsTag {
5126
+ ROAD = "road",
5127
+ HIGHWAY = "highway",
5128
+ TOLL = "toll",
5129
+ FERRY = "ferry",
5130
+ WALKING = "walking",
5131
+ CROSSBORDER = "crossborder"
5132
+ }
5133
+
5134
+ /** Types of a route. */
5135
+ export enum RouteDetailsType {
5136
+ FASTEST = "fastest",
5137
+ BEST_MATCHING = "best_matching",
5138
+ ALTERNATIVE = "alternative"
5139
+ }
5140
+
5141
+ export type RouteEmbeddedEmissions = {
5142
+ /** Total embedded emissions. */
5143
+ total: Scalars["Float"];
5144
+ /** Manufacturing emissions. */
5145
+ manufacturing: RouteEmbeddedManufacturingEmissions;
5146
+ /** Total distribution emissions. */
5147
+ distribution: Scalars["Float"];
5148
+ /** Distribution sea segment emissions. */
5149
+ maritime: RouteEmbeddedMaritimeEmissions;
5150
+ /** Distribution land segment emissions. */
5151
+ land: RouteEmbeddedLandEmissions;
5152
+ };
5153
+
5154
+ export type RouteEmbeddedEmissionstotalArgs = {
5155
+ unit?: Maybe<EmissionUnit>;
5156
+ };
5157
+
5158
+ export type RouteEmbeddedEmissionsdistributionArgs = {
5159
+ unit?: Maybe<EmissionUnit>;
5160
+ };
5161
+
5162
+ export type RouteEmbeddedLandEmissions = {
5163
+ /** Total embedded land segment emissions. */
5164
+ total: Scalars["Float"];
5165
+ /** Distribution land segment emissions from fuel consumption. */
5166
+ fuel: Scalars["Float"];
5167
+ /** Distribution land segment lifecycle emissions. */
5168
+ lifecycle: Scalars["Float"];
5169
+ };
5170
+
5171
+ export type RouteEmbeddedLandEmissionstotalArgs = {
5172
+ unit?: Maybe<EmissionUnit>;
5173
+ };
5174
+
5175
+ export type RouteEmbeddedLandEmissionsfuelArgs = {
5176
+ unit?: Maybe<EmissionUnit>;
5177
+ };
5178
+
5179
+ export type RouteEmbeddedLandEmissionslifecycleArgs = {
5180
+ unit?: Maybe<EmissionUnit>;
5181
+ };
5182
+
5183
+ export type RouteEmbeddedManufacturingEmissions = {
5184
+ /** Total embedded manufacturing emissions. */
5185
+ total: Scalars["Float"];
5186
+ /** Vehicle body manufacturing emissions. */
5187
+ body: Scalars["Float"];
5188
+ /** Lithium ion battery manufacturing emissions. */
5189
+ battery?: Maybe<Scalars["Float"]>;
5190
+ };
5191
+
5192
+ export type RouteEmbeddedManufacturingEmissionstotalArgs = {
5193
+ unit?: Maybe<EmissionUnit>;
5194
+ };
5195
+
5196
+ export type RouteEmbeddedManufacturingEmissionsbodyArgs = {
5197
+ unit?: Maybe<EmissionUnit>;
5198
+ };
5199
+
5200
+ export type RouteEmbeddedManufacturingEmissionsbatteryArgs = {
5201
+ unit?: Maybe<EmissionUnit>;
5202
+ };
5203
+
5204
+ export type RouteEmbeddedMaritimeEmissions = {
5205
+ /** Total embedded maritime emissions. */
5206
+ total: Scalars["Float"];
5207
+ /** Fuel related maritime segment emissions. */
5208
+ fuel: Scalars["Float"];
5209
+ /** Port facility related maritime segment emissions. */
5210
+ port: Scalars["Float"];
5211
+ /** Idling related maritime segment emissions. */
5212
+ idle: Scalars["Float"];
5213
+ /** Distributed lifecycle related maritime segment emissions. */
5214
+ lifecycle: Scalars["Float"];
5215
+ };
5216
+
5217
+ export type RouteEmbeddedMaritimeEmissionstotalArgs = {
5218
+ unit?: Maybe<EmissionUnit>;
5219
+ };
5220
+
5221
+ export type RouteEmbeddedMaritimeEmissionsfuelArgs = {
5222
+ unit?: Maybe<EmissionUnit>;
5223
+ };
5224
+
5225
+ export type RouteEmbeddedMaritimeEmissionsportArgs = {
5226
+ unit?: Maybe<EmissionUnit>;
5227
+ };
5228
+
5229
+ export type RouteEmbeddedMaritimeEmissionsidleArgs = {
5230
+ unit?: Maybe<EmissionUnit>;
5231
+ };
5232
+
5233
+ export type RouteEmbeddedMaritimeEmissionslifecycleArgs = {
5234
+ unit?: Maybe<EmissionUnit>;
5235
+ };
5236
+
5237
+ export type RouteEmissions = {
5238
+ /** ID of the route for which we retrieve the emissions profile. */
5239
+ route_id: Scalars["ID"];
5240
+ /** ID of the route alternative for which we retrieve the emissions profile. */
5241
+ route_alternative_id: Scalars["ID"];
5242
+ /** Emissions profile for the vehicle used in route. */
5243
+ route_vehicle: RouteVehicleEmissions;
5244
+ /** Emissions profile for an equivalent internal combustion engine vehicle. */
5245
+ internal_combustion_vehicle: RouteInternalCombustionVehicleEmissions;
5246
+ };
5247
+
5248
+ export type RouteEmissionsinternal_combustion_vehicleArgs = {
5249
+ fuel_type?: Maybe<RouteOperationalFuelType>;
5250
+ };
5251
+
5252
+ export type RouteEndOfLifeEmissions = {
5253
+ /** Total end of life emissions. */
5254
+ total: Scalars["Float"];
5255
+ /** Fluid related end of life emissions. */
5256
+ fluids: FluidEmissions;
5257
+ /** Battery related end of life emissions. */
5258
+ battery: Scalars["Float"];
5259
+ /** Tire related end of life emissions. */
5260
+ tires: Scalars["Float"];
5261
+ /** Body end of life emissions. */
5262
+ body: Scalars["Float"];
5263
+ /** Transport end of life emissions. */
5264
+ transport: Scalars["Float"];
5265
+ };
5266
+
5267
+ export type RouteEndOfLifeEmissionstotalArgs = {
5268
+ unit?: Maybe<EmissionUnit>;
5269
+ };
5270
+
5271
+ export type RouteEndOfLifeEmissionsbatteryArgs = {
5272
+ unit?: Maybe<EmissionUnit>;
5273
+ };
5274
+
5275
+ export type RouteEndOfLifeEmissionstiresArgs = {
5276
+ unit?: Maybe<EmissionUnit>;
5277
+ };
5278
+
5279
+ export type RouteEndOfLifeEmissionsbodyArgs = {
5280
+ unit?: Maybe<EmissionUnit>;
5281
+ };
5282
+
5283
+ export type RouteEndOfLifeEmissionstransportArgs = {
4469
5284
  unit?: Maybe<EmissionUnit>;
4470
5285
  };
4471
5286
 
@@ -4522,13 +5337,15 @@ export enum RouteInstructionSign {
4522
5337
  export type RouteInternalCombustionVehicleEmissions = {
4523
5338
  /** Total co2e emissions. */
4524
5339
  total: Scalars["Float"];
4525
- /** Embedded emissions. */
5340
+ /** Total co2e emissions from vehicle operational processes calculated using the methodology in section 5.2.2 of ISO 14083:2023 and default emissions intensities in Annex K of the same document. */
5341
+ iso_14083_2023: Scalars["Float"];
5342
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4526
5343
  embedded: RouteEmbeddedEmissions;
4527
5344
  /** Operational emissions. */
4528
5345
  operational: RouteInternalCombustionVehicleOperationalEmissions;
4529
5346
  /** End of life emissions. */
4530
5347
  end_of_life: RouteEndOfLifeEmissions;
4531
- /** Emissions info for the legs in the order as within the route. */
5348
+ /** Emissions info for the legs in the same order as in the route. */
4532
5349
  legs: Array<RouteInternalCombustionVehicleLegEmissions>;
4533
5350
  };
4534
5351
 
@@ -4536,14 +5353,20 @@ export type RouteInternalCombustionVehicleEmissionstotalArgs = {
4536
5353
  unit?: Maybe<EmissionUnit>;
4537
5354
  };
4538
5355
 
5356
+ export type RouteInternalCombustionVehicleEmissionsiso_14083_2023Args = {
5357
+ unit?: Maybe<EmissionUnit>;
5358
+ };
5359
+
4539
5360
  export type RouteInternalCombustionVehicleLegEmissions = {
4540
- /** Total co2e emissions for the leg. */
5361
+ /** Total co2e emissions. */
4541
5362
  total: Scalars["Float"];
4542
- /** Embedded emissions for the leg. */
5363
+ /** Total co2e emissions from vehicle operational processes calculated using the methodology in section 5.2.2 of ISO 14083:2023 and default emissions intensities in Annex K of the same document. */
5364
+ iso_14083_2023: Scalars["Float"];
5365
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
4543
5366
  embedded: RouteEmbeddedEmissions;
4544
- /** Operational emissions for the leg. */
5367
+ /** Operational emissions. */
4545
5368
  operational: RouteInternalCombustionVehicleOperationalEmissions;
4546
- /** End of life emissions for the leg. */
5369
+ /** End of life emissions. */
4547
5370
  end_of_life: RouteEndOfLifeEmissions;
4548
5371
  };
4549
5372
 
@@ -4551,14 +5374,18 @@ export type RouteInternalCombustionVehicleLegEmissionstotalArgs = {
4551
5374
  unit?: Maybe<EmissionUnit>;
4552
5375
  };
4553
5376
 
5377
+ export type RouteInternalCombustionVehicleLegEmissionsiso_14083_2023Args = {
5378
+ unit?: Maybe<EmissionUnit>;
5379
+ };
5380
+
4554
5381
  export type RouteInternalCombustionVehicleOperationalEmissions = {
4555
5382
  /** Total operational emissions. */
4556
5383
  total: Scalars["Float"];
4557
- /** Fuel emissions data. */
5384
+ /** Fuel emissions. */
4558
5385
  fuel: RouteOperationalFuelEmissions;
4559
- /** Total road infrastructure emissions. */
5386
+ /** Road infrastructure emissions. */
4560
5387
  infrastructure: RouteOperationalInfrastructureEmissions;
4561
- /** Total maintenance emissions. */
5388
+ /** Maintenance emissions. */
4562
5389
  maintenance: RouteOperationalMaintenanceEmissions;
4563
5390
  };
4564
5391
 
@@ -4640,6 +5467,75 @@ export type RouteLegMeta = {
4640
5467
  warnings: Array<RouteMetaWarning>;
4641
5468
  };
4642
5469
 
5470
+ export type RouteLegOperationalElectricityEmissions = {
5471
+ /** Total electricity emissions. */
5472
+ total: Scalars["Float"];
5473
+ /** Base emissions without efficiency losses. */
5474
+ base_value: Scalars["Float"];
5475
+ /** Emissions for electricity lost in the battery. */
5476
+ battery_losses: Scalars["Float"];
5477
+ /** Emissions for electricity lost in transmission. */
5478
+ transmission_losses: Scalars["Float"];
5479
+ /** Emissions for electricity lost during charging. */
5480
+ chargepoint_losses: Scalars["Float"];
5481
+ /** Electricity efficiency information. */
5482
+ efficiency: RouteOperationalElectricityEmissionsEfficiency;
5483
+ /** Electricity intensity information. */
5484
+ intensity: RouteLegOperationalElectricityEmissionsIntensity;
5485
+ };
5486
+
5487
+ export type RouteLegOperationalElectricityEmissionstotalArgs = {
5488
+ unit?: Maybe<EmissionUnit>;
5489
+ };
5490
+
5491
+ export type RouteLegOperationalElectricityEmissionsbase_valueArgs = {
5492
+ unit?: Maybe<EmissionUnit>;
5493
+ };
5494
+
5495
+ export type RouteLegOperationalElectricityEmissionsbattery_lossesArgs = {
5496
+ unit?: Maybe<EmissionUnit>;
5497
+ };
5498
+
5499
+ export type RouteLegOperationalElectricityEmissionstransmission_lossesArgs = {
5500
+ unit?: Maybe<EmissionUnit>;
5501
+ };
5502
+
5503
+ export type RouteLegOperationalElectricityEmissionschargepoint_lossesArgs = {
5504
+ unit?: Maybe<EmissionUnit>;
5505
+ };
5506
+
5507
+ /** Electricity emission intensity for a leg */
5508
+ export type RouteLegOperationalElectricityEmissionsIntensity = {
5509
+ /** Total average electricity emissions intensity in unit CO2e/kWh. */
5510
+ total: Scalars["Float"];
5511
+ /** Base regional electricity emissions intensity for the leg. */
5512
+ base_regional_value: EmissionsFactor;
5513
+ /** Base regional electricity intensity used for the ISO 14083:2023 emissions estimation. */
5514
+ base_iso_14083_2023_regional_value: EmissionsFactor;
5515
+ /** Electricity mix for the leg. */
5516
+ energy_sources: RouteOperationalElectricityEnergySources;
5517
+ /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
5518
+ infrastructure: Scalars["Float"];
5519
+ /** Estimated electricity demand at the time and place the electricity for this leg was obtained as a fraction of the annual average demand. */
5520
+ average_demand: Scalars["Float"];
5521
+ /** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
5522
+ base_load_fraction: Scalars["Float"];
5523
+ /** Season for which the leg was calculated. */
5524
+ season: RouteOperationalElectricitySeason;
5525
+ /** Climate for which the leg was calculated. */
5526
+ climate: RouteOperationalElectricityClimate;
5527
+ };
5528
+
5529
+ /** Electricity emission intensity for a leg */
5530
+ export type RouteLegOperationalElectricityEmissionsIntensitytotalArgs = {
5531
+ unit?: Maybe<EmissionUnit>;
5532
+ };
5533
+
5534
+ /** Electricity emission intensity for a leg */
5535
+ export type RouteLegOperationalElectricityEmissionsIntensityinfrastructureArgs = {
5536
+ unit?: Maybe<EmissionUnit>;
5537
+ };
5538
+
4643
5539
  export type RouteMeta = {
4644
5540
  /** Warnings that certain conditions specified in a route mutation are not respected. */
4645
5541
  warnings: Array<RouteMetaWarning>;
@@ -4654,6 +5550,17 @@ export type RouteMetaWarning = {
4654
5550
  data?: Maybe<Scalars["JSON"]>;
4655
5551
  };
4656
5552
 
5553
+ export type RouteMetadata = {
5554
+ /** Refers to the x-app-id specified in the headers. */
5555
+ app_id: Scalars["ID"];
5556
+ /** Date when a route was created by a createRoute mutation. */
5557
+ created_at: Scalars["DateTime"];
5558
+ /** Last updated date of a route. */
5559
+ updated_at: Scalars["DateTime"];
5560
+ /** Length of time required to successfully calculate a route, in milliseconds. */
5561
+ computation_time?: Maybe<Scalars["Int"]>;
5562
+ };
5563
+
4657
5564
  /** Köppen climate classification. */
4658
5565
  export enum RouteOperationalElectricityClimate {
4659
5566
  /** Tropical rain forest climate. */
@@ -4724,7 +5631,7 @@ export type RouteOperationalElectricityEmissions = {
4724
5631
  /** Total electricity emissions. */
4725
5632
  total: Scalars["Float"];
4726
5633
  /** Base emissions without efficiency losses. */
4727
- base_emissions: Scalars["Float"];
5634
+ base_value: Scalars["Float"];
4728
5635
  /** Emissions for electricity lost in the battery. */
4729
5636
  battery_losses: Scalars["Float"];
4730
5637
  /** Emissions for electricity lost in transmission. */
@@ -4732,16 +5639,16 @@ export type RouteOperationalElectricityEmissions = {
4732
5639
  /** Emissions for electricity lost during charging. */
4733
5640
  chargepoint_losses: Scalars["Float"];
4734
5641
  /** Electricity efficiency information. */
4735
- electricity_efficiency: RouteOperationalElectricityEmissionsEfficiency;
5642
+ efficiency: RouteOperationalElectricityEmissionsEfficiency;
4736
5643
  /** Electricity intensity information. */
4737
- electricity_intensity: RouteOperationalElectricityEmissionsIntensity;
5644
+ intensity: RouteOperationalElectricityEmissionsIntensity;
4738
5645
  };
4739
5646
 
4740
5647
  export type RouteOperationalElectricityEmissionstotalArgs = {
4741
5648
  unit?: Maybe<EmissionUnit>;
4742
5649
  };
4743
5650
 
4744
- export type RouteOperationalElectricityEmissionsbase_emissionsArgs = {
5651
+ export type RouteOperationalElectricityEmissionsbase_valueArgs = {
4745
5652
  unit?: Maybe<EmissionUnit>;
4746
5653
  };
4747
5654
 
@@ -4759,28 +5666,28 @@ export type RouteOperationalElectricityEmissionschargepoint_lossesArgs = {
4759
5666
 
4760
5667
  export type RouteOperationalElectricityEmissionsEfficiency = {
4761
5668
  /** Average total electricity efficiency. */
4762
- total_efficiency: Scalars["Float"];
5669
+ total: Scalars["Float"];
4763
5670
  /** Average efficiency of the battery. */
4764
- battery_efficiency: Scalars["Float"];
4765
- /** Average efficiency of electricity transmission. */
4766
- transmission_efficiency: Scalars["Float"];
4767
- /** Average base regional grid efficiency. */
4768
- base_transmission_efficiency: Scalars["Float"];
5671
+ battery: Scalars["Float"];
5672
+ /** Average estimated transmission efficiency using the base transmission efficiency adjusting for temperature. */
5673
+ transmission: Scalars["Float"];
5674
+ /** Average base regional grid transmission efficiency. */
5675
+ base_transmission: Scalars["Float"];
4769
5676
  /** Average transmission efficiency change due to temperature. */
4770
- transmission_efficiency_temperature_modifier: Scalars["Float"];
5677
+ transmission_temperature_modifier: Scalars["Float"];
4771
5678
  /** Average efficiency of the chargepoint. */
4772
- chargepoint_efficiency: Scalars["Float"];
4773
- /** Average evse efficiency. */
4774
- evse_efficiency: Scalars["Float"];
4775
- /** Average breaker efficiency. */
4776
- breaker_efficiency: Scalars["Float"];
4777
- /** Average power electronics unit efficiency. */
4778
- power_electronics_unit_efficiency: Scalars["Float"];
4779
- /** Average transformer efficiency. */
4780
- transformer_efficiency: Scalars["Float"];
5679
+ chargepoint: Scalars["Float"];
5680
+ /** Average evse (electric vehicle supply equipment) efficiency of the chargepoint. */
5681
+ evse: Scalars["Float"];
5682
+ /** Average circuit breaker efficiency of the chargepoint. */
5683
+ breaker: Scalars["Float"];
5684
+ /** Average power electronics unit efficiency of the chargepoint. */
5685
+ power_electronics_unit: Scalars["Float"];
5686
+ /** Average transformer efficiency of the chargepoint. */
5687
+ transformer: Scalars["Float"];
4781
5688
  /** Change in chargepoint efficiency due to temperature. */
4782
- chargepoint_efficiency_temperature_modifier: Scalars["Float"];
4783
- /** Average charging current in ampere. */
5689
+ chargepoint_temperature_modifier: Scalars["Float"];
5690
+ /** Average charging current in amperes. */
4784
5691
  average_charging_current: Scalars["Float"];
4785
5692
  /** Average charging voltage in volts. */
4786
5693
  average_charging_voltage: Scalars["Float"];
@@ -4798,58 +5705,67 @@ export type RouteOperationalElectricityEmissionsEfficiencyaverage_regional_tempe
4798
5705
  unit?: Maybe<TemperatureUnit>;
4799
5706
  };
4800
5707
 
4801
- export type RouteOperationalElectricityEmissionsGenerationMethods = {
4802
- /** Fraction of coal production. */
4803
- coal: Scalars["Float"];
4804
- /** Fraction of gas production. */
4805
- gas: Scalars["Float"];
4806
- /** Fraction of hydroelectric production. */
4807
- hydro: Scalars["Float"];
4808
- /** Fraction of solar production. */
4809
- solar: Scalars["Float"];
4810
- /** Fraction of wind production. */
4811
- wind: Scalars["Float"];
4812
- /** Fraction of oil production. */
4813
- oil: Scalars["Float"];
4814
- /** Fraction of nuclear production. */
4815
- nuclear: Scalars["Float"];
4816
- /** Fraction of biofuel production. */
4817
- biofuel: Scalars["Float"];
4818
- /** Fraction of other misc renewable production. */
4819
- other: Scalars["Float"];
4820
- };
4821
-
5708
+ /** Electricity emission intensity for the route */
4822
5709
  export type RouteOperationalElectricityEmissionsIntensity = {
4823
- /** Average route electricity emissions intensity in unit CO2e/kWh. */
4824
- total_electricity_intensity: Scalars["Float"];
4825
- /** Base regional electricity emissions intensity in unit CO2e/kWh. */
4826
- base_electricity_intensity: Scalars["Float"];
4827
- /** Generation methods of electricity production. */
4828
- generation_methods: RouteOperationalElectricityEmissionsGenerationMethods;
4829
- /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc in unit CO2e/kWh. */
4830
- electricity_infrastructure_intensity: Scalars["Float"];
4831
- /** Season for which the route was calculated. */
4832
- season: RouteOperationalElectricitySeason;
4833
- /** The climate for which the route was calculated. */
4834
- climate: RouteOperationalElectricityClimate;
4835
- /** Average electricity demand at the time of route charges as a fraction of average demand. */
4836
- average_electricity_demand: Scalars["Float"];
4837
- /** Fraction of regional power generation that is not affected by demand (always on). */
5710
+ /** Total average electricity emissions intensity in unit CO2e/kWh. */
5711
+ total: Scalars["Float"];
5712
+ /** Average base regional electricity emissions intensity in unit CO2e/kWh. */
5713
+ average_base_regional_value: Scalars["Float"];
5714
+ /** Total electricity intensity used for iso 14083:2023 scope emissions estimate in unit CO2e/kWh. */
5715
+ iso_14083_2023: Scalars["Float"];
5716
+ /** Average electricity mix for the route. */
5717
+ energy_sources: RouteOperationalElectricityEnergySources;
5718
+ /** Average emissions intensity of processing and transport of primary energy, power generation infrastructure, etc. in unit CO2e/kWh. */
5719
+ infrastructure: Scalars["Float"];
5720
+ /** Average electricity demand at the time of route charges as a fraction of the annual average demand. */
5721
+ average_demand: Scalars["Float"];
5722
+ /** Fraction of regional power generation that is not affected by demand (is assumed to always be on). */
4838
5723
  base_load_fraction: Scalars["Float"];
4839
5724
  };
4840
5725
 
4841
- export type RouteOperationalElectricityEmissionsIntensitytotal_electricity_intensityArgs = {
5726
+ /** Electricity emission intensity for the route */
5727
+ export type RouteOperationalElectricityEmissionsIntensitytotalArgs = {
4842
5728
  unit?: Maybe<EmissionUnit>;
4843
5729
  };
4844
5730
 
4845
- export type RouteOperationalElectricityEmissionsIntensitybase_electricity_intensityArgs = {
5731
+ /** Electricity emission intensity for the route */
5732
+ export type RouteOperationalElectricityEmissionsIntensityaverage_base_regional_valueArgs = {
4846
5733
  unit?: Maybe<EmissionUnit>;
4847
5734
  };
4848
5735
 
4849
- export type RouteOperationalElectricityEmissionsIntensityelectricity_infrastructure_intensityArgs = {
5736
+ /** Electricity emission intensity for the route */
5737
+ export type RouteOperationalElectricityEmissionsIntensityiso_14083_2023Args = {
4850
5738
  unit?: Maybe<EmissionUnit>;
4851
5739
  };
4852
5740
 
5741
+ /** Electricity emission intensity for the route */
5742
+ export type RouteOperationalElectricityEmissionsIntensityinfrastructureArgs = {
5743
+ unit?: Maybe<EmissionUnit>;
5744
+ };
5745
+
5746
+ export type RouteOperationalElectricityEnergySources = {
5747
+ /** Electricity produced by coal power plants. */
5748
+ coal: ElectricityGenerationMethod;
5749
+ /** Electricity produced by natural gas power plants. */
5750
+ gas: ElectricityGenerationMethod;
5751
+ /** Electricity produced by hydroelectric power. */
5752
+ hydro: ElectricityGenerationMethod;
5753
+ /** Electricity produced by solar power. */
5754
+ solar: ElectricityGenerationMethod;
5755
+ /** Electricity produced by wind power. */
5756
+ wind: ElectricityGenerationMethod;
5757
+ /** Electricity produced by oil power plants. */
5758
+ oil: ElectricityGenerationMethod;
5759
+ /** Electricity produced by nuclear power plants. */
5760
+ nuclear: ElectricityGenerationMethod;
5761
+ /** Electricity produced by biofuel/biomass. */
5762
+ biofuel: ElectricityGenerationMethod;
5763
+ /** Electricity produced by geothermal power plants. */
5764
+ geothermal: ElectricityGenerationMethod;
5765
+ /** Electricity produced by other means. */
5766
+ other: ElectricityGenerationMethod;
5767
+ };
5768
+
4853
5769
  /** Yearly seasons. */
4854
5770
  export enum RouteOperationalElectricitySeason {
4855
5771
  /** Winter season. */
@@ -4862,56 +5778,17 @@ export enum RouteOperationalElectricitySeason {
4862
5778
  FALL = "fall"
4863
5779
  }
4864
5780
 
4865
- export type RouteOperationalFluidEmissions = {
4866
- /** Total fluid. */
4867
- total: Scalars["Float"];
4868
- /** Total wiper fluid maintenance emissions. */
4869
- wiper: Scalars["Float"];
4870
- /** Total brake fluid maintenance emissions. */
4871
- brake: Scalars["Float"];
4872
- /** Total powertrain coolant fluid maintenance emissions. */
4873
- coolant: Scalars["Float"];
4874
- /** Total transmission fluid maintenance emissions. */
4875
- transmission: Scalars["Float"];
4876
- /** Total motor oil maintenance emissions. */
4877
- motor_oil?: Maybe<Scalars["Float"]>;
4878
- };
4879
-
4880
- export type RouteOperationalFluidEmissionstotalArgs = {
4881
- unit?: Maybe<EmissionUnit>;
4882
- };
4883
-
4884
- export type RouteOperationalFluidEmissionswiperArgs = {
4885
- unit?: Maybe<EmissionUnit>;
4886
- };
4887
-
4888
- export type RouteOperationalFluidEmissionsbrakeArgs = {
4889
- unit?: Maybe<EmissionUnit>;
4890
- };
4891
-
4892
- export type RouteOperationalFluidEmissionscoolantArgs = {
4893
- unit?: Maybe<EmissionUnit>;
4894
- };
4895
-
4896
- export type RouteOperationalFluidEmissionstransmissionArgs = {
4897
- unit?: Maybe<EmissionUnit>;
4898
- };
4899
-
4900
- export type RouteOperationalFluidEmissionsmotor_oilArgs = {
4901
- unit?: Maybe<EmissionUnit>;
4902
- };
4903
-
4904
5781
  export type RouteOperationalFuelEmissions = {
4905
- /** Total fuel for the route. */
5782
+ /** Total fuel emissions for the route. */
4906
5783
  total: Scalars["Float"];
4907
- /** Direct (combustion) emissions of the fuel. */
4908
- direct_emissions: Scalars["Float"];
4909
- /** Indirect (production and transport) emissions of the fuel. */
4910
- indirect_emissions: Scalars["Float"];
4911
- /** Fuel consumption for the route in litres. */
4912
- fuel_consumption: Scalars["Float"];
5784
+ /** Direct (tank to wheels) fuel emissions for the route. */
5785
+ direct: Scalars["Float"];
5786
+ /** Indirect (well to tank) fuel emissions for the route. */
5787
+ indirect: Scalars["Float"];
5788
+ /** Total fuel consumption for the route. */
5789
+ consumption: Scalars["Float"];
4913
5790
  /** Estimated internal combustion vehicle weight. */
4914
- weight: Scalars["Float"];
5791
+ vehicle_weight: Scalars["Float"];
4915
5792
  /** Estimated internal combustion vehicle engine torque. */
4916
5793
  engine_torque: Scalars["Float"];
4917
5794
  /** Average powertrain efficiency. */
@@ -4928,19 +5805,19 @@ export type RouteOperationalFuelEmissionstotalArgs = {
4928
5805
  unit?: Maybe<EmissionUnit>;
4929
5806
  };
4930
5807
 
4931
- export type RouteOperationalFuelEmissionsdirect_emissionsArgs = {
5808
+ export type RouteOperationalFuelEmissionsdirectArgs = {
4932
5809
  unit?: Maybe<EmissionUnit>;
4933
5810
  };
4934
5811
 
4935
- export type RouteOperationalFuelEmissionsindirect_emissionsArgs = {
5812
+ export type RouteOperationalFuelEmissionsindirectArgs = {
4936
5813
  unit?: Maybe<EmissionUnit>;
4937
5814
  };
4938
5815
 
4939
- export type RouteOperationalFuelEmissionsfuel_consumptionArgs = {
5816
+ export type RouteOperationalFuelEmissionsconsumptionArgs = {
4940
5817
  unit?: Maybe<FuelUnit>;
4941
5818
  };
4942
5819
 
4943
- export type RouteOperationalFuelEmissionsweightArgs = {
5820
+ export type RouteOperationalFuelEmissionsvehicle_weightArgs = {
4944
5821
  unit?: Maybe<WeightUnit>;
4945
5822
  };
4946
5823
 
@@ -4961,11 +5838,11 @@ export enum RouteOperationalFuelType {
4961
5838
  }
4962
5839
 
4963
5840
  export type RouteOperationalInfrastructureEmissions = {
4964
- /** Total infrastructure. */
5841
+ /** Total road infrastructure emissions. */
4965
5842
  total: Scalars["Float"];
4966
- /** Embedded (construction, decommissioning, etc) emissions cost. */
5843
+ /** Embedded (construction, decommissioning, etc) road infrastructure emissions. */
4967
5844
  embedded: Scalars["Float"];
4968
- /** Induced maintenance emissions. */
5845
+ /** Induced road infrastructure maintenance emissions. */
4969
5846
  maintenance: Scalars["Float"];
4970
5847
  };
4971
5848
 
@@ -4982,10 +5859,10 @@ export type RouteOperationalInfrastructureEmissionsmaintenanceArgs = {
4982
5859
  };
4983
5860
 
4984
5861
  export type RouteOperationalMaintenanceEmissions = {
4985
- /** Total maintenance. */
5862
+ /** Total maintenance emissions. */
4986
5863
  total: Scalars["Float"];
4987
- /** Total fluid related maintenance emissions. */
4988
- fluids: RouteOperationalFluidEmissions;
5864
+ /** Fluid related maintenance emissions. */
5865
+ fluids: FluidEmissions;
4989
5866
  /** Battery related maintenance emissions. */
4990
5867
  battery: Scalars["Float"];
4991
5868
  /** Tire related maintenance emissions. */
@@ -5016,6 +5893,71 @@ export type RouteOperationalMaintenanceEmissionsrepairArgs = {
5016
5893
  unit?: Maybe<EmissionUnit>;
5017
5894
  };
5018
5895
 
5896
+ export type RouteOperatorPreferences = {
5897
+ /** Flag indicating if an operator should be preferred or required. */
5898
+ type?: Maybe<RouteOperatorsType>;
5899
+ /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5900
+ ranking?: Maybe<RouteOperatorPreferencesRanking>;
5901
+ /** Route operators that should be excluded. */
5902
+ exclude?: Maybe<Array<RouteOperatorsValue>>;
5903
+ };
5904
+
5905
+ /** Prioritized operators for a route calculation. */
5906
+ export type RouteOperatorPreferencesInput = {
5907
+ /** Flag indicating if the operators ranking should be preferred or required. */
5908
+ type: RouteOperatorsType;
5909
+ /** Ranking of an operator with multiple levels, each level having its own penalty value. */
5910
+ ranking?: Maybe<RouteOperatorPreferencesRankingInput>;
5911
+ /** Route operators that should be excluded. */
5912
+ exclude?: Maybe<Array<RouteOperatorsValueInput>>;
5913
+ };
5914
+
5915
+ export type RouteOperatorPreferencesRanking = {
5916
+ /** Level one (most significant) for operator ranking. */
5917
+ level_one?: Maybe<Array<RouteOperatorsValue>>;
5918
+ /** Level two for operator ranking. */
5919
+ level_two?: Maybe<Array<RouteOperatorsValue>>;
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>>;
5936
+ };
5937
+
5938
+ export type RouteOperatorPreferencesRankingInput = {
5939
+ /** Level one (most significant) for operator ranking. */
5940
+ level_one?: Maybe<Array<RouteOperatorsValueInput>>;
5941
+ /** Level two for operator ranking. */
5942
+ level_two?: Maybe<Array<RouteOperatorsValueInput>>;
5943
+ /** Level three for operator ranking. */
5944
+ level_three?: Maybe<Array<RouteOperatorsValueInput>>;
5945
+ /** Level four for operator ranking. */
5946
+ level_four?: Maybe<Array<RouteOperatorsValueInput>>;
5947
+ /** Level five for operator ranking. */
5948
+ level_five?: Maybe<Array<RouteOperatorsValueInput>>;
5949
+ /** Level six for operator ranking. */
5950
+ level_six?: Maybe<Array<RouteOperatorsValueInput>>;
5951
+ /** Level seven for operator ranking. */
5952
+ level_seven?: Maybe<Array<RouteOperatorsValueInput>>;
5953
+ /** Level eight for operator ranking. */
5954
+ level_eight?: Maybe<Array<RouteOperatorsValueInput>>;
5955
+ /** Level nine for operator ranking. */
5956
+ level_nine?: Maybe<Array<RouteOperatorsValueInput>>;
5957
+ /** Level ten (least significant) for operator ranking. */
5958
+ level_ten?: Maybe<Array<RouteOperatorsValueInput>>;
5959
+ };
5960
+
5019
5961
  /** Prioritized operators for a route calculation. */
5020
5962
  export type RouteOperators = {
5021
5963
  /** Flag indicating if the operators ranking should be preferred or required. */
@@ -5086,7 +6028,7 @@ export type RouteOperatorsRankingInput = {
5086
6028
 
5087
6029
  /** Type of operator prioritization for a route. */
5088
6030
  export enum RouteOperatorsType {
5089
- /** Default option. Operators ranking will not be taken into account if no type is given. */
6031
+ /** Operators ranking will not be taken into account if no type is given. */
5090
6032
  NONE = "none",
5091
6033
  /** Operators given in the operators ranking will be preferred when calculating routes. */
5092
6034
  PREFERRED = "preferred",
@@ -5094,6 +6036,54 @@ export enum RouteOperatorsType {
5094
6036
  REQUIRED = "required"
5095
6037
  }
5096
6038
 
6039
+ export type RouteOperatorsValue = {
6040
+ /** ID of an operator. */
6041
+ id: Scalars["ID"];
6042
+ /** List of country codes. */
6043
+ countries?: Maybe<Array<CountryCodeAlpha2>>;
6044
+ };
6045
+
6046
+ export type RouteOperatorsValueInput = {
6047
+ /** ID of an operator. */
6048
+ id: Scalars["ID"];
6049
+ /** List of countries in which the operator should be excluded. When not specified the operator will be excluded in every country. */
6050
+ countries: Array<CountryCodeAlpha2>;
6051
+ };
6052
+
6053
+ export type RouteOriginFeaturePoint = {
6054
+ /** Feature type. */
6055
+ type: FeatureType;
6056
+ /** Geometry of the feature. */
6057
+ geometry: Point;
6058
+ /** Optional object where additional properties can be specified. */
6059
+ properties?: Maybe<RouteOriginProperties>;
6060
+ };
6061
+
6062
+ export type RouteOriginFeaturePointInput = {
6063
+ /** Feature type. */
6064
+ type: FeatureType;
6065
+ /** Geometry of the feature. */
6066
+ geometry: PointInput;
6067
+ /** Optional object where additional properties can be specified. */
6068
+ properties?: Maybe<RouteOriginPropertiesInput>;
6069
+ };
6070
+
6071
+ export type RouteOriginProperties = {
6072
+ /** Data about the origin location. */
6073
+ location?: Maybe<RoutePropertiesLocation>;
6074
+ /** Vehicle data at the origin location. */
6075
+ vehicle?: Maybe<RoutePropertiesVehicle>;
6076
+ };
6077
+
6078
+ export type RouteOriginPropertiesInput = {
6079
+ /** Data about the origin location. */
6080
+ location?: Maybe<RoutePropertiesLocationInput>;
6081
+ /** Vehicle data at the origin location. */
6082
+ vehicle?: Maybe<RoutePropertiesVehicleInput>;
6083
+ /** Station data at the origin location. */
6084
+ station?: Maybe<RoutePropertiesStationInput>;
6085
+ };
6086
+
5097
6087
  export type RoutePath = {
5098
6088
  /** GeoJSON location of a route path segment. */
5099
6089
  location?: Maybe<Point>;
@@ -5115,6 +6105,75 @@ export type RoutePath = {
5115
6105
  stateOfCharge?: Maybe<Scalars["Float"]>;
5116
6106
  };
5117
6107
 
6108
+ export type RoutePropertiesLocation = {
6109
+ /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
6110
+ 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
+ };
6122
+
6123
+ export type RoutePropertiesLocationInput = {
6124
+ /** Name that should overwrite the name that is automatically assigned to this location (for example: address or station name). */
6125
+ name?: Maybe<Scalars["String"]>;
6126
+ /** Duration to stay at this point. */
6127
+ stop_duration?: Maybe<Scalars["Int"]>;
6128
+ };
6129
+
6130
+ export type RoutePropertiesStation = {
6131
+ /** ID of the station. When provided and valid, the coordinates of this station will be used. */
6132
+ station_id?: Maybe<Scalars["ID"]>;
6133
+ /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
6134
+ external_station_id?: Maybe<Scalars["ID"]>;
6135
+ };
6136
+
6137
+ export type RoutePropertiesStationInput = {
6138
+ /** ID of the station. When provided and valid, the coordinates of this station will be used. */
6139
+ station_id?: Maybe<Scalars["ID"]>;
6140
+ /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
6141
+ external_station_id?: Maybe<Scalars["ID"]>;
6142
+ };
6143
+
6144
+ export type RoutePropertiesVehicle = {
6145
+ /** Number of occupants present in the vehicle. */
6146
+ occupants?: Maybe<Scalars["Int"]>;
6147
+ /** Combined weight of the occupants. */
6148
+ total_occupant_weight?: Maybe<TotalOccupantWeight>;
6149
+ /** Weight of the cargo. */
6150
+ total_cargo_weight?: Maybe<TotalCargoWeight>;
6151
+ };
6152
+
6153
+ export type RoutePropertiesVehicleInput = {
6154
+ /** Number of occupants present in the vehicle. */
6155
+ occupants?: Maybe<Scalars["Int"]>;
6156
+ /** Combined weight of the occupants. */
6157
+ total_occupant_weight?: Maybe<TotalOccupantWeightInput>;
6158
+ /** Weight of the cargo. */
6159
+ total_cargo_weight?: Maybe<TotalCargoWeightInput>;
6160
+ };
6161
+
6162
+ export type RouteResponse = {
6163
+ /** ID of a route calculation. */
6164
+ id: Scalars["ID"];
6165
+ /** Status of a route. */
6166
+ status: RouteStatus;
6167
+ /** Recommended route. */
6168
+ recommended?: Maybe<RouteDetails>;
6169
+ /** Meta data for a route. */
6170
+ meta: RouteMetadata;
6171
+ /** Route request. */
6172
+ request_input: CreateRoute;
6173
+ /** Region of a route calculation. */
6174
+ region: Scalars["String"];
6175
+ };
6176
+
5118
6177
  /** Scheduled charge stop along a route. */
5119
6178
  export type RouteScheduledChargeStop = {
5120
6179
  /** List of amenity types. */
@@ -5162,7 +6221,7 @@ export enum RouteStatus {
5162
6221
  PROCESSING = "processing",
5163
6222
  /** We finished computing the route, with a result. Final status. */
5164
6223
  DONE = "done",
5165
- /** We finished the computing the route, without any result. Final status. */
6224
+ /** We finished computing the route, without any result. Final status. */
5166
6225
  NOT_FOUND = "not_found",
5167
6226
  /** An error occurred while computing the route. Final status. */
5168
6227
  ERROR = "error"
@@ -5197,16 +6256,142 @@ export enum RouteTagType {
5197
6256
  CROSSBORDER = "crossborder"
5198
6257
  }
5199
6258
 
6259
+ export type RouteVehicle = {
6260
+ /** ID of the vehicle. */
6261
+ id: Scalars["ID"];
6262
+ /** EV battery specific configuration. */
6263
+ battery?: Maybe<RouteVehicleBattery>;
6264
+ /** Charging configuration. */
6265
+ charging?: Maybe<RouteVehicleCharging>;
6266
+ /** Average tire pressures of all wheels, starting from the front side (right to left) and then to the rear. */
6267
+ tire_pressure?: Maybe<TirePressure>;
6268
+ /** Value of the vehicle's odometer. */
6269
+ odometer?: Maybe<Scalars["Float"]>;
6270
+ /** Value of the auxiliary power consumption of the vehicle. */
6271
+ auxiliary_consumption?: Maybe<AuxiliaryConsumption>;
6272
+ /** Flag which indicates if climate control is on. */
6273
+ climate?: Maybe<Scalars["Boolean"]>;
6274
+ /** Vehicle Heat Pump configuration. */
6275
+ heat_pump: HeatPumpMode;
6276
+ /** Vehicle cabin configuration. */
6277
+ cabin: RouteVehicleCabin;
6278
+ /** Revolutions per minute of the motor, a measure of the rotational speed of the motor's rotor component. */
6279
+ motor_rpm?: Maybe<Scalars["Int"]>;
6280
+ /** Value of the outside temperature. */
6281
+ outside_temperature?: Maybe<Temperature>;
6282
+ /** Vehicle is in park, neutral or turned off. */
6283
+ is_parked?: Maybe<Scalars["Boolean"]>;
6284
+ /** Value of the vehicle's speed. */
6285
+ vehicle_speed?: Maybe<VehicleSpeed>;
6286
+ /** Current heading in degrees. */
6287
+ heading?: Maybe<Scalars["Float"]>;
6288
+ };
6289
+
6290
+ export type RouteVehicleBattery = {
6291
+ /** Battery capacity. */
6292
+ capacity: StateOfCharge;
6293
+ /** State of charge. */
6294
+ state_of_charge: StateOfCharge;
6295
+ /** Minimum final battery state of charge. */
6296
+ final_state_of_charge: StateOfCharge;
6297
+ /** Temperature of the battery. */
6298
+ temperature?: Maybe<Temperature>;
6299
+ /** Battery current in ampere. */
6300
+ current?: Maybe<Scalars["Float"]>;
6301
+ /** Battery voltage in volts. */
6302
+ voltage?: Maybe<Scalars["Float"]>;
6303
+ /** Value of the positive or negative power. When negative, the vehicle is charging. */
6304
+ power?: Maybe<Scalars["Float"]>;
6305
+ /** Indicates if the vehicle is charging. */
6306
+ is_charging?: Maybe<Scalars["Boolean"]>;
6307
+ };
6308
+
6309
+ /** EV battery specific configuration for a create route mutation. */
6310
+ export type RouteVehicleBatteryInput = {
6311
+ /** Battery capacity. */
6312
+ capacity?: Maybe<StateOfChargeInput>;
6313
+ /** Battery state of charge. */
6314
+ state_of_charge?: Maybe<StateOfChargeInput>;
6315
+ /** Minimum battery state of charge. */
6316
+ final_state_of_charge?: Maybe<StateOfChargeInput>;
6317
+ /** Battery temperature. */
6318
+ temperature?: Maybe<BatteryTemperatureInput>;
6319
+ /** Battery current in ampere. */
6320
+ current?: Maybe<Scalars["Float"]>;
6321
+ /** Battery voltage in volts. */
6322
+ voltage?: Maybe<Scalars["Float"]>;
6323
+ /** Vehicle power. */
6324
+ power?: Maybe<Scalars["Float"]>;
6325
+ /** Vehicle is currently charging. */
6326
+ is_charging?: Maybe<Scalars["Boolean"]>;
6327
+ };
6328
+
6329
+ export type RouteVehicleCabin = {
6330
+ /** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
6331
+ is_preconditioned: Scalars["Boolean"];
6332
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
6333
+ desired_temperature: Temperature;
6334
+ };
6335
+
6336
+ export type RouteVehicleCabinInput = {
6337
+ /** Flag which indicates if the vehicle cabin was preconditioned for the desired temperature. */
6338
+ is_preconditioned?: Scalars["Boolean"];
6339
+ /** Desired cabin temperature. Default is 20 degrees Celsius or 68 degrees Fahrenheit. */
6340
+ desired_temperature: TemperatureInput;
6341
+ };
6342
+
6343
+ export type RouteVehicleCharging = {
6344
+ /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
6345
+ mode: ChargeMode;
6346
+ /** Minimum desired power of chargers. */
6347
+ minimum_power: Scalars["Int"];
6348
+ /** 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
+ risk_margin: Scalars["Int"];
6350
+ /** Supported connectors. */
6351
+ connectors?: Maybe<Array<RouteVehicleChargingConnector>>;
6352
+ /** Supported adapters. */
6353
+ adapters?: Maybe<Array<RouteVehicleChargingConnector>>;
6354
+ };
6355
+
6356
+ export type RouteVehicleChargingConnector = {
6357
+ /** Type of the plug. */
6358
+ standard: ConnectorType;
6359
+ /** Maximum charging speed for the plug. */
6360
+ max_charge_speed: ChargeSpeed;
6361
+ };
6362
+
6363
+ export type RouteVehicleChargingConnectorInput = {
6364
+ /** Plug type. */
6365
+ standard: ConnectorType;
6366
+ /** Maximum charging speed for this plug. */
6367
+ max_charge_speed: ChargeSpeedInput;
6368
+ };
6369
+
6370
+ export type RouteVehicleChargingInput = {
6371
+ /** Mode that indicates if the charging time is optimized or if always charged to the maximum capacity. */
6372
+ mode?: Maybe<ChargeMode>;
6373
+ /** Minimum desired power of chargers. */
6374
+ minimum_power?: Maybe<Scalars["Float"]>;
6375
+ /** Percentage representing the minimum value of the state of charge at a next charge stop. The value should be between 0 and 60. */
6376
+ risk_margin?: Maybe<Scalars["Int"]>;
6377
+ /** Supported connectors. */
6378
+ connectors?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
6379
+ /** Supported adapters. */
6380
+ adapters?: Maybe<Array<RouteVehicleChargingConnectorInput>>;
6381
+ };
6382
+
5200
6383
  export type RouteVehicleEmissions = {
5201
6384
  /** Total co2e emissions. */
5202
6385
  total: Scalars["Float"];
5203
- /** Embedded emissions. */
6386
+ /** Total co2e emissions from vehicle operational processes calculated using the methodology in section 5.2.2 of ISO 14083:2023 and default emissions intensities in Annex K of the same document. */
6387
+ iso_14083_2023: Scalars["Float"];
6388
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
5204
6389
  embedded: RouteEmbeddedEmissions;
5205
6390
  /** Operational emissions. */
5206
6391
  operational: RouteVehicleOperationalEmissions;
5207
6392
  /** End of life emissions. */
5208
6393
  end_of_life: RouteEndOfLifeEmissions;
5209
- /** Emissions info for the legs in the order as within the route. */
6394
+ /** Emissions info for the legs in the same order as in the route. */
5210
6395
  legs: Array<RouteVehicleLegEmissions>;
5211
6396
  };
5212
6397
 
@@ -5214,13 +6399,49 @@ export type RouteVehicleEmissionstotalArgs = {
5214
6399
  unit?: Maybe<EmissionUnit>;
5215
6400
  };
5216
6401
 
6402
+ export type RouteVehicleEmissionsiso_14083_2023Args = {
6403
+ unit?: Maybe<EmissionUnit>;
6404
+ };
6405
+
6406
+ /** Vehicle specific input for a create route mutation. */
6407
+ export type RouteVehicleInput = {
6408
+ /** ID of the vehicle. */
6409
+ id: Scalars["ID"];
6410
+ /** EV battery specific configuration. */
6411
+ battery?: Maybe<RouteVehicleBatteryInput>;
6412
+ /** Charging configuration. */
6413
+ charging?: Maybe<RouteVehicleChargingInput>;
6414
+ /** Average tire pressures of all wheels. */
6415
+ tire_pressure?: Maybe<TirePressureInput>;
6416
+ /** Odometer (mileage) reading. */
6417
+ odometer?: Maybe<OdometerInput>;
6418
+ /** Average auxiliary power consumption. */
6419
+ auxiliary_consumption?: Maybe<AuxiliaryConsumptionInput>;
6420
+ /** Flag which indicates if climate control is on. */
6421
+ climate?: Maybe<Scalars["Boolean"]>;
6422
+ /** Vehicle Heat Pump configuration. */
6423
+ heat_pump?: Maybe<HeatPumpMode>;
6424
+ /** Vehicle cabin configuration for creating the route. */
6425
+ cabin?: Maybe<RouteVehicleCabinInput>;
6426
+ /** Outside temperature. */
6427
+ outside_temperature?: Maybe<OutsideTemperatureInput>;
6428
+ /** Vehicle is in park, neutral or turned off. */
6429
+ is_parked?: Maybe<Scalars["Boolean"]>;
6430
+ /** Vehicle speed. */
6431
+ vehicle_speed?: Maybe<VehicleSpeedInput>;
6432
+ /** Current heading in degrees. */
6433
+ heading?: Maybe<Scalars["Float"]>;
6434
+ };
6435
+
5217
6436
  export type RouteVehicleLegEmissions = {
5218
6437
  /** Total co2e emissions for the leg. */
5219
6438
  total: Scalars["Float"];
5220
- /** Embedded emissions for the leg. */
6439
+ /** Total leg co2e emissions from vehicle operational processes using the methodology in section 5.2.2 of ISO 14083:2023 and default emissions intensities in Annex K of the same document. */
6440
+ iso_14083_2023: Scalars["Float"];
6441
+ /** Embedded emissions, for example emissions produced during manufacturing, transportation, and delivery. */
5221
6442
  embedded: RouteEmbeddedEmissions;
5222
6443
  /** Operational emissions for the leg. */
5223
- operational: RouteVehicleOperationalEmissions;
6444
+ operational: RouteVehicleLegOperationalEmissions;
5224
6445
  /** End of life emissions for the leg. */
5225
6446
  end_of_life: RouteEndOfLifeEmissions;
5226
6447
  };
@@ -5229,14 +6450,33 @@ export type RouteVehicleLegEmissionstotalArgs = {
5229
6450
  unit?: Maybe<EmissionUnit>;
5230
6451
  };
5231
6452
 
6453
+ export type RouteVehicleLegEmissionsiso_14083_2023Args = {
6454
+ unit?: Maybe<EmissionUnit>;
6455
+ };
6456
+
6457
+ export type RouteVehicleLegOperationalEmissions = {
6458
+ /** Total operational emissions for the leg. */
6459
+ total: Scalars["Float"];
6460
+ /** Electricity emissions data for the leg. */
6461
+ electricity: RouteLegOperationalElectricityEmissions;
6462
+ /** Total road infrastructure emissions for the leg. */
6463
+ infrastructure: RouteOperationalInfrastructureEmissions;
6464
+ /** Total maintenance emissions for the leg. */
6465
+ maintenance: RouteOperationalMaintenanceEmissions;
6466
+ };
6467
+
6468
+ export type RouteVehicleLegOperationalEmissionstotalArgs = {
6469
+ unit?: Maybe<EmissionUnit>;
6470
+ };
6471
+
5232
6472
  export type RouteVehicleOperationalEmissions = {
5233
6473
  /** Total operational emissions. */
5234
6474
  total: Scalars["Float"];
5235
- /** Electricity emissions data. */
6475
+ /** Electricity emissions. */
5236
6476
  electricity: RouteOperationalElectricityEmissions;
5237
- /** Total road infrastructure emissions. */
6477
+ /** Road infrastructure emissions. */
5238
6478
  infrastructure: RouteOperationalInfrastructureEmissions;
5239
- /** Total maintenance emissions. */
6479
+ /** Maintenance emissions. */
5240
6480
  maintenance: RouteOperationalMaintenanceEmissions;
5241
6481
  };
5242
6482
 
@@ -5244,20 +6484,62 @@ export type RouteVehicleOperationalEmissionstotalArgs = {
5244
6484
  unit?: Maybe<EmissionUnit>;
5245
6485
  };
5246
6486
 
6487
+ export type RouteViaFeaturePoint = {
6488
+ /** Feature type. */
6489
+ type: FeatureType;
6490
+ /** Geometry of the feature. */
6491
+ geometry: Point;
6492
+ /** Optional object where additional properties can be specified. */
6493
+ properties?: Maybe<RouteViaProperties>;
6494
+ };
6495
+
6496
+ export type RouteViaFeaturePointInput = {
6497
+ /** Feature type. */
6498
+ type: FeatureType;
6499
+ /** Geometry of the feature. */
6500
+ geometry: PointInput;
6501
+ /** Optional object where additional properties can be specified. */
6502
+ properties?: Maybe<RouteViaPropertiesInput>;
6503
+ };
6504
+
6505
+ export type RouteViaProperties = {
6506
+ /** Location data of the via point. */
6507
+ location: RoutePropertiesLocation;
6508
+ /** Vehicle data of the via point. */
6509
+ vehicle: RoutePropertiesVehicle;
6510
+ /** Station data of the via point. */
6511
+ station: RoutePropertiesStation;
6512
+ };
6513
+
6514
+ export type RouteViaPropertiesInput = {
6515
+ /** Location data of the via point. */
6516
+ location: RoutePropertiesLocationInput;
6517
+ /** Vehicle data of the via point. */
6518
+ vehicle: RoutePropertiesVehicleInput;
6519
+ /** Station data of the via point. */
6520
+ station: RoutePropertiesStationInput;
6521
+ };
6522
+
5247
6523
  /** Scheduled charge stop along a route. */
5248
6524
  export type ScheduledChargeStopInput = {
5249
6525
  /** List of amenity types. */
5250
6526
  types: Array<AmenityType>;
5251
6527
  /** Duration at the amenity, in seconds. The value should be between 900 and 86400. */
5252
6528
  duration: Scalars["Int"];
5253
- /** Maximum allowed offset from the stop_after value in seconds. Default is 1800. */
6529
+ /** Maximum allowed offset from the stop_after value in seconds. */
5254
6530
  offset?: Maybe<Scalars["Int"]>;
5255
6531
  /** Desired drive time for a scheduled stop after leaving the origin point, in seconds. */
5256
6532
  stop_after: Scalars["Int"];
5257
- /** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. Default is 1000. */
6533
+ /** Maximum distance from a station to an amenity, in meters. The value should be between 0 and 1000. */
5258
6534
  max_distance_from_station?: Maybe<Scalars["Int"]>;
5259
6535
  };
5260
6536
 
6537
+ export enum SortDirection {
6538
+ ASCENDING = "ascending",
6539
+ DESCENDING = "descending"
6540
+ }
6541
+
6542
+ /** Speed units. */
5261
6543
  export enum SpeedUnit {
5262
6544
  /** Return the speed in kilometers per hour. */
5263
6545
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
@@ -5273,15 +6555,25 @@ export type StandardStats = {
5273
6555
  total?: Maybe<Scalars["Int"]>;
5274
6556
  };
5275
6557
 
6558
+ export type StateOfCharge = {
6559
+ /** Value of the state of charge of the vehicle. */
6560
+ value: Scalars["Float"];
6561
+ /** Type of the state of charge of the vehicle. */
6562
+ type: StateOfChargeUnit;
6563
+ /** Source of inputted data. */
6564
+ source: TelemetryInputSource;
6565
+ };
6566
+
5276
6567
  export type StateOfChargeInput = {
5277
6568
  /** Value of the state of charge of the vehicle. */
5278
6569
  value: Scalars["Float"];
5279
6570
  /** Type of the state of charge of the vehicle. */
5280
6571
  type: StateOfChargeUnit;
5281
6572
  /** Source of inputted data, defaults to 'manual'. */
5282
- source?: Maybe<TelemetryInputSource>;
6573
+ source?: TelemetryInputSource;
5283
6574
  };
5284
6575
 
6576
+ /** State of charge unit. */
5285
6577
  export enum StateOfChargeUnit {
5286
6578
  /** Return the state of charge in kilometers. */
5287
6579
  KILOMETER = "kilometer",
@@ -5452,7 +6744,7 @@ export type StationAroundFilter = {
5452
6744
  location?: Maybe<PointInput>;
5453
6745
  /** Distance, in meters, to search around. */
5454
6746
  distance?: Maybe<Scalars["Int"]>;
5455
- /** Powers in kWh. */
6747
+ /** Powers in kW. */
5456
6748
  powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5457
6749
  /** Amenities available near a station. */
5458
6750
  amenities?: Maybe<Array<Maybe<Amenities>>>;
@@ -5472,7 +6764,7 @@ export type StationAroundQuery = {
5472
6764
  location?: Maybe<PointInput>;
5473
6765
  /** Distance, in meters, to search around. */
5474
6766
  distance?: Maybe<Scalars["Int"]>;
5475
- /** Power in kWh. */
6767
+ /** Power in kW. */
5476
6768
  power?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5477
6769
  /** Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park. */
5478
6770
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
@@ -5572,7 +6864,7 @@ export type StationHeavyVehiclesRestrictionsmassArgs = {
5572
6864
 
5573
6865
  /** Filter which can be applied to retrieve the station list action. */
5574
6866
  export type StationListFilter = {
5575
- /** Powers in kWh. */
6867
+ /** Powers in kW. */
5576
6868
  powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
5577
6869
  /** Amenities available near a station. */
5578
6870
  amenities?: Maybe<Array<Maybe<Amenities>>>;
@@ -5639,11 +6931,11 @@ export type StationRoaming = {
5639
6931
 
5640
6932
  /** The station speed type. */
5641
6933
  export enum StationSpeedType {
5642
- /** Slow charging (below 43 kWh). */
6934
+ /** Slow charging (below 43 kW). */
5643
6935
  SLOW = "slow",
5644
- /** Fast charging stations (above 43 kWh and below 150 kWh). */
6936
+ /** Fast charging stations (above 43 kW and below 150 kW). */
5645
6937
  FAST = "fast",
5646
- /** Ultra fast charging stations (above 150 kWh). */
6938
+ /** Ultra fast charging stations (above 150 kW). */
5647
6939
  TURBO = "turbo"
5648
6940
  }
5649
6941
 
@@ -5714,6 +7006,8 @@ export type Subscription = {
5714
7006
  navigationUpdatedById?: Maybe<Navigation>;
5715
7007
  /** Subscription for a specific route was updated in the system event */
5716
7008
  routeUpdatedById?: Maybe<Route>;
7009
+ /** [BETA] Subscription for a specific route was updated in the system event */
7010
+ route: RouteResponse;
5717
7011
  };
5718
7012
 
5719
7013
  export type SubscriptionconnectedVehicleArgs = {
@@ -5732,6 +7026,10 @@ export type SubscriptionrouteUpdatedByIdArgs = {
5732
7026
  id: Scalars["ID"];
5733
7027
  };
5734
7028
 
7029
+ export type SubscriptionrouteArgs = {
7030
+ id: Scalars["ID"];
7031
+ };
7032
+
5735
7033
  export type Telemetry = {
5736
7034
  /** Value of the auxiliary power consumption of the vehicle. */
5737
7035
  auxiliary_consumption?: Maybe<Scalars["Float"]>;
@@ -5878,6 +7176,7 @@ export type TelemetryInput = {
5878
7176
  custom?: Maybe<Scalars["JSON"]>;
5879
7177
  };
5880
7178
 
7179
+ /** Telemetry input sources. */
5881
7180
  export enum TelemetryInputSource {
5882
7181
  /** Manually inputted value. */
5883
7182
  MANUAL = "manual",
@@ -5890,6 +7189,8 @@ export type Temperature = {
5890
7189
  value: Scalars["Float"];
5891
7190
  /** Type of temperature. */
5892
7191
  type: TemperatureUnit;
7192
+ /** Source of inputted data. */
7193
+ source: TelemetryInputSource;
5893
7194
  };
5894
7195
 
5895
7196
  export type TemperatureInput = {
@@ -5897,8 +7198,11 @@ export type TemperatureInput = {
5897
7198
  value: Scalars["Float"];
5898
7199
  /** Type of temperature. */
5899
7200
  type: TemperatureUnit;
7201
+ /** Source of inputted data. */
7202
+ source?: TelemetryInputSource;
5900
7203
  };
5901
7204
 
7205
+ /** Temperature unit. */
5902
7206
  export enum TemperatureUnit {
5903
7207
  /** Return the temperature in Celsius. */
5904
7208
  CELSIUS = "Celsius",
@@ -5906,13 +7210,22 @@ export enum TemperatureUnit {
5906
7210
  FAHRENHEIT = "Fahrenheit"
5907
7211
  }
5908
7212
 
7213
+ export type TirePressure = {
7214
+ /** Values for the tire pressure, starting from the front side right to left and to the rear (FR, FL, RL, RR). */
7215
+ value: Array<Scalars["Float"]>;
7216
+ /** Type of the value of pressure. */
7217
+ type: PressureUnit;
7218
+ /** Source of inputted data. */
7219
+ source: TelemetryInputSource;
7220
+ };
7221
+
5909
7222
  export type TirePressureInput = {
5910
7223
  /** Values for the tire pressure, starting from the front side right to left and to the rear. */
5911
7224
  value: Array<Scalars["Float"]>;
5912
7225
  /** Type of the value of pressure. */
5913
7226
  type: PressureUnit;
5914
7227
  /** Source of inputted data, defaults to 'manual'. */
5915
- source?: Maybe<TelemetryInputSource>;
7228
+ source?: TelemetryInputSource;
5916
7229
  };
5917
7230
 
5918
7231
  export enum TorqueUnit {
@@ -5922,13 +7235,31 @@ export enum TorqueUnit {
5922
7235
  FOOT_POUND = "foot_pound"
5923
7236
  }
5924
7237
 
7238
+ export type TotalCargoWeight = {
7239
+ /** Value of the current weight of the cargo. */
7240
+ value: Scalars["Float"];
7241
+ /** Type of the current weight of the cargo. */
7242
+ type: WeightUnit;
7243
+ /** Source of inputted data. */
7244
+ source: TelemetryInputSource;
7245
+ };
7246
+
5925
7247
  export type TotalCargoWeightInput = {
5926
7248
  /** Value of the current weight of the cargo. */
5927
7249
  value: Scalars["Float"];
5928
7250
  /** Type of the current weight of the cargo. */
5929
7251
  type: WeightUnit;
5930
7252
  /** Source of inputted data, defaults to 'manual'. */
5931
- source?: Maybe<TelemetryInputSource>;
7253
+ source?: TelemetryInputSource;
7254
+ };
7255
+
7256
+ export type TotalOccupantWeight = {
7257
+ /** Value of the current weight of the occupants. */
7258
+ value: Scalars["Float"];
7259
+ /** Type of the current weight of the occupants. */
7260
+ type: WeightUnit;
7261
+ /** Source of inputted data. */
7262
+ source: TelemetryInputSource;
5932
7263
  };
5933
7264
 
5934
7265
  export type TotalOccupantWeightInput = {
@@ -5937,7 +7268,7 @@ export type TotalOccupantWeightInput = {
5937
7268
  /** Type of the current weight of the occupants. */
5938
7269
  type: WeightUnit;
5939
7270
  /** Source of inputted data, defaults to 'manual'. */
5940
- source?: Maybe<TelemetryInputSource>;
7271
+ source?: TelemetryInputSource;
5941
7272
  };
5942
7273
 
5943
7274
  export enum TurningCircleUnit {
@@ -5962,9 +7293,9 @@ export type Vehicle = {
5962
7293
  naming: VehicleNaming;
5963
7294
  /** Drivetrain of the vehicle. */
5964
7295
  drivetrain: VehicleDrivetrain;
5965
- /** Available connectors for the vehicle. */
7296
+ /** Available connectors for the vehicle. Please note that for HEVs this will always be an empty array. */
5966
7297
  connectors: Array<VehicleConnector>;
5967
- /** Adapters for the connectors of the vehicle. */
7298
+ /** Adapters for the connectors of the vehicle. Please note that for HEVs this will always be an empty array. */
5968
7299
  adapters: Array<VehicleConnector>;
5969
7300
  /** Battery of the vehicle. */
5970
7301
  battery: VehicleBattery;
@@ -6046,11 +7377,11 @@ export enum VehicleBatteryType {
6046
7377
  }
6047
7378
 
6048
7379
  export type VehicleBody = {
6049
- /** Width with folded mirrors, default in mm. */
7380
+ /** Width with folded mirrors. */
6050
7381
  width: Scalars["Float"];
6051
- /** Height (average height for adjustable suspensions), default in mm. */
7382
+ /** Height (average height for adjustable suspensions). */
6052
7383
  height: Scalars["Float"];
6053
- /** Weight (unladen), default in kg. */
7384
+ /** Weight (unladen). */
6054
7385
  weight: VehicleBodyWeight;
6055
7386
  /** Number of seats. */
6056
7387
  seats: Scalars["Int"];
@@ -6065,11 +7396,11 @@ export type VehicleBodyheightArgs = {
6065
7396
  };
6066
7397
 
6067
7398
  export type VehicleBodyWeight = {
6068
- /** Minimum weight, default in kg. */
7399
+ /** Minimum weight. */
6069
7400
  minimum?: Maybe<Scalars["Float"]>;
6070
- /** Nominal weight, default in kg. */
7401
+ /** Nominal weight. */
6071
7402
  nominal?: Maybe<Scalars["Float"]>;
6072
- /** Maximal weight, default in kg. */
7403
+ /** Maximal weight. */
6073
7404
  maximal?: Maybe<Scalars["Float"]>;
6074
7405
  };
6075
7406
 
@@ -6089,14 +7420,29 @@ export type VehicleBodyWeightmaximalArgs = {
6089
7420
  export type VehicleConnector = {
6090
7421
  /** Connector type, known as connector standard in OCPI. */
6091
7422
  standard: ConnectorType;
6092
- /** Usable electric power in kW. */
7423
+ /** Usable electric power. */
6093
7424
  power: Scalars["Float"];
6094
- /** Maximum electric power in kW. */
7425
+ /** Maximum electric power. */
6095
7426
  max_electric_power: Scalars["Float"];
6096
7427
  /** Time it takes to charge from 10 to 80% with a fast charger, shown in minutes. */
6097
7428
  time: Scalars["Int"];
6098
- /** Charging speed, default in kmph. */
7429
+ /**
7430
+ * Charging speed.
7431
+ * @deprecated In favor of charge_speed.
7432
+ */
6099
7433
  speed: Scalars["Float"];
7434
+ /** Charging speed. */
7435
+ charge_speed: Scalars["Float"];
7436
+ };
7437
+
7438
+ /** Vehicle plug model. */
7439
+ export type VehicleConnectorpowerArgs = {
7440
+ unit?: Maybe<PowerUnit>;
7441
+ };
7442
+
7443
+ /** Vehicle plug model. */
7444
+ export type VehicleConnectormax_electric_powerArgs = {
7445
+ unit?: Maybe<PowerUnit>;
6100
7446
  };
6101
7447
 
6102
7448
  /** Vehicle plug model. */
@@ -6104,6 +7450,11 @@ export type VehicleConnectorspeedArgs = {
6104
7450
  unit?: Maybe<SpeedUnit>;
6105
7451
  };
6106
7452
 
7453
+ /** Vehicle plug model. */
7454
+ export type VehicleConnectorcharge_speedArgs = {
7455
+ unit?: Maybe<ChargeSpeedUnit>;
7456
+ };
7457
+
6107
7458
  /** The consumption of the vehicle. */
6108
7459
  export type VehicleConsumptionInput = {
6109
7460
  /** Worst conditions are based on -10°C and use of heating. */
@@ -6153,7 +7504,7 @@ export enum VehicleFuel {
6153
7504
  D = "D",
6154
7505
  /** Electricity only. Full electric vehicle. */
6155
7506
  E = "E",
6156
- /** ICE engine available. Uses petrol. */
7507
+ /** ICE engine available. Uses gasoline. */
6157
7508
  P = "P"
6158
7509
  }
6159
7510
 
@@ -6219,9 +7570,9 @@ export type VehicleList = {
6219
7570
  naming: VehicleListNaming;
6220
7571
  /** Drivetrain of the vehicle. */
6221
7572
  drivetrain: VehicleDrivetrain;
6222
- /** Connectors available for the vehicle. */
7573
+ /** Connectors available for the vehicle. Please note that for HEVs this will always be an empty array. */
6223
7574
  connectors: Array<VehicleConnector>;
6224
- /** Adapters available for the vehicle. */
7575
+ /** Adapters available for the vehicle. Please note that for HEVs this will always be an empty array. */
6225
7576
  adapters: Array<VehicleConnector>;
6226
7577
  /** Battery of the vehicle. */
6227
7578
  battery: VehicleListBattery;
@@ -6308,9 +7659,10 @@ export type VehicleListNaming = {
6308
7659
 
6309
7660
  export type VehicleListRange = {
6310
7661
  /**
6311
- * Chargetrip's custom real-world range provides a carefully calculated display range for all electric vehicle models based on our own research and driving data.
6312
- * CT range is based on the theoretical distance driven using only the electric engine.
6313
- * Vehicles that do not have a full electric drivetrain type ( all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
7662
+ * Chargetrip's custom real-world range provides a carefully calculated display range for all-electric vehicle models.
7663
+ * Chargetrip range is based on the theoretical distance driven using only the electric engine.
7664
+ * Vehicles that do not have a full electric drivetrain type (all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
7665
+ * More information on the CT range can be found at https://chargetrip.com/blog/what-is-ct-real-range
6314
7666
  */
6315
7667
  chargetrip_range: ChargetripRange;
6316
7668
  };
@@ -6362,9 +7714,9 @@ export type VehicleNaming = {
6362
7714
  };
6363
7715
 
6364
7716
  export type VehiclePerformance = {
6365
- /** Acceleration in seconds, default in kmph to 100. */
7717
+ /** Acceleration. */
6366
7718
  acceleration?: Maybe<Scalars["Float"]>;
6367
- /** Top speed of the vehicle, default in kmph. */
7719
+ /** Top speed of the vehicle. */
6368
7720
  top_speed?: Maybe<Scalars["Float"]>;
6369
7721
  };
6370
7722
 
@@ -6395,13 +7747,13 @@ export type VehiclePremium = {
6395
7747
  succesor_id?: Maybe<Scalars["String"]>;
6396
7748
  /** Naming of the vehicle. */
6397
7749
  naming: VehiclePremiumNaming;
6398
- /** Connectors available for the vehicle. */
7750
+ /** Connectors available for the vehicle. Please note that for HEVs this will always be an empty array. */
6399
7751
  connectors: Array<VehicleConnector>;
6400
7752
  /** Charge details. */
6401
7753
  charge: VehiclePremiumCharge;
6402
7754
  /** Fast charge details. */
6403
7755
  fast_charge: VehiclePremiumFastCharge;
6404
- /** Adapters of connectors available for a connectors of the vehicle. */
7756
+ /** Adapters of connectors available for a connectors of the vehicle. Please note that for HEVs this will always be an empty array. */
6405
7757
  adapters: Array<VehicleConnector>;
6406
7758
  /** Battery of the vehicle. */
6407
7759
  battery: VehiclePremiumBattery;
@@ -6482,22 +7834,26 @@ export type VehiclePremiumBattery = {
6482
7834
  type?: Maybe<VehicleBatteryType>;
6483
7835
  };
6484
7836
 
7837
+ export type VehiclePremiumBatteryweightArgs = {
7838
+ unit?: Maybe<WeightUnit>;
7839
+ };
7840
+
6485
7841
  export type VehiclePremiumBody = {
6486
- /** Length, default in mm. */
7842
+ /** Length. */
6487
7843
  length?: Maybe<Scalars["Float"]>;
6488
- /** Width with folded mirrors, default in mm. */
7844
+ /** Width with folded mirrors. */
6489
7845
  width: Scalars["Float"];
6490
- /** Width of vehicle including mirrors, default in mm. */
7846
+ /** Width of vehicle including mirrors. */
6491
7847
  full_width?: Maybe<Scalars["Float"]>;
6492
- /** Height (average height for adjustable suspensions), default in mm. */
7848
+ /** Height (average height for adjustable suspensions). */
6493
7849
  height: Scalars["Float"];
6494
7850
  /** Indicates if length/width/height fields are estimations. */
6495
7851
  size_is_estimated?: Maybe<Scalars["Boolean"]>;
6496
- /** Wheelbase, default in mm. */
7852
+ /** Wheelbase. */
6497
7853
  wheelbase?: Maybe<Scalars["Float"]>;
6498
7854
  /** Indicates if wheelbase field is estimated. */
6499
7855
  wheelbase_is_estimated?: Maybe<Scalars["Boolean"]>;
6500
- /** Ground clearance of a vehicle as specified by the OEM, default in mm. */
7856
+ /** Ground clearance of a vehicle as specified by the OEM. */
6501
7857
  ground_clearance?: Maybe<Scalars["Float"]>;
6502
7858
  /** Weight (unladen EU). */
6503
7859
  weight: VehicleBodyWeight;
@@ -6509,30 +7865,30 @@ export type VehiclePremiumBody = {
6509
7865
  weight_payload?: Maybe<VehicleBodyWeight>;
6510
7866
  /** Indicates if weight field is estimated. */
6511
7867
  weight_is_estimated?: Maybe<Scalars["Boolean"]>;
6512
- /** Maximum payload allowed for the vehicle, default in kg. */
7868
+ /** Maximum payload allowed for the vehicle. */
6513
7869
  weight_max_payload?: Maybe<Scalars["Float"]>;
6514
7870
  /**
6515
- * Gross Vehicle Weight (GVWR) - (max allowed vehicle weight with payload), default in kg.
7871
+ * Gross Vehicle Weight (GVWR) - (max allowed vehicle weight with payload).
6516
7872
  * @deprecated In favor of weight_gvwr.nominal
6517
7873
  */
6518
7874
  max_gross_vehicle_weight?: Maybe<Scalars["Float"]>;
6519
- /** Standard luggage capacity, default in l. */
7875
+ /** Standard luggage capacity. */
6520
7876
  boot_capacity?: Maybe<Scalars["Float"]>;
6521
- /** Storage capacity of front trunk/under the hood (frunk), default in l. */
7877
+ /** Storage capacity of front trunk/under the hood (frunk). */
6522
7878
  boot_front_capacity?: Maybe<Scalars["Float"]>;
6523
- /** Maximum luggage capacity, default in l. */
7879
+ /** Maximum luggage capacity. */
6524
7880
  boot_capacity_max?: Maybe<Scalars["Float"]>;
6525
7881
  /** Indicates if a tow hitch/towbar can be fitted according to vehicle homologation. */
6526
7882
  tow_hitch_compatible?: Maybe<Scalars["Boolean"]>;
6527
- /** Maximum unbraked towing weight, default in kg. */
7883
+ /** Maximum unbraked towing weight. */
6528
7884
  tow_weight_unbraked?: Maybe<Scalars["Float"]>;
6529
- /** Maximum braked towing weight, default in kg. */
7885
+ /** Maximum braked towing weight. */
6530
7886
  tow_weight_braked?: Maybe<Scalars["Float"]>;
6531
7887
  /** Indicates if tow weight fields are estimations. */
6532
7888
  tow_weight_is_estimated?: Maybe<Scalars["Boolean"]>;
6533
- /** Maximum vertical load / noseweight on tow hitch according to vehicle homologation, default in kg. */
7889
+ /** Maximum vertical load / noseweight on tow hitch according to vehicle homologation. */
6534
7890
  tow_weight_vertical_load?: Maybe<Scalars["Float"]>;
6535
- /** Maximum load on roof of the vehicle, default in kg. */
7891
+ /** Maximum load on roof of the vehicle. */
6536
7892
  roof_load_max?: Maybe<Scalars["Float"]>;
6537
7893
  /** Body type, listed in local naming convention where applicable. */
6538
7894
  body_type?: Maybe<Scalars["String"]>;
@@ -6542,7 +7898,7 @@ export type VehiclePremiumBody = {
6542
7898
  seats: Scalars["Int"];
6543
7899
  /** Indicates whether a vehicle has roof rails as a standard. */
6544
7900
  has_roofrails?: Maybe<Scalars["Boolean"]>;
6545
- /** Turning circle of the vehicle kerb-to-kerb, default in meters. */
7901
+ /** Turning circle of the vehicle kerb-to-kerb. */
6546
7902
  turning_circle?: Maybe<Scalars["Float"]>;
6547
7903
  /** Name of the vehicle platform used for vehicle (often abbreviated to indicate group platforms). */
6548
7904
  vehicle_platform?: Maybe<Scalars["String"]>;
@@ -6586,6 +7942,10 @@ export type VehiclePremiumBodyboot_capacityArgs = {
6586
7942
  unit?: Maybe<VolumeUnit>;
6587
7943
  };
6588
7944
 
7945
+ export type VehiclePremiumBodyboot_front_capacityArgs = {
7946
+ unit?: Maybe<VolumeUnit>;
7947
+ };
7948
+
6589
7949
  export type VehiclePremiumBodyboot_capacity_maxArgs = {
6590
7950
  unit?: Maybe<VolumeUnit>;
6591
7951
  };
@@ -6626,20 +7986,24 @@ export type VehiclePremiumCharge = {
6626
7986
  };
6627
7987
 
6628
7988
  export type VehiclePremiumChargeAlternativeOBC = {
6629
- /** Maximum power OBC can accept to charge a battery (standard OBC). */
7989
+ /** Maximum power OBC can accept to charge a battery (alternative OBC). */
6630
7990
  power?: Maybe<Scalars["Float"]>;
6631
- /** Number of phases the OBC accepts to achieve maximum power (standard OBC). */
7991
+ /** Number of phases the OBC accepts to achieve maximum power (alternative OBC). */
6632
7992
  phases?: Maybe<Scalars["Int"]>;
6633
- /** Maximum current the OBC accepts per phase to achieve maximum power (standard OBC). */
7993
+ /** Maximum current the OBC accepts per phase to achieve maximum power (alternative OBC). */
6634
7994
  phase_amperage?: Maybe<Scalars["Float"]>;
6635
- /** Minutes needed to charge from 0% to 100% (standard OBC). */
7995
+ /** Minutes needed to charge from 0% to 100% (alternative OBC). */
6636
7996
  charge_time?: Maybe<Scalars["Int"]>;
6637
- /** Charging speed when charging at maximum power (standard OBC), default in kmph. */
7997
+ /** Charging speed when charging at maximum power (alternative OBC). */
6638
7998
  charge_speed?: Maybe<Scalars["Float"]>;
6639
- /** Charging details for the standard OBC at several charging points. */
7999
+ /** Charging details for the alternative OBC at several charging points. */
6640
8000
  table?: Maybe<Array<Maybe<VehiclePremiumChargeOBCTable>>>;
6641
8001
  };
6642
8002
 
8003
+ export type VehiclePremiumChargeAlternativeOBCpowerArgs = {
8004
+ unit?: Maybe<PowerUnit>;
8005
+ };
8006
+
6643
8007
  export type VehiclePremiumChargeAlternativeOBCcharge_speedArgs = {
6644
8008
  unit?: Maybe<ChargeSpeedUnit>;
6645
8009
  };
@@ -6661,10 +8025,14 @@ export type VehiclePremiumChargeOBCTable = {
6661
8025
  charge_power?: Maybe<Scalars["Float"]>;
6662
8026
  /** Minutes needed to charge from 0% to 100% (standard OBC with this EVSE). */
6663
8027
  charge_time?: Maybe<Scalars["Int"]>;
6664
- /** Charging speed when charging at maximum power (standard OBC with this EVSE), default in kmph. */
8028
+ /** Charging speed when charging at maximum power (standard OBC with this EVSE). */
6665
8029
  charge_speed?: Maybe<Scalars["Float"]>;
6666
8030
  };
6667
8031
 
8032
+ export type VehiclePremiumChargeOBCTablecharge_powerArgs = {
8033
+ unit?: Maybe<PowerUnit>;
8034
+ };
8035
+
6668
8036
  export type VehiclePremiumChargeOBCTablecharge_speedArgs = {
6669
8037
  unit?: Maybe<ChargeSpeedUnit>;
6670
8038
  };
@@ -6678,12 +8046,16 @@ export type VehiclePremiumChargeOptionOBC = {
6678
8046
  phase_amperage?: Maybe<Scalars["Float"]>;
6679
8047
  /** Minutes needed to charge from 0% to 100% (standard OBC). */
6680
8048
  charge_time?: Maybe<Scalars["Int"]>;
6681
- /** Charging speed when charging at maximum power (standard OBC), default in kmph. */
8049
+ /** Charging speed when charging at maximum power (standard OBC). */
6682
8050
  charge_speed?: Maybe<Scalars["Float"]>;
6683
8051
  /** Charging details for the standard OBC at several charging points. */
6684
8052
  table?: Maybe<Array<Maybe<VehiclePremiumChargeOBCTable>>>;
6685
8053
  };
6686
8054
 
8055
+ export type VehiclePremiumChargeOptionOBCpowerArgs = {
8056
+ unit?: Maybe<PowerUnit>;
8057
+ };
8058
+
6687
8059
  export type VehiclePremiumChargeOptionOBCcharge_speedArgs = {
6688
8060
  unit?: Maybe<ChargeSpeedUnit>;
6689
8061
  };
@@ -6704,6 +8076,14 @@ export type VehiclePremiumChargePower = {
6704
8076
  average?: Maybe<Scalars["Float"]>;
6705
8077
  };
6706
8078
 
8079
+ export type VehiclePremiumChargePowermaxArgs = {
8080
+ unit?: Maybe<PowerUnit>;
8081
+ };
8082
+
8083
+ export type VehiclePremiumChargePoweraverageArgs = {
8084
+ unit?: Maybe<PowerUnit>;
8085
+ };
8086
+
6707
8087
  export type VehiclePremiumChargeSecondPlug = {
6708
8088
  /** Location of charge port. */
6709
8089
  location?: Maybe<Scalars["String"]>;
@@ -6720,7 +8100,7 @@ export type VehiclePremiumChargeStandardOBC = {
6720
8100
  phase_amperage?: Maybe<Scalars["Float"]>;
6721
8101
  /** Minutes needed to charge from 0% to 100% (standard OBC). */
6722
8102
  charge_time?: Maybe<Scalars["Int"]>;
6723
- /** Charging speed when charging at maximum power (standard OBC), default in kmph. */
8103
+ /** Charging speed when charging at maximum power (standard OBC). */
6724
8104
  charge_speed?: Maybe<Scalars["Float"]>;
6725
8105
  /** Indicates if Charge_Standard fields are estimated. */
6726
8106
  is_estimated?: Maybe<Scalars["Boolean"]>;
@@ -6728,6 +8108,10 @@ export type VehiclePremiumChargeStandardOBC = {
6728
8108
  table?: Maybe<Array<Maybe<VehiclePremiumChargeOBCTable>>>;
6729
8109
  };
6730
8110
 
8111
+ export type VehiclePremiumChargeStandardOBCpowerArgs = {
8112
+ unit?: Maybe<PowerUnit>;
8113
+ };
8114
+
6731
8115
  export type VehiclePremiumChargeStandardOBCcharge_speedArgs = {
6732
8116
  unit?: Maybe<ChargeSpeedUnit>;
6733
8117
  };
@@ -6741,13 +8125,13 @@ export type VehiclePremiumDrivetrain = {
6741
8125
  propulsion?: Maybe<VehiclePropulsion>;
6742
8126
  /** Indicates if propulsion field is estimated. */
6743
8127
  propulsion_is_estimated?: Maybe<Scalars["Boolean"]>;
6744
- /** Maximum (combined) power output, default in kw. */
8128
+ /** Maximum (combined) power output. */
6745
8129
  power?: Maybe<Scalars["Float"]>;
6746
8130
  /** Indicates if power field is estimated. */
6747
8131
  power_is_estimated?: Maybe<Scalars["Boolean"]>;
6748
- /** Maximum (combine) power output, default in horsepower (PS). */
8132
+ /** Maximum (combine) power output. */
6749
8133
  power_hp?: Maybe<Scalars["Float"]>;
6750
- /** Maximum (combine) torque output, default in newton meter. */
8134
+ /** Maximum (combine) torque output. */
6751
8135
  torque?: Maybe<Scalars["Float"]>;
6752
8136
  /** Indicates if torque field is estimated. */
6753
8137
  torque_is_estimated?: Maybe<Scalars["Boolean"]>;
@@ -6777,15 +8161,15 @@ export type VehiclePremiumEfficiency = {
6777
8161
  };
6778
8162
 
6779
8163
  export type VehiclePremiumEfficiencyNEDC = {
6780
- /** Rated efficiency in NEDC combined cycle, default in kWh/100 km. */
8164
+ /** Rated efficiency in NEDC combined cycle. */
6781
8165
  value?: Maybe<Scalars["Float"]>;
6782
- /** Rated efficiency in NEDC combined cycle presented in gas equivalent, default in l/100 km. */
8166
+ /** Rated efficiency in NEDC combined cycle presented in gas equivalent. */
6783
8167
  fuel_equivalent?: Maybe<Scalars["Float"]>;
6784
- /** Rated vehicle efficiency in NEDC combined cycle (based on value), default in kWh/100 km. */
8168
+ /** Rated vehicle efficiency in NEDC combined cycle (based on value). */
6785
8169
  vehicle?: Maybe<Scalars["Float"]>;
6786
- /** Rated vehicle efficiency in NEDC combined cycle presented in gas equivalent, default in l/100 km. */
8170
+ /** Rated vehicle efficiency in NEDC combined cycle presented in gas equivalent. */
6787
8171
  vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
6788
- /** Rated CO2 emissions in NEDC combined cycle in battery-only mode (NULL if not NEDC rated), default in gr/km. */
8172
+ /** Rated CO2 emissions in NEDC combined cycle in battery-only mode (NULL if not NEDC rated). */
6789
8173
  co2?: Maybe<Scalars["Float"]>;
6790
8174
  };
6791
8175
 
@@ -6810,9 +8194,9 @@ export type VehiclePremiumEfficiencyNEDCco2Args = {
6810
8194
  };
6811
8195
 
6812
8196
  export type VehiclePremiumEfficiencyProvider = {
6813
- /** Vehicle efficiency based on RealRange (usable battery/range), default in kWh/100 km. */
8197
+ /** Vehicle efficiency based on RealRange (usable battery/range). */
6814
8198
  value?: Maybe<Scalars["Float"]>;
6815
- /** Vehicle efficiency based on RealRange presented in gas equivalent, default in l/100 km. */
8199
+ /** Vehicle efficiency based on RealRange presented in gas equivalent. */
6816
8200
  fuel_equivalent?: Maybe<Scalars["Float"]>;
6817
8201
  /** Worst conditions are based on -10°C and use of heating. */
6818
8202
  worst?: Maybe<VehiclePremiumEfficiencyProviderValue>;
@@ -6829,11 +8213,11 @@ export type VehiclePremiumEfficiencyProviderfuel_equivalentArgs = {
6829
8213
  };
6830
8214
 
6831
8215
  export type VehiclePremiumEfficiencyProviderValue = {
6832
- /** Estimated value on highway or express roads, default in km. */
8216
+ /** Estimated value on highway or express roads. */
6833
8217
  highway?: Maybe<Scalars["Float"]>;
6834
- /** Estimated value on city roads, default in km. */
8218
+ /** Estimated value on city roads. */
6835
8219
  city?: Maybe<Scalars["Float"]>;
6836
- /** Estimated combined value, default in km. */
8220
+ /** Estimated combined value. */
6837
8221
  combined?: Maybe<Scalars["Float"]>;
6838
8222
  };
6839
8223
 
@@ -6850,15 +8234,15 @@ export type VehiclePremiumEfficiencyProviderValuecombinedArgs = {
6850
8234
  };
6851
8235
 
6852
8236
  export type VehiclePremiumEfficiencyWLTP = {
6853
- /** Rated efficiency in WLTP combined cycle, default in kWh/100 km. */
8237
+ /** Rated efficiency in WLTP combined cycle. */
6854
8238
  value?: Maybe<Scalars["Float"]>;
6855
- /** Rated efficiency in WLTP combined cycle presented in gas equivalent, default in l/100 km. */
8239
+ /** Rated efficiency in WLTP combined cycle presented in gas equivalent. */
6856
8240
  fuel_equivalent?: Maybe<Scalars["Float"]>;
6857
- /** Rated vehicle efficiency in WLTP combined cycle (based on value), default in kWh/100 km. */
8241
+ /** Rated vehicle efficiency in WLTP combined cycle (based on value). */
6858
8242
  vehicle?: Maybe<Scalars["Float"]>;
6859
- /** Rated vehicle efficiency in WLTP combined cycle presented in gas equivalent, default in l/100 km. */
8243
+ /** Rated vehicle efficiency in WLTP combined cycle presented in gas equivalent. */
6860
8244
  vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
6861
- /** Rated CO2 emissions in WLTP combined cycle in battery-only mode (NULL if not WLTP rated), default in gr/km. */
8245
+ /** Rated CO2 emissions in WLTP combined cycle in battery-only mode (NULL if not WLTP rated). */
6862
8246
  co2?: Maybe<Scalars["Float"]>;
6863
8247
  };
6864
8248
 
@@ -6885,13 +8269,13 @@ export type VehiclePremiumEfficiencyWLTPco2Args = {
6885
8269
  export type VehiclePremiumEfficiencyWLTPTEH = {
6886
8270
  /** Rated efficiency in WLTP TEH combined cycle (TEH/least efficient trim). */
6887
8271
  value?: Maybe<Scalars["Float"]>;
6888
- /** Rated efficiency in WLTP TEH combined cycle presented in gas equivalent, default in l/100 km. */
8272
+ /** Rated efficiency in WLTP TEH combined cycle presented in gas equivalent. */
6889
8273
  fuel_equivalent?: Maybe<Scalars["Float"]>;
6890
- /** Rated vehicle efficiency in WLTP TEH combined cycle (based on value), default in kWh/100 km. */
8274
+ /** Rated vehicle efficiency in WLTP TEH combined cycle (based on value). */
6891
8275
  vehicle?: Maybe<Scalars["Float"]>;
6892
- /** Rated vehicle efficiency in WLTP TEH combined cycle presented in gas equivalent, default in l/100 km. */
8276
+ /** Rated vehicle efficiency in WLTP TEH combined cycle presented in gas equivalent. */
6893
8277
  vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
6894
- /** Rated CO2 emissions in WLTP TEH combined cycle in battery-only mode (NULL if not WLTP TEH rated), default in gr/km. */
8278
+ /** Rated CO2 emissions in WLTP TEH combined cycle in battery-only mode (NULL if not WLTP TEH rated). */
6895
8279
  co2?: Maybe<Scalars["Float"]>;
6896
8280
  };
6897
8281
 
@@ -6922,7 +8306,7 @@ export type VehiclePremiumFastCharge = {
6922
8306
  power?: Maybe<VehiclePremiumChargePower>;
6923
8307
  /** Minutes needed to charge from 10% to 80%, with average charging power (optimal conditions, fastest charger). */
6924
8308
  charge_time?: Maybe<Scalars["Float"]>;
6925
- /** Charging speed during fast charging from 10% to 80% (optimal conditions, fastest charger), default is kmph. */
8309
+ /** Charging speed during fast charging from 10% to 80% (optimal conditions, fastest charger). */
6926
8310
  charge_speed?: Maybe<Scalars["Float"]>;
6927
8311
  /** Indicates if fast charge is optional in some markets/regions. */
6928
8312
  is_optional?: Maybe<Scalars["Boolean"]>;
@@ -6953,7 +8337,7 @@ export type VehiclePremiumFastChargeTable = {
6953
8337
  power?: Maybe<VehiclePremiumChargePower>;
6954
8338
  /** Minutes needed to charge from 10% to 80% (optimal conditions). */
6955
8339
  charge_time?: Maybe<Scalars["Int"]>;
6956
- /** Charging speed during fast charging from 10% to 80% (optimal conditions), default is kmph. */
8340
+ /** Charging speed during fast charging from 10% to 80% (optimal conditions). */
6957
8341
  charge_speed?: Maybe<Scalars["Float"]>;
6958
8342
  /** Indicates if maximum power during fast charging is limited by the vehicle. */
6959
8343
  is_limited?: Maybe<Scalars["Boolean"]>;
@@ -7005,11 +8389,11 @@ export type VehiclePremiumNaming = {
7005
8389
  };
7006
8390
 
7007
8391
  export type VehiclePremiumPerformance = {
7008
- /** Acceleration 0-100 km/h, default in seconds. */
8392
+ /** Acceleration 0-100 km/h. */
7009
8393
  acceleration?: Maybe<Scalars["Float"]>;
7010
8394
  /** Indicates if acceleration field is estimated. */
7011
8395
  acceleration_is_estimated?: Maybe<Scalars["Boolean"]>;
7012
- /** Top speed of the vehicle, default in km/h. */
8396
+ /** Top speed of the vehicle. */
7013
8397
  top_speed?: Maybe<Scalars["Float"]>;
7014
8398
  /** Indicates if top_speed field is estimated. */
7015
8399
  top_speed_is_estimated?: Maybe<Scalars["Boolean"]>;
@@ -7052,17 +8436,17 @@ export type VehiclePremiumPriceValueWithGrantvalueArgs = {
7052
8436
  };
7053
8437
 
7054
8438
  export type VehiclePremiumRange = {
7055
- /** Rated range in WLTP combined cycle (NULL if not WLTP rated), default in km. */
8439
+ /** Rated range in WLTP combined cycle (NULL if not WLTP rated). */
7056
8440
  wltp?: Maybe<Scalars["Float"]>;
7057
8441
  /** Indicates if WLTP range is estimated (NULL if not WLTP rated). */
7058
8442
  wltp_is_estimated?: Maybe<Scalars["Boolean"]>;
7059
8443
  /** Rated range in WLTP (TEH/least efficient trim) combined cycle (NULL if not WLTP rated). */
7060
- wltp_teh?: Maybe<Scalars["Int"]>;
7061
- /** Rated range in NEDC combined cycle (NULL if not NEDC rated), default in km. */
8444
+ wltp_teh?: Maybe<Scalars["Float"]>;
8445
+ /** Rated range in NEDC combined cycle (NULL if not NEDC rated). */
7062
8446
  nedc?: Maybe<Scalars["Float"]>;
7063
8447
  /** Indicates if NEDC range is estimated (NULL if not NEDC rated). */
7064
8448
  nedc_is_estimated?: Maybe<Scalars["Boolean"]>;
7065
- /** Index range, default in km. */
8449
+ /** Index range. */
7066
8450
  provider?: Maybe<Scalars["Float"]>;
7067
8451
  /** Indicates if index range is estimated. */
7068
8452
  provider_is_estimated?: Maybe<Scalars["Boolean"]>;
@@ -7071,31 +8455,36 @@ export type VehiclePremiumRange = {
7071
8455
  /** Best conditions are based on 23°C and no use of A/C. */
7072
8456
  best: VehiclePremiumRangeValue;
7073
8457
  /**
7074
- * Chargetrip's custom real-world range provides a carefully calculated display range for all electric vehicle models based on our own research and driving data.
7075
- * CT range is based on the theoretical distance driven using only the electric engine.
7076
- * Vehicles that do not have a full electric drivetrain type ( all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
8458
+ * Chargetrip's custom real-world range provides a carefully calculated display range for all-electric vehicle models.
8459
+ * Chargetrip range is based on the theoretical distance driven using only the electric engine.
8460
+ * Vehicles that do not have a full electric drivetrain type (all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
8461
+ * More information on the CT range can be found at https://chargetrip.com/blog/what-is-ct-real-range
7077
8462
  */
7078
8463
  chargetrip_range: ChargetripRange;
7079
8464
  };
7080
8465
 
7081
8466
  export type VehiclePremiumRangewltpArgs = {
7082
- unit?: Maybe<ConsumptionUnit>;
8467
+ unit?: Maybe<DistanceUnit>;
8468
+ };
8469
+
8470
+ export type VehiclePremiumRangewltp_tehArgs = {
8471
+ unit?: Maybe<DistanceUnit>;
7083
8472
  };
7084
8473
 
7085
8474
  export type VehiclePremiumRangenedcArgs = {
7086
- unit?: Maybe<ConsumptionUnit>;
8475
+ unit?: Maybe<DistanceUnit>;
7087
8476
  };
7088
8477
 
7089
8478
  export type VehiclePremiumRangeproviderArgs = {
7090
- unit?: Maybe<ConsumptionUnit>;
8479
+ unit?: Maybe<DistanceUnit>;
7091
8480
  };
7092
8481
 
7093
8482
  export type VehiclePremiumRangeValue = {
7094
- /** Estimated value on highway or express roads, default in km. */
8483
+ /** Estimated value on highway or express roads. */
7095
8484
  highway: Scalars["Float"];
7096
- /** Estimated value on city roads, default in km. */
8485
+ /** Estimated value on city roads. */
7097
8486
  city: Scalars["Float"];
7098
- /** Estimated combined value, default in km. */
8487
+ /** Estimated combined value. */
7099
8488
  combined: Scalars["Float"];
7100
8489
  };
7101
8490
 
@@ -7116,11 +8505,11 @@ export type VehiclePremiumRouting = {
7116
8505
  fast_charging_support: Scalars["Boolean"];
7117
8506
  /** Drag coefficient. */
7118
8507
  drag_coefficient: Scalars["Float"];
7119
- /** Tire pressure recommended by manufacturer, default in bar. */
8508
+ /** Tire pressure recommended by manufacturer. */
7120
8509
  tire_pressure: Scalars["Float"];
7121
8510
  /** Extra consumption model. */
7122
8511
  consumption?: Maybe<VehiclePremiumRoutingConsumption>;
7123
- /** Amount of petrol that an equivalent petrol vehicle would consume, default in l/100 km. */
8512
+ /** Amount of gasoline that an equivalent gasoline vehicle would consume. */
7124
8513
  fuel_consumption?: Maybe<Scalars["Float"]>;
7125
8514
  };
7126
8515
 
@@ -7133,7 +8522,7 @@ export type VehiclePremiumRoutingfuel_consumptionArgs = {
7133
8522
  };
7134
8523
 
7135
8524
  export type VehiclePremiumRoutingConsumption = {
7136
- /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in a hour, like media box, etc */
8525
+ /** The amount of energy, in kWh, used by the auxiliary systems of the vehicle in an hour, like media box, etc */
7137
8526
  auxiliary?: Maybe<Scalars["Float"]>;
7138
8527
  /**
7139
8528
  * Consumption, in kWh, of the auxiliaries.
@@ -7152,6 +8541,10 @@ export type VehiclePremiumRoutingConsumption = {
7152
8541
  idle?: Maybe<VehiclePremiumRoutingConsumptionValue>;
7153
8542
  };
7154
8543
 
8544
+ export type VehiclePremiumRoutingConsumptionauxiliaryArgs = {
8545
+ unit?: Maybe<AuxiliaryConsumptionUnit>;
8546
+ };
8547
+
7155
8548
  export type VehiclePremiumRoutingConsumptionValue = {
7156
8549
  /** Best (lowest) consumption in summer. */
7157
8550
  best?: Maybe<Scalars["Float"]>;
@@ -7159,6 +8552,14 @@ export type VehiclePremiumRoutingConsumptionValue = {
7159
8552
  worst?: Maybe<Scalars["Float"]>;
7160
8553
  };
7161
8554
 
8555
+ export type VehiclePremiumRoutingConsumptionValuebestArgs = {
8556
+ unit?: Maybe<ConsumptionUnit>;
8557
+ };
8558
+
8559
+ export type VehiclePremiumRoutingConsumptionValueworstArgs = {
8560
+ unit?: Maybe<ConsumptionUnit>;
8561
+ };
8562
+
7162
8563
  export type VehiclePremiumSafety = {
7163
8564
  /** Number of seats equipped with ISOFIX. */
7164
8565
  isofix_seats?: Maybe<Scalars["Int"]>;
@@ -7215,7 +8616,7 @@ export enum VehiclePurpose {
7215
8616
  }
7216
8617
 
7217
8618
  export type VehicleRange = {
7218
- /** Index range, default in km. */
8619
+ /** Index range. */
7219
8620
  provider?: Maybe<Scalars["Float"]>;
7220
8621
  /** Indicates if index range is estimated. */
7221
8622
  provider_is_estimated?: Maybe<Scalars["Boolean"]>;
@@ -7224,9 +8625,10 @@ export type VehicleRange = {
7224
8625
  /** Best conditions are based on 23°C and no use of A/C. */
7225
8626
  best: VehicleRangeValue;
7226
8627
  /**
7227
- * Chargetrip's custom real-world range provides a carefully calculated display range for all electric vehicle models based on our own research and driving data.
7228
- * CT range is based on the theoretical distance driven using only the electric engine.
7229
- * Vehicles that do not have a full electric drivetrain type ( all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
8628
+ * Chargetrip's custom real-world range provides a carefully calculated display range for all-electric vehicle models.
8629
+ * Chargetrip range is based on the theoretical distance driven using only the electric engine.
8630
+ * Vehicles that do not have a full electric drivetrain type (all except Battery Electric Vehicles / BEV) therefore return relatively small ranges.
8631
+ * More information on the CT range can be found at https://chargetrip.com/blog/what-is-ct-real-range
7230
8632
  */
7231
8633
  chargetrip_range: ChargetripRange;
7232
8634
  };
@@ -7236,11 +8638,11 @@ export type VehicleRangeproviderArgs = {
7236
8638
  };
7237
8639
 
7238
8640
  export type VehicleRangeValue = {
7239
- /** Estimated value on the highway or express roads, default in km. */
8641
+ /** Estimated value on the highway or express roads. */
7240
8642
  highway: Scalars["Float"];
7241
- /** Estimated value on the cities road, default in km. */
8643
+ /** Estimated value on the cities road. */
7242
8644
  city: Scalars["Float"];
7243
- /** Estimated combined value, default in km. */
8645
+ /** Estimated combined value. */
7244
8646
  combined: Scalars["Float"];
7245
8647
  };
7246
8648
 
@@ -7276,13 +8678,22 @@ export type VehicleRouting = {
7276
8678
  fast_charging_support: Scalars["Boolean"];
7277
8679
  };
7278
8680
 
8681
+ export type VehicleSpeed = {
8682
+ /** Value of the vehicle speed. */
8683
+ value: Scalars["Float"];
8684
+ /** Type of the vehicle speed. */
8685
+ type: SpeedUnit;
8686
+ /** Source of inputted data. */
8687
+ source: TelemetryInputSource;
8688
+ };
8689
+
7279
8690
  export type VehicleSpeedInput = {
7280
8691
  /** Value of the vehicle speed. */
7281
8692
  value: Scalars["Float"];
7282
8693
  /** Type of the vehicle speed. */
7283
8694
  type: SpeedUnit;
7284
8695
  /** Source of inputted data, defaults to 'manual'. */
7285
- source?: Maybe<TelemetryInputSource>;
8696
+ source?: TelemetryInputSource;
7286
8697
  };
7287
8698
 
7288
8699
  /** Status of a vehicle. */
@@ -7376,6 +8787,7 @@ export enum VolumeUnit {
7376
8787
  CUBIC_FOOT = "cubic_foot"
7377
8788
  }
7378
8789
 
8790
+ /** Weight unit. */
7379
8791
  export enum WeightUnit {
7380
8792
  /** Return the weight in kilograms. */
7381
8793
  KILOGRAM = "kilogram",