@chargetrip/types 1.65.0 → 1.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,6 +98,15 @@ export declare enum AdhocAuthorisationMethod {
98
98
  QR_CODE = "QR_CODE",
99
99
  SMS = "SMS"
100
100
  }
101
+ /** Input fields to continue the navigation session to the next leg. */
102
+ export declare type AdvanceNavigationLegInput = {
103
+ /** The unique identifier of the active navigation session. */
104
+ id: Scalars["ID"];
105
+ /** State of charge (SOC) of the vehicle at the current location. If the current leg ends at a charging stop and this value is omitted, the navigation will assume the vehicle charges to its estimated optimal SOC. If the current leg ends at a non-charging via point and this value is omitted, the last known vehicle SOC is retained. */
106
+ state_of_charge?: Maybe<StateOfChargeInput>;
107
+ /** Geographic coordinates of the vehicle's current location. */
108
+ current_location: PointInput;
109
+ };
101
110
  export declare type AirPressure = {
102
111
  /** Value of the atmospheric pressure. */
103
112
  value: Scalars["Float"];
@@ -358,12 +367,14 @@ export declare type ChargeSpeedInput = {
358
367
  source?: Maybe<TelemetryInputSource>;
359
368
  };
360
369
  export declare enum ChargeSpeedUnit {
361
- /** Return the charge speed in kilowatt hours. */
370
+ /** Charge speed in kilowatt hours. */
362
371
  KILOWATT_HOUR = "kilowatt_hour",
363
- /** Return the charge speed in kilometers per hour. */
372
+ /** Charge speed in kilometers per hour. */
364
373
  KILOMETERS_PER_HOUR = "kilometers_per_hour",
365
- /** Return the charge speed in miles per hour. */
366
- MILES_PER_HOUR = "miles_per_hour"
374
+ /** Charge speed in miles per hour. */
375
+ MILES_PER_HOUR = "miles_per_hour",
376
+ /** Charge speed in kilowatts. */
377
+ KILOWATT = "kilowatt"
367
378
  }
368
379
  export declare type ChargeTotalInput = {
369
380
  /** Value of the temperature of the battery. */
@@ -1240,7 +1251,7 @@ export declare type CreateRouteInput = {
1240
1251
  departure_time?: Maybe<Scalars["DateTime"]>;
1241
1252
  /** [BETA] Optional list of route features to avoid in a route. This is a best-effort preference; depending on the available routes, some features may not be fully avoidable. */
1242
1253
  avoid?: Maybe<Array<RouteAvoid>>;
1243
- /** Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to real-time weather data. */
1254
+ /** Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to use real weather data based on the route's `departure_time`. */
1244
1255
  weather?: Maybe<RouteWeatherInput>;
1245
1256
  /** Charging stations preferences for route calculation. */
1246
1257
  station_preferences?: Maybe<RouteStationPreferencesInput>;
@@ -2160,8 +2171,10 @@ export declare type Mutation = {
2160
2171
  updateNavigation?: Maybe<Scalars["Boolean"]>;
2161
2172
  /** [BETA] Recalculate the current navigation route */
2162
2173
  recalculateNavigation?: Maybe<Scalars["Boolean"]>;
2163
- /** [BETA] End a navigation session */
2174
+ /** [BETA] End a navigation session. */
2164
2175
  finishNavigation?: Maybe<Scalars["Boolean"]>;
2176
+ /** [BETA] Advances the active navigation session to the next route leg. */
2177
+ advanceNavigationLeg?: Maybe<Scalars["Boolean"]>;
2165
2178
  /**
2166
2179
  * Add a new review.
2167
2180
  * 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
@@ -2212,6 +2225,9 @@ export declare type MutationrecalculateNavigationArgs = {
2212
2225
  export declare type MutationfinishNavigationArgs = {
2213
2226
  input: NavigationFinishInput;
2214
2227
  };
2228
+ export declare type MutationadvanceNavigationLegArgs = {
2229
+ input: AdvanceNavigationLegInput;
2230
+ };
2215
2231
  export declare type MutationaddReviewArgs = {
2216
2232
  review: ReviewAdd;
2217
2233
  };
@@ -2235,7 +2251,7 @@ export declare type Navigation = {
2235
2251
  overview: NavigationOverview;
2236
2252
  /** The status of the navigation session vehicle. The status can be driving, charging or parked. */
2237
2253
  vehicle_status: NavigationVehicleStatus;
2238
- /** The status of a navigation session. The status can be active, finished or error. */
2254
+ /** The status of a navigation session. The status can be active or finished. */
2239
2255
  status: NavigationStatus;
2240
2256
  /** Navigation meta information. */
2241
2257
  meta?: Maybe<NavigationMeta>;
@@ -2274,7 +2290,9 @@ export declare enum NavigationChangeType {
2274
2290
  /** The route has been modified or recalculated. */
2275
2291
  ROUTE_UPDATED = "route_updated",
2276
2292
  /** Next station availability has changed. */
2277
- NEXT_STATION_AVAILABILITY_UPDATED = "next_station_availability_updated"
2293
+ NEXT_STATION_AVAILABILITY_UPDATED = "next_station_availability_updated",
2294
+ /** Explicit recalculation/reroute failed. The previous route geometry was kept. */
2295
+ ROUTE_UPDATE_FAILED = "route_update_failed"
2278
2296
  }
2279
2297
  /** Input for the navigation finish. */
2280
2298
  export declare type NavigationFinishInput = {
@@ -2335,6 +2353,8 @@ export declare type NavigationOverview = {
2335
2353
  state_of_charge: Scalars["Float"];
2336
2354
  /** Last known location. */
2337
2355
  last_known_location: Point;
2356
+ /** Index of the current active route leg. */
2357
+ current_leg: Scalars["Int"];
2338
2358
  /** Next stop details. Can be a charging or a location stop. */
2339
2359
  next_stop: NavigationStop;
2340
2360
  /** Continuously updated route legs. */
@@ -2472,8 +2492,10 @@ export declare type NavigationRouteVehicle = {
2472
2492
  };
2473
2493
  /** Input for the navigation start. */
2474
2494
  export declare type NavigationStartInput = {
2475
- /** ID of the route of the navigation session. */
2495
+ /** ID of the route request. */
2476
2496
  route_id: Scalars["ID"];
2497
+ /** ID of the route. */
2498
+ route_details_id: Scalars["ID"];
2477
2499
  /** Current coordinates. */
2478
2500
  current_location: PointInput;
2479
2501
  };
@@ -2498,9 +2520,7 @@ export declare enum NavigationStatus {
2498
2520
  /** Navigation session is live and currently tracking. */
2499
2521
  ACTIVE = "active",
2500
2522
  /** Navigation session is completed (either manually or automatically 48 hours after the last update). */
2501
- FINISHED = "finished",
2502
- /** Failed to update navigation session due to route error or not found. */
2503
- ERROR = "error"
2523
+ FINISHED = "finished"
2504
2524
  }
2505
2525
  /** Next stop details. Can be a charging or a location stop. */
2506
2526
  export declare type NavigationStop = {
@@ -2525,12 +2545,14 @@ export declare type NavigationSubscription = {
2525
2545
  id: Scalars["ID"];
2526
2546
  /** The status of the navigation session vehicle. The status can be driving, charging or parked. */
2527
2547
  vehicle_status: NavigationVehicleStatus;
2528
- /** The status of the navigation session. The status can be active, finished or error. */
2548
+ /** The status of the navigation session. The status can be active or finished. */
2529
2549
  status: NavigationStatus;
2530
2550
  /** Navigation meta information. */
2531
2551
  meta?: Maybe<NavigationMeta>;
2532
2552
  /** Information about the latest completed change. */
2533
2553
  last_change: NavigationChange;
2554
+ /** Index of the current active route leg. */
2555
+ current_leg: Scalars["Int"];
2534
2556
  };
2535
2557
  /** Input for the navigation update. */
2536
2558
  export declare type NavigationUpdateInput = {
@@ -2543,8 +2565,6 @@ export declare type NavigationUpdateInput = {
2543
2565
  export declare type NavigationUpdateLocationsInput = {
2544
2566
  /** Location coordinates [longitude, latitude]. */
2545
2567
  coordinates: Array<Scalars["Float"]>;
2546
- /** Current route leg index corresponding to a location. */
2547
- route_leg: Scalars["Int"];
2548
2568
  /** UNIX timestamp at location, in seconds. */
2549
2569
  timestamp: Scalars["Int"];
2550
2570
  /** Telemetry data input. */
@@ -5869,7 +5889,7 @@ export declare type RouteVehicleBattery = {
5869
5889
  current?: Maybe<Scalars["Float"]>;
5870
5890
  /** Battery voltage in volts. */
5871
5891
  voltage?: Maybe<Scalars["Float"]>;
5872
- /** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
5892
+ /** Value of the positive or negative power, in kW. When negative, the vehicle is charging. */
5873
5893
  power?: Maybe<Scalars["Float"]>;
5874
5894
  /** Flag indicating if the vehicle is charging. */
5875
5895
  is_charging?: Maybe<Scalars["Boolean"]>;
@@ -5888,7 +5908,7 @@ export declare type RouteVehicleBatteryInput = {
5888
5908
  current?: Maybe<Scalars["Float"]>;
5889
5909
  /** Battery voltage in volts. */
5890
5910
  voltage?: Maybe<Scalars["Float"]>;
5891
- /** Value of the positive or negative power, in kWh. When negative, the vehicle is charging. */
5911
+ /** Value of the positive or negative power, in kW. When negative, the vehicle is charging. */
5892
5912
  power?: Maybe<Scalars["Float"]>;
5893
5913
  /** Flag indicating if the vehicle is charging. */
5894
5914
  is_charging?: Maybe<Scalars["Boolean"]>;
@@ -5908,7 +5928,7 @@ export declare type RouteVehicleCabinInput = {
5908
5928
  export declare type RouteVehicleCharging = {
5909
5929
  /** Mode that indicates if the charging time is optimized or if always charged to the maximum state of charge. */
5910
5930
  mode: ChargeMode;
5911
- /** Minimum desired power of chargers, in kWh. */
5931
+ /** Minimum desired power of chargers, in kW. */
5912
5932
  minimum_power: Scalars["Float"];
5913
5933
  /** Minimum remaining state of charge at charging stops, expressed as a percentage. The value must be between 0 and 60. If not provided, the project configuration value is used. */
5914
5934
  risk_margin: Scalars["Int"];
@@ -7153,18 +7173,18 @@ export declare type VehicleBodyWeightmaximalArgs = {
7153
7173
  export declare type VehicleConnector = {
7154
7174
  /** Connector type, known as connector standard in OCPI. */
7155
7175
  standard: ConnectorType;
7156
- /** Usable electric power. */
7176
+ /** Average charging power. For fast charging connectors, represents the average power from 10% to 80% state of charge. For slow charging connectors, value is identical to `max_electric_power`. */
7157
7177
  power: Scalars["Float"];
7158
- /** Maximum electric power. */
7178
+ /** Peak charging power. For slow charging connectors, value is identical to `power`. */
7159
7179
  max_electric_power: Scalars["Float"];
7160
- /** Time it takes to charge from 10 to 80% with a fast charger, shown in minutes. */
7180
+ /** Time needed to charge, in minutes. For fast charging connectors, represents time from 10% to 80% state of charge. For slow charging connectors, represents time from 0% to 100%. */
7161
7181
  time: Scalars["Int"];
7162
7182
  /**
7163
7183
  * Charging speed.
7164
7184
  * @deprecated In favor of `charge_speed`.
7165
7185
  */
7166
7186
  speed: Scalars["Float"];
7167
- /** Charging speed. */
7187
+ /** Average charging speed. For fast charging connectors, represents average rate from 10% to 80% state of charge. For slow charging connectors, represents average rate from 0% to 100%. */
7168
7188
  charge_speed: Scalars["Float"];
7169
7189
  };
7170
7190
  /** Vehicle plug model. */
@@ -8079,9 +8099,9 @@ export declare type VehiclePremiumPrice = {
8079
8099
  GB?: Maybe<VehiclePremiumPriceValueWithGrant>;
8080
8100
  };
8081
8101
  export declare type VehiclePremiumPriceValueWithGrant = {
8082
- /** Starting price for local market expressed in the currency in the field currency. */
8102
+ /** Starting price for the local market. The value applies to the optional `country` field provided in the query input. If `country` is not specified, it defaults to the Dutch market price. If the unit argument is not provided, the value is returned in the local currency of the selected country. */
8083
8103
  value?: Maybe<Scalars["Float"]>;
8084
- /** Currency in which the value without optional field conversion is expressed. */
8104
+ /** Currency in which the prices of `grant_applied`, `price_delivery` and `price_first_registration_fee` fields are expressed. The value applies to the optional `country` field provided in the query input. If `country` is not specified, defaults to Euro (EUR). */
8085
8105
  currency?: Maybe<CurrencyUnit>;
8086
8106
  /** Indicates if the starting price is based on an estimate. */
8087
8107
  is_estimated?: Maybe<Scalars["Boolean"]>;
@@ -318,6 +318,71 @@
318
318
  ],
319
319
  "possibleTypes": null
320
320
  },
321
+ {
322
+ "kind": "INPUT_OBJECT",
323
+ "name": "AdvanceNavigationLegInput",
324
+ "description": "Input fields to continue the navigation session to the next leg.",
325
+ "fields": null,
326
+ "inputFields": [
327
+ {
328
+ "name": "id",
329
+ "description": "The unique identifier of the active navigation session.",
330
+ "type": {
331
+ "kind": "NON_NULL",
332
+ "name": null,
333
+ "ofType": {
334
+ "kind": "SCALAR",
335
+ "name": "ID",
336
+ "ofType": null
337
+ }
338
+ },
339
+ "defaultValue": null,
340
+ "isDeprecated": false,
341
+ "deprecationReason": null
342
+ },
343
+ {
344
+ "name": "state_of_charge",
345
+ "description": "State of charge (SOC) of the vehicle at the current location. If the current leg ends at a charging stop and this value is omitted, the navigation will assume the vehicle charges to its estimated optimal SOC. If the current leg ends at a non-charging via point and this value is omitted, the last known vehicle SOC is retained.",
346
+ "type": {
347
+ "kind": "INPUT_OBJECT",
348
+ "name": "StateOfChargeInput",
349
+ "ofType": null
350
+ },
351
+ "defaultValue": null,
352
+ "isDeprecated": false,
353
+ "deprecationReason": null
354
+ },
355
+ {
356
+ "name": "current_location",
357
+ "description": "Geographic coordinates of the vehicle's current location.",
358
+ "type": {
359
+ "kind": "NON_NULL",
360
+ "name": null,
361
+ "ofType": {
362
+ "kind": "INPUT_OBJECT",
363
+ "name": "PointInput",
364
+ "ofType": null
365
+ }
366
+ },
367
+ "defaultValue": null,
368
+ "isDeprecated": false,
369
+ "deprecationReason": null
370
+ }
371
+ ],
372
+ "interfaces": null,
373
+ "enumValues": null,
374
+ "possibleTypes": null
375
+ },
376
+ {
377
+ "kind": "SCALAR",
378
+ "name": "ID",
379
+ "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.",
380
+ "fields": null,
381
+ "inputFields": null,
382
+ "interfaces": null,
383
+ "enumValues": null,
384
+ "possibleTypes": null
385
+ },
321
386
  {
322
387
  "kind": "OBJECT",
323
388
  "name": "AirPressure",
@@ -896,16 +961,6 @@
896
961
  "enumValues": null,
897
962
  "possibleTypes": null
898
963
  },
899
- {
900
- "kind": "SCALAR",
901
- "name": "ID",
902
- "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.",
903
- "fields": null,
904
- "inputFields": null,
905
- "interfaces": null,
906
- "enumValues": null,
907
- "possibleTypes": null
908
- },
909
964
  {
910
965
  "kind": "SCALAR",
911
966
  "name": "Int",
@@ -1791,19 +1846,25 @@
1791
1846
  "enumValues": [
1792
1847
  {
1793
1848
  "name": "kilowatt_hour",
1794
- "description": "Return the charge speed in kilowatt hours.",
1849
+ "description": "Charge speed in kilowatt hours.",
1795
1850
  "isDeprecated": false,
1796
1851
  "deprecationReason": null
1797
1852
  },
1798
1853
  {
1799
1854
  "name": "kilometers_per_hour",
1800
- "description": "Return the charge speed in kilometers per hour.",
1855
+ "description": "Charge speed in kilometers per hour.",
1801
1856
  "isDeprecated": false,
1802
1857
  "deprecationReason": null
1803
1858
  },
1804
1859
  {
1805
1860
  "name": "miles_per_hour",
1806
- "description": "Return the charge speed in miles per hour.",
1861
+ "description": "Charge speed in miles per hour.",
1862
+ "isDeprecated": false,
1863
+ "deprecationReason": null
1864
+ },
1865
+ {
1866
+ "name": "kilowatt",
1867
+ "description": "Charge speed in kilowatts.",
1807
1868
  "isDeprecated": false,
1808
1869
  "deprecationReason": null
1809
1870
  }
@@ -6332,7 +6393,7 @@
6332
6393
  },
6333
6394
  {
6334
6395
  "name": "weather",
6335
- "description": "Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to real-time weather data.",
6396
+ "description": "Weather configuration for the route. Defined by a preset or custom weather conditions. If not specified, defaults to use real weather data based on the route's `departure_time`.",
6336
6397
  "type": {
6337
6398
  "kind": "INPUT_OBJECT",
6338
6399
  "name": "RouteWeatherInput",
@@ -6350,7 +6411,7 @@
6350
6411
  "name": "RouteStationPreferencesInput",
6351
6412
  "ofType": null
6352
6413
  },
6353
- "defaultValue": null,
6414
+ "defaultValue": "{prefer_highway_charging: false}",
6354
6415
  "isDeprecated": false,
6355
6416
  "deprecationReason": null
6356
6417
  },
@@ -6374,7 +6435,7 @@
6374
6435
  "name": "Boolean",
6375
6436
  "ofType": null
6376
6437
  },
6377
- "defaultValue": null,
6438
+ "defaultValue": "false",
6378
6439
  "isDeprecated": false,
6379
6440
  "deprecationReason": null
6380
6441
  }
@@ -6636,7 +6697,7 @@
6636
6697
  "name": "RouteWeatherInput",
6637
6698
  "ofType": null
6638
6699
  },
6639
- "defaultValue": null,
6700
+ "defaultValue": "{type: actual}",
6640
6701
  "isDeprecated": false,
6641
6702
  "deprecationReason": null
6642
6703
  },
@@ -11765,7 +11826,7 @@
11765
11826
  },
11766
11827
  {
11767
11828
  "name": "finishNavigation",
11768
- "description": "[BETA] End a navigation session",
11829
+ "description": "[BETA] End a navigation session.",
11769
11830
  "args": [
11770
11831
  {
11771
11832
  "name": "input",
@@ -11792,6 +11853,35 @@
11792
11853
  "isDeprecated": false,
11793
11854
  "deprecationReason": null
11794
11855
  },
11856
+ {
11857
+ "name": "advanceNavigationLeg",
11858
+ "description": "[BETA] Advances the active navigation session to the next route leg.",
11859
+ "args": [
11860
+ {
11861
+ "name": "input",
11862
+ "description": "Continue input",
11863
+ "type": {
11864
+ "kind": "NON_NULL",
11865
+ "name": null,
11866
+ "ofType": {
11867
+ "kind": "INPUT_OBJECT",
11868
+ "name": "AdvanceNavigationLegInput",
11869
+ "ofType": null
11870
+ }
11871
+ },
11872
+ "defaultValue": null,
11873
+ "isDeprecated": false,
11874
+ "deprecationReason": null
11875
+ }
11876
+ ],
11877
+ "type": {
11878
+ "kind": "SCALAR",
11879
+ "name": "Boolean",
11880
+ "ofType": null
11881
+ },
11882
+ "isDeprecated": false,
11883
+ "deprecationReason": null
11884
+ },
11795
11885
  {
11796
11886
  "name": "addReview",
11797
11887
  "description": "Add a new review.\nIf the `x-token` header is send for a valid user, the review will belong to it, otherwise will be added for an anonymouse user",
@@ -12010,7 +12100,7 @@
12010
12100
  },
12011
12101
  {
12012
12102
  "name": "status",
12013
- "description": "The status of a navigation session. The status can be active, finished or error.",
12103
+ "description": "The status of a navigation session. The status can be active or finished.",
12014
12104
  "args": [],
12015
12105
  "type": {
12016
12106
  "kind": "NON_NULL",
@@ -12232,6 +12322,12 @@
12232
12322
  "description": "Next station availability has changed.",
12233
12323
  "isDeprecated": false,
12234
12324
  "deprecationReason": null
12325
+ },
12326
+ {
12327
+ "name": "route_update_failed",
12328
+ "description": "Explicit recalculation/reroute failed. The previous route geometry was kept. ",
12329
+ "isDeprecated": false,
12330
+ "deprecationReason": null
12235
12331
  }
12236
12332
  ],
12237
12333
  "possibleTypes": null
@@ -12647,6 +12743,22 @@
12647
12743
  "isDeprecated": false,
12648
12744
  "deprecationReason": null
12649
12745
  },
12746
+ {
12747
+ "name": "current_leg",
12748
+ "description": "Index of the current active route leg.",
12749
+ "args": [],
12750
+ "type": {
12751
+ "kind": "NON_NULL",
12752
+ "name": null,
12753
+ "ofType": {
12754
+ "kind": "SCALAR",
12755
+ "name": "Int",
12756
+ "ofType": null
12757
+ }
12758
+ },
12759
+ "isDeprecated": false,
12760
+ "deprecationReason": null
12761
+ },
12650
12762
  {
12651
12763
  "name": "next_stop",
12652
12764
  "description": "Next stop details. Can be a charging or a location stop.",
@@ -13489,7 +13601,23 @@
13489
13601
  "inputFields": [
13490
13602
  {
13491
13603
  "name": "route_id",
13492
- "description": "ID of the route of the navigation session.",
13604
+ "description": "ID of the route request.",
13605
+ "type": {
13606
+ "kind": "NON_NULL",
13607
+ "name": null,
13608
+ "ofType": {
13609
+ "kind": "SCALAR",
13610
+ "name": "ID",
13611
+ "ofType": null
13612
+ }
13613
+ },
13614
+ "defaultValue": null,
13615
+ "isDeprecated": false,
13616
+ "deprecationReason": null
13617
+ },
13618
+ {
13619
+ "name": "route_details_id",
13620
+ "description": "ID of the route.",
13493
13621
  "type": {
13494
13622
  "kind": "NON_NULL",
13495
13623
  "name": null,
@@ -13633,12 +13761,6 @@
13633
13761
  "description": "Navigation session is completed (either manually or automatically 48 hours after the last update).",
13634
13762
  "isDeprecated": false,
13635
13763
  "deprecationReason": null
13636
- },
13637
- {
13638
- "name": "error",
13639
- "description": "Failed to update navigation session due to route error or not found.",
13640
- "isDeprecated": false,
13641
- "deprecationReason": null
13642
13764
  }
13643
13765
  ],
13644
13766
  "possibleTypes": null
@@ -13786,7 +13908,7 @@
13786
13908
  },
13787
13909
  {
13788
13910
  "name": "status",
13789
- "description": "The status of the navigation session. The status can be active, finished or error.",
13911
+ "description": "The status of the navigation session. The status can be active or finished.",
13790
13912
  "args": [],
13791
13913
  "type": {
13792
13914
  "kind": "NON_NULL",
@@ -13827,6 +13949,22 @@
13827
13949
  },
13828
13950
  "isDeprecated": false,
13829
13951
  "deprecationReason": null
13952
+ },
13953
+ {
13954
+ "name": "current_leg",
13955
+ "description": "Index of the current active route leg.",
13956
+ "args": [],
13957
+ "type": {
13958
+ "kind": "NON_NULL",
13959
+ "name": null,
13960
+ "ofType": {
13961
+ "kind": "SCALAR",
13962
+ "name": "Int",
13963
+ "ofType": null
13964
+ }
13965
+ },
13966
+ "isDeprecated": false,
13967
+ "deprecationReason": null
13830
13968
  }
13831
13969
  ],
13832
13970
  "inputFields": null,
@@ -13915,22 +14053,6 @@
13915
14053
  "isDeprecated": false,
13916
14054
  "deprecationReason": null
13917
14055
  },
13918
- {
13919
- "name": "route_leg",
13920
- "description": "Current route leg index corresponding to a location.",
13921
- "type": {
13922
- "kind": "NON_NULL",
13923
- "name": null,
13924
- "ofType": {
13925
- "kind": "SCALAR",
13926
- "name": "Int",
13927
- "ofType": null
13928
- }
13929
- },
13930
- "defaultValue": null,
13931
- "isDeprecated": false,
13932
- "deprecationReason": null
13933
- },
13934
14056
  {
13935
14057
  "name": "timestamp",
13936
14058
  "description": "UNIX timestamp at location, in seconds.",
@@ -33064,7 +33186,7 @@
33064
33186
  },
33065
33187
  {
33066
33188
  "name": "power",
33067
- "description": "Value of the positive or negative power, in kWh. When negative, the vehicle is charging.",
33189
+ "description": "Value of the positive or negative power, in kW. When negative, the vehicle is charging.",
33068
33190
  "args": [],
33069
33191
  "type": {
33070
33192
  "kind": "SCALAR",
@@ -33172,7 +33294,7 @@
33172
33294
  },
33173
33295
  {
33174
33296
  "name": "power",
33175
- "description": "Value of the positive or negative power, in kWh. When negative, the vehicle is charging.",
33297
+ "description": "Value of the positive or negative power, in kW. When negative, the vehicle is charging.",
33176
33298
  "type": {
33177
33299
  "kind": "SCALAR",
33178
33300
  "name": "Float",
@@ -33300,7 +33422,7 @@
33300
33422
  },
33301
33423
  {
33302
33424
  "name": "minimum_power",
33303
- "description": "Minimum desired power of chargers, in kWh.",
33425
+ "description": "Minimum desired power of chargers, in kW.",
33304
33426
  "args": [],
33305
33427
  "type": {
33306
33428
  "kind": "NON_NULL",
@@ -40581,7 +40703,7 @@
40581
40703
  },
40582
40704
  {
40583
40705
  "name": "power",
40584
- "description": "Usable electric power.",
40706
+ "description": "Average charging power. For fast charging connectors, represents the average power from 10% to 80% state of charge. For slow charging connectors, value is identical to `max_electric_power`.",
40585
40707
  "args": [
40586
40708
  {
40587
40709
  "name": "unit",
@@ -40610,7 +40732,7 @@
40610
40732
  },
40611
40733
  {
40612
40734
  "name": "max_electric_power",
40613
- "description": "Maximum electric power.",
40735
+ "description": "Peak charging power. For slow charging connectors, value is identical to `power`.",
40614
40736
  "args": [
40615
40737
  {
40616
40738
  "name": "unit",
@@ -40639,7 +40761,7 @@
40639
40761
  },
40640
40762
  {
40641
40763
  "name": "time",
40642
- "description": "Time it takes to charge from 10 to 80% with a fast charger, shown in minutes.",
40764
+ "description": "Time needed to charge, in minutes. For fast charging connectors, represents time from 10% to 80% state of charge. For slow charging connectors, represents time from 0% to 100%.",
40643
40765
  "args": [],
40644
40766
  "type": {
40645
40767
  "kind": "NON_NULL",
@@ -40684,7 +40806,7 @@
40684
40806
  },
40685
40807
  {
40686
40808
  "name": "charge_speed",
40687
- "description": "Charging speed.",
40809
+ "description": "Average charging speed. For fast charging connectors, represents average rate from 10% to 80% state of charge. For slow charging connectors, represents average rate from 0% to 100%.",
40688
40810
  "args": [
40689
40811
  {
40690
40812
  "name": "unit",
@@ -45964,7 +46086,7 @@
45964
46086
  "fields": [
45965
46087
  {
45966
46088
  "name": "value",
45967
- "description": "Starting price for local market expressed in the currency in the field currency.",
46089
+ "description": "Starting price for the local market. The value applies to the optional `country` field provided in the query input. If `country` is not specified, it defaults to the Dutch market price. If the unit argument is not provided, the value is returned in the local currency of the selected country.",
45968
46090
  "args": [
45969
46091
  {
45970
46092
  "name": "unit",
@@ -45989,7 +46111,7 @@
45989
46111
  },
45990
46112
  {
45991
46113
  "name": "currency",
45992
- "description": "Currency in which the value without optional field conversion is expressed.",
46114
+ "description": "Currency in which the prices of `grant_applied`, `price_delivery` and `price_first_registration_fee` fields are expressed. The value applies to the optional `country` field provided in the query input. If `country` is not specified, defaults to Euro (EUR).",
45993
46115
  "args": [],
45994
46116
  "type": {
45995
46117
  "kind": "ENUM",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chargetrip/types",
3
- "version": "1.65.0",
3
+ "version": "1.67.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "chargetrip",