@chargetrip/types 1.39.0 → 1.40.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 +7 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +87 -12
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +87 -12
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +653 -340
- package/graphql.schema.json +1725 -381
- package/package.json +1 -1
- package/src/graphql.ts +680 -340
package/dist/node/index.js
CHANGED
|
@@ -179,7 +179,7 @@ exports.ChargeSpeedUnit = void 0;
|
|
|
179
179
|
})(exports.ChargeSpeedUnit || (exports.ChargeSpeedUnit = {}));
|
|
180
180
|
|
|
181
181
|
exports.ChargerStatus = void 0;
|
|
182
|
-
/**
|
|
182
|
+
/** Grouping by status of the chargers. */
|
|
183
183
|
|
|
184
184
|
(function (ChargerStatus) {
|
|
185
185
|
ChargerStatus["FREE"] = "free";
|
|
@@ -214,7 +214,7 @@ exports.ConnectScope = void 0;
|
|
|
214
214
|
})(exports.ConnectScope || (exports.ConnectScope = {}));
|
|
215
215
|
|
|
216
216
|
exports.ConnectedVehicleStatus = void 0;
|
|
217
|
-
/** Connector data which extends OCPI Connector */
|
|
217
|
+
/** Connector data which extends OCPI Connector. */
|
|
218
218
|
|
|
219
219
|
(function (ConnectedVehicleStatus) {
|
|
220
220
|
ConnectedVehicleStatus["PENDING_AUTHORIZATION"] = "pending_authorization";
|
|
@@ -531,6 +531,7 @@ exports.CountryCodeAlpha2 = void 0;
|
|
|
531
531
|
CountryCodeAlpha2["VU"] = "VU";
|
|
532
532
|
CountryCodeAlpha2["WF"] = "WF";
|
|
533
533
|
CountryCodeAlpha2["WS"] = "WS";
|
|
534
|
+
CountryCodeAlpha2["XK"] = "XK";
|
|
534
535
|
CountryCodeAlpha2["YE"] = "YE";
|
|
535
536
|
CountryCodeAlpha2["YT"] = "YT";
|
|
536
537
|
CountryCodeAlpha2["ZA"] = "ZA";
|
|
@@ -547,8 +548,17 @@ exports.CurrencyUnit = void 0;
|
|
|
547
548
|
CurrencyUnit["GBP"] = "GBP";
|
|
548
549
|
})(exports.CurrencyUnit || (exports.CurrencyUnit = {}));
|
|
549
550
|
|
|
551
|
+
exports.DimensionUnit = void 0;
|
|
552
|
+
|
|
553
|
+
(function (DimensionUnit) {
|
|
554
|
+
DimensionUnit["METER"] = "meter";
|
|
555
|
+
DimensionUnit["FOOT"] = "foot";
|
|
556
|
+
DimensionUnit["KILOMETER"] = "kilometer";
|
|
557
|
+
DimensionUnit["MILE"] = "mile";
|
|
558
|
+
})(exports.DimensionUnit || (exports.DimensionUnit = {}));
|
|
559
|
+
|
|
550
560
|
exports.DistanceUnit = void 0;
|
|
551
|
-
/** EVSE data which extends OCPI EVSE */
|
|
561
|
+
/** EVSE data which extends OCPI EVSE. */
|
|
552
562
|
|
|
553
563
|
(function (DistanceUnit) {
|
|
554
564
|
DistanceUnit["METER"] = "meter";
|
|
@@ -572,7 +582,7 @@ exports.EmissionRateUnit = void 0;
|
|
|
572
582
|
})(exports.EmissionRateUnit || (exports.EmissionRateUnit = {}));
|
|
573
583
|
|
|
574
584
|
exports.EmissionUnit = void 0;
|
|
575
|
-
/** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values */
|
|
585
|
+
/** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
576
586
|
|
|
577
587
|
(function (EmissionUnit) {
|
|
578
588
|
EmissionUnit["GRAM"] = "gram";
|
|
@@ -601,7 +611,27 @@ exports.FuelUnit = void 0;
|
|
|
601
611
|
FuelUnit["GALLON"] = "gallon";
|
|
602
612
|
})(exports.FuelUnit || (exports.FuelUnit = {}));
|
|
603
613
|
|
|
614
|
+
/** Allowed N (EU) types of heavy vehicles. */
|
|
615
|
+
exports.HeavyVehiclesEUType = void 0;
|
|
616
|
+
/** List of facilities in the location. */
|
|
617
|
+
|
|
618
|
+
(function (HeavyVehiclesEUType) {
|
|
619
|
+
HeavyVehiclesEUType["N1"] = "N1";
|
|
620
|
+
HeavyVehiclesEUType["N2"] = "N2";
|
|
621
|
+
HeavyVehiclesEUType["N3"] = "N3";
|
|
622
|
+
})(exports.HeavyVehiclesEUType || (exports.HeavyVehiclesEUType = {}));
|
|
623
|
+
|
|
624
|
+
exports.HeavyVehiclesFacility = void 0;
|
|
604
625
|
/** Navigation service providers available */
|
|
626
|
+
|
|
627
|
+
(function (HeavyVehiclesFacility) {
|
|
628
|
+
HeavyVehiclesFacility["TRUCK_PARKING"] = "TRUCK_PARKING";
|
|
629
|
+
HeavyVehiclesFacility["TRUCK_WASH"] = "TRUCK_WASH";
|
|
630
|
+
HeavyVehiclesFacility["TRUCK_REPAIR"] = "TRUCK_REPAIR";
|
|
631
|
+
HeavyVehiclesFacility["TRUCK_DEALERSHIP"] = "TRUCK_DEALERSHIP";
|
|
632
|
+
HeavyVehiclesFacility["SECURE_TRUCK_PARKING"] = "SECURE_TRUCK_PARKING";
|
|
633
|
+
})(exports.HeavyVehiclesFacility || (exports.HeavyVehiclesFacility = {}));
|
|
634
|
+
|
|
605
635
|
exports.InstructionsFormat = void 0;
|
|
606
636
|
|
|
607
637
|
(function (InstructionsFormat) {
|
|
@@ -907,7 +937,7 @@ exports.OCPITariffDimensionType = void 0;
|
|
|
907
937
|
})(exports.OCPITariffDimensionType || (exports.OCPITariffDimensionType = {}));
|
|
908
938
|
|
|
909
939
|
exports.OCPITariffType = void 0;
|
|
910
|
-
/** List of charging modes that are supported */
|
|
940
|
+
/** List of charging modes that are supported. */
|
|
911
941
|
|
|
912
942
|
(function (OCPITariffType) {
|
|
913
943
|
OCPITariffType["AD_HOC_PAYMENT"] = "AD_HOC_PAYMENT";
|
|
@@ -918,7 +948,7 @@ exports.OCPITariffType = void 0;
|
|
|
918
948
|
})(exports.OCPITariffType || (exports.OCPITariffType = {}));
|
|
919
949
|
|
|
920
950
|
exports.OICPChargingModes = void 0;
|
|
921
|
-
/** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values */
|
|
951
|
+
/** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values. */
|
|
922
952
|
|
|
923
953
|
(function (OICPChargingModes) {
|
|
924
954
|
OICPChargingModes["MODE_1"] = "mode_1";
|
|
@@ -928,9 +958,9 @@ exports.OICPChargingModes = void 0;
|
|
|
928
958
|
OICPChargingModes["CHADEMO"] = "chademo";
|
|
929
959
|
})(exports.OICPChargingModes || (exports.OICPChargingModes = {}));
|
|
930
960
|
|
|
931
|
-
/** List of authentication modes that are supported */
|
|
961
|
+
/** List of authentication modes that are supported. */
|
|
932
962
|
exports.OICPEvseAuthenticationMode = void 0;
|
|
933
|
-
/** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values */
|
|
963
|
+
/** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
934
964
|
|
|
935
965
|
(function (OICPEvseAuthenticationMode) {
|
|
936
966
|
OICPEvseAuthenticationMode["NFC_RFID_CLASSIC"] = "nfc_rfid_classic";
|
|
@@ -941,9 +971,9 @@ exports.OICPEvseAuthenticationMode = void 0;
|
|
|
941
971
|
OICPEvseAuthenticationMode["NO_AUTHENTICATION_REQUIRED"] = "no_authentication_required";
|
|
942
972
|
})(exports.OICPEvseAuthenticationMode || (exports.OICPEvseAuthenticationMode = {}));
|
|
943
973
|
|
|
944
|
-
/** List of payment options that are supported */
|
|
974
|
+
/** List of payment options that are supported. */
|
|
945
975
|
exports.OICPPaymentOptions = void 0;
|
|
946
|
-
/** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values */
|
|
976
|
+
/** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
947
977
|
|
|
948
978
|
(function (OICPPaymentOptions) {
|
|
949
979
|
OICPPaymentOptions["NO_PAYMENT"] = "no_payment";
|
|
@@ -951,7 +981,7 @@ exports.OICPPaymentOptions = void 0;
|
|
|
951
981
|
OICPPaymentOptions["CONTRACT"] = "contract";
|
|
952
982
|
})(exports.OICPPaymentOptions || (exports.OICPPaymentOptions = {}));
|
|
953
983
|
|
|
954
|
-
/** List of value added services that are supported */
|
|
984
|
+
/** List of value added services that are supported. */
|
|
955
985
|
exports.OICPValueAddedServices = void 0;
|
|
956
986
|
|
|
957
987
|
(function (OICPValueAddedServices) {
|
|
@@ -980,6 +1010,14 @@ exports.PointType = void 0;
|
|
|
980
1010
|
PointType["POINT"] = "Point";
|
|
981
1011
|
})(exports.PointType || (exports.PointType = {}));
|
|
982
1012
|
|
|
1013
|
+
exports.PowerSupported = void 0;
|
|
1014
|
+
|
|
1015
|
+
(function (PowerSupported) {
|
|
1016
|
+
PowerSupported["AVAILABLE"] = "available";
|
|
1017
|
+
PowerSupported["NOT_AVAILABLE"] = "not_available";
|
|
1018
|
+
PowerSupported["ANNOUNCED"] = "announced";
|
|
1019
|
+
})(exports.PowerSupported || (exports.PowerSupported = {}));
|
|
1020
|
+
|
|
983
1021
|
exports.PowerUnit = void 0;
|
|
984
1022
|
|
|
985
1023
|
(function (PowerUnit) {
|
|
@@ -1147,7 +1185,7 @@ exports.SpeedUnit = void 0;
|
|
|
1147
1185
|
})(exports.SpeedUnit || (exports.SpeedUnit = {}));
|
|
1148
1186
|
|
|
1149
1187
|
exports.StateOfChargeUnit = void 0;
|
|
1150
|
-
/** Station data which extends OCPI Location */
|
|
1188
|
+
/** Station data which extends OCPI Location. */
|
|
1151
1189
|
|
|
1152
1190
|
(function (StateOfChargeUnit) {
|
|
1153
1191
|
StateOfChargeUnit["KILOMETER"] = "kilometer";
|
|
@@ -1156,6 +1194,27 @@ exports.StateOfChargeUnit = void 0;
|
|
|
1156
1194
|
StateOfChargeUnit["PERCENTAGE"] = "percentage";
|
|
1157
1195
|
})(exports.StateOfChargeUnit || (exports.StateOfChargeUnit = {}));
|
|
1158
1196
|
|
|
1197
|
+
exports.StationAdhocAuthorisationPaymentMethod = void 0;
|
|
1198
|
+
/** Filter which can be applied to retrieve the station around list action. */
|
|
1199
|
+
|
|
1200
|
+
(function (StationAdhocAuthorisationPaymentMethod) {
|
|
1201
|
+
StationAdhocAuthorisationPaymentMethod["AUTH_BY_CAR_PLUG_AND_CHARGE"] = "AUTH_BY_CAR_PLUG_AND_CHARGE";
|
|
1202
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_APPLE_PAY"] = "ONLINE_APPLE_PAY";
|
|
1203
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_IN_APP"] = "TERMINAL_IN_APP";
|
|
1204
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_PAYPAL"] = "ONLINE_PAYPAL";
|
|
1205
|
+
StationAdhocAuthorisationPaymentMethod["SERVICE_PROVIDER_RFID_CARD"] = "SERVICE_PROVIDER_RFID_CARD";
|
|
1206
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_QR_CODE"] = "TERMINAL_QR_CODE";
|
|
1207
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_CREDIT_CARD"] = "TERMINAL_CREDIT_CARD";
|
|
1208
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_DEBIT_CARD"] = "TERMINAL_DEBIT_CARD";
|
|
1209
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_SMS"] = "TERMINAL_SMS";
|
|
1210
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_CREDIT_CARD"] = "ONLINE_CREDIT_CARD";
|
|
1211
|
+
StationAdhocAuthorisationPaymentMethod["OTHER_OTHER"] = "OTHER_OTHER";
|
|
1212
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_CONTACTLESS"] = "TERMINAL_CONTACTLESS";
|
|
1213
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_GOOGLE_PAY"] = "ONLINE_GOOGLE_PAY";
|
|
1214
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_BANK_PAYMENT"] = "ONLINE_BANK_PAYMENT";
|
|
1215
|
+
StationAdhocAuthorisationPaymentMethod["AUTH_BY_CAR_AUTOCHARGE"] = "AUTH_BY_CAR_AUTOCHARGE";
|
|
1216
|
+
})(exports.StationAdhocAuthorisationPaymentMethod || (exports.StationAdhocAuthorisationPaymentMethod = {}));
|
|
1217
|
+
|
|
1159
1218
|
/** The station speed type. */
|
|
1160
1219
|
exports.StationSpeedType = void 0;
|
|
1161
1220
|
/** The station stats model */
|
|
@@ -1231,6 +1290,12 @@ exports.VehicleBatteryFieldEstimations = void 0;
|
|
|
1231
1290
|
VehicleBatteryFieldEstimations["U"] = "U";
|
|
1232
1291
|
})(exports.VehicleBatteryFieldEstimations || (exports.VehicleBatteryFieldEstimations = {}));
|
|
1233
1292
|
|
|
1293
|
+
exports.VehicleBatteryType = void 0;
|
|
1294
|
+
|
|
1295
|
+
(function (VehicleBatteryType) {
|
|
1296
|
+
VehicleBatteryType["LITHIUM_ION"] = "lithium_ion";
|
|
1297
|
+
})(exports.VehicleBatteryType || (exports.VehicleBatteryType = {}));
|
|
1298
|
+
|
|
1234
1299
|
exports.VehicleDataProvider = void 0;
|
|
1235
1300
|
|
|
1236
1301
|
(function (VehicleDataProvider) {
|
|
@@ -1289,6 +1354,16 @@ exports.VehicleMode = void 0;
|
|
|
1289
1354
|
VehicleMode["CONCEPT"] = "concept";
|
|
1290
1355
|
})(exports.VehicleMode || (exports.VehicleMode = {}));
|
|
1291
1356
|
|
|
1357
|
+
exports.VehiclePlugAndChargeSupport = void 0;
|
|
1358
|
+
/** The output element of the vehiclePremium query. */
|
|
1359
|
+
|
|
1360
|
+
(function (VehiclePlugAndChargeSupport) {
|
|
1361
|
+
VehiclePlugAndChargeSupport["AVAILABLE"] = "available";
|
|
1362
|
+
VehiclePlugAndChargeSupport["ANNOUNCED"] = "announced";
|
|
1363
|
+
VehiclePlugAndChargeSupport["LIMITED"] = "limited";
|
|
1364
|
+
VehiclePlugAndChargeSupport["NOT_AVAILABLE"] = "not_available";
|
|
1365
|
+
})(exports.VehiclePlugAndChargeSupport || (exports.VehiclePlugAndChargeSupport = {}));
|
|
1366
|
+
|
|
1292
1367
|
/** Propulsion. */
|
|
1293
1368
|
exports.VehiclePropulsion = void 0;
|
|
1294
1369
|
/** Status of a vehicle provider. */
|