@chargetrip/types 1.68.0 → 1.70.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/dist/browser/index.js.map +1 -1
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +6 -7
- package/graphql.schema.json +34 -34
- package/package.json +1 -1
- package/src/graphql.ts +6 -7
package/dist/ts/graphql.d.ts
CHANGED
|
@@ -1317,8 +1317,6 @@ export declare type CreateTruckRoute = {
|
|
|
1317
1317
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1318
1318
|
/** 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. */
|
|
1319
1319
|
avoid?: Maybe<Array<RouteTruckAvoid>>;
|
|
1320
|
-
/** Maximum speed to consider when generating the route. In the segments where legal speed is lower than this value, the legal speed will be used instead. */
|
|
1321
|
-
maximum_speed?: Maybe<MaximumSpeed>;
|
|
1322
1320
|
};
|
|
1323
1321
|
export declare type CreateTruckRouteInput = {
|
|
1324
1322
|
/** Vehicle specific input. */
|
|
@@ -1339,8 +1337,6 @@ export declare type CreateTruckRouteInput = {
|
|
|
1339
1337
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1340
1338
|
/** 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. */
|
|
1341
1339
|
avoid?: Maybe<Array<RouteTruckAvoid>>;
|
|
1342
|
-
/** Maximum speed to consider when generating the route. In the segments where legal speed is lower than this value, the legal speed will be used instead. */
|
|
1343
|
-
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
1344
1340
|
};
|
|
1345
1341
|
/** Currency in the ISO 4217 format. */
|
|
1346
1342
|
export declare enum Currency {
|
|
@@ -4047,7 +4043,7 @@ export declare type Query = {
|
|
|
4047
4043
|
navigation?: Maybe<Navigation>;
|
|
4048
4044
|
/** Get a full list of operators. */
|
|
4049
4045
|
operatorList?: Maybe<Array<Maybe<Operator>>>;
|
|
4050
|
-
/** Get information about an operator by its ID. */
|
|
4046
|
+
/** Get information about an operator by its internal or external ID. Always specify exactly one of the IDs. */
|
|
4051
4047
|
operator?: Maybe<Operator>;
|
|
4052
4048
|
/** Get all reviews of a station by the station ID. */
|
|
4053
4049
|
reviewList?: Maybe<Array<Review>>;
|
|
@@ -4134,7 +4130,8 @@ export declare type QueryoperatorListArgs = {
|
|
|
4134
4130
|
page?: Maybe<Scalars["Int"]>;
|
|
4135
4131
|
};
|
|
4136
4132
|
export declare type QueryoperatorArgs = {
|
|
4137
|
-
id
|
|
4133
|
+
id?: Maybe<Scalars["ID"]>;
|
|
4134
|
+
external_id?: Maybe<Scalars["ID"]>;
|
|
4138
4135
|
};
|
|
4139
4136
|
export declare type QueryreviewListArgs = {
|
|
4140
4137
|
stationId: Scalars["ID"];
|
|
@@ -4778,8 +4775,10 @@ export declare type RouteDetailsAlternativeStation = {
|
|
|
4778
4775
|
id: Scalars["ID"];
|
|
4779
4776
|
/** GeoJSON location of a station. */
|
|
4780
4777
|
location: Point;
|
|
4781
|
-
/**
|
|
4778
|
+
/** Charging speed classification of the station. Based on station's highest-powered EVSE and independent of vehicle connector compatibility. */
|
|
4782
4779
|
speed: StationSpeedType;
|
|
4780
|
+
/** The maximum power, in kilowatts (kW), available for the vehicle at this station based on its compatible connectors. */
|
|
4781
|
+
maximum_power: Scalars["Float"];
|
|
4783
4782
|
/** Status of a station. */
|
|
4784
4783
|
status: ChargerStatus;
|
|
4785
4784
|
/** The value indicates the operator's ranking based on the station's location, in accordance with the list of countries from the configuration or request. */
|
package/graphql.schema.json
CHANGED
|
@@ -6866,18 +6866,6 @@
|
|
|
6866
6866
|
},
|
|
6867
6867
|
"isDeprecated": false,
|
|
6868
6868
|
"deprecationReason": null
|
|
6869
|
-
},
|
|
6870
|
-
{
|
|
6871
|
-
"name": "maximum_speed",
|
|
6872
|
-
"description": "Maximum speed to consider when generating the route. In the segments where legal speed is lower than this value, the legal speed will be used instead.",
|
|
6873
|
-
"args": [],
|
|
6874
|
-
"type": {
|
|
6875
|
-
"kind": "OBJECT",
|
|
6876
|
-
"name": "MaximumSpeed",
|
|
6877
|
-
"ofType": null
|
|
6878
|
-
},
|
|
6879
|
-
"isDeprecated": false,
|
|
6880
|
-
"deprecationReason": null
|
|
6881
6869
|
}
|
|
6882
6870
|
],
|
|
6883
6871
|
"inputFields": null,
|
|
@@ -7026,18 +7014,6 @@
|
|
|
7026
7014
|
"defaultValue": null,
|
|
7027
7015
|
"isDeprecated": false,
|
|
7028
7016
|
"deprecationReason": null
|
|
7029
|
-
},
|
|
7030
|
-
{
|
|
7031
|
-
"name": "maximum_speed",
|
|
7032
|
-
"description": "Maximum speed to consider when generating the route. In the segments where legal speed is lower than this value, the legal speed will be used instead.",
|
|
7033
|
-
"type": {
|
|
7034
|
-
"kind": "INPUT_OBJECT",
|
|
7035
|
-
"name": "MaximumSpeedInput",
|
|
7036
|
-
"ofType": null
|
|
7037
|
-
},
|
|
7038
|
-
"defaultValue": null,
|
|
7039
|
-
"isDeprecated": false,
|
|
7040
|
-
"deprecationReason": null
|
|
7041
7017
|
}
|
|
7042
7018
|
],
|
|
7043
7019
|
"interfaces": null,
|
|
@@ -22575,19 +22551,27 @@
|
|
|
22575
22551
|
},
|
|
22576
22552
|
{
|
|
22577
22553
|
"name": "operator",
|
|
22578
|
-
"description": "Get information about an operator by its ID.",
|
|
22554
|
+
"description": "Get information about an operator by its internal or external ID. Always specify exactly one of the IDs.",
|
|
22579
22555
|
"args": [
|
|
22580
22556
|
{
|
|
22581
22557
|
"name": "id",
|
|
22582
|
-
"description": "
|
|
22558
|
+
"description": "Internal identifier of the operator.",
|
|
22583
22559
|
"type": {
|
|
22584
|
-
"kind": "
|
|
22585
|
-
"name":
|
|
22586
|
-
"ofType":
|
|
22587
|
-
|
|
22588
|
-
|
|
22589
|
-
|
|
22590
|
-
|
|
22560
|
+
"kind": "SCALAR",
|
|
22561
|
+
"name": "ID",
|
|
22562
|
+
"ofType": null
|
|
22563
|
+
},
|
|
22564
|
+
"defaultValue": null,
|
|
22565
|
+
"isDeprecated": false,
|
|
22566
|
+
"deprecationReason": null
|
|
22567
|
+
},
|
|
22568
|
+
{
|
|
22569
|
+
"name": "external_id",
|
|
22570
|
+
"description": "External identifier of the operator.",
|
|
22571
|
+
"type": {
|
|
22572
|
+
"kind": "SCALAR",
|
|
22573
|
+
"name": "ID",
|
|
22574
|
+
"ofType": null
|
|
22591
22575
|
},
|
|
22592
22576
|
"defaultValue": null,
|
|
22593
22577
|
"isDeprecated": false,
|
|
@@ -26786,7 +26770,7 @@
|
|
|
26786
26770
|
},
|
|
26787
26771
|
{
|
|
26788
26772
|
"name": "speed",
|
|
26789
|
-
"description": "
|
|
26773
|
+
"description": "Charging speed classification of the station. Based on station's highest-powered EVSE and independent of vehicle connector compatibility.",
|
|
26790
26774
|
"args": [],
|
|
26791
26775
|
"type": {
|
|
26792
26776
|
"kind": "NON_NULL",
|
|
@@ -26800,6 +26784,22 @@
|
|
|
26800
26784
|
"isDeprecated": false,
|
|
26801
26785
|
"deprecationReason": null
|
|
26802
26786
|
},
|
|
26787
|
+
{
|
|
26788
|
+
"name": "maximum_power",
|
|
26789
|
+
"description": "The maximum power, in kilowatts (kW), available for the vehicle at this station based on its compatible connectors.",
|
|
26790
|
+
"args": [],
|
|
26791
|
+
"type": {
|
|
26792
|
+
"kind": "NON_NULL",
|
|
26793
|
+
"name": null,
|
|
26794
|
+
"ofType": {
|
|
26795
|
+
"kind": "SCALAR",
|
|
26796
|
+
"name": "Float",
|
|
26797
|
+
"ofType": null
|
|
26798
|
+
}
|
|
26799
|
+
},
|
|
26800
|
+
"isDeprecated": false,
|
|
26801
|
+
"deprecationReason": null
|
|
26802
|
+
},
|
|
26803
26803
|
{
|
|
26804
26804
|
"name": "status",
|
|
26805
26805
|
"description": "Status of a station.",
|
package/package.json
CHANGED
package/src/graphql.ts
CHANGED
|
@@ -1396,8 +1396,6 @@ export type CreateTruckRoute = {
|
|
|
1396
1396
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1397
1397
|
/** 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. */
|
|
1398
1398
|
avoid?: Maybe<Array<RouteTruckAvoid>>;
|
|
1399
|
-
/** Maximum speed to consider when generating the route. In the segments where legal speed is lower than this value, the legal speed will be used instead. */
|
|
1400
|
-
maximum_speed?: Maybe<MaximumSpeed>;
|
|
1401
1399
|
};
|
|
1402
1400
|
|
|
1403
1401
|
export type CreateTruckRouteInput = {
|
|
@@ -1419,8 +1417,6 @@ export type CreateTruckRouteInput = {
|
|
|
1419
1417
|
departure_time?: Maybe<Scalars["DateTime"]>;
|
|
1420
1418
|
/** 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. */
|
|
1421
1419
|
avoid?: Maybe<Array<RouteTruckAvoid>>;
|
|
1422
|
-
/** Maximum speed to consider when generating the route. In the segments where legal speed is lower than this value, the legal speed will be used instead. */
|
|
1423
|
-
maximum_speed?: Maybe<MaximumSpeedInput>;
|
|
1424
1420
|
};
|
|
1425
1421
|
|
|
1426
1422
|
/** Currency in the ISO 4217 format. */
|
|
@@ -4393,7 +4389,7 @@ export type Query = {
|
|
|
4393
4389
|
navigation?: Maybe<Navigation>;
|
|
4394
4390
|
/** Get a full list of operators. */
|
|
4395
4391
|
operatorList?: Maybe<Array<Maybe<Operator>>>;
|
|
4396
|
-
/** Get information about an operator by its ID. */
|
|
4392
|
+
/** Get information about an operator by its internal or external ID. Always specify exactly one of the IDs. */
|
|
4397
4393
|
operator?: Maybe<Operator>;
|
|
4398
4394
|
/** Get all reviews of a station by the station ID. */
|
|
4399
4395
|
reviewList?: Maybe<Array<Review>>;
|
|
@@ -4488,7 +4484,8 @@ export type QueryoperatorListArgs = {
|
|
|
4488
4484
|
};
|
|
4489
4485
|
|
|
4490
4486
|
export type QueryoperatorArgs = {
|
|
4491
|
-
id
|
|
4487
|
+
id?: Maybe<Scalars["ID"]>;
|
|
4488
|
+
external_id?: Maybe<Scalars["ID"]>;
|
|
4492
4489
|
};
|
|
4493
4490
|
|
|
4494
4491
|
export type QueryreviewListArgs = {
|
|
@@ -5196,8 +5193,10 @@ export type RouteDetailsAlternativeStation = {
|
|
|
5196
5193
|
id: Scalars["ID"];
|
|
5197
5194
|
/** GeoJSON location of a station. */
|
|
5198
5195
|
location: Point;
|
|
5199
|
-
/**
|
|
5196
|
+
/** Charging speed classification of the station. Based on station's highest-powered EVSE and independent of vehicle connector compatibility. */
|
|
5200
5197
|
speed: StationSpeedType;
|
|
5198
|
+
/** The maximum power, in kilowatts (kW), available for the vehicle at this station based on its compatible connectors. */
|
|
5199
|
+
maximum_power: Scalars["Float"];
|
|
5201
5200
|
/** Status of a station. */
|
|
5202
5201
|
status: ChargerStatus;
|
|
5203
5202
|
/** The value indicates the operator's ranking based on the station's location, in accordance with the list of countries from the configuration or request. */
|