@chargetrip/types 1.39.0 → 1.41.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 +14 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +95 -12
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +95 -12
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +760 -353
- package/graphql.schema.json +2201 -400
- package/package.json +1 -1
- package/src/graphql.ts +796 -353
|
@@ -175,7 +175,7 @@ export let ChargeSpeedUnit;
|
|
|
175
175
|
})(ChargeSpeedUnit || (ChargeSpeedUnit = {}));
|
|
176
176
|
|
|
177
177
|
export let ChargerStatus;
|
|
178
|
-
/**
|
|
178
|
+
/** Grouping by status of the chargers. */
|
|
179
179
|
|
|
180
180
|
(function (ChargerStatus) {
|
|
181
181
|
ChargerStatus["FREE"] = "free";
|
|
@@ -210,7 +210,7 @@ export let ConnectScope;
|
|
|
210
210
|
})(ConnectScope || (ConnectScope = {}));
|
|
211
211
|
|
|
212
212
|
export let ConnectedVehicleStatus;
|
|
213
|
-
/** Connector data which extends OCPI Connector */
|
|
213
|
+
/** Connector data which extends OCPI Connector. */
|
|
214
214
|
|
|
215
215
|
(function (ConnectedVehicleStatus) {
|
|
216
216
|
ConnectedVehicleStatus["PENDING_AUTHORIZATION"] = "pending_authorization";
|
|
@@ -527,6 +527,7 @@ export let CountryCodeAlpha2;
|
|
|
527
527
|
CountryCodeAlpha2["VU"] = "VU";
|
|
528
528
|
CountryCodeAlpha2["WF"] = "WF";
|
|
529
529
|
CountryCodeAlpha2["WS"] = "WS";
|
|
530
|
+
CountryCodeAlpha2["XK"] = "XK";
|
|
530
531
|
CountryCodeAlpha2["YE"] = "YE";
|
|
531
532
|
CountryCodeAlpha2["YT"] = "YT";
|
|
532
533
|
CountryCodeAlpha2["ZA"] = "ZA";
|
|
@@ -543,8 +544,17 @@ export let CurrencyUnit;
|
|
|
543
544
|
CurrencyUnit["GBP"] = "GBP";
|
|
544
545
|
})(CurrencyUnit || (CurrencyUnit = {}));
|
|
545
546
|
|
|
547
|
+
export let DimensionUnit;
|
|
548
|
+
|
|
549
|
+
(function (DimensionUnit) {
|
|
550
|
+
DimensionUnit["METER"] = "meter";
|
|
551
|
+
DimensionUnit["FOOT"] = "foot";
|
|
552
|
+
DimensionUnit["KILOMETER"] = "kilometer";
|
|
553
|
+
DimensionUnit["MILE"] = "mile";
|
|
554
|
+
})(DimensionUnit || (DimensionUnit = {}));
|
|
555
|
+
|
|
546
556
|
export let DistanceUnit;
|
|
547
|
-
/** EVSE data which extends OCPI EVSE */
|
|
557
|
+
/** EVSE data which extends OCPI EVSE. */
|
|
548
558
|
|
|
549
559
|
(function (DistanceUnit) {
|
|
550
560
|
DistanceUnit["METER"] = "meter";
|
|
@@ -568,7 +578,7 @@ export let EmissionRateUnit;
|
|
|
568
578
|
})(EmissionRateUnit || (EmissionRateUnit = {}));
|
|
569
579
|
|
|
570
580
|
export let EmissionUnit;
|
|
571
|
-
/** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values */
|
|
581
|
+
/** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
572
582
|
|
|
573
583
|
(function (EmissionUnit) {
|
|
574
584
|
EmissionUnit["GRAM"] = "gram";
|
|
@@ -597,7 +607,35 @@ export let FuelUnit;
|
|
|
597
607
|
FuelUnit["GALLON"] = "gallon";
|
|
598
608
|
})(FuelUnit || (FuelUnit = {}));
|
|
599
609
|
|
|
610
|
+
export let HeatPumpMode;
|
|
611
|
+
/** Allowed N (EU) types of heavy vehicles. */
|
|
612
|
+
|
|
613
|
+
(function (HeatPumpMode) {
|
|
614
|
+
HeatPumpMode["DEFAULT"] = "default";
|
|
615
|
+
HeatPumpMode["INSTALLED"] = "installed";
|
|
616
|
+
HeatPumpMode["NONE"] = "none";
|
|
617
|
+
})(HeatPumpMode || (HeatPumpMode = {}));
|
|
618
|
+
|
|
619
|
+
export let HeavyVehiclesEUType;
|
|
620
|
+
/** List of facilities in the location. */
|
|
621
|
+
|
|
622
|
+
(function (HeavyVehiclesEUType) {
|
|
623
|
+
HeavyVehiclesEUType["N1"] = "N1";
|
|
624
|
+
HeavyVehiclesEUType["N2"] = "N2";
|
|
625
|
+
HeavyVehiclesEUType["N3"] = "N3";
|
|
626
|
+
})(HeavyVehiclesEUType || (HeavyVehiclesEUType = {}));
|
|
627
|
+
|
|
628
|
+
export let HeavyVehiclesFacility;
|
|
600
629
|
/** Navigation service providers available */
|
|
630
|
+
|
|
631
|
+
(function (HeavyVehiclesFacility) {
|
|
632
|
+
HeavyVehiclesFacility["TRUCK_PARKING"] = "TRUCK_PARKING";
|
|
633
|
+
HeavyVehiclesFacility["TRUCK_WASH"] = "TRUCK_WASH";
|
|
634
|
+
HeavyVehiclesFacility["TRUCK_REPAIR"] = "TRUCK_REPAIR";
|
|
635
|
+
HeavyVehiclesFacility["TRUCK_DEALERSHIP"] = "TRUCK_DEALERSHIP";
|
|
636
|
+
HeavyVehiclesFacility["SECURE_TRUCK_PARKING"] = "SECURE_TRUCK_PARKING";
|
|
637
|
+
})(HeavyVehiclesFacility || (HeavyVehiclesFacility = {}));
|
|
638
|
+
|
|
601
639
|
export let InstructionsFormat;
|
|
602
640
|
|
|
603
641
|
(function (InstructionsFormat) {
|
|
@@ -903,7 +941,7 @@ export let OCPITariffDimensionType;
|
|
|
903
941
|
})(OCPITariffDimensionType || (OCPITariffDimensionType = {}));
|
|
904
942
|
|
|
905
943
|
export let OCPITariffType;
|
|
906
|
-
/** List of charging modes that are supported */
|
|
944
|
+
/** List of charging modes that are supported. */
|
|
907
945
|
|
|
908
946
|
(function (OCPITariffType) {
|
|
909
947
|
OCPITariffType["AD_HOC_PAYMENT"] = "AD_HOC_PAYMENT";
|
|
@@ -914,7 +952,7 @@ export let OCPITariffType;
|
|
|
914
952
|
})(OCPITariffType || (OCPITariffType = {}));
|
|
915
953
|
|
|
916
954
|
export let OICPChargingModes;
|
|
917
|
-
/** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values */
|
|
955
|
+
/** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values. */
|
|
918
956
|
|
|
919
957
|
(function (OICPChargingModes) {
|
|
920
958
|
OICPChargingModes["MODE_1"] = "mode_1";
|
|
@@ -924,9 +962,9 @@ export let OICPChargingModes;
|
|
|
924
962
|
OICPChargingModes["CHADEMO"] = "chademo";
|
|
925
963
|
})(OICPChargingModes || (OICPChargingModes = {}));
|
|
926
964
|
|
|
927
|
-
/** List of authentication modes that are supported */
|
|
965
|
+
/** List of authentication modes that are supported. */
|
|
928
966
|
export let OICPEvseAuthenticationMode;
|
|
929
|
-
/** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values */
|
|
967
|
+
/** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
930
968
|
|
|
931
969
|
(function (OICPEvseAuthenticationMode) {
|
|
932
970
|
OICPEvseAuthenticationMode["NFC_RFID_CLASSIC"] = "nfc_rfid_classic";
|
|
@@ -937,9 +975,9 @@ export let OICPEvseAuthenticationMode;
|
|
|
937
975
|
OICPEvseAuthenticationMode["NO_AUTHENTICATION_REQUIRED"] = "no_authentication_required";
|
|
938
976
|
})(OICPEvseAuthenticationMode || (OICPEvseAuthenticationMode = {}));
|
|
939
977
|
|
|
940
|
-
/** List of payment options that are supported */
|
|
978
|
+
/** List of payment options that are supported. */
|
|
941
979
|
export let OICPPaymentOptions;
|
|
942
|
-
/** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values */
|
|
980
|
+
/** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
943
981
|
|
|
944
982
|
(function (OICPPaymentOptions) {
|
|
945
983
|
OICPPaymentOptions["NO_PAYMENT"] = "no_payment";
|
|
@@ -947,7 +985,7 @@ export let OICPPaymentOptions;
|
|
|
947
985
|
OICPPaymentOptions["CONTRACT"] = "contract";
|
|
948
986
|
})(OICPPaymentOptions || (OICPPaymentOptions = {}));
|
|
949
987
|
|
|
950
|
-
/** List of value added services that are supported */
|
|
988
|
+
/** List of value added services that are supported. */
|
|
951
989
|
export let OICPValueAddedServices;
|
|
952
990
|
|
|
953
991
|
(function (OICPValueAddedServices) {
|
|
@@ -976,6 +1014,14 @@ export let PointType;
|
|
|
976
1014
|
PointType["POINT"] = "Point";
|
|
977
1015
|
})(PointType || (PointType = {}));
|
|
978
1016
|
|
|
1017
|
+
export let PowerSupported;
|
|
1018
|
+
|
|
1019
|
+
(function (PowerSupported) {
|
|
1020
|
+
PowerSupported["AVAILABLE"] = "available";
|
|
1021
|
+
PowerSupported["NOT_AVAILABLE"] = "not_available";
|
|
1022
|
+
PowerSupported["ANNOUNCED"] = "announced";
|
|
1023
|
+
})(PowerSupported || (PowerSupported = {}));
|
|
1024
|
+
|
|
979
1025
|
export let PowerUnit;
|
|
980
1026
|
|
|
981
1027
|
(function (PowerUnit) {
|
|
@@ -1143,7 +1189,7 @@ export let SpeedUnit;
|
|
|
1143
1189
|
})(SpeedUnit || (SpeedUnit = {}));
|
|
1144
1190
|
|
|
1145
1191
|
export let StateOfChargeUnit;
|
|
1146
|
-
/** Station data which extends OCPI Location */
|
|
1192
|
+
/** Station data which extends OCPI Location. */
|
|
1147
1193
|
|
|
1148
1194
|
(function (StateOfChargeUnit) {
|
|
1149
1195
|
StateOfChargeUnit["KILOMETER"] = "kilometer";
|
|
@@ -1152,6 +1198,27 @@ export let StateOfChargeUnit;
|
|
|
1152
1198
|
StateOfChargeUnit["PERCENTAGE"] = "percentage";
|
|
1153
1199
|
})(StateOfChargeUnit || (StateOfChargeUnit = {}));
|
|
1154
1200
|
|
|
1201
|
+
export let StationAdhocAuthorisationPaymentMethod;
|
|
1202
|
+
/** Filter which can be applied to retrieve the station around list action. */
|
|
1203
|
+
|
|
1204
|
+
(function (StationAdhocAuthorisationPaymentMethod) {
|
|
1205
|
+
StationAdhocAuthorisationPaymentMethod["AUTH_BY_CAR_PLUG_AND_CHARGE"] = "AUTH_BY_CAR_PLUG_AND_CHARGE";
|
|
1206
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_APPLE_PAY"] = "ONLINE_APPLE_PAY";
|
|
1207
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_IN_APP"] = "TERMINAL_IN_APP";
|
|
1208
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_PAYPAL"] = "ONLINE_PAYPAL";
|
|
1209
|
+
StationAdhocAuthorisationPaymentMethod["SERVICE_PROVIDER_RFID_CARD"] = "SERVICE_PROVIDER_RFID_CARD";
|
|
1210
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_QR_CODE"] = "TERMINAL_QR_CODE";
|
|
1211
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_CREDIT_CARD"] = "TERMINAL_CREDIT_CARD";
|
|
1212
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_DEBIT_CARD"] = "TERMINAL_DEBIT_CARD";
|
|
1213
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_SMS"] = "TERMINAL_SMS";
|
|
1214
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_CREDIT_CARD"] = "ONLINE_CREDIT_CARD";
|
|
1215
|
+
StationAdhocAuthorisationPaymentMethod["OTHER_OTHER"] = "OTHER_OTHER";
|
|
1216
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_CONTACTLESS"] = "TERMINAL_CONTACTLESS";
|
|
1217
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_GOOGLE_PAY"] = "ONLINE_GOOGLE_PAY";
|
|
1218
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_BANK_PAYMENT"] = "ONLINE_BANK_PAYMENT";
|
|
1219
|
+
StationAdhocAuthorisationPaymentMethod["AUTH_BY_CAR_AUTOCHARGE"] = "AUTH_BY_CAR_AUTOCHARGE";
|
|
1220
|
+
})(StationAdhocAuthorisationPaymentMethod || (StationAdhocAuthorisationPaymentMethod = {}));
|
|
1221
|
+
|
|
1155
1222
|
/** The station speed type. */
|
|
1156
1223
|
export let StationSpeedType;
|
|
1157
1224
|
/** The station stats model */
|
|
@@ -1227,6 +1294,12 @@ export let VehicleBatteryFieldEstimations;
|
|
|
1227
1294
|
VehicleBatteryFieldEstimations["U"] = "U";
|
|
1228
1295
|
})(VehicleBatteryFieldEstimations || (VehicleBatteryFieldEstimations = {}));
|
|
1229
1296
|
|
|
1297
|
+
export let VehicleBatteryType;
|
|
1298
|
+
|
|
1299
|
+
(function (VehicleBatteryType) {
|
|
1300
|
+
VehicleBatteryType["LITHIUM_ION"] = "lithium_ion";
|
|
1301
|
+
})(VehicleBatteryType || (VehicleBatteryType = {}));
|
|
1302
|
+
|
|
1230
1303
|
export let VehicleDataProvider;
|
|
1231
1304
|
|
|
1232
1305
|
(function (VehicleDataProvider) {
|
|
@@ -1285,6 +1358,16 @@ export let VehicleMode;
|
|
|
1285
1358
|
VehicleMode["CONCEPT"] = "concept";
|
|
1286
1359
|
})(VehicleMode || (VehicleMode = {}));
|
|
1287
1360
|
|
|
1361
|
+
export let VehiclePlugAndChargeSupport;
|
|
1362
|
+
/** The output element of the vehiclePremium query. */
|
|
1363
|
+
|
|
1364
|
+
(function (VehiclePlugAndChargeSupport) {
|
|
1365
|
+
VehiclePlugAndChargeSupport["AVAILABLE"] = "available";
|
|
1366
|
+
VehiclePlugAndChargeSupport["ANNOUNCED"] = "announced";
|
|
1367
|
+
VehiclePlugAndChargeSupport["LIMITED"] = "limited";
|
|
1368
|
+
VehiclePlugAndChargeSupport["NOT_AVAILABLE"] = "not_available";
|
|
1369
|
+
})(VehiclePlugAndChargeSupport || (VehiclePlugAndChargeSupport = {}));
|
|
1370
|
+
|
|
1288
1371
|
/** Propulsion. */
|
|
1289
1372
|
export let VehiclePropulsion;
|
|
1290
1373
|
/** Status of a vehicle provider. */
|