@chargetrip/types 1.32.0 → 1.32.2

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.
@@ -19,7 +19,7 @@ export declare type Scalars = {
19
19
  Float: number;
20
20
  /** The date and time scalar */
21
21
  DateTime: string;
22
- /** Any JSON object or array */
22
+ /** Any JSON object */
23
23
  JSON: {
24
24
  [key: string]: number | string | boolean | null | Scalars["JSON"];
25
25
  };
@@ -30,34 +30,34 @@ export declare type Scalars = {
30
30
  PlainString: any;
31
31
  /** The File Upload scalar */
32
32
  Upload: any;
33
- /** Void scalar. Returns null */
33
+ /** Returns null */
34
34
  Void: any;
35
35
  };
36
36
  export declare enum AccessType {
37
- PRIVATE = "Private",
38
37
  PUBLIC = "Public",
39
- RESTRICTED = "Restricted"
38
+ RESTRICTED = "Restricted",
39
+ PRIVATE = "Private"
40
40
  }
41
41
  /** Information about an address */
42
42
  export declare type Address = {
43
- /** City */
44
- city?: Maybe<Scalars["String"]>;
45
43
  /** Continent code (2 letters) */
46
44
  continent?: Maybe<Scalars["String"]>;
47
45
  /** Country code (2 letters) */
48
46
  country?: Maybe<Scalars["String"]>;
49
47
  /** County code (2 letters) */
50
48
  county?: Maybe<Scalars["String"]>;
51
- /** Human-readable address of a location */
52
- formattedAddress?: Maybe<Array<Maybe<Scalars["String"]>>>;
49
+ /** City */
50
+ city?: Maybe<Scalars["String"]>;
51
+ /** Street name */
52
+ street?: Maybe<Scalars["String"]>;
53
53
  /** Street number */
54
54
  number?: Maybe<Scalars["String"]>;
55
55
  /** Postal code of a location */
56
56
  postalCode?: Maybe<Scalars["String"]>;
57
- /** Street name */
58
- street?: Maybe<Scalars["String"]>;
59
57
  /** String composed of 3 words which represent the location of an address on the globe. More details: http://w3w.co/<what3Words> */
60
58
  what3Words?: Maybe<Scalars["String"]>;
59
+ /** Human-readable address of a location */
60
+ formattedAddress?: Maybe<Array<Maybe<Scalars["String"]>>>;
61
61
  };
62
62
  export declare enum AdhocAuthorisationMethod {
63
63
  CREDIT_CARD = "CREDIT_CARD",
@@ -71,207 +71,217 @@ export declare enum AdhocAuthorisationMethod {
71
71
  }
72
72
  /** Amenities available near a station */
73
73
  export declare enum Amenities {
74
- BATHROOM = "bathroom",
75
- COFFEE = "coffee",
76
- HOTEL = "hotel",
77
- MUSEUM = "museum",
78
74
  PARK = "park",
79
- PHARMACY = "pharmacy",
80
- PLAYGROUND = "playground",
81
75
  RESTAURANT = "restaurant",
76
+ MUSEUM = "museum",
77
+ COFFEE = "coffee",
78
+ HOTEL = "hotel",
82
79
  SHOPPING = "shopping",
83
- SUPERMARKET = "supermarket"
80
+ BATHROOM = "bathroom",
81
+ SUPERMARKET = "supermarket",
82
+ PLAYGROUND = "playground",
83
+ PHARMACY = "pharmacy"
84
84
  }
85
85
  /** The amenity model */
86
86
  export declare type Amenity = {
87
- /** Embedded Address */
88
- address?: Maybe<Address>;
89
- /** Date and time when an amenity was created */
90
- createdAt?: Maybe<Scalars["String"]>;
91
- /** Computed distance between station and amenity */
92
- distance?: Maybe<Scalars["Int"]>;
93
- /** ID provided by an amenity data source as the row ID */
94
- externalId?: Maybe<Scalars["String"]>;
95
- /** Full path URL to amenity foursquare page */
96
- foursquareUrl?: Maybe<Scalars["String"]>;
97
87
  /** Unique amenity ID */
98
88
  id?: Maybe<Scalars["ID"]>;
99
- /** Geo location coordinates. This is a GeoJSON Point */
100
- location?: Maybe<Point>;
89
+ /** ID provided by an amenity data source as the row ID */
90
+ externalId?: Maybe<Scalars["String"]>;
101
91
  /** Name of an amenity */
102
92
  name?: Maybe<Scalars["String"]>;
103
- /** Rating of an amenity, the value will be between 0.0 and 10.0. If no rating has been given, the value will be set to null */
104
- rating?: Maybe<Scalars["Float"]>;
93
+ /** Geo location coordinates. This is a GeoJSON Point */
94
+ location?: Maybe<Point>;
95
+ /** Embedded Address */
96
+ address?: Maybe<Address>;
105
97
  /** Type of amenity. An amenity can belong to multiple categories */
106
98
  type?: Maybe<Array<Maybe<Scalars["String"]>>>;
99
+ /** Rating of an amenity, the value will be between 0.0 and 10.0. If no rating has been given, the value will be set to null */
100
+ rating?: Maybe<Scalars["Float"]>;
101
+ /** Computed distance between station and amenity */
102
+ distance?: Maybe<Scalars["Int"]>;
103
+ /** Full path URL to amenity foursquare page */
104
+ foursquareUrl?: Maybe<Scalars["String"]>;
105
+ /** Date and time when an amenity was created */
106
+ createdAt?: Maybe<Scalars["String"]>;
107
107
  /** Date and time when an amenity was last updated */
108
108
  updatedAt?: Maybe<Scalars["String"]>;
109
109
  };
110
110
  /** Amenities stats model */
111
111
  export declare type AmenityStats = {
112
- /** The total number of stations with the specified amenity */
113
- total?: Maybe<Scalars["Int"]>;
114
112
  /** The amenity type */
115
113
  type?: Maybe<Scalars["String"]>;
114
+ /** The total number of stations with the specified amenity */
115
+ total?: Maybe<Scalars["Int"]>;
116
+ };
117
+ export declare type AuthorizeConnectedVehicleInput = {
118
+ /** Id from the connected vehicle */
119
+ id: Scalars["ID"];
120
+ /** Provider specific options. See the developer portal for more details */
121
+ options: AuthorizeConnectedVehicleOptions;
122
+ };
123
+ export declare type AuthorizeConnectedVehicleOptions = {
124
+ /** OAuth code returned as a query parameter on the OAuth callback */
125
+ code?: Maybe<Scalars["PlainString"]>;
116
126
  };
117
127
  /** The type of the batter value */
118
128
  export declare enum BatteryInputType {
119
- KM = "km",
120
129
  KWH = "kwh",
130
+ KM = "km",
121
131
  MILES = "miles",
122
132
  PERCENTAGE = "percentage"
123
133
  }
124
134
  /** Output of a car query */
125
135
  export declare type Car = {
126
- /**
127
- * Acceleration time from 0 to 100 km/h
128
- * @deprecated In favor of performance.acceleration
129
- */
130
- acceleration?: Maybe<Scalars["Float"]>;
136
+ /** Cars unique ID */
137
+ id?: Maybe<Scalars["ID"]>;
138
+ /** Naming of a car */
139
+ naming?: Maybe<CarNaming>;
140
+ /** Available connectors for a car */
141
+ connectors?: Maybe<Array<Maybe<CarPlug>>>;
131
142
  /** List of adapters of connectors available for a car */
132
143
  adapters?: Maybe<Array<Maybe<CarPlug>>>;
133
- /** Availability of a car */
134
- availability?: Maybe<CarAvailability>;
135
144
  /** Battery of a car */
136
145
  battery?: Maybe<CarBattery>;
146
+ /** Body of a car */
147
+ body?: Maybe<CarBody>;
148
+ /** Availability of a car */
149
+ availability?: Maybe<CarAvailability>;
150
+ /** Performance of a car */
151
+ performance?: Maybe<CarPerformance>;
152
+ /** Range of a car */
153
+ range?: Maybe<CarRange>;
154
+ /** Media of a car */
155
+ media?: Maybe<CarMedia>;
156
+ /** Routing of a car */
157
+ routing?: Maybe<CarRouting>;
158
+ /** Information about vehicle connectivity */
159
+ connect?: Maybe<Connect>;
137
160
  /**
138
- * Battery efficiency in the city, highway and combined depending on weather conditions
139
- * @deprecated In favor of efficiency
140
- */
141
- batteryEfficiency?: Maybe<CarBatteryEfficiency>;
142
- /**
143
- * Full battery capacity in kWh
144
- * @deprecated In favor of battery.full_kwh
161
+ * ID provided by a car data source as the row ID
162
+ * @deprecated Will be removed in the future
145
163
  */
146
- batteryFullKwh?: Maybe<Scalars["Float"]>;
164
+ externalId?: Maybe<Scalars["String"]>;
147
165
  /**
148
- * Usable battery capacity in kWh
149
- * @deprecated In favor of battery.usable_kwh
166
+ * Car manufacturer
167
+ * @deprecated In favor of naming.make
150
168
  */
151
- batteryUsableKwh?: Maybe<Scalars["Float"]>;
152
- /** Body of a car */
153
- body?: Maybe<CarBody>;
169
+ make?: Maybe<Scalars["String"]>;
154
170
  /**
155
171
  * Car model
156
172
  * @deprecated In favor of naming.model
157
173
  */
158
174
  carModel?: Maybe<Scalars["String"]>;
175
+ /**
176
+ * Car edition
177
+ * @deprecated In favor of naming.version
178
+ */
179
+ edition?: Maybe<Scalars["String"]>;
159
180
  /**
160
181
  * Car model edition. Added by Chargetrip as an alternative for when a car manufacturer does not provide an edition name, or uses the same edition name across all trims or consecutive years
161
182
  * @deprecated In favor of naming.chargetrip_version
162
183
  */
163
184
  chargetripEdition?: Maybe<Scalars["String"]>;
185
+ /**
186
+ * Car version
187
+ * @deprecated In favor of naming.edition
188
+ */
189
+ version?: Maybe<Scalars["String"]>;
164
190
  /**
165
191
  * 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
166
192
  * @deprecated In favor of range.chargetrip_range
167
193
  */
168
194
  chargetripRange?: Maybe<ChargetripRange>;
169
195
  /**
170
- * A list of offset data for different charging speeds
171
- * @deprecated You will receive null values
172
- */
173
- chargingOffset?: Maybe<Scalars["JSON"]>;
174
- /** Information about vehicle connectivity */
175
- connect?: Maybe<Connect>;
176
- /** Available connectors for a car */
177
- connectors?: Maybe<Array<Maybe<CarPlug>>>;
178
- /**
179
- * Extra consumption model
180
- * @deprecated In favor of routing.consumption
196
+ * Cars that support fast charging have a minimum charging speed of 43 kWh
197
+ * @deprecated In favor of routing.fast_charging_support
181
198
  */
182
- consumption?: Maybe<CarExtraConsumption>;
199
+ fastChargingSupport?: Maybe<Scalars["Boolean"]>;
183
200
  /**
184
- * Car edition
185
- * @deprecated In favor of naming.version
201
+ * Current production mode of a car
202
+ * @deprecated In favor of availability.status
186
203
  */
187
- edition?: Maybe<Scalars["String"]>;
204
+ mode?: Maybe<CarMode>;
188
205
  /**
189
- * ID provided by a car data source as the row ID
190
- * @deprecated Will be removed in the future
206
+ * Number of seats
207
+ * @deprecated In favor of body.seats
191
208
  */
192
- externalId?: Maybe<Scalars["String"]>;
209
+ seats?: Maybe<Scalars["Int"]>;
193
210
  /**
194
- * Cars that support fast charging have a minimum charging speed of 43 kWh
195
- * @deprecated In favor of routing.fast_charging_support
211
+ * Weight in kg
212
+ * @deprecated In favor of body.weight
196
213
  */
197
- fastChargingSupport?: Maybe<Scalars["Boolean"]>;
214
+ weight?: Maybe<Scalars["Float"]>;
198
215
  /**
199
216
  * Height in mm
200
217
  * @deprecated In favor of body.height
201
218
  */
202
219
  height?: Maybe<Scalars["Int"]>;
203
- /** Cars unique ID */
204
- id?: Maybe<Scalars["ID"]>;
205
220
  /**
206
- * Images of a car
207
- * @deprecated In favor of media.image_list
221
+ * Width in mm
222
+ * @deprecated In favor of body.width
208
223
  */
209
- images?: Maybe<Array<Maybe<CarImage>>>;
224
+ width?: Maybe<Scalars["Int"]>;
210
225
  /**
211
- * Images of a car in structured data
212
- * @deprecated In favor of media.image or media.brand
226
+ * Usable battery capacity in kWh
227
+ * @deprecated In favor of battery.usable_kwh
213
228
  */
214
- imagesData?: Maybe<CarImageData>;
229
+ batteryUsableKwh?: Maybe<Scalars["Float"]>;
215
230
  /**
216
- * Car manufacturer
217
- * @deprecated In favor of naming.make
231
+ * Full battery capacity in kWh
232
+ * @deprecated In favor of battery.full_kwh
218
233
  */
219
- make?: Maybe<Scalars["String"]>;
220
- /** Media of a car */
221
- media?: Maybe<CarMedia>;
234
+ batteryFullKwh?: Maybe<Scalars["Float"]>;
222
235
  /**
223
- * Current production mode of a car
224
- * @deprecated In favor of availability.status
236
+ * Battery efficiency in the city, highway and combined depending on weather conditions
237
+ * @deprecated In favor of efficiency
225
238
  */
226
- mode?: Maybe<CarMode>;
227
- /** Naming of a car */
228
- naming?: Maybe<CarNaming>;
229
- /** Performance of a car */
230
- performance?: Maybe<CarPerformance>;
239
+ batteryEfficiency?: Maybe<CarBatteryEfficiency>;
231
240
  /**
232
- * Amount of petrol a similar petrol car would consume per 100 km
233
- * @deprecated In favor of routing.petrol_consumption
241
+ * Acceleration time from 0 to 100 km/h
242
+ * @deprecated In favor of performance.acceleration
234
243
  */
235
- petrolConsumption?: Maybe<Scalars["Float"]>;
244
+ acceleration?: Maybe<Scalars["Float"]>;
245
+ /**
246
+ * Maximum car speed in km/h
247
+ * @deprecated In favor of performance.top_speed
248
+ */
249
+ topSpeed?: Maybe<Scalars["Float"]>;
236
250
  /**
237
251
  * Power of a car in Kw
238
252
  * @deprecated In favor of drivetrain.power
239
253
  */
240
254
  power?: Maybe<Scalars["Float"]>;
241
- /** Range of a car */
242
- range?: Maybe<CarRange>;
243
- /** Routing of a car */
244
- routing?: Maybe<CarRouting>;
245
255
  /**
246
- * Number of seats
247
- * @deprecated In favor of body.seats
256
+ * Engine torque
257
+ * @deprecated In favor of drivetrain.torque
248
258
  */
249
- seats?: Maybe<Scalars["Int"]>;
259
+ torque?: Maybe<Scalars["Float"]>;
250
260
  /**
251
- * Maximum car speed in km/h
252
- * @deprecated In favor of performance.top_speed
261
+ * Extra consumption model
262
+ * @deprecated In favor of routing.consumption
253
263
  */
254
- topSpeed?: Maybe<Scalars["Float"]>;
264
+ consumption?: Maybe<CarExtraConsumption>;
255
265
  /**
256
- * Engine torque
257
- * @deprecated In favor of drivetrain.torque
266
+ * Amount of petrol a similar petrol car would consume per 100 km
267
+ * @deprecated In favor of routing.petrol_consumption
258
268
  */
259
- torque?: Maybe<Scalars["Float"]>;
269
+ petrolConsumption?: Maybe<Scalars["Float"]>;
260
270
  /**
261
- * Car version
262
- * @deprecated In favor of naming.edition
271
+ * A list of offset data for different charging speeds
272
+ * @deprecated You will receive null values
263
273
  */
264
- version?: Maybe<Scalars["String"]>;
274
+ chargingOffset?: Maybe<Scalars["JSON"]>;
265
275
  /**
266
- * Weight in kg
267
- * @deprecated In favor of body.weight
276
+ * Images of a car
277
+ * @deprecated In favor of media.image_list
268
278
  */
269
- weight?: Maybe<Scalars["Float"]>;
279
+ images?: Maybe<Array<Maybe<CarImage>>>;
270
280
  /**
271
- * Width in mm
272
- * @deprecated In favor of body.width
281
+ * Images of a car in structured data
282
+ * @deprecated In favor of media.image or media.brand
273
283
  */
274
- width?: Maybe<Scalars["Int"]>;
284
+ imagesData?: Maybe<CarImageData>;
275
285
  };
276
286
  export declare type CarAvailability = {
277
287
  /**
@@ -291,19 +301,19 @@ export declare type CarAvailability = {
291
301
  status?: Maybe<Scalars["Int"]>;
292
302
  };
293
303
  export declare type CarBattery = {
294
- /** Full battery capacity in kWh */
295
- full_kwh?: Maybe<Scalars["Float"]>;
296
304
  /** Usable battery capacity in kWh */
297
305
  usable_kwh?: Maybe<Scalars["Float"]>;
306
+ /** Full battery capacity in kWh */
307
+ full_kwh?: Maybe<Scalars["Float"]>;
298
308
  };
299
309
  /** Deprecated */
300
310
  export declare type CarBatteryEfficiency = {
301
311
  /** Average efficiency measured in kWh/100 km */
302
312
  average?: Maybe<Scalars["Float"]>;
303
- /** Best conditions are based on 23°C and no use of A/C, measured in kWh/100 km */
304
- best?: Maybe<CarEstimationData>;
305
313
  /** Worst conditions are based on -10°C and use of heating, measured in kWh/100 km */
306
314
  worst?: Maybe<CarEstimationData>;
315
+ /** Best conditions are based on 23°C and no use of A/C, measured in kWh/100 km */
316
+ best?: Maybe<CarEstimationData>;
307
317
  };
308
318
  /** Battery field estimated */
309
319
  export declare enum CarBatteryFieldEstimations {
@@ -317,29 +327,32 @@ export declare enum CarBatteryFieldEstimations {
317
327
  U = "U"
318
328
  }
319
329
  export declare type CarBody = {
330
+ /** Width with folded mirrors in mm */
331
+ width?: Maybe<Scalars["Int"]>;
320
332
  /** Height (average height for adjustable suspensions) in mm */
321
333
  height?: Maybe<Scalars["Int"]>;
322
- /** Number of seats */
323
- seats?: Maybe<Scalars["Int"]>;
324
334
  /** Weight Unladen EU) in kg */
325
335
  weight?: Maybe<Scalars["Int"]>;
326
- /** Width with folded mirrors in mm */
327
- width?: Maybe<Scalars["Int"]>;
336
+ /** Number of seats */
337
+ seats?: Maybe<Scalars["Int"]>;
328
338
  };
339
+ export declare enum CarConnectivityProvider {
340
+ ENODE = "Enode"
341
+ }
329
342
  /** Deprecated */
330
343
  export declare type CarConsumption = {
331
- /** Best conditions are based on 23°C and no use of A/C */
332
- best?: Maybe<Scalars["Float"]>;
333
344
  /** Worst conditions are based on -10°C and use of heating */
334
345
  worst?: Maybe<Scalars["Float"]>;
346
+ /** Best conditions are based on 23°C and no use of A/C */
347
+ best?: Maybe<Scalars["Float"]>;
335
348
  };
336
349
  /** The consumption of the car */
337
350
  export declare type CarConsumptionInput = {
338
- /** Best conditions are based on 23°C and no use of A/C */
339
- best?: Maybe<Scalars["Float"]>;
340
351
  /** Worst conditions are based on -10°C and use of heating */
341
352
  worst?: Maybe<Scalars["Float"]>;
342
- };
353
+ /** Best conditions are based on 23°C and no use of A/C */
354
+ best?: Maybe<Scalars["Float"]>;
355
+ };
343
356
  /** Drivetrain */
344
357
  export declare enum CarDrivetrain {
345
358
  /** Battery Electric Car */
@@ -349,12 +362,12 @@ export declare enum CarDrivetrain {
349
362
  }
350
363
  /** Deprecated */
351
364
  export declare type CarEstimationData = {
365
+ /** Estimated battery efficiency on a highway or express roads, in km */
366
+ highway?: Maybe<Scalars["Float"]>;
352
367
  /** Estimated battery efficiency on city roads, in km */
353
368
  city?: Maybe<Scalars["Float"]>;
354
369
  /** Estimated battery efficiency on highway and city roads combined, in km */
355
370
  combined?: Maybe<Scalars["Float"]>;
356
- /** Estimated battery efficiency on a highway or express roads, in km */
357
- highway?: Maybe<Scalars["Float"]>;
358
371
  };
359
372
  /** Deprecated */
360
373
  export declare type CarExtraConsumption = {
@@ -371,46 +384,46 @@ export declare enum CarFuel {
371
384
  E = "E"
372
385
  }
373
386
  export declare type CarImage = {
374
- /** Height of a large image in pixels */
375
- height?: Maybe<Scalars["Int"]>;
376
387
  /** Image id */
377
388
  id?: Maybe<Scalars["ID"]>;
378
- /** Height of a thumbnail image in pixels */
379
- thumbnail_height?: Maybe<Scalars["Int"]>;
380
- /** Full path URL of a thumbnail image */
381
- thumbnail_url?: Maybe<Scalars["String"]>;
382
- /** Width of a thumbnail image in pixels */
383
- thumbnail_width?: Maybe<Scalars["Int"]>;
384
389
  /** Image type */
385
390
  type?: Maybe<CarImageType>;
386
391
  /** Full path URL of a large image */
387
392
  url?: Maybe<Scalars["String"]>;
393
+ /** Height of a large image in pixels */
394
+ height?: Maybe<Scalars["Int"]>;
388
395
  /** Width of a large image in pixels */
389
396
  width?: Maybe<Scalars["Int"]>;
397
+ /** Full path URL of a thumbnail image */
398
+ thumbnail_url?: Maybe<Scalars["String"]>;
399
+ /** Height of a thumbnail image in pixels */
400
+ thumbnail_height?: Maybe<Scalars["Int"]>;
401
+ /** Width of a thumbnail image in pixels */
402
+ thumbnail_width?: Maybe<Scalars["Int"]>;
390
403
  };
391
404
  /** Deprecated */
392
405
  export declare type CarImageData = {
393
- /** Full size logo of the maker of a car */
394
- brand?: Maybe<CarImage>;
395
- /** Thumbnail of a full size logo of the maker of a car */
396
- brand_thumbnail?: Maybe<CarImage>;
397
406
  /** Full size image of a car */
398
407
  image?: Maybe<CarImage>;
399
408
  /** Thumbnail of a full size image */
400
409
  image_thumbnail?: Maybe<CarImage>;
410
+ /** Full size logo of the maker of a car */
411
+ brand?: Maybe<CarImage>;
412
+ /** Thumbnail of a full size logo of the maker of a car */
413
+ brand_thumbnail?: Maybe<CarImage>;
401
414
  };
402
415
  /** Available types of images which can be found for a car. Each type has specific image sizes */
403
416
  export declare enum CarImageType {
404
- /** Full-sized brand (maker) logo at 768x432 px */
405
- BRAND = "brand",
406
- /** Thumbnail of a full-sized brand logo at 56x24 px */
407
- BRAND_THUMBNAIL = "brand_thumbnail",
417
+ /** Images provided by a Car Datasource */
418
+ PROVIDER = "provider",
408
419
  /** Full-sized image at 1536x864 px */
409
420
  IMAGE = "image",
410
421
  /** Thumbnail of a full-sized image at 131x72 px */
411
422
  IMAGE_THUMBNAIL = "image_thumbnail",
412
- /** Images provided by a Car Datasource */
413
- PROVIDER = "provider"
423
+ /** Full-sized brand (maker) logo at 768x432 px */
424
+ BRAND = "brand",
425
+ /** Thumbnail of a full-sized brand logo at 56x24 px */
426
+ BRAND_THUMBNAIL = "brand_thumbnail"
414
427
  }
415
428
  /** When uploading images to a car, you can select one of this types. The rest of the types are automatically generated by the system */
416
429
  export declare enum CarImageTypeUploadable {
@@ -419,131 +432,131 @@ export declare enum CarImageTypeUploadable {
419
432
  }
420
433
  /** The output element of the carList query */
421
434
  export declare type CarList = {
422
- /** @deprecated You will receive null values */
423
- acceleration?: Maybe<Scalars["Float"]>;
435
+ /** Cars unique ID */
436
+ id?: Maybe<Scalars["ID"]>;
437
+ /** Naming of a car */
438
+ naming?: Maybe<CarListNaming>;
439
+ /** Connectors available for a car */
440
+ connectors?: Maybe<Array<Maybe<CarPlug>>>;
424
441
  /** Adapters of connectors available for a car */
425
442
  adapters?: Maybe<Array<Maybe<CarPlug>>>;
426
- /** @deprecated You will receive null values */
427
- auxConsumption?: Maybe<Scalars["Float"]>;
428
- /** Availability of a car */
429
- availability?: Maybe<CarListAvailability>;
430
443
  /** Battery of a car */
431
444
  battery?: Maybe<CarListBattery>;
432
- /** @deprecated You will receive null values */
433
- batteryEfficiency?: Maybe<CarBatteryEfficiency>;
445
+ /** Body of a car */
446
+ body?: Maybe<CarListBody>;
447
+ /** Availability of a car */
448
+ availability?: Maybe<CarListAvailability>;
449
+ /** Range of a car */
450
+ range?: Maybe<CarListRange>;
451
+ /** Media of a car */
452
+ media?: Maybe<CarListMedia>;
453
+ /** Routing of a car */
454
+ routing?: Maybe<CarListRouting>;
455
+ /** Information about vehicle connectivity */
456
+ connect?: Maybe<Connect>;
434
457
  /**
435
- * Full battery capacity in kWh
436
- * @deprecated In favor of battery.full_kwh
458
+ * ID provided by a car data source as the row ID
459
+ * @deprecated Will be removed in the future
437
460
  */
438
- batteryFullKwh?: Maybe<Scalars["Float"]>;
461
+ externalId?: Maybe<Scalars["String"]>;
439
462
  /**
440
- * Usable battery capacity in kWh
441
- * @deprecated In favor of battery.usable_kwh
463
+ * Car manufacturer
464
+ * @deprecated In favor of naming.make
442
465
  */
443
- batteryUsableKwh?: Maybe<Scalars["Float"]>;
444
- /** @deprecated You will receive null values */
445
- bmsConsumption?: Maybe<Scalars["Float"]>;
446
- /** Body of a car */
447
- body?: Maybe<CarListBody>;
466
+ make?: Maybe<Scalars["String"]>;
448
467
  /**
449
468
  * Car model
450
469
  * @deprecated In favor of naming.model
451
470
  */
452
471
  carModel?: Maybe<Scalars["String"]>;
472
+ /**
473
+ * Car edition
474
+ * @deprecated In favor of naming.version
475
+ */
476
+ edition?: Maybe<Scalars["String"]>;
453
477
  /**
454
478
  * Car model edition. Added by Chargetrip as an alternative for when a car manufacturer does not provide an edition name, or uses the same edition name across all trims or consecutive years
455
479
  * @deprecated In favor of naming.chargetrip_version
456
480
  */
457
481
  chargetripEdition?: Maybe<Scalars["String"]>;
482
+ /**
483
+ * Car version
484
+ * @deprecated In favor of naming.edition
485
+ */
486
+ version?: Maybe<Scalars["String"]>;
458
487
  /**
459
488
  * 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
460
489
  * @deprecated In favor of range.chargetrip_range
461
490
  */
462
491
  chargetripRange?: Maybe<ChargetripRange>;
463
- /** @deprecated You will receive null values */
464
- chargingOffset?: Maybe<Scalars["JSON"]>;
465
- /** Information about vehicle connectivity */
466
- connect?: Maybe<Connect>;
467
- /** Connectors available for a car */
468
- connectors?: Maybe<Array<Maybe<CarPlug>>>;
469
- /** @deprecated You will receive null values */
470
- consumption?: Maybe<CarExtraConsumption>;
471
- /** @deprecated You will receive null values */
472
- dragCoefficient?: Maybe<Scalars["Float"]>;
473
- /** @deprecated You will receive null values */
474
- drivelineEfficiency?: Maybe<Scalars["Float"]>;
475
- /**
476
- * Car edition
477
- * @deprecated In favor of naming.version
478
- */
479
- edition?: Maybe<Scalars["String"]>;
480
- /**
481
- * ID provided by a car data source as the row ID
482
- * @deprecated Will be removed in the future
483
- */
484
- externalId?: Maybe<Scalars["String"]>;
485
492
  /**
486
493
  * Cars that support fast charging have a minimum charging speed of 43 kWh
487
494
  * @deprecated In favor of routing.fast_charging_support
488
495
  */
489
496
  fastChargingSupport?: Maybe<Scalars["Boolean"]>;
490
- /** @deprecated You will receive null values */
491
- height?: Maybe<Scalars["Int"]>;
492
- /** Cars unique ID */
493
- id?: Maybe<Scalars["ID"]>;
494
- /** @deprecated You will receive null values */
495
- images?: Maybe<Array<Maybe<CarImage>>>;
496
- /**
497
- * Images of a car in structured data
498
- * @deprecated In favor of media.image and media.brand
499
- */
500
- imagesData?: Maybe<CarImageData>;
501
- /**
502
- * Car manufacturer
503
- * @deprecated In favor of naming.make
504
- */
505
- make?: Maybe<Scalars["String"]>;
506
- /** Media of a car */
507
- media?: Maybe<CarListMedia>;
508
497
  /**
509
498
  * Current production mode of a car
510
499
  * @deprecated In favor of availability.status
511
500
  */
512
501
  mode?: Maybe<CarMode>;
513
- /** @deprecated You will receive null values */
514
- motorEfficiency?: Maybe<Scalars["Float"]>;
515
- /** Naming of a car */
516
- naming?: Maybe<CarListNaming>;
517
- /** @deprecated You will receive null values */
518
- petrolConsumption?: Maybe<Scalars["Float"]>;
519
- /** @deprecated You will receive null values */
520
- power?: Maybe<Scalars["Float"]>;
521
- /** Range of a car */
522
- range?: Maybe<CarListRange>;
523
- /** @deprecated You will receive null values */
524
- regenEfficiency?: Maybe<Scalars["Float"]>;
525
- /** Routing of a car */
526
- routing?: Maybe<CarListRouting>;
527
502
  /**
528
503
  * Number of seats
529
504
  * @deprecated In favor of body.seats
530
505
  */
531
506
  seats?: Maybe<Scalars["Int"]>;
507
+ /**
508
+ * Usable battery capacity in kWh
509
+ * @deprecated In favor of battery.usable_kwh
510
+ */
511
+ batteryUsableKwh?: Maybe<Scalars["Float"]>;
512
+ /**
513
+ * Full battery capacity in kWh
514
+ * @deprecated In favor of battery.full_kwh
515
+ */
516
+ batteryFullKwh?: Maybe<Scalars["Float"]>;
517
+ /**
518
+ * Images of a car in structured data
519
+ * @deprecated In favor of media.image and media.brand
520
+ */
521
+ imagesData?: Maybe<CarImageData>;
532
522
  /** @deprecated You will receive null values */
533
- tirePressure?: Maybe<Scalars["Float"]>;
523
+ power?: Maybe<Scalars["Float"]>;
524
+ /** @deprecated You will receive null values */
525
+ acceleration?: Maybe<Scalars["Float"]>;
534
526
  /** @deprecated You will receive null values */
535
527
  topSpeed?: Maybe<Scalars["Float"]>;
536
528
  /** @deprecated You will receive null values */
537
529
  torque?: Maybe<Scalars["Float"]>;
538
- /**
539
- * Car version
540
- * @deprecated In favor of naming.edition
541
- */
542
- version?: Maybe<Scalars["String"]>;
530
+ /** @deprecated You will receive null values */
531
+ batteryEfficiency?: Maybe<CarBatteryEfficiency>;
543
532
  /** @deprecated You will receive null values */
544
533
  weight?: Maybe<Scalars["Float"]>;
545
534
  /** @deprecated You will receive null values */
535
+ height?: Maybe<Scalars["Int"]>;
536
+ /** @deprecated You will receive null values */
546
537
  width?: Maybe<Scalars["Int"]>;
538
+ /** @deprecated You will receive null values */
539
+ consumption?: Maybe<CarExtraConsumption>;
540
+ /** @deprecated You will receive null values */
541
+ petrolConsumption?: Maybe<Scalars["Float"]>;
542
+ /** @deprecated You will receive null values */
543
+ chargingOffset?: Maybe<Scalars["JSON"]>;
544
+ /** @deprecated You will receive null values */
545
+ auxConsumption?: Maybe<Scalars["Float"]>;
546
+ /** @deprecated You will receive null values */
547
+ bmsConsumption?: Maybe<Scalars["Float"]>;
548
+ /** @deprecated You will receive null values */
549
+ dragCoefficient?: Maybe<Scalars["Float"]>;
550
+ /** @deprecated You will receive null values */
551
+ tirePressure?: Maybe<Scalars["Float"]>;
552
+ /** @deprecated You will receive null values */
553
+ motorEfficiency?: Maybe<Scalars["Float"]>;
554
+ /** @deprecated You will receive null values */
555
+ drivelineEfficiency?: Maybe<Scalars["Float"]>;
556
+ /** @deprecated You will receive null values */
557
+ regenEfficiency?: Maybe<Scalars["Float"]>;
558
+ /** @deprecated You will receive null values */
559
+ images?: Maybe<Array<Maybe<CarImage>>>;
547
560
  };
548
561
  export declare type CarListAvailability = {
549
562
  /**
@@ -563,10 +576,10 @@ export declare type CarListAvailability = {
563
576
  status?: Maybe<Scalars["Int"]>;
564
577
  };
565
578
  export declare type CarListBattery = {
566
- /** Full battery capacity in kWh */
567
- full_kwh?: Maybe<Scalars["Float"]>;
568
579
  /** Usable battery capacity in kWh */
569
580
  usable_kwh?: Maybe<Scalars["Float"]>;
581
+ /** Full battery capacity in kWh */
582
+ full_kwh?: Maybe<Scalars["Float"]>;
570
583
  };
571
584
  export declare type CarListBody = {
572
585
  /** Number of seats in car */
@@ -592,41 +605,39 @@ export declare type CarListFilter = {
592
605
  connect?: Maybe<ConnectFilter>;
593
606
  };
594
607
  export declare type CarListMedia = {
595
- /** Latest maker logo of the car */
596
- brand?: Maybe<CarImage>;
597
608
  /** Latest image of the car */
598
609
  image?: Maybe<CarImage>;
610
+ /** Latest maker logo of the car */
611
+ brand?: Maybe<CarImage>;
599
612
  /** Latest video of the car */
600
613
  video?: Maybe<CarVideo>;
601
614
  };
602
615
  export declare type CarListNaming = {
603
- /** Car model version. Added by Chargetrip as an alternative for when a car manufacturer does not provide an version name, or uses the same version name across all trims or consecutive years */
604
- chargetrip_version?: Maybe<Scalars["String"]>;
605
- /** Another submodel level of car */
606
- edition?: Maybe<Scalars["String"]>;
607
616
  /** Car manufacturer name */
608
617
  make?: Maybe<Scalars["String"]>;
609
618
  /** Car model name */
610
619
  model?: Maybe<Scalars["String"]>;
611
620
  /** Version, edition or submodel of car */
612
621
  version?: Maybe<Scalars["String"]>;
622
+ /** Another submodel level of car */
623
+ edition?: Maybe<Scalars["String"]>;
624
+ /** Car model version. Added by Chargetrip as an alternative for when a car manufacturer does not provide an version name, or uses the same version name across all trims or consecutive years */
625
+ chargetrip_version?: Maybe<Scalars["String"]>;
613
626
  };
614
627
  /** Deprecated */
615
628
  export declare type CarListQuery = {
616
- /** Deprecated: Not used anymore */
617
- chargetrip_version?: Maybe<Scalars["String"]>;
618
629
  /** Deprecated: Not used anymore */
619
630
  make?: Maybe<Scalars["String"]>;
620
631
  /** Deprecated: Not used anymore */
621
- mode?: Maybe<CarMode>;
622
- /** Deprecated: Not used anymore */
623
632
  model?: Maybe<Scalars["String"]>;
624
633
  /** Deprecated: Not used anymore */
625
634
  version?: Maybe<Scalars["String"]>;
635
+ /** Deprecated: Not used anymore */
636
+ chargetrip_version?: Maybe<Scalars["String"]>;
637
+ /** Deprecated: Not used anymore */
638
+ mode?: Maybe<CarMode>;
626
639
  };
627
640
  export declare type CarListRange = {
628
- /** @deprecated You will receive null values */
629
- best?: Maybe<CarEstimationData>;
630
641
  /**
631
642
  * Is an index value of what we consider to be the real-world range.
632
643
  * (Comparable to Range_Real from EV Database.) It is essentially a normalized range to display in the front-end.
@@ -636,50 +647,52 @@ export declare type CarListRange = {
636
647
  wltp?: Maybe<Scalars["Float"]>;
637
648
  /** @deprecated You will receive null values */
638
649
  worst?: Maybe<CarEstimationData>;
650
+ /** @deprecated You will receive null values */
651
+ best?: Maybe<CarEstimationData>;
639
652
  };
640
653
  export declare type CarListRouting = {
641
654
  /** Cars that support fast charging have a minimum charging speed of 43 kWh */
642
655
  fast_charging_support?: Maybe<Scalars["Boolean"]>;
643
656
  };
644
657
  export declare type CarMedia = {
645
- /** Latest maker logo */
646
- brand?: Maybe<CarImage>;
647
- /**
648
- * URL to detail page on EV database
649
- * @deprecated Will be removed in the future. Please use evdb_details_url
650
- */
651
- evdb_detail_url?: Maybe<Scalars["String"]>;
652
658
  /** URL to detail page on EV database */
653
659
  evdb_details_url?: Maybe<Scalars["String"]>;
654
660
  /** Latest image */
655
661
  image?: Maybe<CarImage>;
662
+ /** Latest maker logo */
663
+ brand?: Maybe<CarImage>;
656
664
  /** All images */
657
665
  image_list?: Maybe<Array<Maybe<CarImage>>>;
658
666
  /** Latest video */
659
667
  video?: Maybe<CarVideo>;
660
668
  /** All videos */
661
669
  video_list?: Maybe<Array<Maybe<CarVideo>>>;
670
+ /**
671
+ * URL to detail page on EV database
672
+ * @deprecated Will be removed in the future. Please use evdb_details_url
673
+ */
674
+ evdb_detail_url?: Maybe<Scalars["String"]>;
662
675
  };
663
676
  /** Mode (state) of the current production */
664
677
  export declare enum CarMode {
665
- /** Future releases of a car, a concept of the car, specs may change over time */
666
- CONCEPT = "concept",
667
678
  /** Old car that is no longer manufactured */
668
679
  INDEX_ONLY = "index_only",
669
680
  /** Car is in production and has been released */
670
- PRODUCTION = "production"
681
+ PRODUCTION = "production",
682
+ /** Future releases of a car, a concept of the car, specs may change over time */
683
+ CONCEPT = "concept"
671
684
  }
672
685
  export declare type CarNaming = {
673
- /** Car model version. Added by Chargetrip as an alternative for when a car manufacturer does not provide an version name, or uses the same version name across all trims or consecutive years */
674
- chargetrip_version?: Maybe<Scalars["String"]>;
675
- /** Another submodel level of car */
676
- edition?: Maybe<Scalars["String"]>;
677
686
  /** Car manufacturer name */
678
687
  make?: Maybe<Scalars["String"]>;
679
688
  /** Car model name */
680
689
  model?: Maybe<Scalars["String"]>;
681
690
  /** Version, edition or submodel of car */
682
691
  version?: Maybe<Scalars["String"]>;
692
+ /** Another submodel level of car */
693
+ edition?: Maybe<Scalars["String"]>;
694
+ /** Car model version. Added by Chargetrip as an alternative for when a car manufacturer does not provide an version name, or uses the same version name across all trims or consecutive years */
695
+ chargetrip_version?: Maybe<Scalars["String"]>;
683
696
  };
684
697
  export declare type CarPerformance = {
685
698
  /** Acceleration 0-100 km/h in seconds */
@@ -689,65 +702,59 @@ export declare type CarPerformance = {
689
702
  };
690
703
  /** Car plug model */
691
704
  export declare type CarPlug = {
692
- /** Maximum electric power in kW */
693
- max_electric_power?: Maybe<Scalars["Float"]>;
705
+ /** Plug type, known as connector standard in OCPI */
706
+ standard?: Maybe<ConnectorType>;
694
707
  /** Usable electric power in kW */
695
708
  power?: Maybe<Scalars["Float"]>;
709
+ /** Maximum electric power in kW */
710
+ max_electric_power?: Maybe<Scalars["Float"]>;
711
+ /** Time it takes to charge from 10 to 80% with a fast charger, shown in minutes */
712
+ time?: Maybe<Scalars["Int"]>;
696
713
  /** Charging speed in km/h */
697
714
  speed?: Maybe<Scalars["Int"]>;
698
- /** Plug type, known as connector standard in OCPI */
699
- standard?: Maybe<ConnectorType>;
700
- /** Time it takes to charge from 10 to 80% with a fast charger, shown in minutes */
701
- time?: Maybe<Scalars["Int"]>;
702
715
  };
703
716
  /** The output element of the carPremium query */
704
717
  export declare type CarPremium = {
718
+ /** Unique ID of a car */
719
+ id?: Maybe<Scalars["ID"]>;
720
+ /** Internal ID of the successor car trim */
721
+ succesor_id?: Maybe<Scalars["String"]>;
722
+ /** Naming of a car */
723
+ naming?: Maybe<CarPremiumNaming>;
724
+ /** Connectors available for a car */
725
+ connectors?: Maybe<Array<Maybe<CarPlug>>>;
726
+ /** Charge details */
727
+ charge?: Maybe<CarPremiumCharge>;
728
+ /** Fast charge details */
729
+ fast_charge?: Maybe<CarPremiumFastCharge>;
705
730
  /** Adapters of connectors available for a car */
706
731
  adapters?: Maybe<Array<Maybe<CarPlug>>>;
707
- /** Availability of a car */
708
- availability?: Maybe<CarPremiumAvailability>;
709
732
  /** Battery of a car */
710
733
  battery?: Maybe<CarPremiumBattery>;
711
734
  /** Body of a car */
712
735
  body?: Maybe<CarPremiumBody>;
713
- /** Charge details */
714
- charge?: Maybe<CarPremiumCharge>;
715
- /** Information about vehicle connectivity */
716
- connect?: Maybe<Connect>;
717
- /** Connectors available for a car */
718
- connectors?: Maybe<Array<Maybe<CarPlug>>>;
736
+ /** Availability of a car */
737
+ availability?: Maybe<CarPremiumAvailability>;
738
+ /** Pricing of a car */
739
+ price?: Maybe<CarPremiumPrice>;
719
740
  /** Drivetrain of a car */
720
741
  drivetrain?: Maybe<CarPremiumDrivetrain>;
721
- /** Efficiency of a car */
722
- efficiency?: Maybe<CarPremiumEfficiency>;
723
- /** Fast charge details */
724
- fast_charge?: Maybe<CarPremiumFastCharge>;
725
- /** Unique ID of a car */
726
- id?: Maybe<Scalars["ID"]>;
727
- /** Media of a car */
728
- media?: Maybe<CarPremiumMedia>;
729
- /** Naming of a car */
730
- naming?: Maybe<CarPremiumNaming>;
731
742
  /** Performance of a car */
732
743
  performance?: Maybe<CarPremiumPerformance>;
733
- /** Pricing of a car */
734
- price?: Maybe<CarPremiumPrice>;
735
744
  /** Range of a car */
736
745
  range?: Maybe<CarPremiumRange>;
737
- /** Routing of a car */
738
- routing?: Maybe<CarPremiumRouting>;
746
+ /** Efficiency of a car */
747
+ efficiency?: Maybe<CarPremiumEfficiency>;
739
748
  /** Safety of a car */
740
749
  safety?: Maybe<CarPremiumSafety>;
741
- /** Internal ID of the successor car trim */
742
- succesor_id?: Maybe<Scalars["String"]>;
750
+ /** Media of a car */
751
+ media?: Maybe<CarPremiumMedia>;
752
+ /** Routing of a car */
753
+ routing?: Maybe<CarPremiumRouting>;
754
+ /** Information about vehicle connectivity */
755
+ connect?: Maybe<Connect>;
743
756
  };
744
757
  export declare type CarPremiumAvailability = {
745
- /** Date of introduction, mm-yyyy */
746
- date_from?: Maybe<Scalars["String"]>;
747
- /** Indicates if date from field is estimated */
748
- date_from_is_estimated?: Maybe<Scalars["Boolean"]>;
749
- /** Date last available, mm-yyyy */
750
- date_to?: Maybe<Scalars["String"]>;
751
758
  /**
752
759
  * Availability of car
753
760
  *
@@ -763,322 +770,328 @@ export declare type CarPremiumAvailability = {
763
770
  * - 91 = Status uncertain, introduction date and/or pricing unclear
764
771
  */
765
772
  status?: Maybe<Scalars["Int"]>;
773
+ /** Date of introduction, mm-yyyy */
774
+ date_from?: Maybe<Scalars["String"]>;
775
+ /** Indicates if date from field is estimated */
776
+ date_from_is_estimated?: Maybe<Scalars["Boolean"]>;
777
+ /** Date last available, mm-yyyy */
778
+ date_to?: Maybe<Scalars["String"]>;
766
779
  };
767
780
  export declare type CarPremiumBattery = {
768
- /** Indicates which battery fields are estimated */
769
- estimated_fields?: Maybe<CarBatteryFieldEstimations>;
781
+ /** Usable battery capacity in kWh */
782
+ usable_kwh?: Maybe<Scalars["Float"]>;
770
783
  /** Full battery capacity in kWh */
771
784
  full_kwh?: Maybe<Scalars["Float"]>;
785
+ /** Indicates which battery fields are estimated */
786
+ estimated_fields?: Maybe<CarBatteryFieldEstimations>;
772
787
  /** Battery thermal management system (active/passive, air/liquid) */
773
788
  thermal_management_system?: Maybe<Scalars["String"]>;
774
- /** Usable battery capacity in kWh */
775
- usable_kwh?: Maybe<Scalars["Float"]>;
776
- /** Mileage of battery warranty */
777
- warranty_mileage?: Maybe<Scalars["Float"]>;
778
789
  /** Duration of battery warranty */
779
790
  warranty_period?: Maybe<Scalars["Float"]>;
791
+ /** Mileage of battery warranty */
792
+ warranty_mileage?: Maybe<Scalars["Float"]>;
780
793
  };
781
794
  export declare type CarPremiumBody = {
782
- /** Body type, listed in local naming convention where applicable */
783
- body_type?: Maybe<Scalars["String"]>;
784
- /** Standard luggage capacity in l */
785
- boot_capacity?: Maybe<Scalars["Int"]>;
786
- /** Maximum luggage capacity in l */
787
- boot_capacity_max?: Maybe<Scalars["Int"]>;
788
- /** Storage capacity of front trunk/under the hood (frunk) */
789
- boot_front_capacity?: Maybe<Scalars["Int"]>;
795
+ /** Length in mm */
796
+ length?: Maybe<Scalars["Int"]>;
797
+ /** Width with folded mirrors in mm */
798
+ width?: Maybe<Scalars["Int"]>;
790
799
  /** Width of vehicle in mm, including mirrors */
791
800
  full_width?: Maybe<Scalars["Int"]>;
792
- /** Indicates whether a car has roof rails as a standard */
793
- has_roofrails?: Maybe<Scalars["Boolean"]>;
794
801
  /** Height (average height for adjustable suspensions) in mm */
795
802
  height?: Maybe<Scalars["Int"]>;
796
- /** Length in mm */
797
- length?: Maybe<Scalars["Int"]>;
798
- /** Gross Vehicle Weight (GVWR) - (max allowed vehicle weight with payload) in kg */
799
- max_gross_vehicle_weight?: Maybe<Scalars["Int"]>;
800
- /** Maximum load on roof of car in kg */
801
- roof_load_max?: Maybe<Scalars["Int"]>;
802
- /**
803
- * Indicates whether a car has roof rails as a standard
804
- * @deprecated In favor of has_roofrails
805
- */
806
- rooftrails?: Maybe<Scalars["Boolean"]>;
807
- /** Number of seats */
808
- seats?: Maybe<Scalars["Int"]>;
809
- /** Segment, listed in local naming convention where applicable */
810
- segment?: Maybe<Scalars["String"]>;
811
803
  /** Indicates if length/width/height fields are estimations */
812
804
  size_is_estimated?: Maybe<Scalars["Boolean"]>;
805
+ /** Wheelbase in mm */
806
+ wheelbase?: Maybe<Scalars["Int"]>;
807
+ /** Indicates if wheelbase field is estimated */
808
+ wheelbase_is_estimated?: Maybe<Scalars["Boolean"]>;
809
+ /** Weight (unladen EU) in kg */
810
+ weight?: Maybe<Scalars["Int"]>;
811
+ /** Indicates if weight field is estimated */
812
+ weight_is_estimated?: Maybe<Scalars["Boolean"]>;
813
+ /** Maximum payload allowed for vehicle in kg */
814
+ weight_max_payload?: Maybe<Scalars["Int"]>;
815
+ /** Gross Vehicle Weight (GVWR) - (max allowed vehicle weight with payload) in kg */
816
+ max_gross_vehicle_weight?: Maybe<Scalars["Int"]>;
817
+ /** Standard luggage capacity in l */
818
+ boot_capacity?: Maybe<Scalars["Int"]>;
819
+ /** Storage capacity of front trunk/under the hood (frunk) */
820
+ boot_front_capacity?: Maybe<Scalars["Int"]>;
821
+ /** Maximum luggage capacity in l */
822
+ boot_capacity_max?: Maybe<Scalars["Int"]>;
813
823
  /** Indicates if a tow hitch/towbar can be fitted according to vehicle homologation */
814
824
  tow_hitch_compatible?: Maybe<Scalars["Boolean"]>;
825
+ /** Maximum unbraked towing weight in kg */
826
+ tow_weight_unbraked?: Maybe<Scalars["Int"]>;
815
827
  /** Maximum braked towing weight in kg */
816
828
  tow_weight_braked?: Maybe<Scalars["Int"]>;
817
829
  /** Indicates if tow weight fields are estimations */
818
830
  tow_weight_is_estimated?: Maybe<Scalars["Boolean"]>;
819
- /** Maximum unbraked towing weight in kg */
820
- tow_weight_unbraked?: Maybe<Scalars["Int"]>;
821
831
  /** Maximum vertical load / noseweight on tow hitch according to vehicle homologation */
822
832
  tow_weight_vertical_load?: Maybe<Scalars["Int"]>;
833
+ /** Maximum load on roof of car in kg */
834
+ roof_load_max?: Maybe<Scalars["Int"]>;
835
+ /** Body type, listed in local naming convention where applicable */
836
+ body_type?: Maybe<Scalars["String"]>;
837
+ /** Segment, listed in local naming convention where applicable */
838
+ segment?: Maybe<Scalars["String"]>;
839
+ /** Number of seats */
840
+ seats?: Maybe<Scalars["Int"]>;
841
+ /** Indicates whether a car has roof rails as a standard */
842
+ has_roofrails?: Maybe<Scalars["Boolean"]>;
823
843
  /** Turning circle of vehicle kerb-to-kerb */
824
844
  turning_circle?: Maybe<Scalars["Float"]>;
825
845
  /** Name of vehicle platform used for vehicle (often abbreviated to indicate group platforms) */
826
846
  vehicle_platform?: Maybe<Scalars["String"]>;
827
847
  /** Indicates if the vehicle platform used for vehicle is a dedicated battery electric vehicle platform */
828
848
  vehicle_platform_is_dedicated?: Maybe<Scalars["Boolean"]>;
829
- /** Weight (unladen EU) in kg */
830
- weight?: Maybe<Scalars["Int"]>;
831
- /** Indicates if weight field is estimated */
832
- weight_is_estimated?: Maybe<Scalars["Boolean"]>;
833
- /** Maximum payload allowed for vehicle in kg */
834
- weight_max_payload?: Maybe<Scalars["Int"]>;
835
- /** Wheelbase in mm */
836
- wheelbase?: Maybe<Scalars["Int"]>;
837
- /** Indicates if wheelbase field is estimated */
838
- wheelbase_is_estimated?: Maybe<Scalars["Boolean"]>;
839
- /** Width with folded mirrors in mm */
840
- width?: Maybe<Scalars["Int"]>;
849
+ /**
850
+ * Indicates whether a car has roof rails as a standard
851
+ * @deprecated In favor of has_roofrails
852
+ */
853
+ rooftrails?: Maybe<Scalars["Boolean"]>;
841
854
  };
842
855
  export declare type CarPremiumCharge = {
843
- /** The car alternative charge */
844
- alternative?: Maybe<CarPremiumChargeAlternativeOBC>;
845
- /** The car option charge */
846
- option?: Maybe<CarPremiumChargeOptionOBC>;
847
856
  /** Location of charge port */
848
857
  plug?: Maybe<CarPremiumChargePlug>;
849
858
  /** Location of second charge port */
850
859
  second_plug?: Maybe<CarPremiumChargeSecondPlug>;
851
860
  /** The car standard charge */
852
861
  standard?: Maybe<CarPremiumChargeStandardOBC>;
862
+ /** The car alternative charge */
863
+ alternative?: Maybe<CarPremiumChargeAlternativeOBC>;
864
+ /** The car option charge */
865
+ option?: Maybe<CarPremiumChargeOptionOBC>;
853
866
  };
854
867
  export declare type CarPremiumChargeAlternativeOBC = {
855
- /** Charging speed when charging at maximum power (standard OBC) */
856
- charge_speed?: Maybe<Scalars["Int"]>;
857
- /** Minutes needed to charge from 0% to 100% (standard OBC) */
858
- charge_time?: Maybe<Scalars["Int"]>;
859
- /** Maximum current the OBC accepts per phase to achieve maximum power (standard OBC) */
860
- phase_amperage?: Maybe<Scalars["Float"]>;
861
- /** Number of phases the OBC accepts to achieve maximum power (standard OBC) */
862
- phases?: Maybe<Scalars["Int"]>;
863
868
  /** Maximum power OBC can accept to charge a battery (standard OBC) */
864
869
  power?: Maybe<Scalars["Float"]>;
870
+ /** Number of phases the OBC accepts to achieve maximum power (standard OBC) */
871
+ phases?: Maybe<Scalars["Int"]>;
872
+ /** Maximum current the OBC accepts per phase to achieve maximum power (standard OBC) */
873
+ phase_amperage?: Maybe<Scalars["Float"]>;
874
+ /** Minutes needed to charge from 0% to 100% (standard OBC) */
875
+ charge_time?: Maybe<Scalars["Int"]>;
876
+ /** Charging speed when charging at maximum power (standard OBC) */
877
+ charge_speed?: Maybe<Scalars["Int"]>;
865
878
  /** Charging details for the standard OBC at several charging points */
866
879
  table?: Maybe<Array<Maybe<CarPremiumChargeOBCTable>>>;
867
880
  };
868
881
  export declare type CarPremiumChargeOBCTable = {
869
- /** Current per phase used by standard OBC (phase current) */
870
- charge_phase_amperage?: Maybe<Scalars["Float"]>;
882
+ /** Voltage between phase and neutral for this EVSE (phase voltage) */
883
+ evse_phase_voltage?: Maybe<Scalars["Int"]>;
884
+ /** Current per phase for this EVSE (phase current) */
885
+ evse_phase_amperage?: Maybe<Scalars["Int"]>;
886
+ /** Number of phases for this EVSE */
887
+ evse_phases?: Maybe<Scalars["Int"]>;
871
888
  /** Voltage between phase and neutral used by standard OBC (phase voltage) */
872
889
  charge_phase_voltage?: Maybe<Scalars["Int"]>;
890
+ /** Current per phase used by standard OBC (phase current) */
891
+ charge_phase_amperage?: Maybe<Scalars["Float"]>;
873
892
  /** Number of phases used by standard OBC */
874
893
  charge_phases?: Maybe<Scalars["Int"]>;
875
894
  /** Power used by standard OBC (before OBC losses) */
876
895
  charge_power?: Maybe<Scalars["Float"]>;
877
- /** Charging speed when charging at maximum power (standard OBC with this EVSE) */
878
- charge_speed?: Maybe<Scalars["Int"]>;
879
896
  /** Minutes needed to charge from 0% to 100% (standard OBC with this EVSE) */
880
897
  charge_time?: Maybe<Scalars["Int"]>;
881
- /** Current per phase for this EVSE (phase current) */
882
- evse_phase_amperage?: Maybe<Scalars["Int"]>;
883
- /** Voltage between phase and neutral for this EVSE (phase voltage) */
884
- evse_phase_voltage?: Maybe<Scalars["Int"]>;
885
- /** Number of phases for this EVSE */
886
- evse_phases?: Maybe<Scalars["Int"]>;
898
+ /** Charging speed when charging at maximum power (standard OBC with this EVSE) */
899
+ charge_speed?: Maybe<Scalars["Int"]>;
887
900
  };
888
901
  export declare type CarPremiumChargeOptionOBC = {
889
- /** Charging speed when charging at maximum power (standard OBC) */
890
- charge_speed?: Maybe<Scalars["Int"]>;
891
- /** Minutes needed to charge from 0% to 100% (standard OBC) */
892
- charge_time?: Maybe<Scalars["Int"]>;
893
- /** Maximum current the OBC accepts per phase to achieve maximum power (standard OBC) */
894
- phase_amperage?: Maybe<Scalars["Float"]>;
895
- /** Number of phases the OBC accepts to achieve maximum power (standard OBC) */
896
- phases?: Maybe<Scalars["Int"]>;
897
902
  /** Maximum power OBC can accept to charge a battery (standard OBC) */
898
903
  power?: Maybe<Scalars["Float"]>;
904
+ /** Number of phases the OBC accepts to achieve maximum power (standard OBC) */
905
+ phases?: Maybe<Scalars["Int"]>;
906
+ /** Maximum current the OBC accepts per phase to achieve maximum power (standard OBC) */
907
+ phase_amperage?: Maybe<Scalars["Float"]>;
908
+ /** Minutes needed to charge from 0% to 100% (standard OBC) */
909
+ charge_time?: Maybe<Scalars["Int"]>;
910
+ /** Charging speed when charging at maximum power (standard OBC) */
911
+ charge_speed?: Maybe<Scalars["Int"]>;
899
912
  /** Charging details for the standard OBC at several charging points */
900
913
  table?: Maybe<Array<Maybe<CarPremiumChargeOBCTable>>>;
901
914
  };
902
915
  export declare type CarPremiumChargePlug = {
916
+ /** Type of charge port on vehicle */
917
+ value?: Maybe<ConnectorType>;
903
918
  /** Indicates if value is an estimate */
904
919
  is_estimated?: Maybe<Scalars["Boolean"]>;
905
920
  /** Location of charge port */
906
921
  location?: Maybe<Scalars["String"]>;
907
- /** Type of charge port on vehicle */
908
- value?: Maybe<ConnectorType>;
909
922
  };
910
923
  export declare type CarPremiumChargePower = {
911
- /** Average value */
912
- average?: Maybe<Scalars["Float"]>;
913
924
  /** Maximum value */
914
925
  max?: Maybe<Scalars["Float"]>;
926
+ /** Average value */
927
+ average?: Maybe<Scalars["Float"]>;
915
928
  };
916
929
  export declare type CarPremiumChargeSecondPlug = {
917
- /** Indicates if second charge port is optional */
918
- is_optional?: Maybe<Scalars["Boolean"]>;
919
930
  /** Location of charge port */
920
931
  location?: Maybe<Scalars["String"]>;
932
+ /** Indicates if second charge port is optional */
933
+ is_optional?: Maybe<Scalars["Boolean"]>;
921
934
  };
922
935
  export declare type CarPremiumChargeStandardOBC = {
923
- /** Charging speed when charging at maximum power (standard OBC) */
924
- charge_speed?: Maybe<Scalars["Int"]>;
936
+ /** Maximum power OBC can accept to charge a battery (standard OBC) */
937
+ power?: Maybe<Scalars["Float"]>;
938
+ /** Number of phases the OBC accepts to achieve maximum power (standard OBC) */
939
+ phases?: Maybe<Scalars["Int"]>;
940
+ /** Maximum current the OBC accepts per phase to achieve maximum power (standard OBC) */
941
+ phase_amperage?: Maybe<Scalars["Float"]>;
925
942
  /** Minutes needed to charge from 0% to 100% (standard OBC) */
926
943
  charge_time?: Maybe<Scalars["Int"]>;
944
+ /** Charging speed when charging at maximum power (standard OBC) */
945
+ charge_speed?: Maybe<Scalars["Int"]>;
927
946
  /** Indicates if Charge_Standard fields are estimated */
928
947
  is_estimated?: Maybe<Scalars["Boolean"]>;
929
- /** Maximum current the OBC accepts per phase to achieve maximum power (standard OBC) */
930
- phase_amperage?: Maybe<Scalars["Float"]>;
931
- /** Number of phases the OBC accepts to achieve maximum power (standard OBC) */
932
- phases?: Maybe<Scalars["Int"]>;
933
- /** Maximum power OBC can accept to charge a battery (standard OBC) */
934
- power?: Maybe<Scalars["Float"]>;
935
948
  /** Charging details for the standard OBC at several charging points */
936
949
  table?: Maybe<Array<Maybe<CarPremiumChargeOBCTable>>>;
937
950
  };
938
951
  export declare type CarPremiumDrivetrain = {
952
+ /** Type of drivetrain */
953
+ type?: Maybe<CarDrivetrain>;
939
954
  /** Fuel type */
940
955
  fuel?: Maybe<CarFuel>;
941
- /** Maximum (combined) power output in kw */
942
- power?: Maybe<Scalars["Int"]>;
943
- /** Maximum (combined) power output in horsepower (PS) */
944
- power_hp?: Maybe<Scalars["Int"]>;
945
- /** Indicates if power field is estimated */
946
- power_is_estimated?: Maybe<Scalars["Boolean"]>;
947
956
  /** Propulsion type */
948
957
  propulsion?: Maybe<CarPropulsion>;
949
958
  /** Indicates if propulsion field is estimated */
950
959
  propulsion_is_estimated?: Maybe<Scalars["Boolean"]>;
960
+ /** Maximum (combined) power output in kw */
961
+ power?: Maybe<Scalars["Int"]>;
962
+ /** Indicates if power field is estimated */
963
+ power_is_estimated?: Maybe<Scalars["Boolean"]>;
964
+ /** Maximum (combined) power output in horsepower (PS) */
965
+ power_hp?: Maybe<Scalars["Int"]>;
951
966
  /** Maximum (combined) torque output in newton meter */
952
967
  torque?: Maybe<Scalars["Int"]>;
953
968
  /** Indicates if torque field is estimated */
954
969
  torque_is_estimated?: Maybe<Scalars["Boolean"]>;
955
- /** Type of drivetrain */
956
- type?: Maybe<CarDrivetrain>;
957
970
  };
958
971
  export declare type CarPremiumEfficiency = {
959
- /** Rated efficiency in NEDC combined cycle */
960
- nedc?: Maybe<CarPremiumEfficiencyNEDC>;
961
- /** Car efficiency based on RealRange */
962
- real?: Maybe<CarPremiumEfficiencyReal>;
963
972
  /** Rated efficiency in WLTP combined cycle */
964
973
  wltp?: Maybe<CarPremiumEfficiencyWLTP>;
965
974
  /** Rated efficiency in WLTP combined cycle (TEH / least efficient trim) */
966
975
  wltp_teh?: Maybe<CarPremiumEfficiencyWLTPTEH>;
976
+ /** Rated efficiency in NEDC combined cycle */
977
+ nedc?: Maybe<CarPremiumEfficiencyNEDC>;
978
+ /** Car efficiency based on RealRange */
979
+ real?: Maybe<CarPremiumEfficiencyReal>;
967
980
  };
968
981
  export declare type CarPremiumEfficiencyNEDC = {
969
- /** Rated CO2 emissions in NEDC combined cycle in battery-only mode (NULL if not NEDC rated) in gr/km */
970
- co2?: Maybe<Scalars["Int"]>;
971
- /** Rated efficiency in NEDC combined cycle presented in gas equivalent, in l/100 km */
972
- fuel_equivalent?: Maybe<Scalars["Float"]>;
973
982
  /** Rated efficiency in NEDC combined cycle in kWh/100 km */
974
983
  value?: Maybe<Scalars["Float"]>;
984
+ /** Rated efficiency in NEDC combined cycle presented in gas equivalent, in l/100 km */
985
+ fuel_equivalent?: Maybe<Scalars["Float"]>;
975
986
  /** Rated vehicle efficiency in NEDC combined cycle (based on value) in kWh/100 km */
976
987
  vehicle?: Maybe<Scalars["Float"]>;
977
988
  /** Rated vehicle efficiency in NEDC combined cycle presented in gas equivalent in l/100 km */
978
989
  vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
990
+ /** Rated CO2 emissions in NEDC combined cycle in battery-only mode (NULL if not NEDC rated) in gr/km */
991
+ co2?: Maybe<Scalars["Int"]>;
979
992
  };
980
993
  export declare type CarPremiumEfficiencyReal = {
981
- /** Best conditions are based on 23°C and no use of A/C */
982
- best?: Maybe<CarPremiumEfficiencyRealValue>;
983
- /** Car efficiency based on RealRange presented in gas equivalent, in l/100 km */
984
- fuel_equivalent?: Maybe<Scalars["Float"]>;
985
994
  /** Car efficiency based on RealRange (useable battery/range) in kWh/100 km */
986
995
  value?: Maybe<Scalars["Float"]>;
996
+ /** Car efficiency based on RealRange presented in gas equivalent, in l/100 km */
997
+ fuel_equivalent?: Maybe<Scalars["Float"]>;
987
998
  /** Worst conditions are based on -10°C and use of heating */
988
999
  worst?: Maybe<CarPremiumEfficiencyRealValue>;
1000
+ /** Best conditions are based on 23°C and no use of A/C */
1001
+ best?: Maybe<CarPremiumEfficiencyRealValue>;
989
1002
  };
990
1003
  export declare type CarPremiumEfficiencyRealValue = {
1004
+ /** Estimated value on highway or express roads */
1005
+ highway?: Maybe<Scalars["Float"]>;
991
1006
  /** Estimated value on city roads */
992
1007
  city?: Maybe<Scalars["Float"]>;
993
1008
  /** Estimated combined value */
994
1009
  combined?: Maybe<Scalars["Float"]>;
995
- /** Estimated value on highway or express roads */
996
- highway?: Maybe<Scalars["Float"]>;
997
1010
  };
998
1011
  export declare type CarPremiumEfficiencyWLTP = {
999
- /** Rated CO2 emissions in WLTP combined cycle in battery-only mode (NULL if not WLTP rated) in gr/km */
1000
- co2?: Maybe<Scalars["Int"]>;
1001
- /** Rated efficiency in WLTP combined cycle presented in gas equivalent, in l/100 km */
1002
- fuel_equivalent?: Maybe<Scalars["Float"]>;
1003
1012
  /** Rated efficiency in WLTP combined cycle in kWh/100 km */
1004
1013
  value?: Maybe<Scalars["Float"]>;
1014
+ /** Rated efficiency in WLTP combined cycle presented in gas equivalent, in l/100 km */
1015
+ fuel_equivalent?: Maybe<Scalars["Float"]>;
1005
1016
  /** Rated vehicle efficiency in WLTP combined cycle (based on value) in kWh/100 km */
1006
1017
  vehicle?: Maybe<Scalars["Float"]>;
1007
1018
  /** Rated vehicle efficiency in WLTP combined cycle presented in gas equivalent, in l/100 km */
1008
1019
  vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
1020
+ /** Rated CO2 emissions in WLTP combined cycle in battery-only mode (NULL if not WLTP rated) in gr/km */
1021
+ co2?: Maybe<Scalars["Int"]>;
1009
1022
  };
1010
1023
  export declare type CarPremiumEfficiencyWLTPTEH = {
1011
- /** Rated CO2 emissions in WLTP TEH combined cycle in battery-only mode (NULL if not WLTP TEH rated) in gr/km */
1012
- co2?: Maybe<Scalars["Int"]>;
1013
- /** Rated efficiency in WLTP TEH combined cycle presented in gas equivalent, in l/100 km */
1014
- fuel_equivalent?: Maybe<Scalars["Float"]>;
1015
1024
  /** Rated efficiency in WLTP TEH combined cycle (TEH/least efficient trim) */
1016
1025
  value?: Maybe<Scalars["Float"]>;
1026
+ /** Rated efficiency in WLTP TEH combined cycle presented in gas equivalent, in l/100 km */
1027
+ fuel_equivalent?: Maybe<Scalars["Float"]>;
1017
1028
  /** Rated vehicle efficiency in WLTP TEH combined cycle (based on value) in kWh/100 km */
1018
1029
  vehicle?: Maybe<Scalars["Float"]>;
1019
1030
  /** Rated vehicle efficiency in WLTP TEH combined cycle presented in gas equivalent, in l/100 km */
1020
1031
  vehicle_fuel_equivalent?: Maybe<Scalars["Float"]>;
1032
+ /** Rated CO2 emissions in WLTP TEH combined cycle in battery-only mode (NULL if not WLTP TEH rated) in gr/km */
1033
+ co2?: Maybe<Scalars["Int"]>;
1021
1034
  };
1022
1035
  export declare type CarPremiumFastCharge = {
1023
- /** Charging speed during fast charging from 10% to 80% (optimal conditions, fastest charger) */
1024
- charge_speed?: Maybe<Scalars["Float"]>;
1025
- /** Minutes needed to charge from 10% to 80%, with average charging power (optimal conditions, fastest charger) */
1026
- charge_time?: Maybe<Scalars["Float"]>;
1027
- /** Indicates what fields are estimated */
1028
- is_estimated?: Maybe<Scalars["Boolean"]>;
1029
- /** Indicates if fast charge is optional in some markets/regions */
1030
- is_optional?: Maybe<Scalars["Boolean"]>;
1031
1036
  /** Location of charge port */
1032
1037
  plug?: Maybe<CarPremiumChargePlug>;
1033
1038
  /** Power during fast charging from 10% to 80% SoC (optimal conditions, fastest charger) */
1034
1039
  power?: Maybe<CarPremiumChargePower>;
1040
+ /** Minutes needed to charge from 10% to 80%, with average charging power (optimal conditions, fastest charger) */
1041
+ charge_time?: Maybe<Scalars["Float"]>;
1042
+ /** Charging speed during fast charging from 10% to 80% (optimal conditions, fastest charger) */
1043
+ charge_speed?: Maybe<Scalars["Float"]>;
1044
+ /** Indicates if fast charge is optional in some markets/regions */
1045
+ is_optional?: Maybe<Scalars["Boolean"]>;
1046
+ /** Indicates what fields are estimated */
1047
+ is_estimated?: Maybe<Scalars["Boolean"]>;
1035
1048
  /** Charging details for fast charging */
1036
1049
  table?: Maybe<Array<Maybe<CarPremiumFastChargeTable>>>;
1037
1050
  };
1038
1051
  export declare type CarPremiumFastChargeTable = {
1039
- /** Indicates if average power during fast charging is limited by the vehicle */
1040
- average_is_limited?: Maybe<Scalars["Boolean"]>;
1041
- /** Charging speed during fast charging from 10% to 80% (optimal conditions) */
1042
- charge_speed?: Maybe<Scalars["Int"]>;
1043
- /** Minutes needed to charge from 10% to 80% (optimal conditions) */
1044
- charge_time?: Maybe<Scalars["Int"]>;
1045
1052
  /** Charging details for fast charging (format: ChargerPlug-ChargerPower-AC/DC) */
1046
1053
  format?: Maybe<Scalars["String"]>;
1047
- /** Indicates if maximum power during fast charging is limited by the vehicle */
1048
- is_limited?: Maybe<Scalars["Boolean"]>;
1049
1054
  /** Fast charge power */
1050
1055
  power?: Maybe<CarPremiumChargePower>;
1056
+ /** Minutes needed to charge from 10% to 80% (optimal conditions) */
1057
+ charge_time?: Maybe<Scalars["Int"]>;
1058
+ /** Charging speed during fast charging from 10% to 80% (optimal conditions) */
1059
+ charge_speed?: Maybe<Scalars["Int"]>;
1060
+ /** Indicates if maximum power during fast charging is limited by the vehicle */
1061
+ is_limited?: Maybe<Scalars["Boolean"]>;
1062
+ /** Indicates if average power during fast charging is limited by the vehicle */
1063
+ average_is_limited?: Maybe<Scalars["Boolean"]>;
1051
1064
  };
1052
1065
  export declare type CarPremiumMedia = {
1053
- /** Latest maker logo */
1054
- brand?: Maybe<CarImage>;
1055
- /**
1056
- * URL to detail page on EV database
1057
- * @deprecated Will be removed in the future. Please use evdb_details_url
1058
- */
1059
- evdb_detail_url?: Maybe<Scalars["String"]>;
1060
1066
  /** URL to detail page on EV database */
1061
1067
  evdb_details_url?: Maybe<Scalars["String"]>;
1062
1068
  /** Latest image */
1063
1069
  image?: Maybe<CarImage>;
1070
+ /** Latest maker logo */
1071
+ brand?: Maybe<CarImage>;
1064
1072
  /** All images */
1065
1073
  image_list?: Maybe<Array<Maybe<CarImage>>>;
1066
1074
  /** Latest video */
1067
1075
  video?: Maybe<CarVideo>;
1068
1076
  /** All videos */
1069
1077
  video_list?: Maybe<Array<Maybe<CarVideo>>>;
1078
+ /**
1079
+ * URL to detail page on EV database
1080
+ * @deprecated Will be removed in the future. Please use evdb_details_url
1081
+ */
1082
+ evdb_detail_url?: Maybe<Scalars["String"]>;
1070
1083
  };
1071
1084
  export declare type CarPremiumNaming = {
1072
- /** Car model version. Added by Chargetrip as an alternative for when a car manufacturer does not provide a version name, or uses the same version name across all trims or consecutive years */
1073
- chargetrip_version?: Maybe<Scalars["String"]>;
1074
- /** Another submodel level of car */
1075
- edition?: Maybe<Scalars["String"]>;
1076
1085
  /** Car manufacturer name */
1077
1086
  make?: Maybe<Scalars["String"]>;
1078
1087
  /** Car model name */
1079
1088
  model?: Maybe<Scalars["String"]>;
1080
1089
  /** Version, edition or submodel of car */
1081
1090
  version?: Maybe<Scalars["String"]>;
1091
+ /** Another submodel level of car */
1092
+ edition?: Maybe<Scalars["String"]>;
1093
+ /** Car model version. Added by Chargetrip as an alternative for when a car manufacturer does not provide a version name, or uses the same version name across all trims or consecutive years */
1094
+ chargetrip_version?: Maybe<Scalars["String"]>;
1082
1095
  };
1083
1096
  export declare type CarPremiumPerformance = {
1084
1097
  /** Acceleration 0-100 km/h in seconds */
@@ -1099,38 +1112,40 @@ export declare type CarPremiumPrice = {
1099
1112
  uk?: Maybe<CarPremiumPriceValueWithGrant>;
1100
1113
  };
1101
1114
  export declare type CarPremiumPriceValue = {
1115
+ /** Starting price for local market */
1116
+ value?: Maybe<Scalars["Int"]>;
1102
1117
  /** Currency name for local market */
1103
1118
  currency?: Maybe<Scalars["String"]>;
1119
+ /** Indicates if price value is based on estimates */
1120
+ is_estimated?: Maybe<Scalars["Boolean"]>;
1104
1121
  /**
1105
1122
  * Indicates if price value is based on estimates
1106
1123
  * @deprecated In favor of is_estimated
1107
1124
  */
1108
1125
  estimated?: Maybe<Scalars["Boolean"]>;
1109
- /** Indicates if price value is based on estimates */
1110
- is_estimated?: Maybe<Scalars["Boolean"]>;
1111
- /** Starting price for local market */
1112
- value?: Maybe<Scalars["Int"]>;
1113
1126
  };
1114
1127
  export declare type CarPremiumPriceValueWithGrant = {
1128
+ /** Starting price for local market */
1129
+ value?: Maybe<Scalars["Int"]>;
1115
1130
  /** Currency name for local market */
1116
1131
  currency?: Maybe<Scalars["String"]>;
1132
+ /** Indicates if price value is based on estimates */
1133
+ is_estimated?: Maybe<Scalars["Boolean"]>;
1134
+ /** Grant is applied to value */
1135
+ grant_applied?: Maybe<Scalars["Int"]>;
1117
1136
  /**
1118
1137
  * Indicates if price value is based on estimates
1119
1138
  * @deprecated In favor of is_estimated
1120
1139
  */
1121
1140
  estimated?: Maybe<Scalars["Boolean"]>;
1122
- /** Grant is applied to value */
1123
- grant_applied?: Maybe<Scalars["Int"]>;
1124
- /** Indicates if price value is based on estimates */
1125
- is_estimated?: Maybe<Scalars["Boolean"]>;
1126
- /** Starting price for local market */
1127
- value?: Maybe<Scalars["Int"]>;
1128
1141
  };
1129
1142
  export declare type CarPremiumRange = {
1130
- /** Best conditions are based on 23°C and no use of A/C */
1131
- best?: Maybe<CarPremiumRangeValue>;
1132
- /** 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. */
1133
- chargetrip_range?: Maybe<ChargetripRange>;
1143
+ /** Rated range in WLTP combined cycle (NULL if not WLTP rated) in km */
1144
+ wltp?: Maybe<Scalars["Int"]>;
1145
+ /** Indicates if WLTP range is estimated (NULL if not WLTP rated) */
1146
+ wltp_is_estimated?: Maybe<Scalars["Boolean"]>;
1147
+ /** Rated range in WLTP (TEH/least efficient trim) combined cycle (NULL if not WLTP rated) */
1148
+ wltp_teh?: Maybe<Scalars["Int"]>;
1134
1149
  /** Rated range in NEDC combined cycle (NULL if not NEDC rated) in km */
1135
1150
  nedc?: Maybe<Scalars["Int"]>;
1136
1151
  /** Indicates if NEDC range is estimated (NULL if not NEDC rated) */
@@ -1139,34 +1154,32 @@ export declare type CarPremiumRange = {
1139
1154
  real?: Maybe<Scalars["Int"]>;
1140
1155
  /** Indicates if real is estimated */
1141
1156
  real_is_estimated?: Maybe<Scalars["Boolean"]>;
1142
- /** Rated range in WLTP combined cycle (NULL if not WLTP rated) in km */
1143
- wltp?: Maybe<Scalars["Int"]>;
1144
- /** Indicates if WLTP range is estimated (NULL if not WLTP rated) */
1145
- wltp_is_estimated?: Maybe<Scalars["Boolean"]>;
1146
- /** Rated range in WLTP (TEH/least efficient trim) combined cycle (NULL if not WLTP rated) */
1147
- wltp_teh?: Maybe<Scalars["Int"]>;
1148
1157
  /** Worst conditions are based on -10°C and use of heating */
1149
1158
  worst?: Maybe<CarPremiumRangeValue>;
1159
+ /** Best conditions are based on 23°C and no use of A/C */
1160
+ best?: Maybe<CarPremiumRangeValue>;
1161
+ /** 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. */
1162
+ chargetrip_range?: Maybe<ChargetripRange>;
1150
1163
  };
1151
1164
  export declare type CarPremiumRangeValue = {
1165
+ /** Estimated value on highway or express roads */
1166
+ highway?: Maybe<Scalars["Int"]>;
1152
1167
  /** Estimated value on city roads */
1153
1168
  city?: Maybe<Scalars["Int"]>;
1154
1169
  /** Estimated combined value */
1155
1170
  combined?: Maybe<Scalars["Int"]>;
1156
- /** Estimated value on highway or express roads */
1157
- highway?: Maybe<Scalars["Int"]>;
1158
1171
  };
1159
1172
  export declare type CarPremiumRouting = {
1160
- /** Extra consumption model */
1161
- consumption?: Maybe<CarPremiumRoutingConsumption>;
1162
- /** Drag coefficient */
1163
- drag_coefficient?: Maybe<Scalars["Float"]>;
1164
1173
  /** Cars that support fast charging have a minimum charging speed of 43 kWh */
1165
1174
  fast_charging_support?: Maybe<Scalars["Boolean"]>;
1166
- /** Amount of petrol that an equivalent petrol car would consume in l/100 km */
1167
- petrol_consumption?: Maybe<Scalars["Float"]>;
1175
+ /** Drag coefficient */
1176
+ drag_coefficient?: Maybe<Scalars["Float"]>;
1168
1177
  /** Tire pressure recommended by manufacturer */
1169
1178
  tire_pressure?: Maybe<Scalars["Float"]>;
1179
+ /** Extra consumption model */
1180
+ consumption?: Maybe<CarPremiumRoutingConsumption>;
1181
+ /** Amount of petrol that an equivalent petrol car would consume in l/100 km */
1182
+ petrol_consumption?: Maybe<Scalars["Float"]>;
1170
1183
  };
1171
1184
  export declare type CarPremiumRoutingConsumption = {
1172
1185
  /** Consumption, in kWh, of the auxiliaries */
@@ -1183,24 +1196,24 @@ export declare type CarPremiumRoutingConsumptionValue = {
1183
1196
  worst?: Maybe<Scalars["Float"]>;
1184
1197
  };
1185
1198
  export declare type CarPremiumSafety = {
1186
- /** EuroNCAP results */
1187
- euro_ncap?: Maybe<CarPremiumSafetyEuroNcap>;
1188
1199
  /** Number of seats equipped with ISOFIX */
1189
1200
  isofix_seats?: Maybe<Scalars["Int"]>;
1201
+ /** EuroNCAP results */
1202
+ euro_ncap?: Maybe<CarPremiumSafetyEuroNcap>;
1190
1203
  };
1191
1204
  export declare type CarPremiumSafetyEuroNcap = {
1205
+ /** EuroNCAP rating (out of 5 stars) */
1206
+ rating?: Maybe<Scalars["Int"]>;
1207
+ /** EuroNCAP year of rating */
1208
+ year?: Maybe<Scalars["Int"]>;
1192
1209
  /** EuroNCAP rating of adult protection (out of 100%) */
1193
1210
  adult?: Maybe<Scalars["Int"]>;
1194
1211
  /** EuroNCAP rating of child protection (out of 100%) */
1195
1212
  child?: Maybe<Scalars["Int"]>;
1196
- /** EuroNCAP rating (out of 5 stars) */
1197
- rating?: Maybe<Scalars["Int"]>;
1198
- /** EuroNCAP rating of safety assists (out of 100%) */
1199
- sa?: Maybe<Scalars["Int"]>;
1200
1213
  /** EuroNCAP rating of vulnerable road users (out of 100%) */
1201
1214
  vru?: Maybe<Scalars["Int"]>;
1202
- /** EuroNCAP year of rating */
1203
- year?: Maybe<Scalars["Int"]>;
1215
+ /** EuroNCAP rating of safety assists (out of 100%) */
1216
+ sa?: Maybe<Scalars["Int"]>;
1204
1217
  };
1205
1218
  /** Propulsion */
1206
1219
  export declare enum CarPropulsion {
@@ -1212,26 +1225,26 @@ export declare enum CarPropulsion {
1212
1225
  REAR = "Rear"
1213
1226
  }
1214
1227
  export declare type CarRange = {
1215
- /** Best conditions are based on 23°C and no use of A/C */
1216
- best?: Maybe<CarRangeValue>;
1217
- /** 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 */
1218
- chargetrip_range?: Maybe<ChargetripRange>;
1219
1228
  /** Index range in EV Database RealRange model in km */
1220
1229
  real?: Maybe<Scalars["Int"]>;
1221
1230
  /** Indicates if real is estimated */
1222
1231
  real_is_estimated?: Maybe<Scalars["Boolean"]>;
1223
- /** @deprecated You will receive null values */
1224
- wltp?: Maybe<Scalars["Float"]>;
1225
1232
  /** Worst conditions are based on -10°C and use of heating */
1226
1233
  worst?: Maybe<CarRangeValue>;
1234
+ /** Best conditions are based on 23°C and no use of A/C */
1235
+ best?: Maybe<CarRangeValue>;
1236
+ /** 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 */
1237
+ chargetrip_range?: Maybe<ChargetripRange>;
1238
+ /** @deprecated You will receive null values */
1239
+ wltp?: Maybe<Scalars["Float"]>;
1227
1240
  };
1228
1241
  export declare type CarRangeValue = {
1242
+ /** Estimated value on the highway or express roads */
1243
+ highway?: Maybe<Scalars["Int"]>;
1229
1244
  /** Estimated value on the cities road */
1230
1245
  city?: Maybe<Scalars["Int"]>;
1231
1246
  /** Estimated combined value */
1232
1247
  combined?: Maybe<Scalars["Int"]>;
1233
- /** Estimated value on the highway or express roads */
1234
- highway?: Maybe<Scalars["Int"]>;
1235
1248
  };
1236
1249
  export declare type CarRouting = {
1237
1250
  /** Cars that support fast charging have a minimum charging speed of 43 kWh */
@@ -1241,12 +1254,12 @@ export declare type CarRouting = {
1241
1254
  export declare enum CarStatus {
1242
1255
  /** Was just imported */
1243
1256
  NEW = "new",
1257
+ /** Is being reviewed by a human operator */
1258
+ REVIEW = "review",
1244
1259
  /** Is public and can be used by a customer */
1245
1260
  PUBLIC = "public",
1246
1261
  /** Is removed and can not be used */
1247
- REMOVED = "removed",
1248
- /** Is being reviewed by a human operator */
1249
- REVIEW = "review"
1262
+ REMOVED = "removed"
1250
1263
  }
1251
1264
  export declare type CarVideo = {
1252
1265
  /** Video id */
@@ -1256,53 +1269,53 @@ export declare type CarVideo = {
1256
1269
  };
1257
1270
  /** Charging mode used at charging stations */
1258
1271
  export declare enum ChargeMode {
1259
- /** Charge to the maximum capacity at every charging stop. The default maximum charging capacity is 80% */
1260
- ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE",
1261
1272
  /** Optimizes the charging time at each station, in order to decrease the total travel time. You will only charge up until the SOC you need in order to reach the next stop */
1262
- OPTIMIZE_TRAVEL_TIME = "OPTIMIZE_TRAVEL_TIME"
1273
+ OPTIMIZE_TRAVEL_TIME = "OPTIMIZE_TRAVEL_TIME",
1274
+ /** Charge to the maximum capacity at every charging stop. The default maximum charging capacity is 80% */
1275
+ ALWAYS_TO_MAX_CHARGE = "ALWAYS_TO_MAX_CHARGE"
1263
1276
  }
1264
1277
  /** A groupped representation of EVSEs */
1265
1278
  export declare type Charger = {
1279
+ /** Type of charger */
1280
+ standard?: Maybe<ConnectorType>;
1266
1281
  /** Power of a charger */
1267
1282
  power?: Maybe<Scalars["Float"]>;
1268
1283
  /** Price of a charger */
1269
1284
  price?: Maybe<Scalars["String"]>;
1270
1285
  /** Charging speed */
1271
1286
  speed?: Maybe<StationSpeedType>;
1272
- /** Type of charger */
1273
- standard?: Maybe<ConnectorType>;
1274
1287
  /** Statuses of all the EVSEs grouped in a charger */
1275
1288
  status?: Maybe<ChargerStatuses>;
1276
1289
  /** Total number of EVSEs grouped in a charger */
1277
1290
  total?: Maybe<Scalars["Int"]>;
1278
1291
  };
1279
1292
  export declare enum ChargerStatus {
1280
- /** The charger is occupied/busy */
1281
- BUSY = "busy",
1282
- /** The charger has an error */
1283
- ERROR = "error",
1284
1293
  /** The charger is free */
1285
1294
  FREE = "free",
1295
+ /** The charger is occupied/busy */
1296
+ BUSY = "busy",
1286
1297
  /** The charger is unknown */
1287
- UNKNOWN = "unknown"
1298
+ UNKNOWN = "unknown",
1299
+ /** The charger has an error */
1300
+ ERROR = "error"
1288
1301
  }
1289
1302
  /** Groupping by status of the chargers */
1290
1303
  export declare type ChargerStatuses = {
1291
- /** How many are busy */
1292
- busy?: Maybe<Scalars["Int"]>;
1293
- /** How many are not available */
1294
- error?: Maybe<Scalars["Int"]>;
1295
1304
  /** How many are free */
1296
1305
  free?: Maybe<Scalars["Int"]>;
1306
+ /** How many are busy */
1307
+ busy?: Maybe<Scalars["Int"]>;
1297
1308
  /** How many are unknown */
1298
1309
  unknown?: Maybe<Scalars["Int"]>;
1310
+ /** How many are not available */
1311
+ error?: Maybe<Scalars["Int"]>;
1299
1312
  };
1300
1313
  /** 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 */
1301
1314
  export declare type ChargetripRange = {
1302
- /** Best conditions are based on 23°C and no use of A/C */
1303
- best?: Maybe<Scalars["Float"]>;
1304
1315
  /** Worst conditions are based on -10°C and use of heating */
1305
1316
  worst?: Maybe<Scalars["Float"]>;
1317
+ /** Best conditions are based on 23°C and no use of A/C */
1318
+ best?: Maybe<Scalars["Float"]>;
1306
1319
  };
1307
1320
  export declare type ChargingBehaviour = {
1308
1321
  /** Charging behaviour of users divided in groups, based on real-time information */
@@ -1311,23 +1324,27 @@ export declare type ChargingBehaviour = {
1311
1324
  description?: Maybe<Scalars["String"]>;
1312
1325
  };
1313
1326
  export declare enum ChargingBehaviourCode {
1327
+ /** Mainly morning charging, and some mixed afternoon and evening charging */
1328
+ URBAN_CHARGING = "URBAN_CHARGING",
1314
1329
  /** Mainly fast charging, with some morning and afternoon charging */
1315
1330
  FAST_CHARGING = "FAST_CHARGING",
1316
1331
  /** Mixed behaviour between morning, afternoon, evening, overnight, and noise charging */
1317
1332
  MIXED_CHARGING = "MIXED_CHARGING",
1318
1333
  /** Mainly noise charging */
1319
1334
  NOISE_CHARGING = "NOISE_CHARGING",
1320
- /** Mainly morning charging, with some afternoon charging */
1321
- OFFICE_CHARGING = "OFFICE_CHARGING",
1322
1335
  /** Mainly overnight charging */
1323
1336
  OVERNIGHT_CHARGING = "OVERNIGHT_CHARGING",
1324
- /** Mainly morning charging, and some mixed afternoon and evening charging */
1325
- URBAN_CHARGING = "URBAN_CHARGING"
1337
+ /** Mainly morning charging, with some afternoon charging */
1338
+ OFFICE_CHARGING = "OFFICE_CHARGING"
1326
1339
  }
1327
1340
  export declare type Connect = {
1328
1341
  /** List of connectivity providers to which a vehicle can connect */
1329
1342
  providers?: Maybe<Array<Maybe<ConnectProvider>>>;
1330
1343
  };
1344
+ export declare type ConnectBattery = {
1345
+ percentage?: Maybe<Scalars["Int"]>;
1346
+ date?: Maybe<Scalars["String"]>;
1347
+ };
1331
1348
  export declare type ConnectFilter = {
1332
1349
  /** List of connectivity providers to which a vehicle can connect */
1333
1350
  providers?: Maybe<Array<Maybe<ConnectProvider>>>;
@@ -1335,16 +1352,52 @@ export declare type ConnectFilter = {
1335
1352
  export declare enum ConnectProvider {
1336
1353
  ENODE = "Enode"
1337
1354
  }
1355
+ export declare type ConnectedVehicle = {
1356
+ /** Unique ID of the connected vehicle */
1357
+ id: Scalars["ID"];
1358
+ /** ID of the user */
1359
+ user_id: Scalars["ID"];
1360
+ /** Unique ID of the vehicle */
1361
+ vehicle_id: Scalars["ID"];
1362
+ /** Status of the connected vehicle */
1363
+ status: ConnectedVehicleStatus;
1364
+ /** URL to connect the vehicle to the connectivity provider */
1365
+ authorization_url?: Maybe<Scalars["String"]>;
1366
+ /** Connectivity provider */
1367
+ provider: CarConnectivityProvider;
1368
+ /** Permissions for data retrieval from the connected vehicle */
1369
+ permissions?: Maybe<Array<Maybe<ConnectedVehiclePermission>>>;
1370
+ /** Custom label for a connected vehicle that can be assigned by a user */
1371
+ label?: Maybe<Scalars["String"]>;
1372
+ /** Vehicle identification number, unique identifier for a vehicle */
1373
+ vin?: Maybe<Scalars["String"]>;
1374
+ };
1375
+ export declare enum ConnectedVehiclePermission {
1376
+ /** Permission to retrieve the location of the vehicle */
1377
+ LOCATION = "location",
1378
+ /** Permission to retrieve the state of the battery */
1379
+ BATTERY = "battery"
1380
+ }
1381
+ export declare enum ConnectedVehicleStatus {
1382
+ /** Vehicle was added to the Chargetrip platform but not yet authorized */
1383
+ PENDING = "pending",
1384
+ /** Vehicle was authorized. Chargetrip can retrieve data on behave of the user */
1385
+ AUTHORIZED = "authorized",
1386
+ /** User did revoke permissions to retrieve data from the vehicle */
1387
+ DEAUTHORIZED = "deauthorized"
1388
+ }
1338
1389
  /** Connector data which extends OCPI Connector */
1339
1390
  export declare type Connector = {
1340
- /** Custom properties of a connector. These are vendor specific and will return null values on the fields that are not supported by your station database */
1341
- custom_properties?: Maybe<ConnectorCustomProperties>;
1342
- /** Format (socket/cable) of an installed connector. */
1343
- format?: Maybe<OCPIConnectorFormat>;
1344
1391
  /** Identifier of a connector within an EVSE. Two connectors may have the same ID as long as they do not belong to the same EVSE object. */
1345
1392
  id?: Maybe<Scalars["String"]>;
1346
- /** Timestamp when a connector was last updated (or created). */
1347
- last_updated?: Maybe<Scalars["DateTime"]>;
1393
+ /** Standard of an installed connector. */
1394
+ standard?: Maybe<ConnectorType>;
1395
+ /** Format (socket/cable) of an installed connector. */
1396
+ format?: Maybe<OCPIConnectorFormat>;
1397
+ /** Type of power of an installed connector. */
1398
+ power_type?: Maybe<OCPIPowerType>;
1399
+ /** Maximum voltage of an connector (line to neutral for AC_3_PHASE), in volt [V]. For example: DC Chargers might vary the voltage during charging when battery almost full. */
1400
+ max_voltage?: Maybe<Scalars["Int"]>;
1348
1401
  /** Maximum amperage of a connector, in ampere [A]. */
1349
1402
  max_amperage?: Maybe<Scalars["Int"]>;
1350
1403
  /**
@@ -1353,23 +1406,8 @@ export declare type Connector = {
1353
1406
  * For AC Charge Points, the amount of phases used can also have influence on the maximum power.
1354
1407
  */
1355
1408
  max_electric_power?: Maybe<Scalars["Int"]>;
1356
- /** Maximum voltage of an connector (line to neutral for AC_3_PHASE), in volt [V]. For example: DC Chargers might vary the voltage during charging when battery almost full. */
1357
- max_voltage?: Maybe<Scalars["Int"]>;
1358
1409
  /** Maximum electric power in kW */
1359
1410
  power?: Maybe<Scalars["Float"]>;
1360
- /** Type of power of an installed connector. */
1361
- power_type?: Maybe<OCPIPowerType>;
1362
- /**
1363
- * Charging prices
1364
- * @deprecated In favor of custom_properties.pricing
1365
- */
1366
- pricing?: Maybe<Pricing>;
1367
- /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
1368
- properties?: Maybe<Scalars["JSON"]>;
1369
- /** Standard of an installed connector. */
1370
- standard?: Maybe<ConnectorType>;
1371
- /** List of valid charging tariffs */
1372
- tariff?: Maybe<Array<Maybe<OCPITariff>>>;
1373
1411
  /**
1374
1412
  * Identifiers of the currently valid charging tariffs. Multiple tariffs are possible, but only one of each Tariff.type can be active at the same time. Tariffs with the same type are only allowed, if they are not active at the same time: start_date_time and end_date_time period not overlapping.
1375
1413
  * When preference-based smart charging is supported, one tariff for every possible ProfileType should be provided. This tells the user about the options they have at this Connector, and what the tariff is for every option.
@@ -1378,6 +1416,19 @@ export declare type Connector = {
1378
1416
  tariff_ids?: Maybe<Array<Maybe<Scalars["String"]>>>;
1379
1417
  /** URL to an operator’s terms and conditions. */
1380
1418
  terms_and_conditions?: Maybe<Scalars["String"]>;
1419
+ /** Timestamp when a connector was last updated (or created). */
1420
+ last_updated?: Maybe<Scalars["DateTime"]>;
1421
+ /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
1422
+ properties?: Maybe<Scalars["JSON"]>;
1423
+ /** List of valid charging tariffs */
1424
+ tariff?: Maybe<Array<Maybe<OCPITariff>>>;
1425
+ /**
1426
+ * Charging prices
1427
+ * @deprecated In favor of custom_properties.pricing
1428
+ */
1429
+ pricing?: Maybe<Pricing>;
1430
+ /** Custom properties of a connector. These are vendor specific and will return null values on the fields that are not supported by your station database */
1431
+ custom_properties?: Maybe<ConnectorCustomProperties>;
1381
1432
  };
1382
1433
  export declare type ConnectorCustomProperties = {
1383
1434
  /** Charging prices */
@@ -1387,8 +1438,6 @@ export declare type ConnectorCustomProperties = {
1387
1438
  export declare enum ConnectorType {
1388
1439
  /** The connector type is CHAdeMO, DC */
1389
1440
  CHADEMO = "CHADEMO",
1390
- /** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
1391
- CHAOJI = "CHAOJI",
1392
1441
  /** Standard/domestic household, type "A", NEMA 1-15, 2 pins */
1393
1442
  DOMESTIC_A = "DOMESTIC_A",
1394
1443
  /** Standard/domestic household, type "B", NEMA 5-15, 3 pins */
@@ -1419,8 +1468,6 @@ export declare enum ConnectorType {
1419
1468
  DOMESTIC_N = "DOMESTIC_N",
1420
1469
  /** Standard/Domestic household, type "O", TIS 166-2549, 3 pins */
1421
1470
  DOMESTIC_O = "DOMESTIC_O",
1422
- /** The connector type is GB_T (Chinese standard), DC */
1423
- GB_T = "GB_T",
1424
1471
  /** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
1425
1472
  IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
1426
1473
  /** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
@@ -1441,6 +1488,18 @@ export declare enum ConnectorType {
1441
1488
  IEC_62196_T3A = "IEC_62196_T3A",
1442
1489
  /** IEC 62196 Type 3C "Scame" */
1443
1490
  IEC_62196_T3C = "IEC_62196_T3C",
1491
+ /** On-board bottom-up-pantograph typically for bus charging */
1492
+ PANTOGRAPH_BOTTOM_UP = "PANTOGRAPH_BOTTOM_UP",
1493
+ /** Off-board top-down-pantograph typically for bus charging */
1494
+ PANTOGRAPH_TOP_DOWN = "PANTOGRAPH_TOP_DOWN",
1495
+ /** Tesla connector "Roadster"-type (round, 4 pins) */
1496
+ TESLA_R = "TESLA_R",
1497
+ /** Tesla connector "Model-S"-type (oval, 5 pins) */
1498
+ TESLA_S = "TESLA_S",
1499
+ /** The connector type is GB_T (Chinese standard), DC */
1500
+ GB_T = "GB_T",
1501
+ /** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
1502
+ CHAOJI = "CHAOJI",
1444
1503
  /** The connector type is NEMA 5-20, 3 pins */
1445
1504
  NEMA_5_20 = "NEMA_5_20",
1446
1505
  /** The connector type is NEMA 6-30, 3 pins */
@@ -1454,30 +1513,22 @@ export declare enum ConnectorType {
1454
1513
  /** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
1455
1514
  NEMA_14_30 = "NEMA_14_30",
1456
1515
  /** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
1457
- NEMA_14_50 = "NEMA_14_50",
1458
- /** On-board bottom-up-pantograph typically for bus charging */
1459
- PANTOGRAPH_BOTTOM_UP = "PANTOGRAPH_BOTTOM_UP",
1460
- /** Off-board top-down-pantograph typically for bus charging */
1461
- PANTOGRAPH_TOP_DOWN = "PANTOGRAPH_TOP_DOWN",
1462
- /** Tesla connector "Roadster"-type (round, 4 pins) */
1463
- TESLA_R = "TESLA_R",
1464
- /** Tesla connector "Model-S"-type (oval, 5 pins) */
1465
- TESLA_S = "TESLA_S"
1516
+ NEMA_14_50 = "NEMA_14_50"
1466
1517
  }
1467
1518
  /** The complete contact information */
1468
1519
  export declare type Contact = {
1520
+ /** The phone number in international format */
1521
+ phone?: Maybe<Scalars["String"]>;
1469
1522
  /** The email address */
1470
1523
  email?: Maybe<Scalars["String"]>;
1524
+ /** The absolute URL of the website */
1525
+ website?: Maybe<Scalars["String"]>;
1471
1526
  /** The absolute URL of the facebook profile page */
1472
1527
  facebook?: Maybe<Scalars["String"]>;
1473
- /** The phone number in international format */
1474
- phone?: Maybe<Scalars["String"]>;
1475
- /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
1476
- properties?: Maybe<Scalars["JSON"]>;
1477
1528
  /** The absolute URL of the twitter profile page */
1478
1529
  twitter?: Maybe<Scalars["String"]>;
1479
- /** The absolute URL of the website */
1480
- website?: Maybe<Scalars["String"]>;
1530
+ /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
1531
+ properties?: Maybe<Scalars["JSON"]>;
1481
1532
  };
1482
1533
  /** ISO-3166 alpha-2 country codes */
1483
1534
  export declare enum CountryCodeAlpha2 {
@@ -1734,70 +1785,80 @@ export declare enum CountryCodeAlpha2 {
1734
1785
  ZM = "ZM",
1735
1786
  ZW = "ZW"
1736
1787
  }
1788
+ export declare type CreateConnectedVehicleInput = {
1789
+ /** Id from the vehicle */
1790
+ vehicle_id: Scalars["ID"];
1791
+ /** Connectivity provider used to retrieve data from the vehicle */
1792
+ provider: CarConnectivityProvider;
1793
+ /** Label for a connected vehicle */
1794
+ label?: Maybe<Scalars["PlainString"]>;
1795
+ /** Provider specific options. See the developer portal for more details */
1796
+ options: NewConnectedVehicleOptions;
1797
+ };
1737
1798
  /** EVSE data which extends OCPI EVSE */
1738
1799
  export declare type EVSE = {
1800
+ /**
1801
+ * Uniquely identifies an EVSE within the CPOs platform (and suboperator platforms). For example a database ID or the actual "EVSE ID". This field can never be changed, modified or renamed. This is the 'technical' identification of the EVSE, not to be used as 'human readable' identification, use the field evse_id for that.
1802
+ * This field is named uid instead of id, because id could be confused with evse_id which is an eMI3 defined field.
1803
+ */
1804
+ uid?: Maybe<Scalars["String"]>;
1805
+ /** Compliant with the following specification for EVSE ID from "eMI3 standard version V1.0" (http://emi3group.com/documents-links/) "Part 2: business objects." Optional because: if an evse_id is to be re-used in the real world, the evse_id can be removed from an EVSE object if the status is set to REMOVED. */
1806
+ evse_id?: Maybe<Scalars["String"]>;
1807
+ /** Indicates the current status of an EVSE. */
1808
+ status?: Maybe<OCPIStatus>;
1809
+ /** Indicates a planned status update of a nEVSE. */
1810
+ status_schedule?: Maybe<Array<Maybe<OCPIStatusSchedule>>>;
1739
1811
  /** List of functionalities that an EVSE is capable of. */
1740
1812
  capabilities?: Maybe<Array<Maybe<OCPICapability>>>;
1741
1813
  /** List of available connectors on an EVSE. */
1742
1814
  connectors?: Maybe<Array<Maybe<Connector>>>;
1743
- /** Coordinates of a EVSE. */
1744
- coordinates?: Maybe<OCPIGeoLocation>;
1745
- /** Compliant with the following specification for EVSE ID from "eMI3 standard version V1.0" (http://emi3group.com/documents-links/) "Part 2: business objects." Optional because: if an evse_id is to be re-used in the real world, the evse_id can be removed from an EVSE object if the status is set to REMOVED. */
1746
- evse_id?: Maybe<Scalars["String"]>;
1747
1815
  /** Level on which a Charge Point is located (in garage buildings) in the locally displayed numbering scheme. */
1748
1816
  floor_level?: Maybe<Scalars["String"]>;
1817
+ /** Coordinates of a EVSE. */
1818
+ coordinates?: Maybe<OCPIGeoLocation>;
1819
+ /** A number/string printed on the outside of an EVSE for visual identification. */
1820
+ physical_reference?: Maybe<Scalars["String"]>;
1821
+ /** Restrictions that apply to a parking spot. */
1822
+ parking_restrictions?: Maybe<Array<Maybe<OCPIParkingRestriction>>>;
1749
1823
  /** Links to images related to an EVSE such as photos or logos. */
1750
1824
  images?: Maybe<Array<Maybe<OCPIImage>>>;
1751
1825
  /** Timestamp when this EVSE or one of its Connectors was last updated (or created). */
1752
1826
  last_updated?: Maybe<Scalars["DateTime"]>;
1753
1827
  /** Indicates if parking is free or paid. */
1754
1828
  parking_cost?: Maybe<ParkingCost>;
1755
- /** Restrictions that apply to a parking spot. */
1756
- parking_restrictions?: Maybe<Array<Maybe<OCPIParkingRestriction>>>;
1757
- /** A number/string printed on the outside of an EVSE for visual identification. */
1758
- physical_reference?: Maybe<Scalars["String"]>;
1759
1829
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
1760
1830
  properties?: Maybe<Scalars["JSON"]>;
1761
- /** Indicates the current status of an EVSE. */
1762
- status?: Maybe<OCPIStatus>;
1763
- /** Indicates a planned status update of a nEVSE. */
1764
- status_schedule?: Maybe<Array<Maybe<OCPIStatusSchedule>>>;
1765
- /**
1766
- * Uniquely identifies an EVSE within the CPOs platform (and suboperator platforms). For example a database ID or the actual "EVSE ID". This field can never be changed, modified or renamed. This is the 'technical' identification of the EVSE, not to be used as 'human readable' identification, use the field evse_id for that.
1767
- * This field is named uid instead of id, because id could be confused with evse_id which is an eMI3 defined field.
1768
- */
1769
- uid?: Maybe<Scalars["String"]>;
1770
1831
  };
1771
1832
  /** A GeoJSON Feature<Point> */
1772
1833
  export declare type FeaturePoint = {
1773
- /** Geometry of the feature */
1774
- geometry: Point;
1775
1834
  /** Feature ID */
1776
1835
  id?: Maybe<Scalars["String"]>;
1777
- /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
1778
- properties?: Maybe<Scalars["JSON"]>;
1779
1836
  /** Feature type */
1780
1837
  type: FeatureType;
1838
+ /** Geometry of the feature */
1839
+ geometry: Point;
1840
+ /** Additional data */
1841
+ properties?: Maybe<Scalars["JSON"]>;
1781
1842
  };
1782
1843
  /** A GeoJSON Feature<Point> input */
1783
1844
  export declare type FeaturePointInput = {
1784
- /** Geometry of the feature */
1785
- geometry: PointInput;
1786
1845
  /** The feature ID */
1787
1846
  id?: Maybe<Scalars["String"]>;
1788
- /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
1789
- properties?: Maybe<Scalars["JSON"]>;
1790
1847
  /** Feature type */
1791
1848
  type: FeatureType;
1849
+ /** Geometry of the feature */
1850
+ geometry: PointInput;
1851
+ /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
1852
+ properties?: Maybe<Scalars["JSON"]>;
1792
1853
  };
1793
1854
  /** A GeoJSON Feature<Point> input */
1794
1855
  export declare type FeaturePointPolygonInput = {
1856
+ /** Feature type */
1857
+ type: FeatureType;
1795
1858
  /** Geometry of the feature */
1796
1859
  geometry: PointInput;
1797
1860
  /** Optional object where you can store custom data you need in your application. */
1798
1861
  properties?: Maybe<FeaturePointPolygonPropertiesInput>;
1799
- /** Feature type */
1800
- type: FeatureType;
1801
1862
  };
1802
1863
  /** Properties for Feature<Point> input */
1803
1864
  export declare type FeaturePointPolygonProperties = {
@@ -1811,26 +1872,31 @@ export declare type FeaturePointPolygonPropertiesInput = {
1811
1872
  };
1812
1873
  /** A GeoJSON Feature<Polygon> */
1813
1874
  export declare type FeaturePolygon = {
1875
+ /** Feature type */
1876
+ type: FeatureType;
1814
1877
  /** Geometry of the feature */
1815
1878
  geometry: Polygon;
1816
1879
  /** Properties of the Polygon Feature */
1817
1880
  properties?: Maybe<PolygonProperties>;
1818
- /** Feature type */
1819
- type: FeatureType;
1820
1881
  };
1821
1882
  /** A GeoJSON Feature<Point> */
1822
1883
  export declare type FeaturePolygonPoint = {
1884
+ /** Feature type */
1885
+ type: FeatureType;
1823
1886
  /** Geometry of the feature */
1824
1887
  geometry: Point;
1825
1888
  /** Optional object where you can store custom data you need in your application. */
1826
1889
  properties?: Maybe<Scalars["JSON"]>;
1827
- /** Feature type */
1828
- type: FeatureType;
1829
1890
  };
1830
1891
  /** GeoJSON Feature type */
1831
1892
  export declare enum FeatureType {
1832
1893
  FEATURE = "Feature"
1833
1894
  }
1895
+ /** Geometry point with GPS coordinates */
1896
+ export declare type GeometryPoint = {
1897
+ type: PointType;
1898
+ coordinates: Array<Scalars["Float"]>;
1899
+ };
1834
1900
  /** Navigation service providers available */
1835
1901
  export declare enum InstructionsFormat {
1836
1902
  /** Chargetrip raw instructions */
@@ -1841,50 +1907,50 @@ export declare enum InstructionsFormat {
1841
1907
  export declare type Isoline = {
1842
1908
  /** Isoline id */
1843
1909
  id: Scalars["ID"];
1910
+ /** Isoline status */
1911
+ status: IsolineStatus;
1912
+ /** Shape of the isoline consisting in a list of polygons */
1913
+ polygons?: Maybe<Array<Maybe<FeaturePolygon>>>;
1844
1914
  /** Origin point of the request */
1845
1915
  origin: FeaturePolygonPoint;
1916
+ /** Vehicle id */
1917
+ vehicle_id: Scalars["ID"];
1846
1918
  /** Number of Isolines to be generated representing SoC (default: 1, max: 100) */
1847
1919
  polygon_count?: Maybe<Scalars["Int"]>;
1848
- /** Shape of the isoline consisting in a list of polygons */
1849
- polygons?: Maybe<Array<Maybe<FeaturePolygon>>>;
1850
1920
  /** Season to be taken into account when generating the isoline, defaults to current */
1851
1921
  season?: Maybe<RouteSeason>;
1852
- /** Isoline status */
1853
- status: IsolineStatus;
1854
- /** Vehicle id */
1855
- vehicle_id: Scalars["ID"];
1856
1922
  };
1857
1923
  export declare type IsolineInput = {
1924
+ /** Vehicle id */
1925
+ vehicle_id: Scalars["ID"];
1858
1926
  /** Origin point of the request */
1859
1927
  origin: FeaturePointPolygonInput;
1860
1928
  /** Numbers of polygons to be generated (default: 1, max: 100) */
1861
1929
  polygon_count?: Maybe<Scalars["Int"]>;
1862
1930
  /** Season to be taken into account when generating the isoline, defaults to current */
1863
1931
  season?: Maybe<RouteSeason>;
1864
- /** Vehicle id */
1865
- vehicle_id: Scalars["ID"];
1866
1932
  };
1867
1933
  /** Status of the isoline label */
1868
1934
  export declare enum IsolineStatus {
1869
1935
  /** Isoline label has been successfully generated */
1870
1936
  DONE = "done",
1871
- /** There was an error while generating the isoline label */
1872
- ERROR = "error",
1873
1937
  /** Isoline label is under processing */
1874
- PENDING = "pending"
1938
+ PENDING = "pending",
1939
+ /** There was an error while generating the isoline label */
1940
+ ERROR = "error"
1875
1941
  }
1876
1942
  /** Types of a leg */
1877
1943
  export declare enum LegType {
1878
- /** This leg ends at the destination, and is the last leg of the route */
1879
- FINAL = "final",
1880
1944
  /** This leg ends at a charging station and the car must recharge */
1881
1945
  STATION = "station",
1882
- /** This leg ends at the destination which is a charging station, and is the last leg of the route */
1883
- STATIONFINAL = "stationFinal",
1884
1946
  /** This leg ends at a via charging station and the car must recharge */
1885
1947
  STATIONVIA = "stationVia",
1886
1948
  /** This leg ends at a via location */
1887
- VIA = "via"
1949
+ VIA = "via",
1950
+ /** This leg ends at the destination, and is the last leg of the route */
1951
+ FINAL = "final",
1952
+ /** This leg ends at the destination which is a charging station, and is the last leg of the route */
1953
+ STATIONFINAL = "stationFinal"
1888
1954
  }
1889
1955
  /** Preferred language for the mapping */
1890
1956
  export declare enum MappingLanguage {
@@ -1899,49 +1965,54 @@ export declare enum MappingProvider {
1899
1965
  MAPBOXV5 = "MapboxV5"
1900
1966
  }
1901
1967
  export declare type Mutation = {
1968
+ /** [BETA] Create a connected vehicle for a given vehicle id and a connectivity provider */
1969
+ createConnectedVehicle?: Maybe<ConnectedVehicle>;
1970
+ /** [BETA] Authorize a vehicle by providing the callback url from the connectivity provider which will be exchanged for access tokens */
1971
+ authorizeConnectedVehicle?: Maybe<ConnectedVehicle>;
1972
+ /** [BETA] Update a connected vehicle */
1973
+ updateConnectedVehicle?: Maybe<ConnectedVehicle>;
1974
+ /** [BETA] Revoke access for a connected vehicle */
1975
+ removeConnectedVehicle?: Maybe<Scalars["Void"]>;
1976
+ /** [BETA] Generate a set of consumption based Isolines */
1977
+ createIsoline?: Maybe<Scalars["ID"]>;
1978
+ /** [BETA] Start a new navigation session on top of an existing route */
1979
+ startNavigation?: Maybe<Scalars["ID"]>;
1980
+ /** [BETA] Update the navigation session */
1981
+ updateNavigation?: Maybe<Scalars["Void"]>;
1982
+ /** [BETA] Recalculate the current navigation route */
1983
+ recalculateNavigation?: Maybe<Scalars["Void"]>;
1984
+ /** [BETA] End a navigation session */
1985
+ finishNavigation?: Maybe<Scalars["Void"]>;
1902
1986
  /**
1903
1987
  * Add a new review.
1904
1988
  * If the `x-token` header is send for a valid user, the review will belong to it, otherwise will be added for an anonymouse user
1905
1989
  */
1906
1990
  addReview: Review;
1907
- /** [BETA] Generate a set of consumption based Isolines */
1908
- createIsoline?: Maybe<Scalars["ID"]>;
1909
1991
  /**
1910
1992
  * Remove a review added by an authenticated user.
1911
1993
  * The `x-token` header is mandatory in order to authorize the user who wants to remove a review.
1912
1994
  * In case it is not sent, an error will occur.
1913
1995
  * In case the review was not found or belongs to another user an error will occur.
1914
1996
  * This is a premium feature, contact Chargetrip for more information.
1915
- */
1916
- deleteUserReview: Review;
1917
- /** [BETA] End a navigation session */
1918
- finishNavigation?: Maybe<Scalars["Void"]>;
1919
- /** Create a new route from the route input and its ID */
1920
- newRoute?: Maybe<Scalars["ID"]>;
1921
- /** [BETA] Recalculate the current navigation route */
1922
- recalculateNavigation?: Maybe<Scalars["Void"]>;
1923
- /** [BETA] Start a new navigation session on top of an existing route */
1924
- startNavigation?: Maybe<Scalars["ID"]>;
1925
- /** [BETA] Update the navigation session */
1926
- updateNavigation?: Maybe<Scalars["Void"]>;
1927
- };
1928
- export declare type MutationaddReviewArgs = {
1929
- review: ReviewAdd;
1997
+ */
1998
+ deleteUserReview: Review;
1999
+ /** Create a new route from the route input and its ID */
2000
+ newRoute?: Maybe<Scalars["ID"]>;
1930
2001
  };
1931
- export declare type MutationcreateIsolineArgs = {
1932
- input: IsolineInput;
2002
+ export declare type MutationcreateConnectedVehicleArgs = {
2003
+ input?: Maybe<CreateConnectedVehicleInput>;
1933
2004
  };
1934
- export declare type MutationdeleteUserReviewArgs = {
1935
- id: Scalars["ID"];
2005
+ export declare type MutationauthorizeConnectedVehicleArgs = {
2006
+ input?: Maybe<AuthorizeConnectedVehicleInput>;
1936
2007
  };
1937
- export declare type MutationfinishNavigationArgs = {
1938
- input: NavigationFinishInput;
2008
+ export declare type MutationupdateConnectedVehicleArgs = {
2009
+ input: UpdateConnectedVehicleInput;
1939
2010
  };
1940
- export declare type MutationnewRouteArgs = {
1941
- input?: Maybe<RequestInput>;
2011
+ export declare type MutationremoveConnectedVehicleArgs = {
2012
+ input: RemoveConnectedVehicleInput;
1942
2013
  };
1943
- export declare type MutationrecalculateNavigationArgs = {
1944
- input: NavigationRecalculateInput;
2014
+ export declare type MutationcreateIsolineArgs = {
2015
+ input: IsolineInput;
1945
2016
  };
1946
2017
  export declare type MutationstartNavigationArgs = {
1947
2018
  input: NavigationStartInput;
@@ -1949,26 +2020,41 @@ export declare type MutationstartNavigationArgs = {
1949
2020
  export declare type MutationupdateNavigationArgs = {
1950
2021
  input: NavigationUpdateInput;
1951
2022
  };
2023
+ export declare type MutationrecalculateNavigationArgs = {
2024
+ input: NavigationRecalculateInput;
2025
+ };
2026
+ export declare type MutationfinishNavigationArgs = {
2027
+ input: NavigationFinishInput;
2028
+ };
2029
+ export declare type MutationaddReviewArgs = {
2030
+ review: ReviewAdd;
2031
+ };
2032
+ export declare type MutationdeleteUserReviewArgs = {
2033
+ id: Scalars["ID"];
2034
+ };
2035
+ export declare type MutationnewRouteArgs = {
2036
+ input?: Maybe<RequestInput>;
2037
+ };
1952
2038
  /** The navigation session data */
1953
2039
  export declare type Navigation = {
1954
- /** A set of alternative charging stations to next station */
1955
- alternative_stations?: Maybe<Array<Maybe<NavigationStation>>>;
1956
2040
  /** ID of the navigation session */
1957
2041
  id: Scalars["ID"];
1958
- /** Navigation instructions */
1959
- instructions?: Maybe<Scalars["JSON"]>;
1960
- /** Last known location */
1961
- last_known_location?: Maybe<Point>;
1962
- /** Next charging station */
1963
- next_station?: Maybe<NavigationStation>;
1964
- /** The current route alternative used for navigation */
1965
- route_alternative_id?: Maybe<Scalars["String"]>;
1966
2042
  /** The current route used for navigation */
1967
2043
  route_id?: Maybe<Scalars["String"]>;
2044
+ /** The current route alternative used for navigation */
2045
+ route_alternative_id?: Maybe<Scalars["String"]>;
1968
2046
  /** The state of a navigation session. The status can be driving, charging, finished, or error */
1969
2047
  state?: Maybe<NavigationState>;
1970
2048
  /** State of charge at the last known location */
1971
2049
  state_of_charge?: Maybe<Scalars["Float"]>;
2050
+ /** Last known location */
2051
+ last_known_location?: Maybe<Point>;
2052
+ /** Next charging station */
2053
+ next_station?: Maybe<NavigationStation>;
2054
+ /** A set of alternative charging stations to next station */
2055
+ alternative_stations?: Maybe<Array<Maybe<NavigationStation>>>;
2056
+ /** Navigation instructions */
2057
+ instructions?: Maybe<Scalars["JSON"]>;
1972
2058
  };
1973
2059
  /** The navigation session data */
1974
2060
  export declare type NavigationinstructionsArgs = {
@@ -1978,74 +2064,74 @@ export declare type NavigationinstructionsArgs = {
1978
2064
  };
1979
2065
  /** Input for the navigation recalculate */
1980
2066
  export declare type NavigationFinishInput = {
1981
- /** Current coordinates */
1982
- current_location: PointInput;
1983
2067
  /** ID of the navigation session */
1984
2068
  id: Scalars["ID"];
2069
+ /** Current coordinates */
2070
+ current_location: PointInput;
1985
2071
  };
1986
2072
  /** Input for the navigation recalculate */
1987
2073
  export declare type NavigationRecalculateInput = {
1988
- /** Origin location of a new route */
1989
- current_location: PointInput;
1990
- /** Heading of a vehicle, in degrees */
1991
- heading?: Maybe<Scalars["Float"]>;
1992
2074
  /** ID of the navigation session */
1993
2075
  id: Scalars["ID"];
1994
2076
  /** State of charge at origin */
1995
2077
  state_of_charge?: Maybe<Scalars["Float"]>;
2078
+ /** Origin location of a new route */
2079
+ current_location: PointInput;
1996
2080
  /** Via points of a new route. If this field is not sent, the original via points will be used */
1997
2081
  via?: Maybe<Array<Maybe<FeaturePointInput>>>;
2082
+ /** Heading of a vehicle, in degrees */
2083
+ heading?: Maybe<Scalars["Float"]>;
1998
2084
  };
1999
2085
  /** Input for the navigation start */
2000
2086
  export declare type NavigationStartInput = {
2001
- /** Current coordinates */
2002
- current_location: PointInput;
2003
- /** ID of the route alternative of the navigation session */
2004
- route_alternative_id?: Maybe<Scalars["String"]>;
2005
2087
  /** ID of the route of the navigation session */
2006
2088
  route_id: Scalars["String"];
2089
+ /** ID of the route alternative of the navigation session */
2090
+ route_alternative_id?: Maybe<Scalars["String"]>;
2091
+ /** Current coordinates */
2092
+ current_location: PointInput;
2007
2093
  };
2008
2094
  /** State of navigation session */
2009
2095
  export declare enum NavigationState {
2010
- /** Vehicle is charging */
2011
- CHARGING = "charging",
2012
2096
  /** Vehicle is driving */
2013
2097
  DRIVING = "driving",
2014
- /** Failed to update navigation session due to route error or not found */
2015
- ERROR = "error",
2098
+ /** Vehicle is charging */
2099
+ CHARGING = "charging",
2016
2100
  /** Navigation session is completed (either manually or automatically 48 hours after the last update) */
2017
- FINISHED = "finished"
2101
+ FINISHED = "finished",
2102
+ /** Failed to update navigation session due to route error or not found */
2103
+ ERROR = "error"
2018
2104
  }
2019
2105
  /** Navigation session station type */
2020
2106
  export declare type NavigationStation = {
2021
- /** Estimated consumption, in kWh, from last the known location until the next charging station */
2022
- estimated_consumption?: Maybe<Scalars["Float"]>;
2023
- /** Estimated duration, in seconds, from the last known location until the next charging station */
2024
- estimated_duration?: Maybe<Scalars["Int"]>;
2025
- /** Estimated state of charge, in kWh, at arrival on the next charging station */
2026
- estimated_state_of_charge?: Maybe<Scalars["Float"]>;
2027
2107
  /** The ID as string of the charging station */
2028
2108
  station_id?: Maybe<Scalars["String"]>;
2029
2109
  /** GPS location of the charging station */
2030
2110
  station_location?: Maybe<Point>;
2031
2111
  /** An array with all GPS locations of via points until the next charging station */
2032
2112
  via?: Maybe<Array<Maybe<Point>>>;
2113
+ /** Estimated state of charge, in kWh, at arrival on the next charging station */
2114
+ estimated_state_of_charge?: Maybe<Scalars["Float"]>;
2115
+ /** Estimated consumption, in kWh, from last the known location until the next charging station */
2116
+ estimated_consumption?: Maybe<Scalars["Float"]>;
2117
+ /** Estimated duration, in seconds, from the last known location until the next charging station */
2118
+ estimated_duration?: Maybe<Scalars["Int"]>;
2033
2119
  };
2034
2120
  /** Input for the navigation session update telemetry data */
2035
2121
  export declare type NavigationTelemetryUpdateInput = {
2036
- /** Indicates if a vehicle is charging */
2037
- is_charging?: Maybe<Scalars["Boolean"]>;
2038
2122
  /** State of charge at the last known location, in kwh */
2039
2123
  state_of_charge?: Maybe<Scalars["Float"]>;
2124
+ /** Indicates if a vehicle is charging */
2125
+ is_charging?: Maybe<Scalars["Boolean"]>;
2040
2126
  /** Average tire pressure, in bars. This information should come from telemetry */
2041
2127
  tire_pressure?: Maybe<Scalars["Float"]>;
2042
2128
  };
2043
2129
  /** Input for the navigation update */
2044
2130
  export declare type NavigationUpdateInput = {
2045
- /** Heading of a vehicle, in degrees */
2046
- heading?: Maybe<Scalars["Float"]>;
2047
2131
  /** ID of the navigation session */
2048
2132
  id: Scalars["ID"];
2133
+ /** Heading of a vehicle, in degrees */
2134
+ heading?: Maybe<Scalars["Float"]>;
2049
2135
  /** A list of locations that were collected since the last update */
2050
2136
  location_data: Array<NavigationUpdateLocationsInput>;
2051
2137
  /** Telemetry data input */
@@ -2053,14 +2139,14 @@ export declare type NavigationUpdateInput = {
2053
2139
  };
2054
2140
  /** Properties of the location */
2055
2141
  export declare type NavigationUpdateLocationPropertiesInput = {
2056
- /** Altitude information, in meters. This is optional */
2057
- altitude?: Maybe<Scalars["Int"]>;
2058
2142
  /** Current route leg index corresponding to a location */
2059
2143
  route_leg: Scalars["Int"];
2060
2144
  /** Speed at a location, in km/h */
2061
2145
  speed: Scalars["Float"];
2062
2146
  /** UNIX timestamp at location, in seconds */
2063
2147
  timestamp: Scalars["Int"];
2148
+ /** Altitude information, in meters. This is optional */
2149
+ altitude?: Maybe<Scalars["Int"]>;
2064
2150
  };
2065
2151
  /** Input for the navigation update locations */
2066
2152
  export declare type NavigationUpdateLocationsInput = {
@@ -2069,6 +2155,10 @@ export declare type NavigationUpdateLocationsInput = {
2069
2155
  /** Extra information about the location */
2070
2156
  properties: NavigationUpdateLocationPropertiesInput;
2071
2157
  };
2158
+ export declare type NewConnectedVehicleOptions = {
2159
+ /** Redirect uri */
2160
+ redirect_uri?: Maybe<Scalars["PlainString"]>;
2161
+ };
2072
2162
  /** This class defines an additional geo location that is relevant for the Charge Point. The geodetic system to be used is WGS 84. */
2073
2163
  export declare type OCPIAdditionalGeoLocation = {
2074
2164
  /** Latitude of the point in decimal degree. Example: 50.770774. Decimal separator: "." Regex: -?[0-9]{1,2}\.[0-9]{5,7} */
@@ -2080,10 +2170,10 @@ export declare type OCPIAdditionalGeoLocation = {
2080
2170
  };
2081
2171
  /** The capabilities of an EVSE. */
2082
2172
  export declare enum OCPICapability {
2083
- /** The EVSE supports charging preferences. */
2084
- CHARGING_PREFERENCES_CAPABLE = "CHARGING_PREFERENCES_CAPABLE",
2085
2173
  /** The EVSE supports charging profiles. */
2086
2174
  CHARGING_PROFILE_CAPABLE = "CHARGING_PROFILE_CAPABLE",
2175
+ /** The EVSE supports charging preferences. */
2176
+ CHARGING_PREFERENCES_CAPABLE = "CHARGING_PREFERENCES_CAPABLE",
2087
2177
  /** EVSE has a payment terminal that supports chip cards. */
2088
2178
  CHIP_CARD_SUPPORT = "CHIP_CARD_SUPPORT",
2089
2179
  /** EVSE has a payment terminal that supports contactless cards. */
@@ -2100,26 +2190,24 @@ export declare enum OCPICapability {
2100
2190
  RESERVABLE = "RESERVABLE",
2101
2191
  /** Charging at this EVSE can be authorized with an RFID token. */
2102
2192
  RFID_READER = "RFID_READER",
2103
- /** When a StartSession is sent to this EVSE, the MSP is required to add the optional connector_id field in the StartSession object. */
2104
- START_SESSION_CONNECTOR_REQUIRED = "START_SESSION_CONNECTOR_REQUIRED",
2105
2193
  /** This EVSE supports token groups, two or more tokens work as one, so that a session can be started with one token and stopped with another (handy when a card and key-fob are given to the EV-driver). */
2106
2194
  TOKEN_GROUP_CAPABLE = "TOKEN_GROUP_CAPABLE",
2107
2195
  /** Connectors have a mechanical lock that can be requested by the eMSP to be unlocked. */
2108
- UNLOCK_CAPABLE = "UNLOCK_CAPABLE"
2196
+ UNLOCK_CAPABLE = "UNLOCK_CAPABLE",
2197
+ /** When a StartSession is sent to this EVSE, the MSP is required to add the optional connector_id field in the StartSession object. */
2198
+ START_SESSION_CONNECTOR_REQUIRED = "START_SESSION_CONNECTOR_REQUIRED"
2109
2199
  }
2110
2200
  /** The format of the connector, whether it is a socket or a plug. */
2111
2201
  export declare enum OCPIConnectorFormat {
2112
- /** The connector is an attached cable; the EV users car needs to have a fitting inlet. */
2113
- CABLE = "CABLE",
2114
2202
  /** The connector is a socket; the EV user needs to bring a fitting plug. */
2115
- SOCKET = "SOCKET"
2203
+ SOCKET = "SOCKET",
2204
+ /** The connector is an attached cable; the EV users car needs to have a fitting inlet. */
2205
+ CABLE = "CABLE"
2116
2206
  }
2117
2207
  /** Deprecated: Please use ConnectorType instead */
2118
2208
  export declare enum OCPIConnectorType {
2119
2209
  /** The connector type is CHAdeMO, DC */
2120
2210
  CHADEMO = "CHADEMO",
2121
- /** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
2122
- CHAOJI = "CHAOJI",
2123
2211
  /** Standard/domestic household, type "A", NEMA 1-15, 2 pins */
2124
2212
  DOMESTIC_A = "DOMESTIC_A",
2125
2213
  /** Standard/domestic household, type "B", NEMA 5-15, 3 pins */
@@ -2150,8 +2238,6 @@ export declare enum OCPIConnectorType {
2150
2238
  DOMESTIC_N = "DOMESTIC_N",
2151
2239
  /** Standard/Domestic household, type "O", TIS 166-2549, 3 pins */
2152
2240
  DOMESTIC_O = "DOMESTIC_O",
2153
- /** The connector type is GB_T (Chinese standard), DC */
2154
- GB_T = "GB_T",
2155
2241
  /** IEC 60309-2 Industrial connector single phase 16 amperes (usually blue) */
2156
2242
  IEC_60309_2_SINGLE_16 = "IEC_60309_2_single_16",
2157
2243
  /** IEC 60309-2 Industrial connector three phase 16 amperes (usually red) */
@@ -2172,6 +2258,18 @@ export declare enum OCPIConnectorType {
2172
2258
  IEC_62196_T3A = "IEC_62196_T3A",
2173
2259
  /** IEC 62196 Type 3C "Scame" */
2174
2260
  IEC_62196_T3C = "IEC_62196_T3C",
2261
+ /** On-board bottom-up-pantograph typically for bus charging */
2262
+ PANTOGRAPH_BOTTOM_UP = "PANTOGRAPH_BOTTOM_UP",
2263
+ /** Off-board top-down-pantograph typically for bus charging */
2264
+ PANTOGRAPH_TOP_DOWN = "PANTOGRAPH_TOP_DOWN",
2265
+ /** Tesla connector "Roadster"-type (round, 4 pins) */
2266
+ TESLA_R = "TESLA_R",
2267
+ /** Tesla connector "Model-S"-type (oval, 5 pins) */
2268
+ TESLA_S = "TESLA_S",
2269
+ /** The connector type is GB_T (Chinese standard), DC */
2270
+ GB_T = "GB_T",
2271
+ /** The ChaoJi connector. The new generation charging connector, harmonized between CHAdeMO and GB/T. DC. */
2272
+ CHAOJI = "CHAOJI",
2175
2273
  /** The connector type is NEMA 5-20, 3 pins */
2176
2274
  NEMA_5_20 = "NEMA_5_20",
2177
2275
  /** The connector type is NEMA 6-30, 3 pins */
@@ -2185,24 +2283,16 @@ export declare enum OCPIConnectorType {
2185
2283
  /** The connector type is NEMA 14-30, 3 pins, rating of 30 A */
2186
2284
  NEMA_14_30 = "NEMA_14_30",
2187
2285
  /** The connector type is NEMA 14-50, 3 pins, rating of 50 A */
2188
- NEMA_14_50 = "NEMA_14_50",
2189
- /** On-board bottom-up-pantograph typically for bus charging */
2190
- PANTOGRAPH_BOTTOM_UP = "PANTOGRAPH_BOTTOM_UP",
2191
- /** Off-board top-down-pantograph typically for bus charging */
2192
- PANTOGRAPH_TOP_DOWN = "PANTOGRAPH_TOP_DOWN",
2193
- /** Tesla connector "Roadster"-type (round, 4 pins) */
2194
- TESLA_R = "TESLA_R",
2195
- /** Tesla connector "Model-S"-type (oval, 5 pins) */
2196
- TESLA_S = "TESLA_S"
2286
+ NEMA_14_50 = "NEMA_14_50"
2197
2287
  }
2198
2288
  export declare enum OCPIDayOfWeek {
2199
- FRIDAY = "FRIDAY",
2200
2289
  MONDAY = "MONDAY",
2201
- SATURDAY = "SATURDAY",
2202
- SUNDAY = "SUNDAY",
2203
- THURSDAY = "THURSDAY",
2204
2290
  TUESDAY = "TUESDAY",
2205
- WEDNESDAY = "WEDNESDAY"
2291
+ WEDNESDAY = "WEDNESDAY",
2292
+ THURSDAY = "THURSDAY",
2293
+ FRIDAY = "FRIDAY",
2294
+ SATURDAY = "SATURDAY",
2295
+ SUNDAY = "SUNDAY"
2206
2296
  }
2207
2297
  export declare type OCPIDisplayText = {
2208
2298
  /** Language Code ISO 639-1 */
@@ -2212,55 +2302,55 @@ export declare type OCPIDisplayText = {
2212
2302
  };
2213
2303
  /** This type is used to specify the energy mix and environmental impact of the supplied energy at a location or in a tariff. */
2214
2304
  export declare type OCPIEnergyMix = {
2215
- /** Name of the energy suppliers product/tariff plan used at this location.* */
2216
- energy_product_name?: Maybe<Scalars["String"]>;
2305
+ /** True if the power is 100% from regenerative sources */
2306
+ is_green_energy?: Maybe<Scalars["Boolean"]>;
2217
2307
  /** Key-value pairs (enum + percentage) of energy sources of this location’s tariff. */
2218
2308
  energy_sources?: Maybe<Array<Maybe<OCPIEnergySource>>>;
2219
2309
  /** Key-value pairs (enum + percentage) of nuclear waste and CO2 exhaust of this location’s tariff. */
2220
2310
  environ_impact?: Maybe<Array<Maybe<OCPIEnvironmentalImpact>>>;
2221
- /** True if the power is 100% from regenerative sources */
2222
- is_green_energy?: Maybe<Scalars["Boolean"]>;
2223
2311
  /** Name of the energy supplier, delivering the energy for this location or tariff.* */
2224
2312
  supplier_name?: Maybe<Scalars["String"]>;
2313
+ /** Name of the energy suppliers product/tariff plan used at this location.* */
2314
+ energy_product_name?: Maybe<Scalars["String"]>;
2225
2315
  };
2226
2316
  export declare type OCPIEnergySource = {
2227
- /** Percentage of this source (0-100) in the mix. */
2228
- percentage?: Maybe<Scalars["Int"]>;
2229
2317
  /** The type of energy source. */
2230
2318
  source?: Maybe<OCPIEnergySourceCategory>;
2319
+ /** Percentage of this source (0-100) in the mix. */
2320
+ percentage?: Maybe<Scalars["Int"]>;
2231
2321
  };
2232
2322
  /** Categories of energy sources. */
2233
2323
  export declare enum OCPIEnergySourceCategory {
2324
+ /** Nuclear power sources. */
2325
+ NUCLEAR = "NUCLEAR",
2326
+ /** All kinds of fossil power sources. */
2327
+ GENERAL_FOSSIL = "GENERAL_FOSSIL",
2234
2328
  /** Fossil power from coal. */
2235
2329
  COAL = "COAL",
2236
2330
  /** Fossil power from gas. */
2237
2331
  GAS = "GAS",
2238
- /** All kinds of fossil power sources. */
2239
- GENERAL_FOSSIL = "GENERAL_FOSSIL",
2240
2332
  /** All kinds of regenerative power sources. */
2241
2333
  GENERAL_GREEN = "GENERAL_GREEN",
2242
- /** Nuclear power sources. */
2243
- NUCLEAR = "NUCLEAR",
2244
2334
  /** Regenerative power from PV. */
2245
2335
  SOLAR = "SOLAR",
2246
- /** Regenerative power from water turbines. */
2247
- WATER = "WATER",
2248
2336
  /** Regenerative power from wind turbines. */
2249
- WIND = "WIND"
2337
+ WIND = "WIND",
2338
+ /** Regenerative power from water turbines. */
2339
+ WATER = "WATER"
2250
2340
  }
2251
2341
  /** Amount of waste produced/emitted per kWh. */
2252
2342
  export declare type OCPIEnvironmentalImpact = {
2253
- /** Amount of this portion in g/kWh. */
2254
- amount?: Maybe<Scalars["Int"]>;
2255
2343
  /** The environmental impact category of this value. */
2256
2344
  category?: Maybe<OCPIEnvironmentalImpactCategory>;
2345
+ /** Amount of this portion in g/kWh. */
2346
+ amount?: Maybe<Scalars["Int"]>;
2257
2347
  };
2258
2348
  /** Categories of environmental impact values. */
2259
2349
  export declare enum OCPIEnvironmentalImpactCategory {
2260
- /** Exhausted carbon dioxide in grams per kilowatthour. */
2261
- CARBON_DIOXIDE = "CARBON_DIOXIDE",
2262
2350
  /** Produced nuclear waste in grams per kilowatthour. */
2263
- NUCLEAR_WASTE = "NUCLEAR_WASTE"
2351
+ NUCLEAR_WASTE = "NUCLEAR_WASTE",
2352
+ /** Exhausted carbon dioxide in grams per kilowatthour. */
2353
+ CARBON_DIOXIDE = "CARBON_DIOXIDE"
2264
2354
  }
2265
2355
  /** Specifies one exceptional period for opening or access hours. */
2266
2356
  export declare type OCPIExceptionalPeriod = {
@@ -2270,44 +2360,44 @@ export declare type OCPIExceptionalPeriod = {
2270
2360
  period_end?: Maybe<Scalars["DateTime"]>;
2271
2361
  };
2272
2362
  export declare enum OCPIFacility {
2273
- /** An airport. */
2274
- AIRPORT = "AIRPORT",
2275
- /** A bike/e-bike/e-scooter sharing location. */
2276
- BIKE_SHARING = "BIKE_SHARING",
2277
- /** A bus stop. */
2278
- BUS_STOP = "BUS_STOP",
2279
- /** A cafe. */
2280
- CAFE = "CAFE",
2281
- /** A carpool parking. */
2282
- CARPOOL_PARKING = "CARPOOL_PARKING",
2283
- /** A Fuel station. */
2284
- FUEL_STATION = "FUEL_STATION",
2285
2363
  /** A hotel. */
2286
2364
  HOTEL = "HOTEL",
2287
- /** A mall or shopping center. */
2288
- MALL = "MALL",
2289
- /** A metro station. */
2290
- METRO_STATION = "METRO_STATION",
2291
- /** A museum. */
2292
- MUSEUM = "MUSEUM",
2293
- /** Located in, or close to, a park, nature reserve etc. */
2294
- NATURE = "NATURE",
2295
- /** A parking lot. */
2296
- PARKING_LOT = "PARKING_LOT",
2297
- /** A recreation area. */
2298
- RECREATION_AREA = "RECREATION_AREA",
2299
2365
  /** A restaurant. */
2300
2366
  RESTAURANT = "RESTAURANT",
2301
- /** Sport facilities: gym, field etc. */
2302
- SPORT = "SPORT",
2367
+ /** A cafe. */
2368
+ CAFE = "CAFE",
2369
+ /** A mall or shopping center. */
2370
+ MALL = "MALL",
2303
2371
  /** A supermarket. */
2304
2372
  SUPERMARKET = "SUPERMARKET",
2373
+ /** Sport facilities: gym, field etc. */
2374
+ SPORT = "SPORT",
2375
+ /** A recreation area. */
2376
+ RECREATION_AREA = "RECREATION_AREA",
2377
+ /** Located in, or close to, a park, nature reserve etc. */
2378
+ NATURE = "NATURE",
2379
+ /** A museum. */
2380
+ MUSEUM = "MUSEUM",
2381
+ /** A bike/e-bike/e-scooter sharing location. */
2382
+ BIKE_SHARING = "BIKE_SHARING",
2383
+ /** A bus stop. */
2384
+ BUS_STOP = "BUS_STOP",
2305
2385
  /** A taxi stand. */
2306
2386
  TAXI_STAND = "TAXI_STAND",
2307
- /** A train station. */
2308
- TRAIN_STATION = "TRAIN_STATION",
2309
2387
  /** A tram stop/station. */
2310
2388
  TRAM_STOP = "TRAM_STOP",
2389
+ /** A metro station. */
2390
+ METRO_STATION = "METRO_STATION",
2391
+ /** A train station. */
2392
+ TRAIN_STATION = "TRAIN_STATION",
2393
+ /** An airport. */
2394
+ AIRPORT = "AIRPORT",
2395
+ /** A parking lot. */
2396
+ PARKING_LOT = "PARKING_LOT",
2397
+ /** A carpool parking. */
2398
+ CARPOOL_PARKING = "CARPOOL_PARKING",
2399
+ /** A Fuel station. */
2400
+ FUEL_STATION = "FUEL_STATION",
2311
2401
  /** Wifi or other type of internet available. */
2312
2402
  WIFI = "WIFI"
2313
2403
  }
@@ -2320,28 +2410,28 @@ export declare type OCPIGeoLocation = {
2320
2410
  };
2321
2411
  /** Opening and access hours of the location. */
2322
2412
  export declare type OCPIHours = {
2323
- /** Exceptions for specified calendar dates, time-range based. Periods the station is not operating/accessible. Overwriting regular_hours and exceptional_openings. Should not overlap exceptional_openings. */
2324
- exceptional_closings?: Maybe<Array<Maybe<OCPIExceptionalPeriod>>>;
2325
- /** Exceptions for specified calendar dates, time-range based. Periods the station is operating/accessible. Additional to regular_hours. May overlap regular rules. */
2326
- exceptional_openings?: Maybe<Array<Maybe<OCPIExceptionalPeriod>>>;
2327
- /** Regular hours, weekday-based. Only to be used if twentyfourseven=false, then this field needs to contain at least one RegularHours object. */
2328
- regular_hours?: Maybe<Array<Maybe<OCPIRegularHours>>>;
2329
2413
  /** True to represent 24 hours a day and 7 days a week, except the given exceptions. */
2330
2414
  twentyfourseven?: Maybe<Scalars["Boolean"]>;
2415
+ /** Regular hours, weekday-based. Only to be used if twentyfourseven=false, then this field needs to contain at least one RegularHours object. */
2416
+ regular_hours?: Maybe<Array<Maybe<OCPIRegularHours>>>;
2417
+ /** Exceptions for specified calendar dates, time-range based. Periods the station is operating/accessible. Additional to regular_hours. May overlap regular rules. */
2418
+ exceptional_openings?: Maybe<Array<Maybe<OCPIExceptionalPeriod>>>;
2419
+ /** Exceptions for specified calendar dates, time-range based. Periods the station is not operating/accessible. Overwriting regular_hours and exceptional_openings. Should not overlap exceptional_openings. */
2420
+ exceptional_closings?: Maybe<Array<Maybe<OCPIExceptionalPeriod>>>;
2331
2421
  };
2332
2422
  export declare type OCPIImage = {
2333
- /** Category of an image */
2334
- category?: Maybe<OCPIImageCategory>;
2335
- /** Height of the full scale image */
2336
- height?: Maybe<Scalars["Int"]>;
2423
+ /** URL from where the image data can be fetched through a web browser. */
2424
+ url?: Maybe<Scalars["String"]>;
2337
2425
  /** URL from where a thumbnail of the image can be fetched through a webbrowser. */
2338
2426
  thumbnail?: Maybe<Scalars["String"]>;
2427
+ /** Category of an image */
2428
+ category?: Maybe<OCPIImageCategory>;
2339
2429
  /** Image type: gif, jpeg, png, svg */
2340
2430
  type?: Maybe<Scalars["String"]>;
2341
- /** URL from where the image data can be fetched through a web browser. */
2342
- url?: Maybe<Scalars["String"]>;
2343
2431
  /** Width of the full scale image */
2344
2432
  width?: Maybe<Scalars["Int"]>;
2433
+ /** Height of the full scale image */
2434
+ height?: Maybe<Scalars["Int"]>;
2345
2435
  };
2346
2436
  /** The category of an image to obtain the correct usage in a user presentation. The category has to be set accordingly to the image content in order to guarantee the right usage. */
2347
2437
  export declare enum OCPIImageCategory {
@@ -2362,41 +2452,41 @@ export declare enum OCPIImageCategory {
2362
2452
  }
2363
2453
  /** This value, if provided, represents the restriction to the parking spot for different purposes. */
2364
2454
  export declare enum OCPIParkingRestriction {
2365
- /** Parking spot for customers/guests only, for example in case of a hotel or shop. */
2366
- CUSTOMERS = "CUSTOMERS",
2367
- /** Reserved parking spot for disabled people with valid ID. */
2368
- DISABLED = "DISABLED",
2369
2455
  /** Reserved parking spot for electric vehicles. */
2370
2456
  EV_ONLY = "EV_ONLY",
2371
- /** Parking spot only suitable for (electric) motorcycles or scooters. */
2372
- MOTORCYCLES = "MOTORCYCLES",
2373
2457
  /** Parking is only allowed while plugged in (charging). */
2374
- PLUGGED = "PLUGGED"
2458
+ PLUGGED = "PLUGGED",
2459
+ /** Reserved parking spot for disabled people with valid ID. */
2460
+ DISABLED = "DISABLED",
2461
+ /** Parking spot for customers/guests only, for example in case of a hotel or shop. */
2462
+ CUSTOMERS = "CUSTOMERS",
2463
+ /** Parking spot only suitable for (electric) motorcycles or scooters. */
2464
+ MOTORCYCLES = "MOTORCYCLES"
2375
2465
  }
2376
2466
  /** Reflects the general type of the charge point’s location. May be used for user information. */
2377
2467
  export declare enum OCPIParkingType {
2378
2468
  /** Location on a parking facility/rest area along a motorway, freeway, interstate, highway etc. */
2379
2469
  ALONG_MOTORWAY = "ALONG_MOTORWAY",
2380
- /** Location is on the driveway of a house/building. */
2381
- ON_DRIVEWAY = "ON_DRIVEWAY",
2382
- /** Parking in public space along a street. */
2383
- ON_STREET = "ON_STREET",
2384
2470
  /** Multistorey car park. */
2385
2471
  PARKING_GARAGE = "PARKING_GARAGE",
2386
2472
  /** A cleared area that is intended for parking vehicles, i.e. at supermarkets, bars, etc. */
2387
2473
  PARKING_LOT = "PARKING_LOT",
2474
+ /** Location is on the driveway of a house/building. */
2475
+ ON_DRIVEWAY = "ON_DRIVEWAY",
2476
+ /** Parking in public space along a street. */
2477
+ ON_STREET = "ON_STREET",
2388
2478
  /** Multistorey car park, mainly underground. */
2389
2479
  UNDERGROUND_GARAGE = "UNDERGROUND_GARAGE"
2390
2480
  }
2391
2481
  export declare enum OCPIPowerType {
2392
2482
  /** AC single phase. */
2393
2483
  AC_1_PHASE = "AC_1_PHASE",
2484
+ /** AC three phase. */
2485
+ AC_3_PHASE = "AC_3_PHASE",
2394
2486
  /** AC two phases, only two of the three available phases connected. */
2395
2487
  AC_2_PHASE = "AC_2_PHASE",
2396
2488
  /** AC two phases using split phase system. */
2397
2489
  AC_2_PHASE_SPLIT = "AC_2_PHASE_SPLIT",
2398
- /** AC three phase. */
2399
- AC_3_PHASE = "AC_3_PHASE",
2400
2490
  /** Direct Current. */
2401
2491
  DC = "DC"
2402
2492
  }
@@ -2407,23 +2497,23 @@ export declare type OCPIPrice = {
2407
2497
  incl_vat?: Maybe<Scalars["Float"]>;
2408
2498
  };
2409
2499
  export declare type OCPIPriceComponent = {
2410
- /** Price per unit (excl. VAT) for this tariff dimension. */
2411
- price?: Maybe<Scalars["Float"]>;
2412
- /** Minimum amount to be billed. This unit will be billed in this step_size blocks. For example: if type is TIME and step_size has a value of 300, then time will be billed in blocks of 5 minutes. If 6 minutes were used, 10 minutes (2 blocks of step_size) will be billed. */
2413
- step_size?: Maybe<Scalars["Int"]>;
2414
2500
  /** Type of tariff dimension. */
2415
2501
  type?: Maybe<OCPITariffDimensionType>;
2502
+ /** Price per unit (excl. VAT) for this tariff dimension. */
2503
+ price?: Maybe<Scalars["Float"]>;
2416
2504
  /** Applicable VAT percentage for this tariff dimension. If omitted, no VAT is applicable. Not providing a VAT is different from 0% VAT, which would be a value of 0.0 here. */
2417
2505
  vat?: Maybe<Scalars["Float"]>;
2506
+ /** Minimum amount to be billed. This unit will be billed in this step_size blocks. For example: if type is TIME and step_size has a value of 300, then time will be billed in blocks of 5 minutes. If 6 minutes were used, 10 minutes (2 blocks of step_size) will be billed. */
2507
+ step_size?: Maybe<Scalars["Int"]>;
2418
2508
  };
2419
2509
  /** Regular recurring operation or access hours. */
2420
2510
  export declare type OCPIRegularHours = {
2511
+ /** Number of days in the week, from Monday (1) till Sunday (7) */
2512
+ weekday?: Maybe<Scalars["Int"]>;
2421
2513
  /** Begin of the regular period, in local time, given in hours and minutes. Must be in 24h format with leading zeros. Example: "18:15". Hour/Minute separator: ":" Regex: ([0-1][0-9]|2[1-3]):[0-5][0-9]. */
2422
2514
  period_begin?: Maybe<Scalars["String"]>;
2423
2515
  /** End of the regular period, in local time, syntax as for period_begin. Must be later than period_begin. */
2424
2516
  period_end?: Maybe<Scalars["String"]>;
2425
- /** Number of days in the week, from Monday (1) till Sunday (7) */
2426
- weekday?: Maybe<Scalars["Int"]>;
2427
2517
  };
2428
2518
  export declare enum OCPIReservationRestrictionType {
2429
2519
  /** Used in TariffElements to describe costs for a reservation. */
@@ -2464,32 +2554,32 @@ export declare type OCPIStatusSchedule = {
2464
2554
  export declare type OCPITariff = {
2465
2555
  /** ISO-3166 alpha-2 country code of the CPO that owns this tariff */
2466
2556
  country_code?: Maybe<Scalars["String"]>;
2557
+ /** CPO ID of the CPO that owns this tariff (following the ISO-15118 standard) */
2558
+ party_id?: Maybe<Scalars["String"]>;
2559
+ /** Uniquely identifies the tariff within the CPO’s platform (and suboperator platforms) */
2560
+ id?: Maybe<Scalars["String"]>;
2467
2561
  /** ISO-4217 code of the currency of this tariff. */
2468
2562
  currency?: Maybe<Scalars["String"]>;
2563
+ /** Defines the type of the tariff. This allows for distinction in case of given charging preferences. When omitted, this tariff is valid for all sessions */
2564
+ type?: Maybe<OCPITariffType>;
2565
+ /** List of alternative tariff information texts, in multiple languages */
2566
+ tariff_alt_text?: Maybe<Array<Maybe<OCPIDisplayText>>>;
2567
+ /** URL to a web page that contains an explanation of the tariff information in human readable form */
2568
+ tariff_alt_url?: Maybe<Scalars["String"]>;
2569
+ /** When this field is set, a charging session with this tariff will cost at least the amount shown. This is different from a FLAT fee (start tariff, transaction fee), as a FLAT fee is a fixed amount that must be paid for any charging session. A minimum price indicates that when the cost of a charging session is lower than this amount, the cost of the session will be equal to this amount */
2570
+ min_price?: Maybe<OCPIPrice>;
2571
+ /** When this field is set, a charging session with this tariff will NOT cost more than this amount */
2572
+ max_price?: Maybe<OCPIPrice>;
2469
2573
  /** List of tariff elements */
2470
2574
  elements?: Maybe<Array<Maybe<OCPITariffElement>>>;
2575
+ /** Time when this tariff becomes active, in UTC, time_zone field of the Location can be used to convert to local time. Typically used for a new tariff that is already given with the location, before it becomes active */
2576
+ start_date_time?: Maybe<Scalars["DateTime"]>;
2471
2577
  /** Time after which this tariff is no longer valid, in UTC, time_zone field if the location can be used to convert to local time. Typically used when this tariff is going to be replaced with a different tariff in the near future */
2472
2578
  end_date_time?: Maybe<Scalars["DateTime"]>;
2473
2579
  /** Details about the energy supplied with this tariff */
2474
2580
  energy_mix?: Maybe<OCPIEnergyMix>;
2475
- /** Uniquely identifies the tariff within the CPO’s platform (and suboperator platforms) */
2476
- id?: Maybe<Scalars["String"]>;
2477
2581
  /** Timestamp when this tariff was last updated (or created) */
2478
2582
  last_updated?: Maybe<Scalars["DateTime"]>;
2479
- /** When this field is set, a charging session with this tariff will NOT cost more than this amount */
2480
- max_price?: Maybe<OCPIPrice>;
2481
- /** When this field is set, a charging session with this tariff will cost at least the amount shown. This is different from a FLAT fee (start tariff, transaction fee), as a FLAT fee is a fixed amount that must be paid for any charging session. A minimum price indicates that when the cost of a charging session is lower than this amount, the cost of the session will be equal to this amount */
2482
- min_price?: Maybe<OCPIPrice>;
2483
- /** CPO ID of the CPO that owns this tariff (following the ISO-15118 standard) */
2484
- party_id?: Maybe<Scalars["String"]>;
2485
- /** Time when this tariff becomes active, in UTC, time_zone field of the Location can be used to convert to local time. Typically used for a new tariff that is already given with the location, before it becomes active */
2486
- start_date_time?: Maybe<Scalars["DateTime"]>;
2487
- /** List of alternative tariff information texts, in multiple languages */
2488
- tariff_alt_text?: Maybe<Array<Maybe<OCPIDisplayText>>>;
2489
- /** URL to a web page that contains an explanation of the tariff information in human readable form */
2490
- tariff_alt_url?: Maybe<Scalars["String"]>;
2491
- /** Defines the type of the tariff. This allows for distinction in case of given charging preferences. When omitted, this tariff is valid for all sessions */
2492
- type?: Maybe<OCPITariffType>;
2493
2583
  };
2494
2584
  export declare enum OCPITariffDimensionType {
2495
2585
  /** Defined in kWh, step_size multiplier: 1 Wh */
@@ -2508,34 +2598,34 @@ export declare type OCPITariffElement = {
2508
2598
  restrictions?: Maybe<Array<Maybe<OCPITariffRestrictions>>>;
2509
2599
  };
2510
2600
  export declare type OCPITariffRestrictions = {
2511
- /** Which day(s) of the week this tariff element is active. */
2512
- day_of_week?: Maybe<OCPIDayOfWeek>;
2513
- /** End date in local time, the time zone is defined in the time_zone field of the Location, for example: 2015-12-27, valid until this day (exclusive). Same syntax as start_date */
2514
- end_date?: Maybe<Scalars["String"]>;
2601
+ /** Start time of day in local time, the time zone is defined in the time_zone field of the Location, for example 13:30, valid from this time of the day. Must be in 24h format with leading zeros. Hour/Minute separator: ":" Regex: ([0-1][0-9]|2[1-3]):[0-5][0-9] */
2602
+ start_time?: Maybe<Scalars["String"]>;
2515
2603
  /** End time of day in local time, the time zone is defined in the time_zone field of the Location, for example 19:45, valid until this time of the day. Same syntax as start_time. */
2516
2604
  end_time?: Maybe<Scalars["String"]>;
2517
- /** Sum of the maximum current in over all phases, for example 20. When the EV is charging with less than the defined amount of current, this tariff element becomes/is active. If the charging current is or becomes higher, this tariff element is not or no longer valid and becomes inactive. This describes NOT the maximum current over the entire Charging Session. This restriction can make a tariff element become active when the charging current is below this value, but the tariff element MUST no longer be active when the charging current raises above the defined value */
2518
- max_current?: Maybe<Scalars["Float"]>;
2519
- /** Maximum duration in seconds the charging session MUST last (exclusive). When the duration of a charging session is shorter than the defined value, this tariff element is or becomes active. After that moment, this tariff element is no longer active */
2520
- max_duration?: Maybe<Scalars["Float"]>;
2605
+ /** Start date in local time, the time zone is defined in the time_zone field of the Location, for example: 2015-12-24, valid from this day. Regex: ([12][0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]) */
2606
+ start_date?: Maybe<Scalars["String"]>;
2607
+ /** End date in local time, the time zone is defined in the time_zone field of the Location, for example: 2015-12-27, valid until this day (exclusive). Same syntax as start_date */
2608
+ end_date?: Maybe<Scalars["String"]>;
2609
+ /** Minimum consumed energy in kWh, for example 20, valid from this amount of energy being used */
2610
+ min_kwh?: Maybe<Scalars["Float"]>;
2521
2611
  /** Maximum consumed energy in kWh, for example 50, valid until this amount of energy being used */
2522
2612
  max_kwh?: Maybe<Scalars["Float"]>;
2523
- /** Maximum power in kW, for example 20. When the EV is charging with less than the defined amount of power, this tariff element becomes/is active. If the charging power is or becomes higher, this tariff element is not or no longer valid and becomes inactive. This does not describe the maximum power over the entire charging session. This restriction can make a tariff element become active when the charging power is below this value, but the TariffElement MUST no longer be active when the charging power raises above the defined value */
2524
- max_power?: Maybe<Scalars["Float"]>;
2525
2613
  /** Sum of the minimum current in over all phases, for example 5. When the EV is charging with more than the defined amount of current, this tariff element is/becomes active. If the charging current is or becomes lower, this tariff element is not or no longer valid and becomes inactive. This does not describe the minimum current over the entire charging session. This restriction can make a tariff element become active when the charging current is above the defined value, but the tariff element MUST no longer be active when the charging current drops below the defined value */
2526
2614
  min_current?: Maybe<Scalars["Float"]>;
2527
- /** Minimum duration in seconds the charging session MUST last (inclusive). When the duration of a charging session is longer than the defined value, this TariffElement is or becomes active. Before that moment, this tariff element is not yet active */
2528
- min_duration?: Maybe<Scalars["Float"]>;
2529
- /** Minimum consumed energy in kWh, for example 20, valid from this amount of energy being used */
2530
- min_kwh?: Maybe<Scalars["Float"]>;
2615
+ /** Sum of the maximum current in over all phases, for example 20. When the EV is charging with less than the defined amount of current, this tariff element becomes/is active. If the charging current is or becomes higher, this tariff element is not or no longer valid and becomes inactive. This describes NOT the maximum current over the entire Charging Session. This restriction can make a tariff element become active when the charging current is below this value, but the tariff element MUST no longer be active when the charging current raises above the defined value */
2616
+ max_current?: Maybe<Scalars["Float"]>;
2531
2617
  /** Minimum power in kW, for example 5. When the EV is charging with more than the defined amount of power, this tariff element is/becomes active. If the charging power is or becomes lower, this tariff element is not or no longer valid and becomes inactive. This does not describe the minimum power over the entire charging session. This restriction can make a tariff element become active when the charging power is above this value, but the TariffElement MUST no longer be active when the charging power drops below the defined value */
2532
2618
  min_power?: Maybe<Scalars["Float"]>;
2619
+ /** Maximum power in kW, for example 20. When the EV is charging with less than the defined amount of power, this tariff element becomes/is active. If the charging power is or becomes higher, this tariff element is not or no longer valid and becomes inactive. This does not describe the maximum power over the entire charging session. This restriction can make a tariff element become active when the charging power is below this value, but the TariffElement MUST no longer be active when the charging power raises above the defined value */
2620
+ max_power?: Maybe<Scalars["Float"]>;
2621
+ /** Minimum duration in seconds the charging session MUST last (inclusive). When the duration of a charging session is longer than the defined value, this TariffElement is or becomes active. Before that moment, this tariff element is not yet active */
2622
+ min_duration?: Maybe<Scalars["Float"]>;
2623
+ /** Maximum duration in seconds the charging session MUST last (exclusive). When the duration of a charging session is shorter than the defined value, this tariff element is or becomes active. After that moment, this tariff element is no longer active */
2624
+ max_duration?: Maybe<Scalars["Float"]>;
2625
+ /** Which day(s) of the week this tariff element is active. */
2626
+ day_of_week?: Maybe<OCPIDayOfWeek>;
2533
2627
  /** When this field is present, the tariff element describes reservation costs. A reservation starts when the reservation is made, and ends when the drivers starts charging on the reserved EVSE/Location, or when the reservation expires. A reservation can only have: FLAT and TIME TariffDimensions, where TIME is for the duration of the reservation */
2534
2628
  reservation?: Maybe<OCPIReservationRestrictionType>;
2535
- /** Start date in local time, the time zone is defined in the time_zone field of the Location, for example: 2015-12-24, valid from this day. Regex: ([12][0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]) */
2536
- start_date?: Maybe<Scalars["String"]>;
2537
- /** Start time of day in local time, the time zone is defined in the time_zone field of the Location, for example 13:30, valid from this time of the day. Must be in 24h format with leading zeros. Hour/Minute separator: ":" Regex: ([0-1][0-9]|2[1-3]):[0-5][0-9] */
2538
- start_time?: Maybe<Scalars["String"]>;
2539
2629
  };
2540
2630
  export declare enum OCPITariffType {
2541
2631
  /** Used to describe that a tariff is valid when ad-hoc payment is used at the charge point (for example: Debit or Credit card payment terminal) */
@@ -2551,46 +2641,46 @@ export declare enum OCPITariffType {
2551
2641
  }
2552
2642
  /** The operator data which extends OCPI BusinessDetails */
2553
2643
  export declare type Operator = {
2554
- /** Contact information */
2555
- contact?: Maybe<Contact>;
2556
- /** ISO-3166 alpha-2 country codes an operator is active in. */
2557
- countries?: Maybe<Array<CountryCodeAlpha2>>;
2558
- /** Deprecated: Not used anymore, please use countries property instead */
2559
- country?: Maybe<Scalars["String"]>;
2560
- /** Flag which indicates if the operator is in the excluded list */
2561
- excluded?: Maybe<Scalars["Boolean"]>;
2562
- /** External ID of an operator provided by the operator data source */
2563
- external_id?: Maybe<Scalars["String"]>;
2564
2644
  /** Unique operator ID */
2565
2645
  id?: Maybe<Scalars["ID"]>;
2566
- /** Image link to an operator’s logo */
2567
- logo?: Maybe<OCPIImage>;
2646
+ /** External ID of an operator provided by the operator data source */
2647
+ external_id?: Maybe<Scalars["String"]>;
2568
2648
  /** Name of an operator */
2569
2649
  name?: Maybe<Scalars["String"]>;
2570
- /** Ranking level on which the operator is placed or null in case the operator is not on any ranking level */
2571
- ranking?: Maybe<Scalars["Int"]>;
2572
2650
  /** Link to an operator’s website */
2573
2651
  website?: Maybe<Scalars["String"]>;
2652
+ /** Image link to an operator’s logo */
2653
+ logo?: Maybe<OCPIImage>;
2654
+ /** Deprecated: Not used anymore, please use countries property instead */
2655
+ country?: Maybe<Scalars["String"]>;
2656
+ /** ISO-3166 alpha-2 country codes an operator is active in. */
2657
+ countries?: Maybe<Array<CountryCodeAlpha2>>;
2658
+ /** Contact information */
2659
+ contact?: Maybe<Contact>;
2660
+ /** Ranking level on which the operator is placed or null in case the operator is not on any ranking level */
2661
+ ranking?: Maybe<Scalars["Int"]>;
2662
+ /** Flag which indicates if the operator is in the excluded list */
2663
+ excluded?: Maybe<Scalars["Boolean"]>;
2574
2664
  };
2575
2665
  /** Filter which can be applied to retrieve the operator list action */
2576
2666
  export declare type OperatorListFilter = {
2577
2667
  /** ISO-3166 alpha-2 country codes an operator is active in. */
2578
2668
  countries?: Maybe<Array<CountryCodeAlpha2>>;
2579
- /** Only retrieve operators that are in the excluded list */
2580
- excluded?: Maybe<Scalars["Boolean"]>;
2581
2669
  /** List of ranking level(s) to be retrieved. Valid values are 1 to 10 */
2582
2670
  ranking?: Maybe<Array<Scalars["Int"]>>;
2671
+ /** Only retrieve operators that are in the excluded list */
2672
+ excluded?: Maybe<Scalars["Boolean"]>;
2583
2673
  };
2584
2674
  /** Filter which can be applied to retrieve the operator list action */
2585
2675
  export declare type OperatorListQuery = {
2586
- /** Exact country code */
2587
- country?: Maybe<Scalars["String"]>;
2588
- /** External ID of an operator provided by an operator data source */
2589
- external_id?: Maybe<Scalars["String"]>;
2590
2676
  /** Unique operator ID */
2591
2677
  id?: Maybe<Scalars["ID"]>;
2678
+ /** External ID of an operator provided by an operator data source */
2679
+ external_id?: Maybe<Scalars["String"]>;
2592
2680
  /** Exact name */
2593
2681
  name?: Maybe<Scalars["String"]>;
2682
+ /** Exact country code */
2683
+ country?: Maybe<Scalars["String"]>;
2594
2684
  };
2595
2685
  export declare enum ParkingCost {
2596
2686
  /** Parking is free */
@@ -2599,6 +2689,8 @@ export declare enum ParkingCost {
2599
2689
  PAID = "paid"
2600
2690
  }
2601
2691
  export declare type PathSegment = {
2692
+ /** Elevation (altitude) in meters */
2693
+ elevation?: Maybe<Scalars["Int"]>;
2602
2694
  /** Average speed, in km/h, for this route path segment */
2603
2695
  averageSpeed?: Maybe<Scalars["Float"]>;
2604
2696
  /** Consumption, in kWh, of a route path segment */
@@ -2609,24 +2701,22 @@ export declare type PathSegment = {
2609
2701
  distance?: Maybe<Scalars["Float"]>;
2610
2702
  /** Duration, in seconds, of a route path segment */
2611
2703
  duration?: Maybe<Scalars["Float"]>;
2612
- /** Elevation (altitude) in meters */
2613
- elevation?: Maybe<Scalars["Int"]>;
2614
2704
  /** State of charge, in kWh, of a route path segment */
2615
2705
  stateOfCharge?: Maybe<Scalars["Float"]>;
2616
2706
  };
2617
2707
  /** A GeoJSON Point */
2618
2708
  export declare type Point = {
2619
- /** The coordinates array with longitude as first value and latitude as second one */
2620
- coordinates: Array<Scalars["Float"]>;
2621
2709
  /** Point type */
2622
2710
  type: PointType;
2711
+ /** The coordinates array with longitude as first value and latitude as second one */
2712
+ coordinates: Array<Scalars["Float"]>;
2623
2713
  };
2624
2714
  /** A GeoJSON Point input */
2625
2715
  export declare type PointInput = {
2626
- /** Coordinates [longitude, latitude] */
2627
- coordinates: Array<Scalars["Float"]>;
2628
2716
  /** Point type */
2629
2717
  type: PointType;
2718
+ /** Coordinates [longitude, latitude] */
2719
+ coordinates: Array<Scalars["Float"]>;
2630
2720
  };
2631
2721
  /** GeoJSON Point type */
2632
2722
  export declare enum PointType {
@@ -2634,10 +2724,10 @@ export declare enum PointType {
2634
2724
  }
2635
2725
  /** A GeoJSON Polygon */
2636
2726
  export declare type Polygon = {
2637
- /** List of coordinates representing a polygon */
2638
- coordinates: Array<Maybe<Array<Maybe<Array<Maybe<Scalars["Float"]>>>>>>;
2639
2727
  /** Polygon type */
2640
2728
  type: PolygonType;
2729
+ /** List of coordinates representing a polygon */
2730
+ coordinates: Array<Maybe<Array<Maybe<Array<Maybe<Scalars["Float"]>>>>>>;
2641
2731
  };
2642
2732
  /** Polygon properties */
2643
2733
  export declare type PolygonProperties = {
@@ -2657,21 +2747,21 @@ export declare type PowerList = {
2657
2747
  };
2658
2748
  /** Power stats model */
2659
2749
  export declare type PowerStats = {
2660
- /** The list of powers for the speed type */
2661
- powers?: Maybe<Array<Maybe<PowerList>>>;
2662
2750
  /** The charging speed type for the specified power */
2663
2751
  type?: Maybe<StationSpeedType>;
2752
+ /** The list of powers for the speed type */
2753
+ powers?: Maybe<Array<Maybe<PowerList>>>;
2664
2754
  };
2665
2755
  /** The price model */
2666
2756
  export declare type Price = {
2757
+ /** The value of the price */
2758
+ value?: Maybe<Scalars["String"]>;
2667
2759
  /** The currency of the price */
2668
2760
  currency?: Maybe<Scalars["String"]>;
2669
- /** The value of the price which should be display by the frontend */
2670
- displayValue?: Maybe<Scalars["String"]>;
2671
2761
  /** The pricing model */
2672
2762
  model?: Maybe<Scalars["String"]>;
2673
- /** The value of the price */
2674
- value?: Maybe<Scalars["String"]>;
2763
+ /** The value of the price which should be display by the frontend */
2764
+ displayValue?: Maybe<Scalars["String"]>;
2675
2765
  };
2676
2766
  export declare type Pricing = {
2677
2767
  /** Unique ID of a price */
@@ -2680,18 +2770,18 @@ export declare type Pricing = {
2680
2770
  price_list?: Maybe<Array<Maybe<PricingList>>>;
2681
2771
  };
2682
2772
  export declare type PricingList = {
2683
- /** Price product elements */
2684
- elements?: Maybe<Array<Maybe<PricingListElement>>>;
2685
2773
  /** (MSP) Mobility Service Provider */
2686
2774
  partner?: Maybe<Scalars["String"]>;
2687
2775
  /** Product details */
2688
2776
  product?: Maybe<PricingListProduct>;
2777
+ /** Price product elements */
2778
+ elements?: Maybe<Array<Maybe<PricingListElement>>>;
2689
2779
  };
2690
2780
  export declare type PricingListElement = {
2691
- /** Price of the element type without VAT. */
2692
- price_excl_vat?: Maybe<Scalars["Float"]>;
2693
2781
  /** Price element type. */
2694
2782
  type?: Maybe<PricingListElementType>;
2783
+ /** Price of the element type without VAT. */
2784
+ price_excl_vat?: Maybe<Scalars["Float"]>;
2695
2785
  /** VAT percentage to apply */
2696
2786
  vat?: Maybe<Scalars["Float"]>;
2697
2787
  };
@@ -2700,155 +2790,179 @@ export declare enum PricingListElementType {
2700
2790
  ENERGY = "ENERGY",
2701
2791
  /** Starting price, fixed fee per charge session */
2702
2792
  FLAT = "FLAT",
2703
- /** Parking price per hour */
2704
- PARKING_TIME = "PARKING_TIME",
2705
2793
  /** Fixed price per hour */
2706
- TIME = "TIME"
2794
+ TIME = "TIME",
2795
+ /** Parking price per hour */
2796
+ PARKING_TIME = "PARKING_TIME"
2707
2797
  }
2708
2798
  export declare type PricingListProduct = {
2709
- /** Currency */
2710
- currency?: Maybe<Scalars["String"]>;
2711
- /** Description of the product */
2712
- description?: Maybe<Scalars["String"]>;
2713
2799
  /** Name of the payment card or subscription. If name is 'Adhoc price' the price is the CPO price */
2714
2800
  name?: Maybe<Scalars["String"]>;
2715
- /** Subscription fee without VAT */
2716
- subscription_fee_excl_vat?: Maybe<Scalars["Float"]>;
2801
+ /** Description of the product */
2802
+ description?: Maybe<Scalars["String"]>;
2717
2803
  /** Subscription type */
2718
2804
  subscription_type?: Maybe<Scalars["String"]>;
2805
+ /** Subscription fee without VAT */
2806
+ subscription_fee_excl_vat?: Maybe<Scalars["Float"]>;
2807
+ /** Currency */
2808
+ currency?: Maybe<Scalars["String"]>;
2719
2809
  };
2720
2810
  export declare type Query = {
2721
2811
  /** Get a full list of amenities around a station */
2722
2812
  amenityList?: Maybe<Array<Maybe<Amenity>>>;
2723
2813
  /** Get information about a car by its ID */
2724
2814
  car?: Maybe<Car>;
2725
- /** Get a full list of cars */
2726
- carList?: Maybe<Array<Maybe<CarList>>>;
2727
2815
  /** 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. */
2728
2816
  carPremium?: Maybe<CarPremium>;
2817
+ /** Get a full list of cars */
2818
+ carList?: Maybe<Array<Maybe<CarList>>>;
2819
+ /** [BETA] Get connected vehicles for the current user */
2820
+ connectedVehicle?: Maybe<ConnectedVehicle>;
2821
+ /** [BETA] Get a connected vehicle by id */
2822
+ connectedVehicleList?: Maybe<Array<Maybe<ConnectedVehicle>>>;
2823
+ /** [BETA] Retrieve live vehicle data by connected vehicle id */
2824
+ connectedVehicleData?: Maybe<VehicleData>;
2729
2825
  /** [BETA] Get an isoline by ID */
2730
2826
  isoline?: Maybe<Isoline>;
2731
2827
  /** [BETA] Get a navigation session by ID */
2732
2828
  navigation?: Maybe<Navigation>;
2733
- /** Get information about an operator by its ID */
2734
- operator?: Maybe<Operator>;
2735
2829
  /** Get a full list of operators */
2736
2830
  operatorList?: Maybe<Array<Maybe<Operator>>>;
2831
+ /** Get information about an operator by its ID */
2832
+ operator?: Maybe<Operator>;
2737
2833
  /** Get all reviews of a station by the station ID */
2738
2834
  reviewList?: Maybe<Array<Review>>;
2835
+ /**
2836
+ * Get all reviews of stations that were added by an authenticated user.
2837
+ * The `x-token` header is mandatory in order to authorize the user who wants to retrieve all the reviews added by him/her.
2838
+ * This is a premium feature, contact Chargetrip for more information.
2839
+ */
2840
+ userReviewList?: Maybe<Array<Review>>;
2739
2841
  /** Get a route by ID */
2740
2842
  route?: Maybe<Route>;
2741
2843
  /** Retrieve information about a route path segment */
2742
2844
  routePath?: Maybe<RoutePath>;
2845
+ /** Get the station statistics */
2846
+ stationStats?: Maybe<StationStats>;
2743
2847
  /** Get information about a station by its ID */
2744
2848
  station?: Maybe<Station>;
2745
- /** Search for stations around a GeoJSON point with a specific distance in meters */
2746
- stationAround?: Maybe<Array<Maybe<Station>>>;
2747
2849
  /** Get a full list of stations */
2748
2850
  stationList?: Maybe<Array<Maybe<Station>>>;
2749
- /** Get the station statistics */
2750
- stationStats?: Maybe<StationStats>;
2851
+ /** Search for stations around a GeoJSON point with a specific distance in meters */
2852
+ stationAround?: Maybe<Array<Maybe<Station>>>;
2751
2853
  /** Get information about a tariff by the tariff ID */
2752
2854
  tariff?: Maybe<OCPITariff>;
2753
2855
  /** Get the full list of tariffs */
2754
2856
  tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
2755
- /**
2756
- * Get all reviews of stations that were added by an authenticated user.
2757
- * The `x-token` header is mandatory in order to authorize the user who wants to retrieve all the reviews added by him/her.
2758
- * This is a premium feature, contact Chargetrip for more information.
2759
- */
2760
- userReviewList?: Maybe<Array<Review>>;
2857
+ /** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
2858
+ navigationMapping?: Maybe<Scalars["JSON"]>;
2761
2859
  };
2762
2860
  export declare type QueryamenityListArgs = {
2763
2861
  stationId: Scalars["ID"];
2764
2862
  };
2765
2863
  export declare type QuerycarArgs = {
2864
+ id?: Maybe<Scalars["ID"]>;
2766
2865
  externalId?: Maybe<Scalars["Int"]>;
2866
+ };
2867
+ export declare type QuerycarPremiumArgs = {
2767
2868
  id?: Maybe<Scalars["ID"]>;
2768
2869
  };
2769
2870
  export declare type QuerycarListArgs = {
2770
- filter?: Maybe<CarListFilter>;
2771
- page?: Maybe<Scalars["Int"]>;
2772
2871
  query?: Maybe<CarListQuery>;
2773
2872
  search?: Maybe<Scalars["String"]>;
2873
+ filter?: Maybe<CarListFilter>;
2774
2874
  size?: Maybe<Scalars["Int"]>;
2875
+ page?: Maybe<Scalars["Int"]>;
2775
2876
  };
2776
- export declare type QuerycarPremiumArgs = {
2777
- id?: Maybe<Scalars["ID"]>;
2877
+ export declare type QueryconnectedVehicleArgs = {
2878
+ id: Scalars["ID"];
2778
2879
  };
2779
- export declare type QueryisolineArgs = {
2880
+ export declare type QueryconnectedVehicleDataArgs = {
2780
2881
  id: Scalars["ID"];
2781
2882
  };
2782
- export declare type QuerynavigationArgs = {
2883
+ export declare type QueryisolineArgs = {
2783
2884
  id: Scalars["ID"];
2784
2885
  };
2785
- export declare type QueryoperatorArgs = {
2886
+ export declare type QuerynavigationArgs = {
2786
2887
  id: Scalars["ID"];
2787
2888
  };
2788
2889
  export declare type QueryoperatorListArgs = {
2789
- filter?: Maybe<OperatorListFilter>;
2790
- page?: Maybe<Scalars["Int"]>;
2791
2890
  query?: Maybe<OperatorListQuery>;
2792
2891
  search?: Maybe<Scalars["String"]>;
2892
+ filter?: Maybe<OperatorListFilter>;
2793
2893
  size?: Maybe<Scalars["Int"]>;
2894
+ page?: Maybe<Scalars["Int"]>;
2895
+ };
2896
+ export declare type QueryoperatorArgs = {
2897
+ id: Scalars["ID"];
2794
2898
  };
2795
2899
  export declare type QueryreviewListArgs = {
2900
+ stationId: Scalars["ID"];
2901
+ size?: Maybe<Scalars["Int"]>;
2796
2902
  page?: Maybe<Scalars["Int"]>;
2903
+ };
2904
+ export declare type QueryuserReviewListArgs = {
2797
2905
  size?: Maybe<Scalars["Int"]>;
2798
- stationId: Scalars["ID"];
2906
+ page?: Maybe<Scalars["Int"]>;
2799
2907
  };
2800
2908
  export declare type QueryrouteArgs = {
2801
2909
  id: Scalars["ID"];
2802
2910
  };
2803
2911
  export declare type QueryroutePathArgs = {
2804
- alternativeId?: Maybe<Scalars["ID"]>;
2805
2912
  id: Scalars["ID"];
2806
2913
  location: PointInput;
2914
+ alternativeId?: Maybe<Scalars["ID"]>;
2807
2915
  };
2808
2916
  export declare type QuerystationArgs = {
2809
2917
  id: Scalars["ID"];
2810
2918
  };
2811
- export declare type QuerystationAroundArgs = {
2812
- filter?: Maybe<StationAroundFilter>;
2813
- page?: Maybe<Scalars["Int"]>;
2814
- query?: Maybe<StationAroundQuery>;
2815
- search?: Maybe<Scalars["String"]>;
2816
- size?: Maybe<Scalars["Int"]>;
2817
- };
2818
2919
  export declare type QuerystationListArgs = {
2920
+ query?: Maybe<StationListQuery>;
2819
2921
  filter?: Maybe<StationListFilter>;
2922
+ search?: Maybe<Scalars["String"]>;
2923
+ size?: Maybe<Scalars["Int"]>;
2820
2924
  page?: Maybe<Scalars["Int"]>;
2821
- query?: Maybe<StationListQuery>;
2925
+ };
2926
+ export declare type QuerystationAroundArgs = {
2927
+ query?: Maybe<StationAroundQuery>;
2928
+ filter?: Maybe<StationAroundFilter>;
2822
2929
  search?: Maybe<Scalars["String"]>;
2823
2930
  size?: Maybe<Scalars["Int"]>;
2931
+ page?: Maybe<Scalars["Int"]>;
2824
2932
  };
2825
2933
  export declare type QuerytariffArgs = {
2826
2934
  id: Scalars["ID"];
2827
2935
  };
2828
2936
  export declare type QuerytariffListArgs = {
2829
- page?: Maybe<Scalars["Int"]>;
2830
2937
  size?: Maybe<Scalars["Int"]>;
2831
- };
2832
- export declare type QueryuserReviewListArgs = {
2833
2938
  page?: Maybe<Scalars["Int"]>;
2834
- size?: Maybe<Scalars["Int"]>;
2939
+ };
2940
+ export declare type QuerynavigationMappingArgs = {
2941
+ id: Scalars["ID"];
2942
+ provider: MappingProvider;
2943
+ precision?: Maybe<Scalars["Int"]>;
2944
+ language?: Maybe<MappingLanguage>;
2945
+ };
2946
+ export declare type RemoveConnectedVehicleInput = {
2947
+ /** Id from the connected vehicle */
2948
+ id: Scalars["ID"];
2835
2949
  };
2836
2950
  /** EV specific data for a route request */
2837
2951
  export declare type RequestEv = {
2838
- /** Supported adapters of plugs for an EV */
2839
- adapters?: Maybe<Array<Maybe<RequestEvPlug>>>;
2840
- /** EV battery specific data */
2841
- battery?: Maybe<RequestEvBattery>;
2842
- /** Cargo weight, in kg */
2843
- cargo?: Maybe<Scalars["Float"]>;
2844
- /** Climate is on. The default is true */
2845
- climate?: Maybe<Scalars["Boolean"]>;
2846
- /** Consumption specific to an EV or inputed by a request */
2847
- consumption?: Maybe<RequestEvConsumption>;
2848
2952
  /** Internal ID of a Car */
2849
2953
  id?: Maybe<Scalars["ID"]>;
2954
+ /** EV battery specific data */
2955
+ battery?: Maybe<RequestEvBattery>;
2956
+ /** Supported plugs for an EV */
2957
+ plugs?: Maybe<Array<Maybe<RequestEvPlug>>>;
2958
+ /** Supported adapters of plugs for an EV */
2959
+ adapters?: Maybe<Array<Maybe<RequestEvPlug>>>;
2850
2960
  /** Minimum desired power of chargers */
2851
2961
  minPower?: Maybe<Scalars["Int"]>;
2962
+ /** Climate is on. The default is true */
2963
+ climate?: Maybe<Scalars["Boolean"]>;
2964
+ /** Cargo weight, in kg */
2965
+ cargo?: Maybe<Scalars["Float"]>;
2852
2966
  /**
2853
2967
  * The number of passengers on board
2854
2968
  * @deprecated In favor of occupants
@@ -2856,42 +2970,42 @@ export declare type RequestEv = {
2856
2970
  numberOfPassengers?: Maybe<Scalars["Int"]>;
2857
2971
  /** Number of occupants */
2858
2972
  occupants?: Maybe<Scalars["Int"]>;
2859
- /** Supported plugs for an EV */
2860
- plugs?: Maybe<Array<Maybe<RequestEvPlug>>>;
2973
+ /** Consumption specific to an EV or inputed by a request */
2974
+ consumption?: Maybe<RequestEvConsumption>;
2861
2975
  };
2862
2976
  export declare type RequestEvBattery = {
2863
2977
  /** Usable capacity of the battery used to compute the route. If this in not filled in, value as the car battery.usable_kwh */
2864
2978
  capacity?: Maybe<RequestEvBatteryValue>;
2865
2979
  /** Usable capacity of a battery, in kWh. This value is computed from the provided capacity value */
2866
2980
  capacityKwh?: Maybe<Scalars["Float"]>;
2867
- /** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car battery.usable_kwh */
2868
- finalStateOfCharge?: Maybe<RequestEvBatteryValue>;
2869
- /** Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge */
2870
- finalStateOfChargeKwh?: Maybe<Scalars["Float"]>;
2871
2981
  /** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and it will be equal to the battery.usable_kwh */
2872
2982
  stateOfCharge?: Maybe<RequestEvBatteryValue>;
2873
2983
  /** Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge */
2874
2984
  stateOfChargeKwh?: Maybe<Scalars["Float"]>;
2985
+ /** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car battery.usable_kwh */
2986
+ finalStateOfCharge?: Maybe<RequestEvBatteryValue>;
2987
+ /** Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge */
2988
+ finalStateOfChargeKwh?: Maybe<Scalars["Float"]>;
2875
2989
  };
2876
2990
  export declare type RequestEvBatteryInput = {
2877
2991
  /** Usable capacity of a battery used to compute a route. We recommend you stay between 50% and 150%. If this in not filled in, we assume it is the same value as the car battery.usable_kwh */
2878
2992
  capacity?: Maybe<RequestEvBatteryInputValue>;
2879
- /** Desired final amount of energy in a battery. The value should be between 0 and 80% of the car battery.usable_kwh If this is not filled in, we assume it is 20% of the car battery.usable_kwh */
2880
- finalStateOfCharge?: Maybe<RequestEvBatteryInputValue>;
2881
2993
  /** Current amount of energy in a battery. If this is not filled in, we assume the battery is full and we fill it in with car battery.usable_kwh */
2882
2994
  stateOfCharge?: Maybe<RequestEvBatteryInputValue>;
2995
+ /** Desired final amount of energy in a battery. The value should be between 0 and 80% of the car battery.usable_kwh If this is not filled in, we assume it is 20% of the car battery.usable_kwh */
2996
+ finalStateOfCharge?: Maybe<RequestEvBatteryInputValue>;
2883
2997
  };
2884
2998
  export declare type RequestEvBatteryInputValue = {
2885
- /** Type of a desired final amount of energy in a battery */
2886
- type: BatteryInputType;
2887
2999
  /** Value of a desired final amount of energy in a battery */
2888
3000
  value: Scalars["Float"];
3001
+ /** Type of a desired final amount of energy in a battery */
3002
+ type: BatteryInputType;
2889
3003
  };
2890
3004
  export declare type RequestEvBatteryValue = {
2891
- /** Type of the desired final amount of energy in a battery */
2892
- type: BatteryInputType;
2893
3005
  /** Value of the desired final amount of energy in a battery */
2894
3006
  value: Scalars["Float"];
3007
+ /** Type of the desired final amount of energy in a battery */
3008
+ type: BatteryInputType;
2895
3009
  };
2896
3010
  export declare type RequestEvConsumption = {
2897
3011
  /** Consumption, in kWh, of the auxiliaries */
@@ -2910,40 +3024,40 @@ export declare type RequestEvConsumptionInput = {
2910
3024
  idle?: Maybe<CarConsumptionInput>;
2911
3025
  };
2912
3026
  export declare type RequestEvInput = {
2913
- /** Supported adapters of plugs of an EV */
2914
- adapters?: Maybe<Array<Maybe<RequestEvPlugInput>>>;
2915
- /** Deprecated */
2916
- auxConsumption?: Maybe<Scalars["Float"]>;
2917
- /** The EV battery specific data */
2918
- battery?: Maybe<RequestEvBatteryInput>;
2919
- /** Deprecated */
2920
- bmsConsumption?: Maybe<Scalars["Float"]>;
2921
- /** Cargo weight, in kg */
2922
- cargo?: Maybe<Scalars["Int"]>;
2923
- /** Flag which indicates if the climate is on. The default is true */
2924
- climate?: Maybe<Scalars["Boolean"]>;
2925
- /** Consumption specific to the EV or inputted by the request */
2926
- consumption?: Maybe<RequestEvConsumptionInput>;
2927
3027
  /** Internal ID of a Car */
2928
3028
  id: Scalars["ID"];
3029
+ /** The EV battery specific data */
3030
+ battery?: Maybe<RequestEvBatteryInput>;
3031
+ /** Supported plugs of an EV */
3032
+ plugs?: Maybe<Array<Maybe<RequestEvPlugInput>>>;
3033
+ /** Supported adapters of plugs of an EV */
3034
+ adapters?: Maybe<Array<Maybe<RequestEvPlugInput>>>;
2929
3035
  /** Minimum desired power of chargers */
2930
3036
  minPower?: Maybe<Scalars["Int"]>;
3037
+ /** Flag which indicates if the climate is on. The default is true */
3038
+ climate?: Maybe<Scalars["Boolean"]>;
2931
3039
  /** Number of occupants */
2932
3040
  occupants?: Maybe<Scalars["Int"]>;
2933
- /** Supported plugs of an EV */
2934
- plugs?: Maybe<Array<Maybe<RequestEvPlugInput>>>;
3041
+ /** Cargo weight, in kg */
3042
+ cargo?: Maybe<Scalars["Int"]>;
3043
+ /** Consumption specific to the EV or inputted by the request */
3044
+ consumption?: Maybe<RequestEvConsumptionInput>;
3045
+ /** Deprecated */
3046
+ auxConsumption?: Maybe<Scalars["Float"]>;
3047
+ /** Deprecated */
3048
+ bmsConsumption?: Maybe<Scalars["Float"]>;
2935
3049
  };
2936
3050
  export declare type RequestEvPlug = {
2937
- /** Maximum charging speed for a plug */
2938
- chargingPower?: Maybe<Scalars["Float"]>;
2939
3051
  /** Type of the plug */
2940
3052
  standard?: Maybe<ConnectorType>;
3053
+ /** Maximum charging speed for a plug */
3054
+ chargingPower?: Maybe<Scalars["Float"]>;
2941
3055
  };
2942
3056
  export declare type RequestEvPlugInput = {
2943
- /** Maximum charging speed for this plug */
2944
- chargingPower: Scalars["Float"];
2945
3057
  /** Type of a plug */
2946
3058
  standard: ConnectorType;
3059
+ /** Maximum charging speed for this plug */
3060
+ chargingPower: Scalars["Float"];
2947
3061
  };
2948
3062
  export declare type RequestInput = {
2949
3063
  /** EV specific data for a route request */
@@ -2954,67 +3068,67 @@ export declare type RequestInput = {
2954
3068
  export declare type RequestRoute = {
2955
3069
  /** Desired amenities near the stations, within a 1 km radius */
2956
3070
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
2957
- /** Mode that indicates if we optimize the charging time or always charge to the maximum capacity */
2958
- chargeMode?: Maybe<ChargeMode>;
2959
- /** Destination of a route */
2960
- destination?: Maybe<FeaturePoint>;
2961
- /** Flag indicating wether the turn-by-turn navigation instructions should be prepared. Disclaimer: The functionality is under active development and the final API is a subject to change. Not ready for production */
2962
- instructions?: Maybe<Scalars["Boolean"]>;
2963
3071
  /**
2964
3072
  * Requested operators
2965
3073
  * @deprecated Will be removed. Use the operators property instead
2966
3074
  */
2967
3075
  operatorIds?: Maybe<Array<Maybe<Scalars["String"]>>>;
2968
3076
  /**
2969
- * Encourage the route to use preferred operators. In case there are no preferred operators the route can still be calculated
3077
+ * Preferred operators are required. In case there are no preferred operators the route cannot be calculated
2970
3078
  * @deprecated Will be removed. Use the operators property instead
2971
3079
  */
2972
- operatorPrefer?: Maybe<Scalars["Boolean"]>;
3080
+ operatorRequired?: Maybe<Scalars["Boolean"]>;
2973
3081
  /**
2974
- * Preferred operators are required. In case there are no preferred operators the route cannot be calculated
3082
+ * Encourage the route to use preferred operators. In case there are no preferred operators the route can still be calculated
2975
3083
  * @deprecated Will be removed. Use the operators property instead
2976
3084
  */
2977
- operatorRequired?: Maybe<Scalars["Boolean"]>;
3085
+ operatorPrefer?: Maybe<Scalars["Boolean"]>;
2978
3086
  /** Operator prioritization for a route */
2979
3087
  operators?: Maybe<RouteOperators>;
2980
- /** Origin of a route */
2981
- origin?: Maybe<FeaturePoint>;
2982
- /** 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% */
2983
- safeRiskMargin?: Maybe<Scalars["Int"]>;
2984
3088
  /** Season */
2985
3089
  season?: Maybe<RouteSeason>;
2986
- /** Radius in meters for alternative stations along a route (min 500 - max 5000) */
2987
- stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
3090
+ /** 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% */
3091
+ safeRiskMargin?: Maybe<Scalars["Int"]>;
3092
+ /** Origin of a route */
3093
+ origin?: Maybe<FeaturePoint>;
3094
+ /** Destination of a route */
3095
+ destination?: Maybe<FeaturePoint>;
2988
3096
  /** Locations where a route will stop */
2989
3097
  via?: Maybe<Array<Maybe<FeaturePoint>>>;
3098
+ /** Radius in meters for alternative stations along a route (min 500 - max 5000) */
3099
+ stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
3100
+ /** Flag indicating wether the turn-by-turn navigation instructions should be prepared. Disclaimer: The functionality is under active development and the final API is a subject to change. Not ready for production */
3101
+ instructions?: Maybe<Scalars["Boolean"]>;
3102
+ /** Mode that indicates if we optimize the charging time or always charge to the maximum capacity */
3103
+ chargeMode?: Maybe<ChargeMode>;
2990
3104
  };
2991
3105
  export declare type RequestRouteInput = {
2992
3106
  /** A list of desired amenities near the stations, with a 1 km radius */
2993
3107
  amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
2994
- /** Mode that indicates if we optimize the charging time or always charge to the maximum capacity */
2995
- chargeMode?: Maybe<ChargeMode>;
2996
- /** Destination of a route */
2997
- destination: FeaturePointInput;
2998
- /** Deprecated: all routes will have turn-by-turn instructions prepared. Boolean will be ignored */
2999
- instructions?: Maybe<Scalars["Boolean"]>;
3000
3108
  /** Deprecated: in favor of operators. A list of requested operators */
3001
3109
  operatorIds?: Maybe<Array<Maybe<Scalars["String"]>>>;
3002
- /** Deprecated: in favor of operators. Flag which indicates if the preferred operators should be loaded */
3003
- operatorPrefer?: Maybe<Scalars["Boolean"]>;
3004
3110
  /** Deprecated: in favor of operators. Flag which indicates if the operators are required */
3005
3111
  operatorRequired?: Maybe<Scalars["Boolean"]>;
3112
+ /** Deprecated: in favor of operators. Flag which indicates if the preferred operators should be loaded */
3113
+ operatorPrefer?: Maybe<Scalars["Boolean"]>;
3006
3114
  /** Operator prioritization for a route */
3007
3115
  operators?: Maybe<RouteOperatorsInput>;
3008
- /** Origin of a route */
3009
- origin: FeaturePointInput;
3010
- /** 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% */
3011
- safeRiskMargin?: Maybe<Scalars["Int"]>;
3012
3116
  /** Optional flag to specify the season */
3013
3117
  season?: Maybe<RouteSeason>;
3014
- /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000) */
3015
- stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
3118
+ /** 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% */
3119
+ safeRiskMargin?: Maybe<Scalars["Int"]>;
3120
+ /** Mode that indicates if we optimize the charging time or always charge to the maximum capacity */
3121
+ chargeMode?: Maybe<ChargeMode>;
3122
+ /** Origin of a route */
3123
+ origin: FeaturePointInput;
3124
+ /** Destination of a route */
3125
+ destination: FeaturePointInput;
3016
3126
  /** An optional list of locations where we should stop */
3017
3127
  via?: Maybe<Array<Maybe<FeaturePointInput>>>;
3128
+ /** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000) */
3129
+ stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
3130
+ /** Deprecated: all routes will have turn-by-turn instructions prepared. Boolean will be ignored */
3131
+ instructions?: Maybe<Scalars["Boolean"]>;
3018
3132
  };
3019
3133
  export declare type RequestUser = {
3020
3134
  /** ID of the user */
@@ -3022,347 +3136,347 @@ export declare type RequestUser = {
3022
3136
  };
3023
3137
  /** The review model */
3024
3138
  export declare type Review = {
3025
- /** Date and time when a review was created */
3026
- createdAt?: Maybe<Scalars["String"]>;
3027
- /** Car that was provided/selected by a user */
3028
- ev?: Maybe<Car>;
3029
3139
  /** ID of a review */
3030
3140
  id: Scalars["ID"];
3031
- /** Locale of a message */
3032
- locale?: Maybe<Scalars["String"]>;
3141
+ /** Station for which a review was provided */
3142
+ station?: Maybe<Station>;
3143
+ /** User who added a review. If a review was added by an anonymous user, this will be null */
3144
+ user?: Maybe<ReviewUser>;
3145
+ /** Rating of a review */
3146
+ rating?: Maybe<Scalars["Int"]>;
3033
3147
  /** Message of a review */
3034
3148
  message?: Maybe<Scalars["String"]>;
3149
+ /** Locale of a message */
3150
+ locale?: Maybe<Scalars["String"]>;
3151
+ /** Car that was provided/selected by a user */
3152
+ ev?: Maybe<Car>;
3035
3153
  /** Plug type that was provided/selected by a user */
3036
3154
  plugType?: Maybe<ConnectorType>;
3037
3155
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
3038
3156
  properties?: Maybe<Scalars["JSON"]>;
3039
- /** Rating of a review */
3040
- rating?: Maybe<Scalars["Int"]>;
3041
- /** Station for which a review was provided */
3042
- station?: Maybe<Station>;
3043
3157
  /** Boolean tags for a station review */
3044
3158
  tags?: Maybe<ReviewTags>;
3159
+ /** Date and time when a review was created */
3160
+ createdAt?: Maybe<Scalars["String"]>;
3045
3161
  /** Date and time when a review was updated */
3046
3162
  updatedAt?: Maybe<Scalars["String"]>;
3047
- /** User who added a review. If a review was added by an anonymous user, this will be null */
3048
- user?: Maybe<ReviewUser>;
3049
3163
  };
3050
3164
  /** Form input to add a new review */
3051
3165
  export declare type ReviewAdd = {
3052
- /** ID of the Car that was provided/selected by a user */
3053
- ev?: Maybe<Scalars["String"]>;
3054
- /** Locale of a message */
3055
- locale?: Maybe<Scalars["String"]>;
3166
+ /** Station ID for which a review is provided */
3167
+ stationId: Scalars["String"];
3168
+ /** Rating of a review */
3169
+ rating: Scalars["Int"];
3056
3170
  /** Review message */
3057
3171
  message?: Maybe<Scalars["String"]>;
3172
+ /** Locale of a message */
3173
+ locale?: Maybe<Scalars["String"]>;
3174
+ /** ID of the Car that was provided/selected by a user */
3175
+ ev?: Maybe<Scalars["String"]>;
3058
3176
  /** Plug type that was provided/selected by a user */
3059
3177
  plugType?: Maybe<ConnectorType>;
3060
3178
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
3061
3179
  properties?: Maybe<Scalars["JSON"]>;
3062
- /** Rating of a review */
3063
- rating: Scalars["Int"];
3064
- /** Station ID for which a review is provided */
3065
- stationId: Scalars["String"];
3066
3180
  /** Boolean tags for a station review */
3067
3181
  tags?: Maybe<ReviewTagsInput>;
3068
3182
  };
3069
3183
  /** Form input for edit an existing review */
3070
3184
  export declare type ReviewEdit = {
3071
- /** Locale of a message */
3072
- locale?: Maybe<Scalars["String"]>;
3185
+ /** Rating of a review */
3186
+ rating: Scalars["Int"];
3073
3187
  /** Review message */
3074
3188
  message?: Maybe<Scalars["String"]>;
3189
+ /** Locale of a message */
3190
+ locale?: Maybe<Scalars["String"]>;
3075
3191
  /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
3076
3192
  properties?: Maybe<Scalars["JSON"]>;
3077
- /** Rating of a review */
3078
- rating: Scalars["Int"];
3079
3193
  /** Boolean tags for a station review */
3080
3194
  tags?: Maybe<ReviewTagsInput>;
3081
3195
  };
3082
3196
  /** Statistical information for reviews of a station */
3083
3197
  export declare type ReviewStats = {
3084
- /** 'Total number of reviews */
3085
- count?: Maybe<Scalars["Int"]>;
3086
3198
  /** Average of all reviews */
3087
3199
  rating?: Maybe<Scalars["Float"]>;
3200
+ /** 'Total number of reviews */
3201
+ count?: Maybe<Scalars["Int"]>;
3088
3202
  };
3089
3203
  /** Boolean tags for the station review */
3090
3204
  export declare type ReviewTags = {
3091
- /** Flag which indicates if the user recommended the station when the review was added */
3092
- recommended?: Maybe<Scalars["Boolean"]>;
3093
3205
  /** Flag which indicates if the station was working when the review was added */
3094
3206
  working?: Maybe<Scalars["Boolean"]>;
3207
+ /** Flag which indicates if the user recommended the station when the review was added */
3208
+ recommended?: Maybe<Scalars["Boolean"]>;
3095
3209
  };
3096
3210
  /** Boolean tags for a station review */
3097
3211
  export declare type ReviewTagsInput = {
3098
- /** Flag which indicates if a user recommended a station when the review was added */
3099
- recommended?: Maybe<Scalars["Boolean"]>;
3100
3212
  /** Flag which indicates if a station was working when the review was added */
3101
3213
  working?: Maybe<Scalars["Boolean"]>;
3214
+ /** Flag which indicates if a user recommended a station when the review was added */
3215
+ recommended?: Maybe<Scalars["Boolean"]>;
3102
3216
  };
3103
3217
  /** Special format for the user of a review */
3104
3218
  export declare type ReviewUser = {
3105
- /**
3106
- * First name
3107
- * @deprecated Please use name instead
3108
- */
3109
- firstName?: Maybe<Scalars["String"]>;
3219
+ /** User full name. If a review was added by an anonymous user, this will be null */
3220
+ name?: Maybe<Scalars["String"]>;
3110
3221
  /**
3111
3222
  * User ID
3112
3223
  * @deprecated Not sent back anymore, will be null
3113
3224
  */
3114
3225
  id?: Maybe<Scalars["ID"]>;
3226
+ /**
3227
+ * First name
3228
+ * @deprecated Please use name instead
3229
+ */
3230
+ firstName?: Maybe<Scalars["String"]>;
3115
3231
  /**
3116
3232
  * Last name
3117
3233
  * @deprecated Please use name instead
3118
3234
  */
3119
3235
  lastName?: Maybe<Scalars["String"]>;
3120
- /** User full name. If a review was added by an anonymous user, this will be null */
3121
- name?: Maybe<Scalars["String"]>;
3122
3236
  };
3123
3237
  export declare type Route = {
3238
+ /** Recommended route */
3239
+ route?: Maybe<RouteAlternative>;
3124
3240
  /** Available alternatives */
3125
3241
  alternatives?: Maybe<Array<Maybe<RouteAlternative>>>;
3126
- /** Application who requested a route */
3127
- app?: Maybe<RouteApp>;
3128
3242
  /** EV specific data for a route request */
3129
3243
  ev?: Maybe<RequestEv>;
3130
- /** Recommended route */
3131
- route?: Maybe<RouteAlternative>;
3244
+ /** @deprecated You will receive null values */
3245
+ user?: Maybe<RequestUser>;
3132
3246
  /** Route request data */
3133
3247
  routeRequest?: Maybe<RequestRoute>;
3248
+ /** Application who requested a route */
3249
+ app?: Maybe<RouteApp>;
3134
3250
  /** Route status */
3135
3251
  status?: Maybe<RouteStatus>;
3136
- /** @deprecated You will receive null values */
3137
- user?: Maybe<RequestUser>;
3138
3252
  };
3139
3253
  export declare type RouteAlternative = {
3140
- /**
3141
- * Amenity ranking for an alternative
3142
- * @deprecated Will be removed in the future
3143
- */
3144
- amenityRanking?: Maybe<Scalars["Int"]>;
3145
- /** Total time required to charge for an entire route, in seconds */
3146
- chargeTime?: Maybe<Scalars["Float"]>;
3254
+ /** ID of a route alternative */
3255
+ id?: Maybe<Scalars["ID"]>;
3256
+ /** Type of alternative route */
3257
+ type?: Maybe<RouteAlternativeType>;
3147
3258
  /** Number of charges along a route */
3148
3259
  charges?: Maybe<Scalars["Int"]>;
3149
3260
  /** Number of available charges along a route */
3150
3261
  chargesAvailable?: Maybe<Scalars["Int"]>;
3151
3262
  /** Number of occupied charges along a route */
3152
- chargesOccupied?: Maybe<Scalars["Int"]>;
3153
- /** Number of out of order charges along a route */
3154
- chargesOutOfOrder?: Maybe<Scalars["Int"]>;
3263
+ chargesOccupied?: Maybe<Scalars["Int"]>;
3155
3264
  /** Number of unknown charges along a route */
3156
3265
  chargesUnknown?: Maybe<Scalars["Int"]>;
3157
- /** Total energy used for a route in kWh */
3158
- consumption?: Maybe<Scalars["Float"]>;
3266
+ /** Number of out of order charges along a route */
3267
+ chargesOutOfOrder?: Maybe<Scalars["Int"]>;
3159
3268
  /** Total distance of a route in meters */
3160
3269
  distance?: Maybe<Scalars["Int"]>;
3161
3270
  /** Total duration of a route, including charge time, in seconds */
3162
3271
  duration?: Maybe<Scalars["Int"]>;
3163
- /** Total number of meters which are going down on a route */
3164
- elevationDown?: Maybe<Scalars["Float"]>;
3165
- /** Highest value from the elevation array */
3166
- elevationMax?: Maybe<Scalars["Float"]>;
3272
+ /** Total energy used for a route in kWh */
3273
+ consumption?: Maybe<Scalars["Float"]>;
3274
+ /** Total time required to charge for an entire route, in seconds */
3275
+ chargeTime?: Maybe<Scalars["Float"]>;
3167
3276
  /**
3168
- * Elevation values. Each elevationPlot has a hundred points, independent of the length of a route
3169
- * @deprecated Will be removed in the future; Use the pathPlot property
3277
+ * Amenity ranking for an alternative
3278
+ * @deprecated Will be removed in the future
3170
3279
  */
3171
- elevationPlot?: Maybe<Array<Maybe<Scalars["Float"]>>>;
3172
- /** Total number of meters which are going up on a route */
3173
- elevationUp?: Maybe<Scalars["Float"]>;
3174
- /** ID of a route alternative */
3175
- id?: Maybe<Scalars["ID"]>;
3176
- /** List of raw turn-by-turn navigation instructions */
3177
- instructions?: Maybe<Array<Maybe<RouteInstruction>>>;
3178
- /** Legs of the route */
3179
- legs?: Maybe<Array<Maybe<RouteLeg>>>;
3180
- /** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments */
3181
- pathPlot?: Maybe<Array<Maybe<PathSegment>>>;
3182
- /** Polyline containing encoded coordinates */
3183
- polyline?: Maybe<Scalars["String"]>;
3184
- /** Remaining range, in meters, at the end of a trip */
3185
- rangeEnd?: Maybe<Scalars["Int"]>;
3186
- /** Remaining range, energy in kWh, at the end of a trip */
3187
- rangeEndKwh?: Maybe<Scalars["Float"]>;
3188
- /** Remaining range, energy in percentage, at the end of a trip */
3189
- rangeEndPercentage?: Maybe<Scalars["Int"]>;
3280
+ amenityRanking?: Maybe<Scalars["Int"]>;
3190
3281
  /** Range, in meters, available at the beginning of a trip */
3191
3282
  rangeStart?: Maybe<Scalars["Int"]>;
3192
3283
  /** Total energy in a battery at the beginning of a trip, in kWh */
3193
3284
  rangeStartKwh?: Maybe<Scalars["Float"]>;
3194
3285
  /** Total energy in a battery at the beginning of a trip, in percentage */
3195
3286
  rangeStartPercentage?: Maybe<Scalars["Int"]>;
3287
+ /** Remaining range, in meters, at the end of a trip */
3288
+ rangeEnd?: Maybe<Scalars["Int"]>;
3289
+ /** Remaining range, energy in kWh, at the end of a trip */
3290
+ rangeEndKwh?: Maybe<Scalars["Float"]>;
3291
+ /** Remaining range, energy in percentage, at the end of a trip */
3292
+ rangeEndPercentage?: Maybe<Scalars["Int"]>;
3293
+ /** Text information about a route direction */
3294
+ via?: Maybe<Scalars["String"]>;
3295
+ /** Polyline containing encoded coordinates */
3296
+ polyline?: Maybe<Scalars["String"]>;
3297
+ /** Path elevation, distance, duration, consumption and speed values, grouped into 100 segments */
3298
+ pathPlot?: Maybe<Array<Maybe<PathSegment>>>;
3299
+ /**
3300
+ * Elevation values. Each elevationPlot has a hundred points, independent of the length of a route
3301
+ * @deprecated Will be removed in the future; Use the pathPlot property
3302
+ */
3303
+ elevationPlot?: Maybe<Array<Maybe<Scalars["Float"]>>>;
3304
+ /** Total number of meters which are going up on a route */
3305
+ elevationUp?: Maybe<Scalars["Float"]>;
3306
+ /** Total number of meters which are going down on a route */
3307
+ elevationDown?: Maybe<Scalars["Float"]>;
3308
+ /** Highest value from the elevation array */
3309
+ elevationMax?: Maybe<Scalars["Float"]>;
3196
3310
  /** Money and CO2 saving information */
3197
3311
  saving?: Maybe<RouteAlternativeSaving>;
3312
+ /** Legs of the route */
3313
+ legs?: Maybe<Array<Maybe<RouteLeg>>>;
3314
+ /** List of raw turn-by-turn navigation instructions */
3315
+ instructions?: Maybe<Array<Maybe<RouteInstruction>>>;
3198
3316
  /** Alternative stations along a route within specified radius in meters. Only if it was provided at newRoute mutation */
3199
3317
  stationsAlongRoute?: Maybe<Array<Maybe<RouteStationsAlong>>>;
3200
3318
  /** Tags of a route alternative. Values: road, highway, toll, ferry, etc. */
3201
3319
  tags?: Maybe<Array<Maybe<RouteTagType>>>;
3202
- /** Type of alternative route */
3203
- type?: Maybe<RouteAlternativeType>;
3204
- /** Text information about a route direction */
3205
- via?: Maybe<Scalars["String"]>;
3206
3320
  };
3207
3321
  export declare type RouteAlternativepolylineArgs = {
3208
3322
  decimals?: Maybe<Scalars["Int"]>;
3209
3323
  };
3210
3324
  export declare type RouteAlternativeSaving = {
3211
- /** Average energy price with which the calculation was made */
3212
- averageEnergyPrice?: Maybe<Scalars["String"]>;
3213
- /** Average gas price with which the calculation was made */
3214
- averageGasPrice?: Maybe<Scalars["String"]>;
3215
3325
  /** Total amount of CO2, in grams, which would be used with a petrol vehicle */
3216
3326
  co2?: Maybe<Scalars["String"]>;
3217
- /** Currency */
3218
- currency?: Maybe<Scalars["String"]>;
3219
3327
  /** Money saved by a user driving this route with the electric vehicle */
3220
3328
  money?: Maybe<Scalars["String"]>;
3329
+ /** Currency */
3330
+ currency?: Maybe<Scalars["String"]>;
3331
+ /** Average gas price with which the calculation was made */
3332
+ averageGasPrice?: Maybe<Scalars["String"]>;
3333
+ /** Average energy price with which the calculation was made */
3334
+ averageEnergyPrice?: Maybe<Scalars["String"]>;
3221
3335
  };
3222
3336
  /** Types of an alternative route */
3223
3337
  export declare enum RouteAlternativeType {
3224
- /** An alternative to the fastest route */
3225
- ALTERNATIVE = "alternative",
3338
+ /** Fastest route between origin and destination */
3339
+ FASTEST = "fastest",
3226
3340
  /** Best matching route based on operator and amenities preferences */
3227
3341
  BESTMATCHING = "bestMatching",
3228
- /** Fastest route between origin and destination */
3229
- FASTEST = "fastest"
3342
+ /** An alternative to the fastest route */
3343
+ ALTERNATIVE = "alternative"
3230
3344
  }
3231
3345
  export declare type RouteApp = {
3232
3346
  /** ID of the app who requested a route */
3233
3347
  id?: Maybe<Scalars["ID"]>;
3234
3348
  };
3235
3349
  export declare type RouteInstruction = {
3236
- /** Distance, in meters, of the current route instruction */
3237
- distance?: Maybe<Scalars["Int"]>;
3238
- /** Exit number on a roundabout. This field exists only on sign `USE_ROUNDABOUT` (6), otherwise is null */
3239
- exit_number?: Maybe<Scalars["Int"]>;
3240
- /** Name of the street on which the instruction is */
3241
- name?: Maybe<Scalars["String"]>;
3242
3350
  /** Information about the points on the polyline */
3243
3351
  points?: Maybe<RouteInstructionPoints>;
3244
3352
  /** Sign of the instruction. See `RouteInstructionSign` */
3245
3353
  sign?: Maybe<RouteInstructionSign>;
3354
+ /** Name of the street on which the instruction is */
3355
+ name?: Maybe<Scalars["String"]>;
3356
+ /** Distance, in meters, of the current route instruction */
3357
+ distance?: Maybe<Scalars["Int"]>;
3246
3358
  /** Duration, in seconds, of the current route instruction */
3247
3359
  time?: Maybe<Scalars["Int"]>;
3360
+ /** Exit number on a roundabout. This field exists only on sign `USE_ROUNDABOUT` (6), otherwise is null */
3361
+ exit_number?: Maybe<Scalars["Int"]>;
3248
3362
  /** Curvature angle between the roundabout and street you exit the roundabout. This field exists only on sign USE_ROUNDABOUT (6), otherwise is null */
3249
3363
  turn_angle?: Maybe<Scalars["Float"]>;
3250
3364
  };
3251
3365
  export declare type RouteInstructionPoints = {
3252
- /** The 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 */
3253
- interval?: Maybe<Array<Maybe<Scalars["Int"]>>>;
3254
3366
  /** Number of polyline points which are included in this instruction */
3255
3367
  size?: Maybe<Scalars["Int"]>;
3368
+ /** The 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 */
3369
+ interval?: Maybe<Array<Maybe<Scalars["Int"]>>>;
3256
3370
  };
3257
3371
  /** Sign belonging to the instruction indicating the main maneuver */
3258
3372
  export declare enum RouteInstructionSign {
3259
- CONTINUE_ON_STREET = "CONTINUE_ON_STREET",
3260
- FINISH = "FINISH",
3261
- IGNORE = "IGNORE",
3373
+ UNKNOWN = "UNKNOWN",
3374
+ U_TURN_UNKNOWN = "U_TURN_UNKNOWN",
3375
+ U_TURN_LEFT = "U_TURN_LEFT",
3262
3376
  KEEP_LEFT = "KEEP_LEFT",
3263
- KEEP_RIGHT = "KEEP_RIGHT",
3264
3377
  LEAVE_ROUNDABOUT = "LEAVE_ROUNDABOUT",
3265
- PT_END_TRIP = "PT_END_TRIP",
3266
- PT_START_TRIP = "PT_START_TRIP",
3267
- PT_TRANSFER = "PT_TRANSFER",
3268
- REACHED_CHARGING_STATION = "REACHED_CHARGING_STATION",
3269
- REACHED_VIA = "REACHED_VIA",
3270
- TURN_LEFT = "TURN_LEFT",
3271
- TURN_RIGHT = "TURN_RIGHT",
3272
3378
  TURN_SHARP_LEFT = "TURN_SHARP_LEFT",
3273
- TURN_SHARP_RIGHT = "TURN_SHARP_RIGHT",
3379
+ TURN_LEFT = "TURN_LEFT",
3274
3380
  TURN_SLIGHT_LEFT = "TURN_SLIGHT_LEFT",
3381
+ CONTINUE_ON_STREET = "CONTINUE_ON_STREET",
3275
3382
  TURN_SLIGHT_RIGHT = "TURN_SLIGHT_RIGHT",
3276
- UNKNOWN = "UNKNOWN",
3383
+ TURN_RIGHT = "TURN_RIGHT",
3384
+ TURN_SHARP_RIGHT = "TURN_SHARP_RIGHT",
3385
+ FINISH = "FINISH",
3386
+ REACHED_VIA = "REACHED_VIA",
3387
+ REACHED_CHARGING_STATION = "REACHED_CHARGING_STATION",
3277
3388
  USE_ROUNDABOUT = "USE_ROUNDABOUT",
3278
- U_TURN_LEFT = "U_TURN_LEFT",
3389
+ KEEP_RIGHT = "KEEP_RIGHT",
3279
3390
  U_TURN_RIGHT = "U_TURN_RIGHT",
3280
- U_TURN_UNKNOWN = "U_TURN_UNKNOWN"
3391
+ PT_START_TRIP = "PT_START_TRIP",
3392
+ PT_TRANSFER = "PT_TRANSFER",
3393
+ PT_END_TRIP = "PT_END_TRIP",
3394
+ IGNORE = "IGNORE"
3281
3395
  }
3282
3396
  export declare type RouteLeg = {
3283
- /** Cargo weight in a vehicle for the duration of a leg, in kg */
3284
- cargo?: Maybe<Scalars["Float"]>;
3285
- /** Total time required to charge a battery until 80%, in seconds */
3286
- chargeTime?: Maybe<Scalars["Int"]>;
3287
- /** Recommended connector for charging */
3288
- connector?: Maybe<Connector>;
3289
- /** Total energy used in a leg in kWh */
3290
- consumption?: Maybe<Scalars["Float"]>;
3291
- /** Destination point location */
3292
- destination?: Maybe<FeaturePoint>;
3397
+ /** ID of a leg */
3398
+ id?: Maybe<Scalars["ID"]>;
3293
3399
  /** Distance from the start to the end of a leg, in meters */
3294
3400
  distance?: Maybe<Scalars["Int"]>;
3295
3401
  /** Total drive time from the start to the end of a leg, in seconds */
3296
3402
  duration?: Maybe<Scalars["Int"]>;
3297
- /** Recommended EVSE where to charge */
3298
- evse?: Maybe<EVSE>;
3299
- /** ID of a leg */
3300
- id?: Maybe<Scalars["ID"]>;
3403
+ /** Total energy used in a leg in kWh */
3404
+ consumption?: Maybe<Scalars["Float"]>;
3405
+ /** Range, in meters, available at the beginning of a leg */
3406
+ rangeStart?: Maybe<Scalars["Int"]>;
3407
+ /** Total energy in a battery at the beginning of a leg, in kWh */
3408
+ rangeStartKwh?: Maybe<Scalars["Float"]>;
3409
+ /** Total energy in a battery at the beginning of a trip, in percentage */
3410
+ rangeStartPercentage?: Maybe<Scalars["Int"]>;
3411
+ /** Range, in meters, available at the end of a leg */
3412
+ rangeEnd?: Maybe<Scalars["Int"]>;
3413
+ /** Total energy left in a battery at the end of a leg, in kWh */
3414
+ rangeEndKwh?: Maybe<Scalars["Float"]>;
3415
+ /** Remaining range, energy in percentage, at the end of a trip */
3416
+ rangeEndPercentage?: Maybe<Scalars["Int"]>;
3417
+ /** Origin point location */
3418
+ origin?: Maybe<FeaturePoint>;
3419
+ /** Destination point location */
3420
+ destination?: Maybe<FeaturePoint>;
3421
+ /** Type of a leg */
3422
+ type?: Maybe<LegType>;
3301
3423
  /** 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 */
3302
3424
  name?: Maybe<Scalars["String"]>;
3303
- /** Number of occupants in a vehicle for the duration of a leg */
3304
- occupants?: Maybe<Scalars["Int"]>;
3425
+ /** ID of a station */
3426
+ stationId?: Maybe<Scalars["String"]>;
3305
3427
  /** ID of an operator */
3306
3428
  operatorId?: Maybe<Scalars["String"]>;
3307
3429
  /** Name of an operator */
3308
3430
  operatorName?: Maybe<Scalars["String"]>;
3309
3431
  /** Ranking of an operator */
3310
3432
  operatorRanking?: Maybe<Scalars["Int"]>;
3311
- /** Origin point location */
3312
- origin?: Maybe<FeaturePoint>;
3433
+ /** Total time required to charge a battery until 80%, in seconds */
3434
+ chargeTime?: Maybe<Scalars["Int"]>;
3435
+ /** Recommended EVSE where to charge */
3436
+ evse?: Maybe<EVSE>;
3437
+ /** Recommended connector for charging */
3438
+ connector?: Maybe<Connector>;
3313
3439
  /** Number of compatible plugs available at a charge station */
3314
3440
  plugsAvailable?: Maybe<Scalars["Int"]>;
3315
- /** Total number of compatible plugs at a charge station */
3316
- plugsCount?: Maybe<Scalars["Int"]>;
3317
3441
  /** Number of compatible plugs occupied at a charge station */
3318
3442
  plugsOccupied?: Maybe<Scalars["Int"]>;
3319
- /** Number of compatible plugs out of order at a charge station */
3320
- plugsOutOfOrder?: Maybe<Scalars["Int"]>;
3321
3443
  /** Number of compatible plugs unknown at a charge station */
3322
3444
  plugsUnknown?: Maybe<Scalars["Int"]>;
3445
+ /** Number of compatible plugs out of order at a charge station */
3446
+ plugsOutOfOrder?: Maybe<Scalars["Int"]>;
3447
+ /** Total number of compatible plugs at a charge station */
3448
+ plugsCount?: Maybe<Scalars["Int"]>;
3323
3449
  /** Polyline containing encoded coordinates */
3324
3450
  polyline?: Maybe<Scalars["String"]>;
3325
- /** Range, in meters, available at the end of a leg */
3326
- rangeEnd?: Maybe<Scalars["Int"]>;
3327
- /** Total energy left in a battery at the end of a leg, in kWh */
3328
- rangeEndKwh?: Maybe<Scalars["Float"]>;
3329
- /** Remaining range, energy in percentage, at the end of a trip */
3330
- rangeEndPercentage?: Maybe<Scalars["Int"]>;
3331
- /** Range, in meters, available at the beginning of a leg */
3332
- rangeStart?: Maybe<Scalars["Int"]>;
3333
- /** Total energy in a battery at the beginning of a leg, in kWh */
3334
- rangeStartKwh?: Maybe<Scalars["Float"]>;
3335
- /** Total energy in a battery at the beginning of a trip, in percentage */
3336
- rangeStartPercentage?: Maybe<Scalars["Int"]>;
3337
- /** ID of a station */
3338
- stationId?: Maybe<Scalars["String"]>;
3339
3451
  /** Steps of a leg */
3340
3452
  steps?: Maybe<Array<Maybe<RouteStep>>>;
3341
3453
  /** Tags of a leg. Values: road, highway, toll, ferry */
3342
3454
  tags?: Maybe<Array<Maybe<RouteTagType>>>;
3343
- /** Type of a leg */
3344
- type?: Maybe<LegType>;
3455
+ /** Cargo weight in a vehicle for the duration of a leg, in kg */
3456
+ cargo?: Maybe<Scalars["Float"]>;
3457
+ /** Number of occupants in a vehicle for the duration of a leg */
3458
+ occupants?: Maybe<Scalars["Int"]>;
3345
3459
  };
3346
3460
  export declare type RouteLegpolylineArgs = {
3347
3461
  decimals?: Maybe<Scalars["Int"]>;
3348
3462
  };
3349
3463
  /** Prioritized operators for a route calculation */
3350
3464
  export declare type RouteOperators = {
3351
- /** Operator IDs which should be excluded from a route */
3352
- exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
3353
- /** Ranking of an operator with multiple levels, each level having it's own penalty value */
3354
- ranking?: Maybe<RouteOperatorsRanking>;
3355
3465
  /** Flag indicating if the operators ranking should be preferred or required */
3356
3466
  type?: Maybe<RouteOperatorsType>;
3467
+ /** Ranking of an operator with multiple levels, each level having it's own penalty value */
3468
+ ranking?: Maybe<RouteOperatorsRanking>;
3469
+ /** Operator IDs which should be excluded from a route */
3470
+ exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
3357
3471
  };
3358
3472
  /** Prioritized operators for a route calculation */
3359
3473
  export declare type RouteOperatorsInput = {
3360
- /** Operator IDs which should be excluded from a route */
3361
- exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
3362
- /** Ranking of an operator with multiple levels, each level having it's own penalty value */
3363
- ranking?: Maybe<RouteOperatorsRankingInput>;
3364
3474
  /** Flag indicating if the operators ranking should be preferred or required */
3365
3475
  type?: Maybe<RouteOperatorsType>;
3476
+ /** Ranking of an operator with multiple levels, each level having it's own penalty value */
3477
+ ranking?: Maybe<RouteOperatorsRankingInput>;
3478
+ /** Operator IDs which should be excluded from a route */
3479
+ exclude?: Maybe<Array<Maybe<Scalars["ID"]>>>;
3366
3480
  };
3367
3481
  /** Ranking configuration for prioritized operators */
3368
3482
  export declare type RouteOperatorsRanking = {
@@ -3420,8 +3534,14 @@ export declare enum RouteOperatorsType {
3420
3534
  REQUIRED = "required"
3421
3535
  }
3422
3536
  export declare type RoutePath = {
3537
+ /** GeoJSON location of a route path segment */
3538
+ location?: Maybe<Point>;
3539
+ /** Elevation (altitude) in meters */
3540
+ elevation?: Maybe<Scalars["Int"]>;
3423
3541
  /** Average speed, in km/h, for this route path segment */
3424
3542
  averageSpeed?: Maybe<Scalars["Float"]>;
3543
+ /** Recommended speed, in km/h for this route path segment to optimise the consumption */
3544
+ recommendedSpeed?: Maybe<Scalars["Float"]>;
3425
3545
  /** Consumption, in kWh, of a route path segment */
3426
3546
  consumption?: Maybe<Scalars["Float"]>;
3427
3547
  /** Consumption, in kWh per km, of a route path segment */
@@ -3430,140 +3550,154 @@ export declare type RoutePath = {
3430
3550
  distance?: Maybe<Scalars["Float"]>;
3431
3551
  /** Duration, in seconds, of a route path segment */
3432
3552
  duration?: Maybe<Scalars["Float"]>;
3433
- /** Elevation (altitude) in meters */
3434
- elevation?: Maybe<Scalars["Int"]>;
3435
- /** GeoJSON location of a route path segment */
3436
- location?: Maybe<Point>;
3437
- /** Recommended speed, in km/h for this route path segment to optimise the consumption */
3438
- recommendedSpeed?: Maybe<Scalars["Float"]>;
3439
3553
  /** State of charge, in kWh, of a route path segment */
3440
3554
  stateOfCharge?: Maybe<Scalars["Float"]>;
3441
3555
  };
3442
3556
  /** The season of the route */
3443
3557
  export declare enum RouteSeason {
3444
- /** We fetch the current weather conditions */
3445
- CURRENT = "current",
3446
3558
  /** We suppose it is summer and we have the best weather conditions */
3447
3559
  SUMMER = "summer",
3448
3560
  /** We suppose it is winter and we have the worst weather conditions */
3449
- WINTER = "winter"
3561
+ WINTER = "winter",
3562
+ /** We fetch the current weather conditions */
3563
+ CURRENT = "current"
3450
3564
  }
3451
3565
  export declare type RouteStationsAlong = {
3452
- /** Distance in meters between station and route path */
3453
- distance?: Maybe<Scalars["Int"]>;
3454
3566
  /** The ID of station */
3455
3567
  id?: Maybe<Scalars["String"]>;
3456
3568
  /** Geojson location of a station */
3457
3569
  location?: Maybe<Point>;
3458
- /** The station uses a preferred operator */
3459
- preferredOperator?: Maybe<Scalars["Boolean"]>;
3460
3570
  /** Speed of a station. A station along a route can be either fast or turbo */
3461
3571
  speed?: Maybe<StationSpeedType>;
3462
3572
  /** Status of a station */
3463
3573
  status?: Maybe<ChargerStatus>;
3574
+ /** The station uses a preferred operator */
3575
+ preferredOperator?: Maybe<Scalars["Boolean"]>;
3576
+ /** Distance in meters between station and route path */
3577
+ distance?: Maybe<Scalars["Int"]>;
3464
3578
  };
3465
3579
  /** The status of a route. The status can be pending, processing, done, not_found or error */
3466
3580
  export declare enum RouteStatus {
3467
- /** We finished computing the route, with a result. Final status */
3468
- DONE = "done",
3469
- /** An error occurred while computing the route. Final status */
3470
- ERROR = "error",
3471
- /** We finished the computing the route, without any result. Final status */
3472
- NOT_FOUND = "not_found",
3473
3581
  /** Route is queued and pending processing. Temporary status */
3474
3582
  PENDING = "pending",
3475
3583
  /** We are computing the route for your request. Temporary status */
3476
- PROCESSING = "processing"
3477
- }
3478
- export declare type RouteStep = {
3479
- /** Total enery used in a step in kWh */
3480
- consumption?: Maybe<Scalars["Float"]>;
3481
- /** Distance from the start to the end of a step, in meters */
3482
- distance?: Maybe<Scalars["Int"]>;
3483
- /** Total drive time from the start to the end of a step, in seconds */
3484
- duration?: Maybe<Scalars["Int"]>;
3584
+ PROCESSING = "processing",
3585
+ /** We finished computing the route, with a result. Final status */
3586
+ DONE = "done",
3587
+ /** We finished the computing the route, without any result. Final status */
3588
+ NOT_FOUND = "not_found",
3589
+ /** An error occurred while computing the route. Final status */
3590
+ ERROR = "error"
3591
+ }
3592
+ export declare type RouteStep = {
3485
3593
  /** ID of a step */
3486
3594
  id?: Maybe<Scalars["ID"]>;
3487
- /** Polyline containing encoded coordinates */
3488
- polyline?: Maybe<Scalars["String"]>;
3489
3595
  /** Type of a step */
3490
3596
  type?: Maybe<StepType>;
3597
+ /** Polyline containing encoded coordinates */
3598
+ polyline?: Maybe<Scalars["String"]>;
3599
+ /** Distance from the start to the end of a step, in meters */
3600
+ distance?: Maybe<Scalars["Int"]>;
3601
+ /** Total drive time from the start to the end of a step, in seconds */
3602
+ duration?: Maybe<Scalars["Int"]>;
3603
+ /** Total enery used in a step in kWh */
3604
+ consumption?: Maybe<Scalars["Float"]>;
3491
3605
  };
3492
3606
  export declare type RouteSteppolylineArgs = {
3493
3607
  decimals?: Maybe<Scalars["Int"]>;
3494
3608
  };
3495
3609
  /** Tags of a route */
3496
3610
  export declare enum RouteTagType {
3497
- CROSSBORDER = "crossborder",
3498
- FERRY = "ferry",
3499
- HIGHWAY = "highway",
3500
3611
  ROAD = "road",
3612
+ HIGHWAY = "highway",
3501
3613
  TOLL = "toll",
3502
- WALKING = "walking"
3614
+ FERRY = "ferry",
3615
+ WALKING = "walking",
3616
+ CROSSBORDER = "crossborder"
3503
3617
  }
3504
3618
  /** Standards(plug type) stats model */
3505
3619
  export declare type StandardStats = {
3506
- /** The total number of stations with the specified plug */
3507
- total?: Maybe<Scalars["Int"]>;
3508
3620
  /** The plug type */
3509
3621
  type?: Maybe<ConnectorType>;
3622
+ /** The total number of stations with the specified plug */
3623
+ total?: Maybe<Scalars["Int"]>;
3510
3624
  };
3511
3625
  /** Station data which extends OCPI Location */
3512
3626
  export declare type Station = {
3627
+ /** Review of a station */
3628
+ review?: Maybe<ReviewStats>;
3629
+ /** Unique ID of a station */
3630
+ id: Scalars["ID"];
3631
+ /** ISO-3166 alpha-2 country code of a station */
3632
+ country_code?: Maybe<Scalars["String"]>;
3633
+ /** CPO ID of a CPO that 'owns' this station (following the ISO-15118 standard) */
3634
+ party_id?: Maybe<Scalars["String"]>;
3635
+ /**
3636
+ * Defines if a location may be published on a website or app etc.
3637
+ * When this is set to false, only tokens identified in the field: publish_allowed_to are allowed to show this location.
3638
+ * When the same location has EVSEs that may be published and may not be published, two 'locations' should be created
3639
+ */
3640
+ publish?: Maybe<Scalars["Boolean"]>;
3641
+ /** Name of a charging station */
3642
+ name?: Maybe<Scalars["String"]>;
3513
3643
  /** Street/block name and house number if available */
3514
3644
  address?: Maybe<Scalars["String"]>;
3515
- /** Amenities located at this location */
3516
- amenities?: Maybe<Scalars["JSON"]>;
3517
- /** Groups of EVSEs by power and type */
3518
- chargers?: Maybe<Array<Maybe<Charger>>>;
3519
- /** Indicates if the EVSEs are still charging outside the opening hours. E.g. when a parking garage closes its barriers overnight, is it allowed to charge till the next morning? Default: true */
3520
- charging_when_closed?: Maybe<Scalars["Boolean"]>;
3521
3645
  /** City or town */
3522
3646
  city?: Maybe<Scalars["String"]>;
3523
- /** Coordinates of a location */
3524
- coordinates?: Maybe<OCPIGeoLocation>;
3647
+ /** Postal code of a location, may only be omitted when a location has no postal code: in some countries charging locations at highways don’t have postal codes. */
3648
+ postal_code?: Maybe<Scalars["String"]>;
3649
+ /** State or province of a location, only to be used when relevant */
3650
+ state?: Maybe<Scalars["String"]>;
3525
3651
  /** ISO 3166-1 alpha-3 code for the country of this station */
3526
3652
  country?: Maybe<Scalars["String"]>;
3527
- /** ISO-3166 alpha-2 country code of a station */
3528
- country_code?: Maybe<Scalars["String"]>;
3529
- /** Custom properties of a station. These are vendor specific and will return null values on the fields that are not supported by your station database */
3530
- custom_properties?: Maybe<StationCustomProperties>;
3531
- /** Human-readable directions on how to reach a station */
3532
- directions?: Maybe<Array<Maybe<OCPIDisplayText>>>;
3533
- /** Elevation (altitude) level */
3534
- elevation?: Maybe<Scalars["Int"]>;
3535
- /** Details of the energy supplied at a location */
3536
- energy_mix?: Maybe<OCPIEnergyMix>;
3653
+ /** Coordinates of a location */
3654
+ coordinates?: Maybe<OCPIGeoLocation>;
3655
+ /** Geographical location of related points relevant to a user */
3656
+ related_locations?: Maybe<Array<Maybe<OCPIAdditionalGeoLocation>>>;
3657
+ /** Type of parking at a charge point location */
3658
+ parking_type?: Maybe<OCPIParkingType>;
3537
3659
  /** EVSEs that belong to a station */
3538
3660
  evses?: Maybe<Array<Maybe<EVSE>>>;
3539
- /** ID provided by a station data source */
3540
- external_id?: Maybe<Scalars["String"]>;
3661
+ /** Human-readable directions on how to reach a station */
3662
+ directions?: Maybe<Array<Maybe<OCPIDisplayText>>>;
3663
+ /** Information about an operator */
3664
+ operator?: Maybe<Operator>;
3665
+ /** Information about a suboperator if applicable */
3666
+ suboperator?: Maybe<Operator>;
3667
+ /** Information about an owner if available */
3668
+ owner?: Maybe<Operator>;
3541
3669
  /** Facilities a charging station belongs to */
3542
3670
  facilities?: Maybe<Array<Maybe<OCPIFacility>>>;
3543
- /** Unique ID of a station */
3544
- id: Scalars["ID"];
3671
+ /** Value from the IANA time zone database representing the time zone of a location. Examples: "Europe/Oslo", "Europe/Zurich". (http://www.iana.org/time-zones) */
3672
+ time_zone?: Maybe<Scalars["String"]>;
3673
+ /** Times when an EVSEs at a location can be accessed for charging */
3674
+ opening_times?: Maybe<OCPIHours>;
3675
+ /** Indicates if the EVSEs are still charging outside the opening hours. E.g. when a parking garage closes its barriers overnight, is it allowed to charge till the next morning? Default: true */
3676
+ charging_when_closed?: Maybe<Scalars["Boolean"]>;
3545
3677
  /** Links to images related to a location such as photos or logos */
3546
3678
  images?: Maybe<Array<Maybe<OCPIImage>>>;
3679
+ /** Details of the energy supplied at a location */
3680
+ energy_mix?: Maybe<OCPIEnergyMix>;
3547
3681
  /** Timestamp when a location, or one of its EVSEs or Connectors were last updated (or created) */
3548
3682
  last_updated?: Maybe<Scalars["DateTime"]>;
3683
+ /** ID provided by a station data source */
3684
+ external_id?: Maybe<Scalars["String"]>;
3549
3685
  /** GeoJSON location of a charging station */
3550
3686
  location?: Maybe<Point>;
3551
- /** Name of a charging station */
3552
- name?: Maybe<Scalars["String"]>;
3553
- /** Times when an EVSEs at a location can be accessed for charging */
3554
- opening_times?: Maybe<OCPIHours>;
3555
- /** Information about an operator */
3556
- operator?: Maybe<Operator>;
3557
- /** Information about an owner if available */
3558
- owner?: Maybe<Operator>;
3559
- /** Type of parking at a charge point location */
3560
- parking_type?: Maybe<OCPIParkingType>;
3561
- /** CPO ID of a CPO that 'owns' this station (following the ISO-15118 standard) */
3562
- party_id?: Maybe<Scalars["String"]>;
3687
+ /** Elevation (altitude) level */
3688
+ elevation?: Maybe<Scalars["Int"]>;
3689
+ /** Groups of EVSEs by power and type */
3690
+ chargers?: Maybe<Array<Maybe<Charger>>>;
3691
+ /** Amenities located at this location */
3692
+ amenities?: Maybe<Scalars["JSON"]>;
3563
3693
  /** Enriched information about the physical address of a station */
3564
3694
  physical_address?: Maybe<Address>;
3565
- /** Postal code of a location, may only be omitted when a location has no postal code: in some countries charging locations at highways don’t have postal codes. */
3566
- postal_code?: Maybe<Scalars["String"]>;
3695
+ /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
3696
+ properties?: Maybe<Scalars["JSON"]>;
3697
+ /** A flag that indicates if a station has real-time information about the availability of its connectors */
3698
+ realtime?: Maybe<Scalars["Boolean"]>;
3699
+ /** A flag that indicates if a station is on private property */
3700
+ private?: Maybe<Scalars["Boolean"]>;
3567
3701
  /** Connectors grouped by power */
3568
3702
  power?: Maybe<Scalars["JSON"]>;
3569
3703
  /**
@@ -3576,161 +3710,183 @@ export declare type Station = {
3576
3710
  * @deprecated In favor of custom_properties.predicted_occupancy
3577
3711
  */
3578
3712
  predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
3579
- /** A flag that indicates if a station is on private property */
3580
- private?: Maybe<Scalars["Boolean"]>;
3581
- /** Optional object where you can store custom data you need in your application. This extends the current functionalities we offer */
3582
- properties?: Maybe<Scalars["JSON"]>;
3583
- /**
3584
- * Defines if a location may be published on a website or app etc.
3585
- * When this is set to false, only tokens identified in the field: publish_allowed_to are allowed to show this location.
3586
- * When the same location has EVSEs that may be published and may not be published, two 'locations' should be created
3587
- */
3588
- publish?: Maybe<Scalars["Boolean"]>;
3589
- /** A flag that indicates if a station has real-time information about the availability of its connectors */
3590
- realtime?: Maybe<Scalars["Boolean"]>;
3591
- /** Geographical location of related points relevant to a user */
3592
- related_locations?: Maybe<Array<Maybe<OCPIAdditionalGeoLocation>>>;
3593
- /** Review of a station */
3594
- review?: Maybe<ReviewStats>;
3595
3713
  /** Charging speed for a station */
3596
3714
  speed?: Maybe<StationSpeedType>;
3597
- /** State or province of a location, only to be used when relevant */
3598
- state?: Maybe<Scalars["String"]>;
3599
3715
  /** Global status for a station */
3600
3716
  status?: Maybe<ChargerStatus>;
3601
- /** Information about a suboperator if applicable */
3602
- suboperator?: Maybe<Operator>;
3603
- /** Value from the IANA time zone database representing the time zone of a location. Examples: "Europe/Oslo", "Europe/Zurich". (http://www.iana.org/time-zones) */
3604
- time_zone?: Maybe<Scalars["String"]>;
3717
+ /** Custom properties of a station. These are vendor specific and will return null values on the fields that are not supported by your station database */
3718
+ custom_properties?: Maybe<StationCustomProperties>;
3605
3719
  };
3606
3720
  /** Filter which can be applied to retrieve the station around list action */
3607
3721
  export declare type StationAroundFilter = {
3608
- /** Amenities available near a station */
3609
- amenities?: Maybe<Array<Maybe<Amenities>>>;
3610
- /** Flag that allows you to return only available stations */
3611
- available_only?: Maybe<Scalars["Boolean"]>;
3612
- /** Station socket or plug standards */
3613
- connectors?: Maybe<Array<Maybe<ConnectorType>>>;
3614
- /** Distance, in meters, to search around */
3615
- distance?: Maybe<Scalars["Int"]>;
3616
3722
  /** The GeoJSON Point of the center of the around me circle */
3617
3723
  location?: Maybe<PointInput>;
3618
- /** Station speed */
3619
- power_groups?: Maybe<Array<Maybe<StationSpeedType>>>;
3724
+ /** Distance, in meters, to search around */
3725
+ distance?: Maybe<Scalars["Int"]>;
3620
3726
  /** Powers in kWh */
3621
3727
  powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
3728
+ /** Amenities available near a station */
3729
+ amenities?: Maybe<Array<Maybe<Amenities>>>;
3730
+ /** Station speed */
3731
+ power_groups?: Maybe<Array<Maybe<StationSpeedType>>>;
3732
+ /** Station socket or plug standards */
3733
+ connectors?: Maybe<Array<Maybe<ConnectorType>>>;
3734
+ /** Flag that allows you to return only available stations */
3735
+ available_only?: Maybe<Scalars["Boolean"]>;
3622
3736
  /** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned */
3623
3737
  preferred_operator?: Maybe<Scalars["Boolean"]>;
3624
3738
  };
3625
3739
  /** Deprecated: Replaced by filter & search params */
3626
3740
  export declare type StationAroundQuery = {
3627
- /** Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park */
3628
- amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
3629
- /** Distance, in meters, to search around */
3630
- distance?: Maybe<Scalars["Int"]>;
3631
3741
  /** The GeoJSON Point of the center of the around me circle */
3632
3742
  location?: Maybe<PointInput>;
3743
+ /** Distance, in meters, to search around */
3744
+ distance?: Maybe<Scalars["Int"]>;
3633
3745
  /** Power in kWh */
3634
3746
  power?: Maybe<Array<Maybe<Scalars["Float"]>>>;
3747
+ /** Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park */
3748
+ amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
3635
3749
  };
3636
3750
  export declare type StationCustomProperties = {
3637
- /** Type of access to the charging station */
3638
- access_type?: Maybe<AccessType>;
3639
- /** List of available ad hoc payment methods */
3640
- adhoc_authorisation_method?: Maybe<Array<Maybe<AdhocAuthorisationMethod>>>;
3641
- /** Charging behavior of a station */
3642
- charging_behaviour?: Maybe<ChargingBehaviour>;
3643
- /** Predicted station occupancy */
3644
- predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
3645
- /** Shows how reliable a charging station is (1 to 5; 1 = unreliable, 5 = reliable), taking into account the charging behaviour history and error values */
3646
- reliability_score?: Maybe<Scalars["Int"]>;
3647
3751
  /** List of eMSP cards accepted at a charging station */
3648
3752
  roaming?: Maybe<Array<Maybe<StationRoaming>>>;
3649
3753
  /** Phone number for assistance at a charging station */
3650
3754
  support_phone_number?: Maybe<Scalars["String"]>;
3755
+ /** Charging behavior of a station */
3756
+ charging_behaviour?: Maybe<ChargingBehaviour>;
3757
+ /** Shows how reliable a charging station is (1 to 5; 1 = unreliable, 5 = reliable), taking into account the charging behaviour history and error values */
3758
+ reliability_score?: Maybe<Scalars["Int"]>;
3759
+ /** List of available ad hoc payment methods */
3760
+ adhoc_authorisation_method?: Maybe<Array<Maybe<AdhocAuthorisationMethod>>>;
3761
+ /** Predicted station occupancy */
3762
+ predicted_occupancy?: Maybe<Array<Maybe<StationPredictedOccupancy>>>;
3763
+ /** Type of access to the charging station */
3764
+ access_type?: Maybe<AccessType>;
3651
3765
  };
3652
3766
  /** Filter which can be applied to retrieve the station list action */
3653
3767
  export declare type StationListFilter = {
3768
+ /** Powers in kWh */
3769
+ powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
3654
3770
  /** Amenities available near a station */
3655
3771
  amenities?: Maybe<Array<Maybe<Amenities>>>;
3656
- /** Flag that allows you to return only available stations */
3657
- available_only?: Maybe<Scalars["Boolean"]>;
3658
- /** Station socket or plug standards */
3659
- connectors?: Maybe<Array<Maybe<ConnectorType>>>;
3660
3772
  /** Station speed */
3661
3773
  power_groups?: Maybe<Array<Maybe<StationSpeedType>>>;
3662
- /** Powers in kWh */
3663
- powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
3774
+ /** Station socket or plug standards */
3775
+ connectors?: Maybe<Array<Maybe<ConnectorType>>>;
3776
+ /** Flag that allows you to return only available stations */
3777
+ available_only?: Maybe<Scalars["Boolean"]>;
3664
3778
  /** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned */
3665
3779
  preferred_operator?: Maybe<Scalars["Boolean"]>;
3666
3780
  };
3667
3781
  /** Deprecated: Replaced by filter & search params */
3668
3782
  export declare type StationListQuery = {
3669
- /** External ID of the station provided by the station data source */
3670
- external_id?: Maybe<Scalars["String"]>;
3671
3783
  /** ID of the station */
3672
3784
  id?: Maybe<Scalars["ID"]>;
3785
+ /** External ID of the station provided by the station data source */
3786
+ external_id?: Maybe<Scalars["String"]>;
3673
3787
  /** Exact name */
3674
3788
  name?: Maybe<Scalars["String"]>;
3675
3789
  };
3676
3790
  /** Station availability for each weekday and hour */
3677
3791
  export declare type StationPredictedAvailability = {
3678
- /** The prediction for each hour 0-23 from 1 to 5 (1 - very busy ... 5 very quiet (free)) */
3679
- prediction?: Maybe<Array<Maybe<Scalars["Int"]>>>;
3680
3792
  /** Number of weekday from 1 (monday) to 7 (sunday) */
3681
3793
  weekday?: Maybe<Scalars["Int"]>;
3794
+ /** The prediction for each hour 0-23 from 1 to 5 (1 - very busy ... 5 very quiet (free)) */
3795
+ prediction?: Maybe<Array<Maybe<Scalars["Int"]>>>;
3682
3796
  };
3683
3797
  /** Station occupancy for each weekday and hour */
3684
3798
  export declare type StationPredictedOccupancy = {
3799
+ /** Number of weekday from 1 (monday) to 7 (sunday) */
3800
+ weekday?: Maybe<Scalars["Int"]>;
3685
3801
  /** Occupancy on a scale from 1 to 10, where 1 means free for charging and 10 means fully occupied */
3686
3802
  occupancy?: Maybe<Scalars["Int"]>;
3687
3803
  /** Start of the period of the occupancy prediction (string of 'hh-mmZ' format) */
3688
3804
  period_begin?: Maybe<Scalars["String"]>;
3689
3805
  /** End of the period of the occupancy prediction (string of 'hh-mmZ' format) */
3690
3806
  period_end?: Maybe<Scalars["String"]>;
3691
- /** Number of weekday from 1 (monday) to 7 (sunday) */
3692
- weekday?: Maybe<Scalars["Int"]>;
3693
3807
  };
3694
3808
  export declare type StationRoaming = {
3695
- /** Link to native Android app for card accepted at a charging station */
3696
- android_app_link?: Maybe<Scalars["String"]>;
3697
- /** Name of the card accepted at a charging station */
3698
- card?: Maybe<Scalars["String"]>;
3699
3809
  /** Name of the EMSP provider */
3700
3810
  emsp?: Maybe<Scalars["String"]>;
3811
+ /** Name of the card accepted at a charging station */
3812
+ card?: Maybe<Scalars["String"]>;
3813
+ /** Link to native Android app for card accepted at a charging station */
3814
+ android_app_link?: Maybe<Scalars["String"]>;
3701
3815
  /** Link to native iOS app for card accepted at a charging station */
3702
3816
  ios_app_link?: Maybe<Scalars["String"]>;
3703
3817
  };
3704
3818
  /** The station speed type */
3705
3819
  export declare enum StationSpeedType {
3706
- /** Fast charging stations (above 43 kWh and below 150 kWh) */
3707
- FAST = "fast",
3708
3820
  /** Slow charging (below 43 kWh) */
3709
3821
  SLOW = "slow",
3822
+ /** Fast charging stations (above 43 kWh and below 150 kWh) */
3823
+ FAST = "fast",
3710
3824
  /** Ultra fast charging stations (above 150 kWh) */
3711
3825
  TURBO = "turbo"
3712
3826
  }
3713
3827
  /** The station stats model */
3714
3828
  export declare type StationStats = {
3715
- /** Stations count grouped by amenities */
3716
- amenities?: Maybe<Array<Maybe<AmenityStats>>>;
3717
- /** Stations count grouped by power */
3718
- power?: Maybe<Array<Maybe<PowerStats>>>;
3719
3829
  /** Stations count grouped by standards */
3720
3830
  standards?: Maybe<Array<Maybe<StandardStats>>>;
3831
+ /** Stations count grouped by power */
3832
+ power?: Maybe<Array<Maybe<PowerStats>>>;
3833
+ /** Stations count grouped by amenities */
3834
+ amenities?: Maybe<Array<Maybe<AmenityStats>>>;
3721
3835
  };
3722
3836
  /** Types of a route step */
3723
3837
  export declare enum StepType {
3724
- /** This step is a crossborder */
3725
- CROSSBORDER = "crossborder",
3726
- /** This step is a ferry */
3727
- FERRY = "ferry",
3728
- /** This step is a highway */
3729
- HIGHWAY = "highway",
3730
3838
  /** This step is a road */
3731
3839
  ROAD = "road",
3840
+ /** This step is a highway */
3841
+ HIGHWAY = "highway",
3732
3842
  /** This step is a toll road */
3733
3843
  TOLL = "toll",
3844
+ /** This step is a ferry */
3845
+ FERRY = "ferry",
3734
3846
  /** This step is reachable by walking */
3735
- WALKING = "walking"
3847
+ WALKING = "walking",
3848
+ /** This step is a crossborder */
3849
+ CROSSBORDER = "crossborder"
3736
3850
  }
3851
+ export declare type Subscription = {
3852
+ /** [BETA] Subscribe to a connected vehicle. */
3853
+ connectedVehicle?: Maybe<ConnectedVehicle>;
3854
+ /** [BETA] Subscribe to an isoline label in order to receive updates */
3855
+ isoline?: Maybe<Isoline>;
3856
+ /** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
3857
+ navigationUpdatedById?: Maybe<Navigation>;
3858
+ /** Subscription for a specific route was updated in the system event */
3859
+ routeUpdatedById?: Maybe<Route>;
3860
+ };
3861
+ export declare type SubscriptionconnectedVehicleArgs = {
3862
+ id: Scalars["ID"];
3863
+ };
3864
+ export declare type SubscriptionisolineArgs = {
3865
+ id: Scalars["ID"];
3866
+ };
3867
+ export declare type SubscriptionnavigationUpdatedByIdArgs = {
3868
+ id: Scalars["ID"];
3869
+ };
3870
+ export declare type SubscriptionrouteUpdatedByIdArgs = {
3871
+ id: Scalars["ID"];
3872
+ };
3873
+ export declare type UpdateConnectedVehicleInput = {
3874
+ /** Id from the connected vehicle */
3875
+ id: Scalars["ID"];
3876
+ /** New label for a connected vehicle */
3877
+ label?: Maybe<Scalars["PlainString"]>;
3878
+ };
3879
+ export declare type VehicleData = {
3880
+ battery?: Maybe<ConnectBattery>;
3881
+ location?: Maybe<VehicleLocation>;
3882
+ };
3883
+ /** Location of the vehicle */
3884
+ export declare type VehicleLocation = {
3885
+ type: FeatureType;
3886
+ geometry: GeometryPoint;
3887
+ properties?: Maybe<VehicleLocationProperties>;
3888
+ };
3889
+ /** Properties of a vehicle location */
3890
+ export declare type VehicleLocationProperties = {
3891
+ date: Scalars["String"];
3892
+ };