@chargetrip/types 1.55.0 → 1.57.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.
@@ -2066,26 +2066,6 @@ export declare type LineString = {
2066
2066
  export declare enum LineStringType {
2067
2067
  LINESTRING = "LineString"
2068
2068
  }
2069
- export declare type LiveRouteRequest = {
2070
- /** Vehicle used on a route. */
2071
- vehicle: RouteVehicle;
2072
- /** Origin of a route. */
2073
- origin: RouteOriginFeaturePoint;
2074
- /** Destination of a route. */
2075
- destination: RouteDestinationFeaturePoint;
2076
- /** Via points of a route. */
2077
- via?: Maybe<Array<NavigationViaFeaturePoint>>;
2078
- /** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
2079
- operators?: Maybe<RouteOperatorPreferences>;
2080
- /** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
2081
- alternative_station_radius?: Maybe<AlternativeStationRadius>;
2082
- /** [BETA] 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. */
2083
- avoid?: Maybe<Array<RouteAvoid>>;
2084
- /** [BETA] Configuration options for the route's driving conditions. Includes factors to adjust average speed, set a maximum speed, and define a base driving style. If not specified, no adjustments are applied. */
2085
- driving_preferences?: Maybe<RouteDrivingPreferences>;
2086
- /** Charging stations preferences for route calculation. */
2087
- station_preferences?: Maybe<RouteStationPreferences>;
2088
- };
2089
2069
  export declare type MaximumSpeed = {
2090
2070
  /** Numeric value of the user-defined maximum speed. */
2091
2071
  value: Scalars["Int"];
@@ -2243,7 +2223,7 @@ export declare enum NavigationChangeType {
2243
2223
  /** Next station availability has changed. */
2244
2224
  NEXT_STATION_AVAILABILITY_UPDATED = "next_station_availability_updated"
2245
2225
  }
2246
- /** Input for the navigation recalculate. */
2226
+ /** Input for the navigation finish. */
2247
2227
  export declare type NavigationFinishInput = {
2248
2228
  /** ID of the navigation session. */
2249
2229
  id: Scalars["ID"];
@@ -2269,6 +2249,26 @@ export declare type NavigationLegSection = {
2269
2249
  export declare type NavigationLegSectionpolylineArgs = {
2270
2250
  decimals?: Maybe<PolylineInputDecimals>;
2271
2251
  };
2252
+ export declare type NavigationLiveRouteRequest = {
2253
+ /** Vehicle used on a route. */
2254
+ vehicle: NavigationRouteVehicle;
2255
+ /** Origin of a route. */
2256
+ origin: RouteOriginFeaturePoint;
2257
+ /** Destination of a route. */
2258
+ destination: RouteDestinationFeaturePoint;
2259
+ /** Via points of a route. */
2260
+ via?: Maybe<Array<NavigationViaFeaturePoint>>;
2261
+ /** Operator preferences for a route. When provided, prefers routes that use higher order operators. */
2262
+ operators?: Maybe<RouteOperatorPreferences>;
2263
+ /** Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit. */
2264
+ alternative_station_radius?: Maybe<AlternativeStationRadius>;
2265
+ /** [BETA] 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. */
2266
+ avoid?: Maybe<Array<RouteAvoid>>;
2267
+ /** [BETA] Configuration options for the route's driving conditions. Includes factors to adjust average speed, set a maximum speed, and define a base driving style. If not specified, no adjustments are applied. */
2268
+ driving_preferences?: Maybe<RouteDrivingPreferences>;
2269
+ /** Charging stations preferences for route calculation. */
2270
+ station_preferences?: Maybe<RouteStationPreferences>;
2271
+ };
2272
2272
  /** Navigation meta information. */
2273
2273
  export declare type NavigationMeta = {
2274
2274
  /** Creation time of the navigation session. */
@@ -2291,9 +2291,11 @@ export declare type NavigationOverview = {
2291
2291
  /** Navigation route instructions. */
2292
2292
  instructions: Array<Maybe<RouteInstruction>>;
2293
2293
  /** Continuously updated route request input. */
2294
- live_route_request: LiveRouteRequest;
2294
+ live_route_request: NavigationLiveRouteRequest;
2295
2295
  /** Polyline containing encoded coordinates. */
2296
2296
  polyline: Scalars["String"];
2297
+ /** Telemetry data. */
2298
+ telemetry?: Maybe<Telemetry>;
2297
2299
  };
2298
2300
  /** Navigation session overview details. */
2299
2301
  export declare type NavigationOverviewstate_of_chargeArgs = {
@@ -2401,6 +2403,20 @@ export declare type NavigationRouteLegrange_at_destinationArgs = {
2401
2403
  export declare type NavigationRouteLegrange_after_chargeArgs = {
2402
2404
  unit?: Maybe<StateOfChargeUnit>;
2403
2405
  };
2406
+ export declare type NavigationRouteVehicle = {
2407
+ /** ID of the vehicle. */
2408
+ id: Scalars["ID"];
2409
+ /** EV battery specific configuration. */
2410
+ battery: RouteVehicleBattery;
2411
+ /** Charging configuration. */
2412
+ charging: RouteVehicleCharging;
2413
+ /** Flag indicating if climate control is on. */
2414
+ climate: Scalars["Boolean"];
2415
+ /** Vehicle Heat Pump configuration. */
2416
+ heat_pump: HeatPumpMode;
2417
+ /** Vehicle cabin configuration used for the route calculation. Applied only if vehicle.climate is set to true. */
2418
+ cabin: RouteVehicleCabin;
2419
+ };
2404
2420
  /** Input for the navigation start. */
2405
2421
  export declare type NavigationStartInput = {
2406
2422
  /** ID of the route of the navigation session. */
@@ -5845,6 +5861,10 @@ export declare enum RouteWarningCode {
5845
5861
  OPERATOR_PREFERENCES_NOT_FOUND = "operator_preferences_not_found",
5846
5862
  /** Traffic data for this route is not available. */
5847
5863
  TRAFFIC_DATA_NOT_AVAILABLE = "traffic_data_not_available",
5864
+ /** Not possible to fetch weather data for a departure time further than 4 days in the future. Current weather used as alternative. */
5865
+ WEATHER_FORECAST_NOT_AVAILABLE = "weather_forecast_not_available",
5866
+ /** Not possible to fetch weather data for a departure time longer than 2 years ago. Current weather used as an alternative. */
5867
+ WEATHER_HISTORY_NOT_AVAILABLE = "weather_history_not_available",
5848
5868
  /** One or more preferred, excluded, or avoided operators have no active stations available and were ignored. */
5849
5869
  OPERATORS_IGNORED = "operators_ignored"
5850
5870
  }
@@ -10984,153 +10984,6 @@
10984
10984
  ],
10985
10985
  "possibleTypes": null
10986
10986
  },
10987
- {
10988
- "kind": "OBJECT",
10989
- "name": "LiveRouteRequest",
10990
- "description": null,
10991
- "fields": [
10992
- {
10993
- "name": "vehicle",
10994
- "description": "Vehicle used on a route.",
10995
- "args": [],
10996
- "type": {
10997
- "kind": "NON_NULL",
10998
- "name": null,
10999
- "ofType": {
11000
- "kind": "OBJECT",
11001
- "name": "RouteVehicle",
11002
- "ofType": null
11003
- }
11004
- },
11005
- "isDeprecated": false,
11006
- "deprecationReason": null
11007
- },
11008
- {
11009
- "name": "origin",
11010
- "description": "Origin of a route.",
11011
- "args": [],
11012
- "type": {
11013
- "kind": "NON_NULL",
11014
- "name": null,
11015
- "ofType": {
11016
- "kind": "OBJECT",
11017
- "name": "RouteOriginFeaturePoint",
11018
- "ofType": null
11019
- }
11020
- },
11021
- "isDeprecated": false,
11022
- "deprecationReason": null
11023
- },
11024
- {
11025
- "name": "destination",
11026
- "description": "Destination of a route.",
11027
- "args": [],
11028
- "type": {
11029
- "kind": "NON_NULL",
11030
- "name": null,
11031
- "ofType": {
11032
- "kind": "OBJECT",
11033
- "name": "RouteDestinationFeaturePoint",
11034
- "ofType": null
11035
- }
11036
- },
11037
- "isDeprecated": false,
11038
- "deprecationReason": null
11039
- },
11040
- {
11041
- "name": "via",
11042
- "description": "Via points of a route.",
11043
- "args": [],
11044
- "type": {
11045
- "kind": "LIST",
11046
- "name": null,
11047
- "ofType": {
11048
- "kind": "NON_NULL",
11049
- "name": null,
11050
- "ofType": {
11051
- "kind": "OBJECT",
11052
- "name": "NavigationViaFeaturePoint",
11053
- "ofType": null
11054
- }
11055
- }
11056
- },
11057
- "isDeprecated": false,
11058
- "deprecationReason": null
11059
- },
11060
- {
11061
- "name": "operators",
11062
- "description": "Operator preferences for a route. When provided, prefers routes that use higher order operators.",
11063
- "args": [],
11064
- "type": {
11065
- "kind": "OBJECT",
11066
- "name": "RouteOperatorPreferences",
11067
- "ofType": null
11068
- },
11069
- "isDeprecated": false,
11070
- "deprecationReason": null
11071
- },
11072
- {
11073
- "name": "alternative_station_radius",
11074
- "description": "Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit.",
11075
- "args": [],
11076
- "type": {
11077
- "kind": "OBJECT",
11078
- "name": "AlternativeStationRadius",
11079
- "ofType": null
11080
- },
11081
- "isDeprecated": false,
11082
- "deprecationReason": null
11083
- },
11084
- {
11085
- "name": "avoid",
11086
- "description": "[BETA] 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.",
11087
- "args": [],
11088
- "type": {
11089
- "kind": "LIST",
11090
- "name": null,
11091
- "ofType": {
11092
- "kind": "NON_NULL",
11093
- "name": null,
11094
- "ofType": {
11095
- "kind": "ENUM",
11096
- "name": "RouteAvoid",
11097
- "ofType": null
11098
- }
11099
- }
11100
- },
11101
- "isDeprecated": false,
11102
- "deprecationReason": null
11103
- },
11104
- {
11105
- "name": "driving_preferences",
11106
- "description": "[BETA] Configuration options for the route's driving conditions. Includes factors to adjust average speed, set a maximum speed, and define a base driving style. If not specified, no adjustments are applied.",
11107
- "args": [],
11108
- "type": {
11109
- "kind": "OBJECT",
11110
- "name": "RouteDrivingPreferences",
11111
- "ofType": null
11112
- },
11113
- "isDeprecated": false,
11114
- "deprecationReason": null
11115
- },
11116
- {
11117
- "name": "station_preferences",
11118
- "description": "Charging stations preferences for route calculation.",
11119
- "args": [],
11120
- "type": {
11121
- "kind": "OBJECT",
11122
- "name": "RouteStationPreferences",
11123
- "ofType": null
11124
- },
11125
- "isDeprecated": false,
11126
- "deprecationReason": null
11127
- }
11128
- ],
11129
- "inputFields": null,
11130
- "interfaces": [],
11131
- "enumValues": null,
11132
- "possibleTypes": null
11133
- },
11134
10987
  {
11135
10988
  "kind": "OBJECT",
11136
10989
  "name": "MaximumSpeed",
@@ -11992,7 +11845,7 @@
11992
11845
  {
11993
11846
  "kind": "INPUT_OBJECT",
11994
11847
  "name": "NavigationFinishInput",
11995
- "description": "Input for the navigation recalculate.",
11848
+ "description": "Input for the navigation finish.",
11996
11849
  "fields": null,
11997
11850
  "inputFields": [
11998
11851
  {
@@ -12160,6 +12013,153 @@
12160
12013
  "enumValues": null,
12161
12014
  "possibleTypes": null
12162
12015
  },
12016
+ {
12017
+ "kind": "OBJECT",
12018
+ "name": "NavigationLiveRouteRequest",
12019
+ "description": null,
12020
+ "fields": [
12021
+ {
12022
+ "name": "vehicle",
12023
+ "description": "Vehicle used on a route.",
12024
+ "args": [],
12025
+ "type": {
12026
+ "kind": "NON_NULL",
12027
+ "name": null,
12028
+ "ofType": {
12029
+ "kind": "OBJECT",
12030
+ "name": "NavigationRouteVehicle",
12031
+ "ofType": null
12032
+ }
12033
+ },
12034
+ "isDeprecated": false,
12035
+ "deprecationReason": null
12036
+ },
12037
+ {
12038
+ "name": "origin",
12039
+ "description": "Origin of a route.",
12040
+ "args": [],
12041
+ "type": {
12042
+ "kind": "NON_NULL",
12043
+ "name": null,
12044
+ "ofType": {
12045
+ "kind": "OBJECT",
12046
+ "name": "RouteOriginFeaturePoint",
12047
+ "ofType": null
12048
+ }
12049
+ },
12050
+ "isDeprecated": false,
12051
+ "deprecationReason": null
12052
+ },
12053
+ {
12054
+ "name": "destination",
12055
+ "description": "Destination of a route.",
12056
+ "args": [],
12057
+ "type": {
12058
+ "kind": "NON_NULL",
12059
+ "name": null,
12060
+ "ofType": {
12061
+ "kind": "OBJECT",
12062
+ "name": "RouteDestinationFeaturePoint",
12063
+ "ofType": null
12064
+ }
12065
+ },
12066
+ "isDeprecated": false,
12067
+ "deprecationReason": null
12068
+ },
12069
+ {
12070
+ "name": "via",
12071
+ "description": "Via points of a route.",
12072
+ "args": [],
12073
+ "type": {
12074
+ "kind": "LIST",
12075
+ "name": null,
12076
+ "ofType": {
12077
+ "kind": "NON_NULL",
12078
+ "name": null,
12079
+ "ofType": {
12080
+ "kind": "OBJECT",
12081
+ "name": "NavigationViaFeaturePoint",
12082
+ "ofType": null
12083
+ }
12084
+ }
12085
+ },
12086
+ "isDeprecated": false,
12087
+ "deprecationReason": null
12088
+ },
12089
+ {
12090
+ "name": "operators",
12091
+ "description": "Operator preferences for a route. When provided, prefers routes that use higher order operators.",
12092
+ "args": [],
12093
+ "type": {
12094
+ "kind": "OBJECT",
12095
+ "name": "RouteOperatorPreferences",
12096
+ "ofType": null
12097
+ },
12098
+ "isDeprecated": false,
12099
+ "deprecationReason": null
12100
+ },
12101
+ {
12102
+ "name": "alternative_station_radius",
12103
+ "description": "Alternative stations along a route within a specified radius of 500 to 5000 meters, or the equivalent in another unit.",
12104
+ "args": [],
12105
+ "type": {
12106
+ "kind": "OBJECT",
12107
+ "name": "AlternativeStationRadius",
12108
+ "ofType": null
12109
+ },
12110
+ "isDeprecated": false,
12111
+ "deprecationReason": null
12112
+ },
12113
+ {
12114
+ "name": "avoid",
12115
+ "description": "[BETA] 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.",
12116
+ "args": [],
12117
+ "type": {
12118
+ "kind": "LIST",
12119
+ "name": null,
12120
+ "ofType": {
12121
+ "kind": "NON_NULL",
12122
+ "name": null,
12123
+ "ofType": {
12124
+ "kind": "ENUM",
12125
+ "name": "RouteAvoid",
12126
+ "ofType": null
12127
+ }
12128
+ }
12129
+ },
12130
+ "isDeprecated": false,
12131
+ "deprecationReason": null
12132
+ },
12133
+ {
12134
+ "name": "driving_preferences",
12135
+ "description": "[BETA] Configuration options for the route's driving conditions. Includes factors to adjust average speed, set a maximum speed, and define a base driving style. If not specified, no adjustments are applied.",
12136
+ "args": [],
12137
+ "type": {
12138
+ "kind": "OBJECT",
12139
+ "name": "RouteDrivingPreferences",
12140
+ "ofType": null
12141
+ },
12142
+ "isDeprecated": false,
12143
+ "deprecationReason": null
12144
+ },
12145
+ {
12146
+ "name": "station_preferences",
12147
+ "description": "Charging stations preferences for route calculation.",
12148
+ "args": [],
12149
+ "type": {
12150
+ "kind": "OBJECT",
12151
+ "name": "RouteStationPreferences",
12152
+ "ofType": null
12153
+ },
12154
+ "isDeprecated": false,
12155
+ "deprecationReason": null
12156
+ }
12157
+ ],
12158
+ "inputFields": null,
12159
+ "interfaces": [],
12160
+ "enumValues": null,
12161
+ "possibleTypes": null
12162
+ },
12163
12163
  {
12164
12164
  "kind": "OBJECT",
12165
12165
  "name": "NavigationMeta",
@@ -12334,7 +12334,7 @@
12334
12334
  "name": null,
12335
12335
  "ofType": {
12336
12336
  "kind": "OBJECT",
12337
- "name": "LiveRouteRequest",
12337
+ "name": "NavigationLiveRouteRequest",
12338
12338
  "ofType": null
12339
12339
  }
12340
12340
  },
@@ -12369,6 +12369,18 @@
12369
12369
  },
12370
12370
  "isDeprecated": false,
12371
12371
  "deprecationReason": null
12372
+ },
12373
+ {
12374
+ "name": "telemetry",
12375
+ "description": "Telemetry data.",
12376
+ "args": [],
12377
+ "type": {
12378
+ "kind": "OBJECT",
12379
+ "name": "Telemetry",
12380
+ "ofType": null
12381
+ },
12382
+ "isDeprecated": false,
12383
+ "deprecationReason": null
12372
12384
  }
12373
12385
  ],
12374
12386
  "inputFields": null,
@@ -12968,6 +12980,113 @@
12968
12980
  "enumValues": null,
12969
12981
  "possibleTypes": null
12970
12982
  },
12983
+ {
12984
+ "kind": "OBJECT",
12985
+ "name": "NavigationRouteVehicle",
12986
+ "description": null,
12987
+ "fields": [
12988
+ {
12989
+ "name": "id",
12990
+ "description": "ID of the vehicle.",
12991
+ "args": [],
12992
+ "type": {
12993
+ "kind": "NON_NULL",
12994
+ "name": null,
12995
+ "ofType": {
12996
+ "kind": "SCALAR",
12997
+ "name": "ID",
12998
+ "ofType": null
12999
+ }
13000
+ },
13001
+ "isDeprecated": false,
13002
+ "deprecationReason": null
13003
+ },
13004
+ {
13005
+ "name": "battery",
13006
+ "description": "EV battery specific configuration.",
13007
+ "args": [],
13008
+ "type": {
13009
+ "kind": "NON_NULL",
13010
+ "name": null,
13011
+ "ofType": {
13012
+ "kind": "OBJECT",
13013
+ "name": "RouteVehicleBattery",
13014
+ "ofType": null
13015
+ }
13016
+ },
13017
+ "isDeprecated": false,
13018
+ "deprecationReason": null
13019
+ },
13020
+ {
13021
+ "name": "charging",
13022
+ "description": "Charging configuration.",
13023
+ "args": [],
13024
+ "type": {
13025
+ "kind": "NON_NULL",
13026
+ "name": null,
13027
+ "ofType": {
13028
+ "kind": "OBJECT",
13029
+ "name": "RouteVehicleCharging",
13030
+ "ofType": null
13031
+ }
13032
+ },
13033
+ "isDeprecated": false,
13034
+ "deprecationReason": null
13035
+ },
13036
+ {
13037
+ "name": "climate",
13038
+ "description": "Flag indicating if climate control is on.",
13039
+ "args": [],
13040
+ "type": {
13041
+ "kind": "NON_NULL",
13042
+ "name": null,
13043
+ "ofType": {
13044
+ "kind": "SCALAR",
13045
+ "name": "Boolean",
13046
+ "ofType": null
13047
+ }
13048
+ },
13049
+ "isDeprecated": false,
13050
+ "deprecationReason": null
13051
+ },
13052
+ {
13053
+ "name": "heat_pump",
13054
+ "description": "Vehicle Heat Pump configuration.",
13055
+ "args": [],
13056
+ "type": {
13057
+ "kind": "NON_NULL",
13058
+ "name": null,
13059
+ "ofType": {
13060
+ "kind": "ENUM",
13061
+ "name": "HeatPumpMode",
13062
+ "ofType": null
13063
+ }
13064
+ },
13065
+ "isDeprecated": false,
13066
+ "deprecationReason": null
13067
+ },
13068
+ {
13069
+ "name": "cabin",
13070
+ "description": "Vehicle cabin configuration used for the route calculation. Applied only if vehicle.climate is set to true.",
13071
+ "args": [],
13072
+ "type": {
13073
+ "kind": "NON_NULL",
13074
+ "name": null,
13075
+ "ofType": {
13076
+ "kind": "OBJECT",
13077
+ "name": "RouteVehicleCabin",
13078
+ "ofType": null
13079
+ }
13080
+ },
13081
+ "isDeprecated": false,
13082
+ "deprecationReason": null
13083
+ }
13084
+ ],
13085
+ "inputFields": null,
13086
+ "interfaces": [],
13087
+ "enumValues": null,
13088
+ "possibleTypes": null
13089
+ },
12971
13090
  {
12972
13091
  "kind": "INPUT_OBJECT",
12973
13092
  "name": "NavigationStartInput",
@@ -32827,6 +32946,18 @@
32827
32946
  "isDeprecated": false,
32828
32947
  "deprecationReason": null
32829
32948
  },
32949
+ {
32950
+ "name": "weather_forecast_not_available",
32951
+ "description": "Not possible to fetch weather data for a departure time further than 4 days in the future. Current weather used as alternative.",
32952
+ "isDeprecated": false,
32953
+ "deprecationReason": null
32954
+ },
32955
+ {
32956
+ "name": "weather_history_not_available",
32957
+ "description": "Not possible to fetch weather data for a departure time longer than 2 years ago. Current weather used as an alternative.",
32958
+ "isDeprecated": false,
32959
+ "deprecationReason": null
32960
+ },
32830
32961
  {
32831
32962
  "name": "operators_ignored",
32832
32963
  "description": "One or more preferred, excluded, or avoided operators have no active stations available and were ignored.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chargetrip/types",
3
- "version": "1.55.0",
3
+ "version": "1.57.0",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "chargetrip",