@chargetrip/types 1.72.0 → 1.74.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.
@@ -2929,19 +2929,19 @@ export declare type NavigationOverviewpolylineArgs = {
2929
2929
  decimals?: Maybe<PolylineInputDecimals>;
2930
2930
  };
2931
2931
  export declare type NavigationPropertiesStation = {
2932
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
2932
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
2933
2933
  station_id?: Maybe<Scalars["ID"]>;
2934
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
2934
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
2935
2935
  external_station_id?: Maybe<Scalars["ID"]>;
2936
- /** Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode. */
2936
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
2937
2937
  stop_duration?: Maybe<Scalars["Int"]>;
2938
2938
  };
2939
2939
  export declare type NavigationPropertiesStationInput = {
2940
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
2940
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
2941
2941
  station_id?: Maybe<Scalars["ID"]>;
2942
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
2942
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
2943
2943
  external_station_id?: Maybe<Scalars["ID"]>;
2944
- /** Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode. */
2944
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
2945
2945
  stop_duration?: Maybe<Scalars["Int"]>;
2946
2946
  };
2947
2947
  export declare type NavigationPropertiesVehicle = {
@@ -3136,7 +3136,7 @@ export declare type NavigationViaFeaturePoint = {
3136
3136
  type: FeatureType;
3137
3137
  /** Geometry of the feature. */
3138
3138
  geometry: Point;
3139
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
3139
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
3140
3140
  properties?: Maybe<NavigationViaProperties>;
3141
3141
  };
3142
3142
  export declare type NavigationViaFeaturePointInput = {
@@ -3146,7 +3146,7 @@ export declare type NavigationViaFeaturePointInput = {
3146
3146
  type: FeatureType;
3147
3147
  /** Geometry of the feature. */
3148
3148
  geometry: PointInput;
3149
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
3149
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
3150
3150
  properties?: Maybe<NavigationViaPropertiesInput>;
3151
3151
  };
3152
3152
  export declare type NavigationViaProperties = {
@@ -4907,17 +4907,17 @@ export declare type RouteDetailsLegTraffic = {
4907
4907
  };
4908
4908
  /** Type of a leg. */
4909
4909
  export declare enum RouteDetailsLegType {
4910
- /** This leg ends at a charging station and the vehicle must recharge. */
4910
+ /** Leg ending at a an automatically calculated charging station where the vehicle recharges. */
4911
4911
  STATION = "station",
4912
- /** This leg ends at a via charging station and the vehicle must recharge. */
4912
+ /** Leg ending at a user-defined via waypoint that is a charging station. */
4913
4913
  STATION_VIA = "station_via",
4914
- /** This leg ends at the destination which is a charging station, and is the last leg of the route. */
4914
+ /** Last leg of the route, ending at a destination that is a charging station. */
4915
4915
  STATION_FINAL = "station_final",
4916
4916
  /** This leg ends at a scheduled charging station and the vehicle must recharge. */
4917
4917
  STATION_AMENITY = "station_amenity",
4918
- /** This leg ends at a via location. */
4918
+ /** Leg ending at a user-defined via waypoint that is not a charging station. */
4919
4919
  VIA = "via",
4920
- /** This leg ends at the destination, and is the last leg of the route. */
4920
+ /** Last leg of the route, ending at a destination that is not a charging station. */
4921
4921
  FINAL = "final"
4922
4922
  }
4923
4923
  export declare type RouteDetailsLegWarning = {
@@ -4946,6 +4946,8 @@ export declare enum RouteDetailsLegWarningCode {
4946
4946
  STATION_CLOSING_SOON = "station_closing_soon",
4947
4947
  /** Specified stop duration at the via charging station is insufficient to start a charging session. */
4948
4948
  VIA_INSUFFICIENT_CHARGING_TIME = "via_insufficient_charging_time",
4949
+ /** The stop duration at the station was extended to meet the charging mode for this route. */
4950
+ VIA_CHARGING_DURATION_EXTENDED = "via_charging_duration_extended",
4949
4951
  /** Selected via station does not have compatible connectors that meet the minimum power threshold. The route still includes this charging stop, but charging will be slower than requested. */
4950
4952
  VIA_STATION_BELOW_MINIMUM_POWER = "via_station_below_minimum_power",
4951
4953
  /** Charging station at the destination does not have any connectors compatible with the selected vehicle. */
@@ -5938,19 +5940,19 @@ export declare type RoutePropertiesLocationInput = {
5938
5940
  name?: Maybe<Scalars["String"]>;
5939
5941
  };
5940
5942
  export declare type RoutePropertiesStation = {
5941
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
5943
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
5942
5944
  station_id?: Maybe<Scalars["ID"]>;
5943
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5945
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
5944
5946
  external_station_id?: Maybe<Scalars["ID"]>;
5945
- /** Duration to stay at the station, in seconds. */
5947
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
5946
5948
  stop_duration?: Maybe<Scalars["Int"]>;
5947
5949
  };
5948
5950
  export declare type RoutePropertiesStationInput = {
5949
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
5951
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
5950
5952
  station_id?: Maybe<Scalars["ID"]>;
5951
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
5953
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
5952
5954
  external_station_id?: Maybe<Scalars["ID"]>;
5953
- /** Duration to stay at the station, in seconds. */
5955
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
5954
5956
  stop_duration?: Maybe<Scalars["Int"]>;
5955
5957
  };
5956
5958
  export declare type RoutePropertiesVehicle = {
@@ -6289,7 +6291,7 @@ export declare type RouteTruckViaPropertiesInput = {
6289
6291
  location?: Maybe<RoutePropertiesViaLocationInput>;
6290
6292
  /** Vehicle configuration at this point. Properties defined here override previous settings and persist for all subsequent segments of the route until changed again. If not specified, the vehicle state from the previous point remains in effect. */
6291
6293
  vehicle?: Maybe<RouteTruckPropertiesVehicleInput>;
6292
- /** Station data of the via point. */
6294
+ /** Specifies a charging station at the via. If a known station is provided, it will be used as charging stop. Any configured operator preferences are ignored for this stop. */
6293
6295
  station?: Maybe<RoutePropertiesStationInput>;
6294
6296
  };
6295
6297
  export declare type RouteVehicle = {
@@ -6513,7 +6515,7 @@ export declare type RouteViaFeaturePoint = {
6513
6515
  type: FeatureType;
6514
6516
  /** Geometry of the feature. */
6515
6517
  geometry?: Maybe<Point>;
6516
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
6518
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
6517
6519
  properties?: Maybe<RouteViaProperties>;
6518
6520
  };
6519
6521
  export declare type RouteViaFeaturePointInput = {
@@ -6523,7 +6525,7 @@ export declare type RouteViaFeaturePointInput = {
6523
6525
  type: FeatureType;
6524
6526
  /** Geometry of the feature. */
6525
6527
  geometry?: Maybe<PointInput>;
6526
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
6528
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
6527
6529
  properties?: Maybe<RouteViaPropertiesInput>;
6528
6530
  };
6529
6531
  export declare type RouteViaProperties = {
@@ -16513,7 +16513,7 @@
16513
16513
  "fields": [
16514
16514
  {
16515
16515
  "name": "station_id",
16516
- "description": "ID of the station. When provided and valid, the coordinates of this station will be used.",
16516
+ "description": "ID of the station. If specified and valid, the station is used as a mandatory charging stop.",
16517
16517
  "args": [],
16518
16518
  "type": {
16519
16519
  "kind": "SCALAR",
@@ -16525,7 +16525,7 @@
16525
16525
  },
16526
16526
  {
16527
16527
  "name": "external_station_id",
16528
- "description": "External ID of the station. When provided and valid, the coordinates of this station will be used.",
16528
+ "description": "External ID of the station. If specified and valid, the station is used as a mandatory charging stop.",
16529
16529
  "args": [],
16530
16530
  "type": {
16531
16531
  "kind": "SCALAR",
@@ -16537,7 +16537,7 @@
16537
16537
  },
16538
16538
  {
16539
16539
  "name": "stop_duration",
16540
- "description": "Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode.",
16540
+ "description": "Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings.",
16541
16541
  "args": [],
16542
16542
  "type": {
16543
16543
  "kind": "SCALAR",
@@ -16561,7 +16561,7 @@
16561
16561
  "inputFields": [
16562
16562
  {
16563
16563
  "name": "station_id",
16564
- "description": "ID of the station. When provided and valid, the coordinates of this station will be used.",
16564
+ "description": "ID of the station. If specified and valid, the station is used as a mandatory charging stop.",
16565
16565
  "type": {
16566
16566
  "kind": "SCALAR",
16567
16567
  "name": "ID",
@@ -16573,7 +16573,7 @@
16573
16573
  },
16574
16574
  {
16575
16575
  "name": "external_station_id",
16576
- "description": "External ID of the station. When provided and valid, the coordinates of this station will be used.",
16576
+ "description": "External ID of the station. If specified and valid, the station is used as a mandatory charging stop.",
16577
16577
  "type": {
16578
16578
  "kind": "SCALAR",
16579
16579
  "name": "ID",
@@ -16585,7 +16585,7 @@
16585
16585
  },
16586
16586
  {
16587
16587
  "name": "stop_duration",
16588
- "description": "Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode.",
16588
+ "description": "Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings.",
16589
16589
  "type": {
16590
16590
  "kind": "SCALAR",
16591
16591
  "name": "Int",
@@ -17778,7 +17778,7 @@
17778
17778
  },
17779
17779
  {
17780
17780
  "name": "properties",
17781
- "description": "Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location.",
17781
+ "description": "Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`.",
17782
17782
  "args": [],
17783
17783
  "type": {
17784
17784
  "kind": "OBJECT",
@@ -17846,7 +17846,7 @@
17846
17846
  },
17847
17847
  {
17848
17848
  "name": "properties",
17849
- "description": "Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location.",
17849
+ "description": "Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`.",
17850
17850
  "type": {
17851
17851
  "kind": "INPUT_OBJECT",
17852
17852
  "name": "NavigationViaPropertiesInput",
@@ -27887,19 +27887,19 @@
27887
27887
  "enumValues": [
27888
27888
  {
27889
27889
  "name": "station",
27890
- "description": "This leg ends at a charging station and the vehicle must recharge.",
27890
+ "description": "Leg ending at a an automatically calculated charging station where the vehicle recharges.",
27891
27891
  "isDeprecated": false,
27892
27892
  "deprecationReason": null
27893
27893
  },
27894
27894
  {
27895
27895
  "name": "station_via",
27896
- "description": "This leg ends at a via charging station and the vehicle must recharge.",
27896
+ "description": "Leg ending at a user-defined via waypoint that is a charging station.",
27897
27897
  "isDeprecated": false,
27898
27898
  "deprecationReason": null
27899
27899
  },
27900
27900
  {
27901
27901
  "name": "station_final",
27902
- "description": "This leg ends at the destination which is a charging station, and is the last leg of the route.",
27902
+ "description": "Last leg of the route, ending at a destination that is a charging station.",
27903
27903
  "isDeprecated": false,
27904
27904
  "deprecationReason": null
27905
27905
  },
@@ -27911,13 +27911,13 @@
27911
27911
  },
27912
27912
  {
27913
27913
  "name": "via",
27914
- "description": "This leg ends at a via location.",
27914
+ "description": "Leg ending at a user-defined via waypoint that is not a charging station.",
27915
27915
  "isDeprecated": false,
27916
27916
  "deprecationReason": null
27917
27917
  },
27918
27918
  {
27919
27919
  "name": "final",
27920
- "description": "This leg ends at the destination, and is the last leg of the route.",
27920
+ "description": "Last leg of the route, ending at a destination that is not a charging station.",
27921
27921
  "isDeprecated": false,
27922
27922
  "deprecationReason": null
27923
27923
  }
@@ -28019,6 +28019,12 @@
28019
28019
  "isDeprecated": false,
28020
28020
  "deprecationReason": null
28021
28021
  },
28022
+ {
28023
+ "name": "via_charging_duration_extended",
28024
+ "description": "The stop duration at the station was extended to meet the charging mode for this route.",
28025
+ "isDeprecated": false,
28026
+ "deprecationReason": null
28027
+ },
28022
28028
  {
28023
28029
  "name": "via_station_below_minimum_power",
28024
28030
  "description": "Selected via station does not have compatible connectors that meet the minimum power threshold. The route still includes this charging stop, but charging will be slower than requested.",
@@ -33888,7 +33894,7 @@
33888
33894
  "fields": [
33889
33895
  {
33890
33896
  "name": "station_id",
33891
- "description": "ID of the station. When provided and valid, the coordinates of this station will be used.",
33897
+ "description": "ID of the station. If specified and valid, the station is used as a mandatory charging stop.",
33892
33898
  "args": [],
33893
33899
  "type": {
33894
33900
  "kind": "SCALAR",
@@ -33900,7 +33906,7 @@
33900
33906
  },
33901
33907
  {
33902
33908
  "name": "external_station_id",
33903
- "description": "External ID of the station. When provided and valid, the coordinates of this station will be used.",
33909
+ "description": "External ID of the station. If specified and valid, the station is used as a mandatory charging stop.",
33904
33910
  "args": [],
33905
33911
  "type": {
33906
33912
  "kind": "SCALAR",
@@ -33912,7 +33918,7 @@
33912
33918
  },
33913
33919
  {
33914
33920
  "name": "stop_duration",
33915
- "description": "Duration to stay at the station, in seconds.",
33921
+ "description": "Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings.",
33916
33922
  "args": [],
33917
33923
  "type": {
33918
33924
  "kind": "SCALAR",
@@ -33936,7 +33942,7 @@
33936
33942
  "inputFields": [
33937
33943
  {
33938
33944
  "name": "station_id",
33939
- "description": "ID of the station. When provided and valid, the coordinates of this station will be used.",
33945
+ "description": "ID of the station. If specified and valid, the station is used as a mandatory charging stop.",
33940
33946
  "type": {
33941
33947
  "kind": "SCALAR",
33942
33948
  "name": "ID",
@@ -33948,7 +33954,7 @@
33948
33954
  },
33949
33955
  {
33950
33956
  "name": "external_station_id",
33951
- "description": "External ID of the station. When provided and valid, the coordinates of this station will be used.",
33957
+ "description": "External ID of the station. If specified and valid, the station is used as a mandatory charging stop.",
33952
33958
  "type": {
33953
33959
  "kind": "SCALAR",
33954
33960
  "name": "ID",
@@ -33960,7 +33966,7 @@
33960
33966
  },
33961
33967
  {
33962
33968
  "name": "stop_duration",
33963
- "description": "Duration to stay at the station, in seconds.",
33969
+ "description": "Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings.",
33964
33970
  "type": {
33965
33971
  "kind": "SCALAR",
33966
33972
  "name": "Int",
@@ -36055,7 +36061,7 @@
36055
36061
  },
36056
36062
  {
36057
36063
  "name": "station",
36058
- "description": "Station data of the via point.",
36064
+ "description": "Specifies a charging station at the via. If a known station is provided, it will be used as charging stop. Any configured operator preferences are ignored for this stop.",
36059
36065
  "type": {
36060
36066
  "kind": "INPUT_OBJECT",
36061
36067
  "name": "RoutePropertiesStationInput",
@@ -37561,7 +37567,7 @@
37561
37567
  },
37562
37568
  {
37563
37569
  "name": "properties",
37564
- "description": "Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location.",
37570
+ "description": "Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`.",
37565
37571
  "args": [],
37566
37572
  "type": {
37567
37573
  "kind": "OBJECT",
@@ -37625,7 +37631,7 @@
37625
37631
  },
37626
37632
  {
37627
37633
  "name": "properties",
37628
- "description": "Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location.",
37634
+ "description": "Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`.",
37629
37635
  "type": {
37630
37636
  "kind": "INPUT_OBJECT",
37631
37637
  "name": "RouteViaPropertiesInput",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chargetrip/types",
3
- "version": "1.72.0",
3
+ "version": "1.74.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "chargetrip",
package/src/graphql.ts CHANGED
@@ -3176,20 +3176,20 @@ export type NavigationOverviewpolylineArgs = {
3176
3176
  };
3177
3177
 
3178
3178
  export type NavigationPropertiesStation = {
3179
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
3179
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
3180
3180
  station_id?: Maybe<Scalars["ID"]>;
3181
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
3181
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
3182
3182
  external_station_id?: Maybe<Scalars["ID"]>;
3183
- /** Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode. */
3183
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
3184
3184
  stop_duration?: Maybe<Scalars["Int"]>;
3185
3185
  };
3186
3186
 
3187
3187
  export type NavigationPropertiesStationInput = {
3188
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
3188
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
3189
3189
  station_id?: Maybe<Scalars["ID"]>;
3190
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
3190
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
3191
3191
  external_station_id?: Maybe<Scalars["ID"]>;
3192
- /** Duration to stay at the station, in seconds. Includes charging time and charging penalty. When not provided, the duration is optimized based on the vehicle’s charging needs and selected charging mode. */
3192
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
3193
3193
  stop_duration?: Maybe<Scalars["Int"]>;
3194
3194
  };
3195
3195
 
@@ -3406,7 +3406,7 @@ export type NavigationViaFeaturePoint = {
3406
3406
  type: FeatureType;
3407
3407
  /** Geometry of the feature. */
3408
3408
  geometry: Point;
3409
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
3409
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
3410
3410
  properties?: Maybe<NavigationViaProperties>;
3411
3411
  };
3412
3412
 
@@ -3417,7 +3417,7 @@ export type NavigationViaFeaturePointInput = {
3417
3417
  type: FeatureType;
3418
3418
  /** Geometry of the feature. */
3419
3419
  geometry: PointInput;
3420
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
3420
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
3421
3421
  properties?: Maybe<NavigationViaPropertiesInput>;
3422
3422
  };
3423
3423
 
@@ -5353,17 +5353,17 @@ export type RouteDetailsLegTraffic = {
5353
5353
 
5354
5354
  /** Type of a leg. */
5355
5355
  export enum RouteDetailsLegType {
5356
- /** This leg ends at a charging station and the vehicle must recharge. */
5356
+ /** Leg ending at a an automatically calculated charging station where the vehicle recharges. */
5357
5357
  STATION = "station",
5358
- /** This leg ends at a via charging station and the vehicle must recharge. */
5358
+ /** Leg ending at a user-defined via waypoint that is a charging station. */
5359
5359
  STATION_VIA = "station_via",
5360
- /** This leg ends at the destination which is a charging station, and is the last leg of the route. */
5360
+ /** Last leg of the route, ending at a destination that is a charging station. */
5361
5361
  STATION_FINAL = "station_final",
5362
5362
  /** This leg ends at a scheduled charging station and the vehicle must recharge. */
5363
5363
  STATION_AMENITY = "station_amenity",
5364
- /** This leg ends at a via location. */
5364
+ /** Leg ending at a user-defined via waypoint that is not a charging station. */
5365
5365
  VIA = "via",
5366
- /** This leg ends at the destination, and is the last leg of the route. */
5366
+ /** Last leg of the route, ending at a destination that is not a charging station. */
5367
5367
  FINAL = "final"
5368
5368
  }
5369
5369
 
@@ -5394,6 +5394,8 @@ export enum RouteDetailsLegWarningCode {
5394
5394
  STATION_CLOSING_SOON = "station_closing_soon",
5395
5395
  /** Specified stop duration at the via charging station is insufficient to start a charging session. */
5396
5396
  VIA_INSUFFICIENT_CHARGING_TIME = "via_insufficient_charging_time",
5397
+ /** The stop duration at the station was extended to meet the charging mode for this route. */
5398
+ VIA_CHARGING_DURATION_EXTENDED = "via_charging_duration_extended",
5397
5399
  /** Selected via station does not have compatible connectors that meet the minimum power threshold. The route still includes this charging stop, but charging will be slower than requested. */
5398
5400
  VIA_STATION_BELOW_MINIMUM_POWER = "via_station_below_minimum_power",
5399
5401
  /** Charging station at the destination does not have any connectors compatible with the selected vehicle. */
@@ -6508,20 +6510,20 @@ export type RoutePropertiesLocationInput = {
6508
6510
  };
6509
6511
 
6510
6512
  export type RoutePropertiesStation = {
6511
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
6513
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
6512
6514
  station_id?: Maybe<Scalars["ID"]>;
6513
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
6515
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
6514
6516
  external_station_id?: Maybe<Scalars["ID"]>;
6515
- /** Duration to stay at the station, in seconds. */
6517
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
6516
6518
  stop_duration?: Maybe<Scalars["Int"]>;
6517
6519
  };
6518
6520
 
6519
6521
  export type RoutePropertiesStationInput = {
6520
- /** ID of the station. When provided and valid, the coordinates of this station will be used. */
6522
+ /** ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
6521
6523
  station_id?: Maybe<Scalars["ID"]>;
6522
- /** External ID of the station. When provided and valid, the coordinates of this station will be used. */
6524
+ /** External ID of the station. If specified and valid, the station is used as a mandatory charging stop. */
6523
6525
  external_station_id?: Maybe<Scalars["ID"]>;
6524
- /** Duration to stay at the station, in seconds. */
6526
+ /** Minimum duration of the stop at the station, in seconds. This duration can be extended based on the chosen charging mode. Under `ALWAYS_TO_MAX_CHARGE`, the duration is extended until the defined maximum state of charge of the vehicle is achieved. Under `OPTIMIZE_TRAVEL_TIME`, the duration is extended only if a longer stay optimizes the overall travel time, otherwise, the vehicle charges only for the specified duration. If not specified, the duration is solely determined by the charging mode specified in `vehicle.charging.mode` or configured in the project settings. */
6525
6527
  stop_duration?: Maybe<Scalars["Int"]>;
6526
6528
  };
6527
6529
 
@@ -6899,7 +6901,7 @@ export type RouteTruckViaPropertiesInput = {
6899
6901
  location?: Maybe<RoutePropertiesViaLocationInput>;
6900
6902
  /** Vehicle configuration at this point. Properties defined here override previous settings and persist for all subsequent segments of the route until changed again. If not specified, the vehicle state from the previous point remains in effect. */
6901
6903
  vehicle?: Maybe<RouteTruckPropertiesVehicleInput>;
6902
- /** Station data of the via point. */
6904
+ /** Specifies a charging station at the via. If a known station is provided, it will be used as charging stop. Any configured operator preferences are ignored for this stop. */
6903
6905
  station?: Maybe<RoutePropertiesStationInput>;
6904
6906
  };
6905
6907
 
@@ -7144,7 +7146,7 @@ export type RouteViaFeaturePoint = {
7144
7146
  type: FeatureType;
7145
7147
  /** Geometry of the feature. */
7146
7148
  geometry?: Maybe<Point>;
7147
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
7149
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
7148
7150
  properties?: Maybe<RouteViaProperties>;
7149
7151
  };
7150
7152
 
@@ -7155,7 +7157,7 @@ export type RouteViaFeaturePointInput = {
7155
7157
  type: FeatureType;
7156
7158
  /** Geometry of the feature. */
7157
7159
  geometry?: Maybe<PointInput>;
7158
- /** Additional feature properties for via. If a `station.id` or `station.external_id` are provided, it will be treated as a charging stop. If omitted or `location.name` is provided, the stop is treated as a non-charging stop location. */
7160
+ /** Properties of the via point. Used to designate the via point as a charging stop, configure vehicle occupancy and cargo details, or set optional location parameters. If both `properties.station.id` and `properties.station.external_id` are omitted, the via point is treated as a non-charging stop at `geometry`. */
7159
7161
  properties?: Maybe<RouteViaPropertiesInput>;
7160
7162
  };
7161
7163