@chargetrip/types 1.24.0 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +37 -2
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +37 -2
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +257 -40
- package/graphql.schema.json +1416 -96
- package/package.json +3 -3
- package/src/graphql.ts +318 -79
package/dist/ts/graphql.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export declare type Scalars = {
|
|
|
25
25
|
};
|
|
26
26
|
/** The File Upload scalar */
|
|
27
27
|
Upload: any;
|
|
28
|
+
/** Void custom scalar */
|
|
29
|
+
Void: any;
|
|
28
30
|
};
|
|
29
31
|
/** Information about an address */
|
|
30
32
|
export declare type Address = {
|
|
@@ -47,6 +49,19 @@ export declare type Address = {
|
|
|
47
49
|
/** Human-readable address of a location */
|
|
48
50
|
formattedAddress?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
49
51
|
};
|
|
52
|
+
/** Amenities available near a station */
|
|
53
|
+
export declare enum Amenities {
|
|
54
|
+
PARK = "park",
|
|
55
|
+
RESTAURANT = "restaurant",
|
|
56
|
+
MUSEUM = "museum",
|
|
57
|
+
COFFEE = "coffee",
|
|
58
|
+
HOTEL = "hotel",
|
|
59
|
+
SHOPPING = "shopping",
|
|
60
|
+
BATHROOM = "bathroom",
|
|
61
|
+
SUPERMARKET = "supermarket",
|
|
62
|
+
PLAYGROUND = "playground",
|
|
63
|
+
PHARMACY = "pharmacy"
|
|
64
|
+
}
|
|
50
65
|
/** The amenity model */
|
|
51
66
|
export declare type Amenity = {
|
|
52
67
|
/** Unique amenity ID */
|
|
@@ -146,7 +161,7 @@ export declare type Car = {
|
|
|
146
161
|
*/
|
|
147
162
|
chargetripRange?: Maybe<ChargetripRange>;
|
|
148
163
|
/**
|
|
149
|
-
* Cars that support fast charging have a minimum charging speed of 43
|
|
164
|
+
* Cars that support fast charging have a minimum charging speed of 43 kWh
|
|
150
165
|
* @deprecated In favor of routing.fast_charging_support
|
|
151
166
|
*/
|
|
152
167
|
fastChargingSupport?: Maybe<Scalars["Boolean"]>;
|
|
@@ -438,7 +453,7 @@ export declare type CarList = {
|
|
|
438
453
|
*/
|
|
439
454
|
chargetripRange?: Maybe<ChargetripRange>;
|
|
440
455
|
/**
|
|
441
|
-
* Cars that support fast charging have a minimum charging speed of 43
|
|
456
|
+
* Cars that support fast charging have a minimum charging speed of 43 kWh
|
|
442
457
|
* @deprecated In favor of routing.fast_charging_support
|
|
443
458
|
*/
|
|
444
459
|
fastChargingSupport?: Maybe<Scalars["Boolean"]>;
|
|
@@ -597,10 +612,7 @@ export declare type CarListRange = {
|
|
|
597
612
|
best?: Maybe<CarEstimationData>;
|
|
598
613
|
};
|
|
599
614
|
export declare type CarListRouting = {
|
|
600
|
-
/**
|
|
601
|
-
* EVs that support fast charging have a minimum charging speed of 43 Kwh.
|
|
602
|
-
* EVs without support for fast charging used in a newRoute mutation will return an error.
|
|
603
|
-
*/
|
|
615
|
+
/** Cars that support fast charging have a minimum charging speed of 43 kWh */
|
|
604
616
|
fast_charging_support?: Maybe<Scalars["Boolean"]>;
|
|
605
617
|
};
|
|
606
618
|
export declare type CarMedia = {
|
|
@@ -1117,10 +1129,7 @@ export declare type CarPremiumRangeValue = {
|
|
|
1117
1129
|
combined?: Maybe<Scalars["Int"]>;
|
|
1118
1130
|
};
|
|
1119
1131
|
export declare type CarPremiumRouting = {
|
|
1120
|
-
/**
|
|
1121
|
-
* EVs that support fast charging have a minimum charging speed of 43 Kwh.
|
|
1122
|
-
* EVs without support for fast charging used in a newRoute mutation will return an error.
|
|
1123
|
-
*/
|
|
1132
|
+
/** Cars that support fast charging have a minimum charging speed of 43 kWh */
|
|
1124
1133
|
fast_charging_support?: Maybe<Scalars["Boolean"]>;
|
|
1125
1134
|
/** Drag coefficient */
|
|
1126
1135
|
drag_coefficient?: Maybe<Scalars["Float"]>;
|
|
@@ -1197,10 +1206,7 @@ export declare type CarRangeValue = {
|
|
|
1197
1206
|
combined?: Maybe<Scalars["Int"]>;
|
|
1198
1207
|
};
|
|
1199
1208
|
export declare type CarRouting = {
|
|
1200
|
-
/**
|
|
1201
|
-
* EVs that support fast charging have a minimum charging speed of 43 Kwh.
|
|
1202
|
-
* EVs without support for fast charging used in a newRoute mutation will return an error.
|
|
1203
|
-
*/
|
|
1209
|
+
/** Cars that support fast charging have a minimum charging speed of 43 kWh */
|
|
1204
1210
|
fast_charging_support?: Maybe<Scalars["Boolean"]>;
|
|
1205
1211
|
};
|
|
1206
1212
|
/** Status of a car */
|
|
@@ -1701,6 +1707,13 @@ export declare type FeaturePointInput = {
|
|
|
1701
1707
|
export declare enum FeatureType {
|
|
1702
1708
|
FEATURE = "Feature"
|
|
1703
1709
|
}
|
|
1710
|
+
/** Navigation service providers available */
|
|
1711
|
+
export declare enum InstructionsFormat {
|
|
1712
|
+
/** Chargetrip raw instructions */
|
|
1713
|
+
CHARGETRIP = "Chargetrip",
|
|
1714
|
+
/** Mapbox instructions mapping */
|
|
1715
|
+
MAPBOXV5 = "MapboxV5"
|
|
1716
|
+
}
|
|
1704
1717
|
/** Types of a leg */
|
|
1705
1718
|
export declare enum LegType {
|
|
1706
1719
|
/** This leg ends at a charging station and the car must recharge */
|
|
@@ -1716,14 +1729,25 @@ export declare enum LegType {
|
|
|
1716
1729
|
}
|
|
1717
1730
|
/** Preferred language for the mapping */
|
|
1718
1731
|
export declare enum MappingLanguage {
|
|
1732
|
+
/** English(US) */
|
|
1719
1733
|
EN = "en"
|
|
1720
1734
|
}
|
|
1721
1735
|
/** Navigation service providers available */
|
|
1722
1736
|
export declare enum MappingProvider {
|
|
1723
|
-
/**
|
|
1737
|
+
/** Chargetrip raw instructions */
|
|
1738
|
+
CHARGETRIP = "Chargetrip",
|
|
1739
|
+
/** Mapbox instructions mapping */
|
|
1724
1740
|
MAPBOXV5 = "MapboxV5"
|
|
1725
1741
|
}
|
|
1726
1742
|
export declare type Mutation = {
|
|
1743
|
+
/** [BETA] Start a new navigation session on top of an existing route */
|
|
1744
|
+
startNavigation?: Maybe<Scalars["ID"]>;
|
|
1745
|
+
/** [BETA] Update the navigation session */
|
|
1746
|
+
updateNavigation?: Maybe<Scalars["Void"]>;
|
|
1747
|
+
/** [BETA] Recalculate the current navigation route */
|
|
1748
|
+
recalculateNavigation?: Maybe<Scalars["Void"]>;
|
|
1749
|
+
/** [BETA] End a navigation session */
|
|
1750
|
+
finishNavigation?: Maybe<Scalars["Void"]>;
|
|
1727
1751
|
/**
|
|
1728
1752
|
* Add a new review.
|
|
1729
1753
|
* 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
|
|
@@ -1740,6 +1764,18 @@ export declare type Mutation = {
|
|
|
1740
1764
|
/** Create a new route from the route input and its ID */
|
|
1741
1765
|
newRoute?: Maybe<Scalars["ID"]>;
|
|
1742
1766
|
};
|
|
1767
|
+
export declare type MutationstartNavigationArgs = {
|
|
1768
|
+
input: NavigationStartInput;
|
|
1769
|
+
};
|
|
1770
|
+
export declare type MutationupdateNavigationArgs = {
|
|
1771
|
+
input: NavigationUpdateInput;
|
|
1772
|
+
};
|
|
1773
|
+
export declare type MutationrecalculateNavigationArgs = {
|
|
1774
|
+
input: NavigationRecalculateInput;
|
|
1775
|
+
};
|
|
1776
|
+
export declare type MutationfinishNavigationArgs = {
|
|
1777
|
+
input: NavigationFinishInput;
|
|
1778
|
+
};
|
|
1743
1779
|
export declare type MutationaddReviewArgs = {
|
|
1744
1780
|
review: ReviewAdd;
|
|
1745
1781
|
};
|
|
@@ -1749,6 +1785,126 @@ export declare type MutationdeleteUserReviewArgs = {
|
|
|
1749
1785
|
export declare type MutationnewRouteArgs = {
|
|
1750
1786
|
input?: Maybe<RequestInput>;
|
|
1751
1787
|
};
|
|
1788
|
+
/** The navigation session data */
|
|
1789
|
+
export declare type Navigation = {
|
|
1790
|
+
/** ID of the navigation session */
|
|
1791
|
+
id: Scalars["ID"];
|
|
1792
|
+
/** The current route used for navigation */
|
|
1793
|
+
route_id?: Maybe<Scalars["String"]>;
|
|
1794
|
+
/** The current route alternative used for navigation */
|
|
1795
|
+
route_alternative_id?: Maybe<Scalars["String"]>;
|
|
1796
|
+
/** The state of a navigation session. The status can be driving, charging, finished, or error */
|
|
1797
|
+
state?: Maybe<NavigationState>;
|
|
1798
|
+
/** State of charge at the last known location */
|
|
1799
|
+
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1800
|
+
/** Last known location */
|
|
1801
|
+
last_known_location?: Maybe<Point>;
|
|
1802
|
+
/** Next charging station */
|
|
1803
|
+
next_station?: Maybe<NavigationStation>;
|
|
1804
|
+
/** A set of alternative charging stations to next station */
|
|
1805
|
+
alternative_stations?: Maybe<Array<Maybe<NavigationStation>>>;
|
|
1806
|
+
/** Navigation instructions */
|
|
1807
|
+
instructions?: Maybe<Scalars["JSON"]>;
|
|
1808
|
+
};
|
|
1809
|
+
/** The navigation session data */
|
|
1810
|
+
export declare type NavigationinstructionsArgs = {
|
|
1811
|
+
instructions_format: InstructionsFormat;
|
|
1812
|
+
language?: Maybe<MappingLanguage>;
|
|
1813
|
+
precision?: Maybe<Scalars["Int"]>;
|
|
1814
|
+
};
|
|
1815
|
+
/** Input for the navigation recalculate */
|
|
1816
|
+
export declare type NavigationFinishInput = {
|
|
1817
|
+
/** ID of the navigation session */
|
|
1818
|
+
id: Scalars["ID"];
|
|
1819
|
+
/** Current coordinates */
|
|
1820
|
+
current_location: PointInput;
|
|
1821
|
+
};
|
|
1822
|
+
/** Input for the navigation recalculate */
|
|
1823
|
+
export declare type NavigationRecalculateInput = {
|
|
1824
|
+
/** ID of the navigation session */
|
|
1825
|
+
id: Scalars["ID"];
|
|
1826
|
+
/** State of charge at origin */
|
|
1827
|
+
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1828
|
+
/** Origin location of a new route */
|
|
1829
|
+
current_location: PointInput;
|
|
1830
|
+
/** Via points of a new route. If this field is not sent, the original via points will be used */
|
|
1831
|
+
via?: Maybe<Array<Maybe<FeaturePointInput>>>;
|
|
1832
|
+
/** Heading of a vehicle, in degrees */
|
|
1833
|
+
heading?: Maybe<Scalars["Float"]>;
|
|
1834
|
+
};
|
|
1835
|
+
/** Input for the navigation start */
|
|
1836
|
+
export declare type NavigationStartInput = {
|
|
1837
|
+
/** ID of the route of the navigation session */
|
|
1838
|
+
route_id: Scalars["String"];
|
|
1839
|
+
/** ID of the route alternative of the navigation session */
|
|
1840
|
+
route_alternative_id?: Maybe<Scalars["String"]>;
|
|
1841
|
+
/** Current coordinates */
|
|
1842
|
+
current_location: PointInput;
|
|
1843
|
+
};
|
|
1844
|
+
/** State of navigation session */
|
|
1845
|
+
export declare enum NavigationState {
|
|
1846
|
+
/** Vehicle is driving */
|
|
1847
|
+
DRIVING = "driving",
|
|
1848
|
+
/** Vehicle is charging */
|
|
1849
|
+
CHARGING = "charging",
|
|
1850
|
+
/** Navigation session is completed (either manually or automatically 48 hours after the last update) */
|
|
1851
|
+
FINISHED = "finished",
|
|
1852
|
+
/** Failed to update navigation session due to route error or not found */
|
|
1853
|
+
ERROR = "error"
|
|
1854
|
+
}
|
|
1855
|
+
/** Navigation session station type */
|
|
1856
|
+
export declare type NavigationStation = {
|
|
1857
|
+
/** The ID as string of the charging station */
|
|
1858
|
+
station_id?: Maybe<Scalars["String"]>;
|
|
1859
|
+
/** GPS location of the charging station */
|
|
1860
|
+
station_location?: Maybe<Point>;
|
|
1861
|
+
/** An array with all GPS locations of via points until the next charging station */
|
|
1862
|
+
via?: Maybe<Array<Maybe<Point>>>;
|
|
1863
|
+
/** Estimated state of charge, in kWh, at arrival on the next charging station */
|
|
1864
|
+
estimated_state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1865
|
+
/** Estimated consumption, in kWh, from last the known location until the next charging station */
|
|
1866
|
+
estimated_consumption?: Maybe<Scalars["Float"]>;
|
|
1867
|
+
/** Estimated duration, in seconds, from the last known location until the next charging station */
|
|
1868
|
+
estimated_duration?: Maybe<Scalars["Int"]>;
|
|
1869
|
+
};
|
|
1870
|
+
/** Input for the navigation session update telemetry data */
|
|
1871
|
+
export declare type NavigationTelemetryUpdateInput = {
|
|
1872
|
+
/** State of charge at the last known location */
|
|
1873
|
+
state_of_charge?: Maybe<Scalars["Float"]>;
|
|
1874
|
+
/** Indicates if a vehicle is charging */
|
|
1875
|
+
is_charging?: Maybe<Scalars["Boolean"]>;
|
|
1876
|
+
/** Tire pressure. This information should come from telemetry */
|
|
1877
|
+
tire_pressure?: Maybe<Scalars["Float"]>;
|
|
1878
|
+
};
|
|
1879
|
+
/** Input for the navigation update */
|
|
1880
|
+
export declare type NavigationUpdateInput = {
|
|
1881
|
+
/** ID of the navigation session */
|
|
1882
|
+
id: Scalars["ID"];
|
|
1883
|
+
/** Heading of a vehicle, in degrees */
|
|
1884
|
+
heading?: Maybe<Scalars["Float"]>;
|
|
1885
|
+
/** A list of locations that were collected since the last update */
|
|
1886
|
+
locations_data: Array<NavigationUpdateLocationsInput>;
|
|
1887
|
+
/** Telemetry data input */
|
|
1888
|
+
telemetry?: Maybe<NavigationTelemetryUpdateInput>;
|
|
1889
|
+
};
|
|
1890
|
+
/** Properties of the location */
|
|
1891
|
+
export declare type NavigationUpdateLocationPropertiesInput = {
|
|
1892
|
+
/** Current route leg index corresponding to a location */
|
|
1893
|
+
route_leg: Scalars["Int"];
|
|
1894
|
+
/** Speed at a location, in km/h */
|
|
1895
|
+
speed: Scalars["Float"];
|
|
1896
|
+
/** UNIX timestamp at location, in seconds */
|
|
1897
|
+
timestamp: Scalars["Int"];
|
|
1898
|
+
/** Altitude information, in meters. This is optional */
|
|
1899
|
+
altitude?: Maybe<Scalars["Int"]>;
|
|
1900
|
+
};
|
|
1901
|
+
/** Input for the navigation update locations */
|
|
1902
|
+
export declare type NavigationUpdateLocationsInput = {
|
|
1903
|
+
/** GPS location */
|
|
1904
|
+
geometry: PointInput;
|
|
1905
|
+
/** Extra information about the location */
|
|
1906
|
+
properties: NavigationUpdateLocationPropertiesInput;
|
|
1907
|
+
};
|
|
1752
1908
|
/** This class defines an additional geo location that is relevant for the Charge Point. The geodetic system to be used is WGS 84. */
|
|
1753
1909
|
export declare type OCPIAdditionalGeoLocation = {
|
|
1754
1910
|
/** Latitude of the point in decimal degree. Example: 50.770774. Decimal separator: "." Regex: -?[0-9]{1,2}\.[0-9]{5,7} */
|
|
@@ -2291,6 +2447,8 @@ export declare type PathSegment = {
|
|
|
2291
2447
|
distance?: Maybe<Scalars["Float"]>;
|
|
2292
2448
|
/** Duration, in seconds, of a route path segment */
|
|
2293
2449
|
duration?: Maybe<Scalars["Float"]>;
|
|
2450
|
+
/** State of charge, in kWh, of a route path segment */
|
|
2451
|
+
stateOfCharge?: Maybe<Scalars["Float"]>;
|
|
2294
2452
|
};
|
|
2295
2453
|
/** A GeoJSON Point */
|
|
2296
2454
|
export declare type Point = {
|
|
@@ -2388,6 +2546,8 @@ export declare type Query = {
|
|
|
2388
2546
|
carPremium?: Maybe<CarPremium>;
|
|
2389
2547
|
/** Get a full list of cars */
|
|
2390
2548
|
carList?: Maybe<Array<Maybe<CarList>>>;
|
|
2549
|
+
/** [BETA] Get a navigation session by ID */
|
|
2550
|
+
navigation?: Maybe<Navigation>;
|
|
2391
2551
|
/** Get a full list of operators */
|
|
2392
2552
|
operatorList?: Maybe<Array<Maybe<Operator>>>;
|
|
2393
2553
|
/** Get information about an operator by its ID */
|
|
@@ -2416,7 +2576,7 @@ export declare type Query = {
|
|
|
2416
2576
|
tariff?: Maybe<OCPITariff>;
|
|
2417
2577
|
/** Get the full list of tariffs */
|
|
2418
2578
|
tariffList?: Maybe<Array<Maybe<OCPITariff>>>;
|
|
2419
|
-
/**
|
|
2579
|
+
/** Deprecated: This query will be removed in favor of navigation query and subscription. Mapping can be retrieved via the instructions field. */
|
|
2420
2580
|
navigationMapping?: Maybe<Scalars["JSON"]>;
|
|
2421
2581
|
};
|
|
2422
2582
|
export declare type QueryamenityListArgs = {
|
|
@@ -2436,6 +2596,9 @@ export declare type QuerycarListArgs = {
|
|
|
2436
2596
|
size?: Maybe<Scalars["Int"]>;
|
|
2437
2597
|
page?: Maybe<Scalars["Int"]>;
|
|
2438
2598
|
};
|
|
2599
|
+
export declare type QuerynavigationArgs = {
|
|
2600
|
+
id: Scalars["ID"];
|
|
2601
|
+
};
|
|
2439
2602
|
export declare type QueryoperatorListArgs = {
|
|
2440
2603
|
query?: Maybe<OperatorListQuery>;
|
|
2441
2604
|
search?: Maybe<Scalars["String"]>;
|
|
@@ -2468,11 +2631,15 @@ export declare type QuerystationArgs = {
|
|
|
2468
2631
|
};
|
|
2469
2632
|
export declare type QuerystationListArgs = {
|
|
2470
2633
|
query?: Maybe<StationListQuery>;
|
|
2634
|
+
filter?: Maybe<StationListFilter>;
|
|
2635
|
+
search?: Maybe<Scalars["String"]>;
|
|
2471
2636
|
size?: Maybe<Scalars["Int"]>;
|
|
2472
2637
|
page?: Maybe<Scalars["Int"]>;
|
|
2473
2638
|
};
|
|
2474
2639
|
export declare type QuerystationAroundArgs = {
|
|
2475
|
-
query
|
|
2640
|
+
query?: Maybe<StationAroundQuery>;
|
|
2641
|
+
filter?: Maybe<StationAroundFilter>;
|
|
2642
|
+
search?: Maybe<Scalars["String"]>;
|
|
2476
2643
|
size?: Maybe<Scalars["Int"]>;
|
|
2477
2644
|
page?: Maybe<Scalars["Int"]>;
|
|
2478
2645
|
};
|
|
@@ -2514,25 +2681,25 @@ export declare type RequestEv = {
|
|
|
2514
2681
|
consumption?: Maybe<RequestEvConsumption>;
|
|
2515
2682
|
};
|
|
2516
2683
|
export declare type RequestEvBattery = {
|
|
2517
|
-
/**
|
|
2684
|
+
/** Usable capacity of the battery used to compute the route. If this in not filled in, value as the car batteryUsableKwh */
|
|
2518
2685
|
capacity?: Maybe<RequestEvBatteryValue>;
|
|
2519
|
-
/** Usable capacity of a battery, in kWh. This value is computed from the provided capacity value
|
|
2686
|
+
/** Usable capacity of a battery, in kWh. This value is computed from the provided capacity value */
|
|
2520
2687
|
capacityKwh?: Maybe<Scalars["Float"]>;
|
|
2521
|
-
/** 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 batteryUsableKwh
|
|
2688
|
+
/** 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 batteryUsableKwh */
|
|
2522
2689
|
stateOfCharge?: Maybe<RequestEvBatteryValue>;
|
|
2523
|
-
/** Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge
|
|
2690
|
+
/** Current amount of energy in a battery, in kWh. This value is computed from the provided state of charge */
|
|
2524
2691
|
stateOfChargeKwh?: Maybe<Scalars["Float"]>;
|
|
2525
|
-
/** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car batteryUsableKwh
|
|
2692
|
+
/** Desired final amount of energy in a battery. If this is not filled in, it will be set to 20% of the car batteryUsableKwh */
|
|
2526
2693
|
finalStateOfCharge?: Maybe<RequestEvBatteryValue>;
|
|
2527
|
-
/** Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge
|
|
2694
|
+
/** Desired final amount of energy in a battery, in kWh. This value is computed from the provided final state of charge */
|
|
2528
2695
|
finalStateOfChargeKwh?: Maybe<Scalars["Float"]>;
|
|
2529
2696
|
};
|
|
2530
2697
|
export declare type RequestEvBatteryInput = {
|
|
2531
|
-
/** Usable capacity of a battery used to compute a route.
|
|
2698
|
+
/** 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 batteryUsableKwh */
|
|
2532
2699
|
capacity?: Maybe<RequestEvBatteryInputValue>;
|
|
2533
|
-
/** 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 batteryUsableKwh
|
|
2700
|
+
/** 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 batteryUsableKwh */
|
|
2534
2701
|
stateOfCharge?: Maybe<RequestEvBatteryInputValue>;
|
|
2535
|
-
/** Desired final amount of energy in a battery. If this is not filled in, we assume it is 20% of the car batteryUsableKwh
|
|
2702
|
+
/** Desired final amount of energy in a battery. If this is not filled in, we assume it is 20% of the car batteryUsableKwh */
|
|
2536
2703
|
finalStateOfCharge?: Maybe<RequestEvBatteryInputValue>;
|
|
2537
2704
|
};
|
|
2538
2705
|
export declare type RequestEvBatteryInputValue = {
|
|
@@ -2665,7 +2832,7 @@ export declare type RequestRouteInput = {
|
|
|
2665
2832
|
via?: Maybe<Array<Maybe<FeaturePointInput>>>;
|
|
2666
2833
|
/** Alternative stations along a route within a specified radius in meters (minimum 500, maximum 5000) */
|
|
2667
2834
|
stationsAlongRouteRadius?: Maybe<Scalars["Int"]>;
|
|
2668
|
-
/**
|
|
2835
|
+
/** Deprecated: all routes will have turn-by-turn instructions prepared. Boolean will be ignored */
|
|
2669
2836
|
instructions?: Maybe<Scalars["Boolean"]>;
|
|
2670
2837
|
};
|
|
2671
2838
|
export declare type RequestUser = {
|
|
@@ -2783,6 +2950,8 @@ export declare type Route = {
|
|
|
2783
2950
|
user?: Maybe<RequestUser>;
|
|
2784
2951
|
/** Route request data */
|
|
2785
2952
|
routeRequest?: Maybe<RequestRoute>;
|
|
2953
|
+
/** Application who requested a route */
|
|
2954
|
+
app?: Maybe<RouteApp>;
|
|
2786
2955
|
/** Route status */
|
|
2787
2956
|
status?: Maybe<RouteStatus>;
|
|
2788
2957
|
};
|
|
@@ -2793,15 +2962,15 @@ export declare type RouteAlternative = {
|
|
|
2793
2962
|
type?: Maybe<RouteAlternativeType>;
|
|
2794
2963
|
/** Number of charges along a route */
|
|
2795
2964
|
charges?: Maybe<Scalars["Int"]>;
|
|
2796
|
-
/** Number of available charges along a route
|
|
2965
|
+
/** Number of available charges along a route */
|
|
2797
2966
|
chargesAvailable?: Maybe<Scalars["Int"]>;
|
|
2798
|
-
/** Number of occupied charges along a route
|
|
2967
|
+
/** Number of occupied charges along a route */
|
|
2799
2968
|
chargesOccupied?: Maybe<Scalars["Int"]>;
|
|
2800
|
-
/** Number of unknown charges along a route
|
|
2969
|
+
/** Number of unknown charges along a route */
|
|
2801
2970
|
chargesUnknown?: Maybe<Scalars["Int"]>;
|
|
2802
|
-
/** Number of out of order charges along a route
|
|
2971
|
+
/** Number of out of order charges along a route */
|
|
2803
2972
|
chargesOutOfOrder?: Maybe<Scalars["Int"]>;
|
|
2804
|
-
/** Total distance of a route in meters
|
|
2973
|
+
/** Total distance of a route in meters */
|
|
2805
2974
|
distance?: Maybe<Scalars["Int"]>;
|
|
2806
2975
|
/** Total duration of a route, including charge time, in seconds */
|
|
2807
2976
|
duration?: Maybe<Scalars["Int"]>;
|
|
@@ -2822,9 +2991,9 @@ export declare type RouteAlternative = {
|
|
|
2822
2991
|
rangeStartPercentage?: Maybe<Scalars["Int"]>;
|
|
2823
2992
|
/** Remaining range, in meters, at the end of a trip */
|
|
2824
2993
|
rangeEnd?: Maybe<Scalars["Int"]>;
|
|
2825
|
-
/** Remaining range, energy in kWh, at the end of a trip
|
|
2994
|
+
/** Remaining range, energy in kWh, at the end of a trip */
|
|
2826
2995
|
rangeEndKwh?: Maybe<Scalars["Float"]>;
|
|
2827
|
-
/** Remaining range, energy in percentage, at the end of a trip
|
|
2996
|
+
/** Remaining range, energy in percentage, at the end of a trip */
|
|
2828
2997
|
rangeEndPercentage?: Maybe<Scalars["Int"]>;
|
|
2829
2998
|
/** Text information about a route direction */
|
|
2830
2999
|
via?: Maybe<Scalars["String"]>;
|
|
@@ -2878,6 +3047,10 @@ export declare enum RouteAlternativeType {
|
|
|
2878
3047
|
/** An alternative to the fastest route */
|
|
2879
3048
|
ALTERNATIVE = "alternative"
|
|
2880
3049
|
}
|
|
3050
|
+
export declare type RouteApp = {
|
|
3051
|
+
/** ID of the app who requested a route */
|
|
3052
|
+
id?: Maybe<Scalars["ID"]>;
|
|
3053
|
+
};
|
|
2881
3054
|
export declare type RouteInstruction = {
|
|
2882
3055
|
/** Information about the points on the polyline */
|
|
2883
3056
|
points?: Maybe<RouteInstructionPoints>;
|
|
@@ -2944,7 +3117,7 @@ export declare type RouteLeg = {
|
|
|
2944
3117
|
rangeEnd?: Maybe<Scalars["Int"]>;
|
|
2945
3118
|
/** Total energy left in a battery at the end of a leg, in kWh */
|
|
2946
3119
|
rangeEndKwh?: Maybe<Scalars["Float"]>;
|
|
2947
|
-
/** Remaining range, energy in percentage, at the end of a trip
|
|
3120
|
+
/** Remaining range, energy in percentage, at the end of a trip */
|
|
2948
3121
|
rangeEndPercentage?: Maybe<Scalars["Int"]>;
|
|
2949
3122
|
/** Origin point location */
|
|
2950
3123
|
origin?: Maybe<FeaturePoint>;
|
|
@@ -3078,6 +3251,8 @@ export declare type RoutePath = {
|
|
|
3078
3251
|
distance?: Maybe<Scalars["Float"]>;
|
|
3079
3252
|
/** Duration, in seconds, of a route path segment */
|
|
3080
3253
|
duration?: Maybe<Scalars["Float"]>;
|
|
3254
|
+
/** State of charge, in kWh, of a route path segment */
|
|
3255
|
+
stateOfCharge?: Maybe<Scalars["Float"]>;
|
|
3081
3256
|
};
|
|
3082
3257
|
/** The season of the route */
|
|
3083
3258
|
export declare enum RouteSeason {
|
|
@@ -3137,7 +3312,8 @@ export declare enum RouteTagType {
|
|
|
3137
3312
|
ROAD = "road",
|
|
3138
3313
|
HIGHWAY = "highway",
|
|
3139
3314
|
TOLL = "toll",
|
|
3140
|
-
FERRY = "ferry"
|
|
3315
|
+
FERRY = "ferry",
|
|
3316
|
+
WALKING = "walking"
|
|
3141
3317
|
}
|
|
3142
3318
|
/** Standards(plug type) stats model */
|
|
3143
3319
|
export declare type StandardStats = {
|
|
@@ -3237,17 +3413,51 @@ export declare type Station = {
|
|
|
3237
3413
|
status?: Maybe<ChargerStatus>;
|
|
3238
3414
|
};
|
|
3239
3415
|
/** Filter which can be applied to retrieve the station around list action */
|
|
3416
|
+
export declare type StationAroundFilter = {
|
|
3417
|
+
/** The GeoJSON Point of the center of the around me circle */
|
|
3418
|
+
location?: Maybe<PointInput>;
|
|
3419
|
+
/** Distance, in meters, to search around */
|
|
3420
|
+
distance?: Maybe<Scalars["Int"]>;
|
|
3421
|
+
/** Powers in kWh */
|
|
3422
|
+
powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
|
|
3423
|
+
/** Amenities available near a station */
|
|
3424
|
+
amenities?: Maybe<Array<Maybe<Amenities>>>;
|
|
3425
|
+
/** Station speed */
|
|
3426
|
+
power_groups?: Maybe<Array<Maybe<StationSpeedType>>>;
|
|
3427
|
+
/** Station socket or plug standards */
|
|
3428
|
+
connectors?: Maybe<Array<Maybe<ConnectorType>>>;
|
|
3429
|
+
/** Flag that allows you to return only available stations */
|
|
3430
|
+
available_only?: Maybe<Scalars["Boolean"]>;
|
|
3431
|
+
/** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned */
|
|
3432
|
+
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
3433
|
+
};
|
|
3434
|
+
/** Deprecated: Replaced by filter & search params */
|
|
3240
3435
|
export declare type StationAroundQuery = {
|
|
3241
3436
|
/** The GeoJSON Point of the center of the around me circle */
|
|
3242
|
-
location
|
|
3437
|
+
location?: Maybe<PointInput>;
|
|
3243
3438
|
/** Distance, in meters, to search around */
|
|
3244
|
-
distance
|
|
3439
|
+
distance?: Maybe<Scalars["Int"]>;
|
|
3245
3440
|
/** Power in kWh */
|
|
3246
3441
|
power?: Maybe<Array<Maybe<Scalars["Float"]>>>;
|
|
3247
|
-
/**
|
|
3442
|
+
/** Amenities available near a station. Values: restaurant, bathroom, supermarket, playground, coffee, shopping, museum, hotel, park */
|
|
3248
3443
|
amenities?: Maybe<Array<Maybe<Scalars["String"]>>>;
|
|
3249
3444
|
};
|
|
3250
3445
|
/** Filter which can be applied to retrieve the station list action */
|
|
3446
|
+
export declare type StationListFilter = {
|
|
3447
|
+
/** Powers in kWh */
|
|
3448
|
+
powers?: Maybe<Array<Maybe<Scalars["Float"]>>>;
|
|
3449
|
+
/** Amenities available near a station */
|
|
3450
|
+
amenities?: Maybe<Array<Maybe<Amenities>>>;
|
|
3451
|
+
/** Station speed */
|
|
3452
|
+
power_groups?: Maybe<Array<Maybe<StationSpeedType>>>;
|
|
3453
|
+
/** Station socket or plug standards */
|
|
3454
|
+
connectors?: Maybe<Array<Maybe<ConnectorType>>>;
|
|
3455
|
+
/** Flag that allows you to return only available stations */
|
|
3456
|
+
available_only?: Maybe<Scalars["Boolean"]>;
|
|
3457
|
+
/** Flag indicating if only stations that are owned by an operator from a clients ranking list are returned */
|
|
3458
|
+
preferred_operator?: Maybe<Scalars["Boolean"]>;
|
|
3459
|
+
};
|
|
3460
|
+
/** Deprecated: Replaced by filter & search params */
|
|
3251
3461
|
export declare type StationListQuery = {
|
|
3252
3462
|
/** ID of the station */
|
|
3253
3463
|
id?: Maybe<Scalars["ID"]>;
|
|
@@ -3301,9 +3511,13 @@ export declare enum StepType {
|
|
|
3301
3511
|
/** This step is a toll road */
|
|
3302
3512
|
TOLL = "toll",
|
|
3303
3513
|
/** This step is a ferry */
|
|
3304
|
-
FERRY = "ferry"
|
|
3514
|
+
FERRY = "ferry",
|
|
3515
|
+
/** This step is reachable by walking */
|
|
3516
|
+
WALKING = "walking"
|
|
3305
3517
|
}
|
|
3306
3518
|
export declare type Subscription = {
|
|
3519
|
+
/** [BETA] Subscribe to navigation session system event updates. We strongly recommend using this at all times to not miss any updates */
|
|
3520
|
+
navigationUpdatedById?: Maybe<Navigation>;
|
|
3307
3521
|
/**
|
|
3308
3522
|
* Subscription for a new operator was added in the system event
|
|
3309
3523
|
* @deprecated operatorAdded has been removed, no value will be sent.
|
|
@@ -3357,6 +3571,9 @@ export declare type Subscription = {
|
|
|
3357
3571
|
*/
|
|
3358
3572
|
stationDeletedById?: Maybe<Station>;
|
|
3359
3573
|
};
|
|
3574
|
+
export declare type SubscriptionnavigationUpdatedByIdArgs = {
|
|
3575
|
+
id: Scalars["ID"];
|
|
3576
|
+
};
|
|
3360
3577
|
export declare type SubscriptionoperatorUpdatedByIdArgs = {
|
|
3361
3578
|
id: Scalars["ID"];
|
|
3362
3579
|
};
|