@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
|
@@ -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,27 @@ export let FuelUnit;
|
|
|
597
607
|
FuelUnit["GALLON"] = "gallon";
|
|
598
608
|
})(FuelUnit || (FuelUnit = {}));
|
|
599
609
|
|
|
610
|
+
/** Allowed N (EU) types of heavy vehicles. */
|
|
611
|
+
export let HeavyVehiclesEUType;
|
|
612
|
+
/** List of facilities in the location. */
|
|
613
|
+
|
|
614
|
+
(function (HeavyVehiclesEUType) {
|
|
615
|
+
HeavyVehiclesEUType["N1"] = "N1";
|
|
616
|
+
HeavyVehiclesEUType["N2"] = "N2";
|
|
617
|
+
HeavyVehiclesEUType["N3"] = "N3";
|
|
618
|
+
})(HeavyVehiclesEUType || (HeavyVehiclesEUType = {}));
|
|
619
|
+
|
|
620
|
+
export let HeavyVehiclesFacility;
|
|
600
621
|
/** Navigation service providers available */
|
|
622
|
+
|
|
623
|
+
(function (HeavyVehiclesFacility) {
|
|
624
|
+
HeavyVehiclesFacility["TRUCK_PARKING"] = "TRUCK_PARKING";
|
|
625
|
+
HeavyVehiclesFacility["TRUCK_WASH"] = "TRUCK_WASH";
|
|
626
|
+
HeavyVehiclesFacility["TRUCK_REPAIR"] = "TRUCK_REPAIR";
|
|
627
|
+
HeavyVehiclesFacility["TRUCK_DEALERSHIP"] = "TRUCK_DEALERSHIP";
|
|
628
|
+
HeavyVehiclesFacility["SECURE_TRUCK_PARKING"] = "SECURE_TRUCK_PARKING";
|
|
629
|
+
})(HeavyVehiclesFacility || (HeavyVehiclesFacility = {}));
|
|
630
|
+
|
|
601
631
|
export let InstructionsFormat;
|
|
602
632
|
|
|
603
633
|
(function (InstructionsFormat) {
|
|
@@ -903,7 +933,7 @@ export let OCPITariffDimensionType;
|
|
|
903
933
|
})(OCPITariffDimensionType || (OCPITariffDimensionType = {}));
|
|
904
934
|
|
|
905
935
|
export let OCPITariffType;
|
|
906
|
-
/** List of charging modes that are supported */
|
|
936
|
+
/** List of charging modes that are supported. */
|
|
907
937
|
|
|
908
938
|
(function (OCPITariffType) {
|
|
909
939
|
OCPITariffType["AD_HOC_PAYMENT"] = "AD_HOC_PAYMENT";
|
|
@@ -914,7 +944,7 @@ export let OCPITariffType;
|
|
|
914
944
|
})(OCPITariffType || (OCPITariffType = {}));
|
|
915
945
|
|
|
916
946
|
export let OICPChargingModes;
|
|
917
|
-
/** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values */
|
|
947
|
+
/** Custom connector properties for OICP databases. Station databases that not follow the OICP standard return null values. */
|
|
918
948
|
|
|
919
949
|
(function (OICPChargingModes) {
|
|
920
950
|
OICPChargingModes["MODE_1"] = "mode_1";
|
|
@@ -924,9 +954,9 @@ export let OICPChargingModes;
|
|
|
924
954
|
OICPChargingModes["CHADEMO"] = "chademo";
|
|
925
955
|
})(OICPChargingModes || (OICPChargingModes = {}));
|
|
926
956
|
|
|
927
|
-
/** List of authentication modes that are supported */
|
|
957
|
+
/** List of authentication modes that are supported. */
|
|
928
958
|
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 */
|
|
959
|
+
/** Custom EVSE properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
930
960
|
|
|
931
961
|
(function (OICPEvseAuthenticationMode) {
|
|
932
962
|
OICPEvseAuthenticationMode["NFC_RFID_CLASSIC"] = "nfc_rfid_classic";
|
|
@@ -937,9 +967,9 @@ export let OICPEvseAuthenticationMode;
|
|
|
937
967
|
OICPEvseAuthenticationMode["NO_AUTHENTICATION_REQUIRED"] = "no_authentication_required";
|
|
938
968
|
})(OICPEvseAuthenticationMode || (OICPEvseAuthenticationMode = {}));
|
|
939
969
|
|
|
940
|
-
/** List of payment options that are supported */
|
|
970
|
+
/** List of payment options that are supported. */
|
|
941
971
|
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 */
|
|
972
|
+
/** Custom station properties for OICP databases such as the global Hubject database. Station databases that not follow the OICP standard return null values. */
|
|
943
973
|
|
|
944
974
|
(function (OICPPaymentOptions) {
|
|
945
975
|
OICPPaymentOptions["NO_PAYMENT"] = "no_payment";
|
|
@@ -947,7 +977,7 @@ export let OICPPaymentOptions;
|
|
|
947
977
|
OICPPaymentOptions["CONTRACT"] = "contract";
|
|
948
978
|
})(OICPPaymentOptions || (OICPPaymentOptions = {}));
|
|
949
979
|
|
|
950
|
-
/** List of value added services that are supported */
|
|
980
|
+
/** List of value added services that are supported. */
|
|
951
981
|
export let OICPValueAddedServices;
|
|
952
982
|
|
|
953
983
|
(function (OICPValueAddedServices) {
|
|
@@ -976,6 +1006,14 @@ export let PointType;
|
|
|
976
1006
|
PointType["POINT"] = "Point";
|
|
977
1007
|
})(PointType || (PointType = {}));
|
|
978
1008
|
|
|
1009
|
+
export let PowerSupported;
|
|
1010
|
+
|
|
1011
|
+
(function (PowerSupported) {
|
|
1012
|
+
PowerSupported["AVAILABLE"] = "available";
|
|
1013
|
+
PowerSupported["NOT_AVAILABLE"] = "not_available";
|
|
1014
|
+
PowerSupported["ANNOUNCED"] = "announced";
|
|
1015
|
+
})(PowerSupported || (PowerSupported = {}));
|
|
1016
|
+
|
|
979
1017
|
export let PowerUnit;
|
|
980
1018
|
|
|
981
1019
|
(function (PowerUnit) {
|
|
@@ -1143,7 +1181,7 @@ export let SpeedUnit;
|
|
|
1143
1181
|
})(SpeedUnit || (SpeedUnit = {}));
|
|
1144
1182
|
|
|
1145
1183
|
export let StateOfChargeUnit;
|
|
1146
|
-
/** Station data which extends OCPI Location */
|
|
1184
|
+
/** Station data which extends OCPI Location. */
|
|
1147
1185
|
|
|
1148
1186
|
(function (StateOfChargeUnit) {
|
|
1149
1187
|
StateOfChargeUnit["KILOMETER"] = "kilometer";
|
|
@@ -1152,6 +1190,27 @@ export let StateOfChargeUnit;
|
|
|
1152
1190
|
StateOfChargeUnit["PERCENTAGE"] = "percentage";
|
|
1153
1191
|
})(StateOfChargeUnit || (StateOfChargeUnit = {}));
|
|
1154
1192
|
|
|
1193
|
+
export let StationAdhocAuthorisationPaymentMethod;
|
|
1194
|
+
/** Filter which can be applied to retrieve the station around list action. */
|
|
1195
|
+
|
|
1196
|
+
(function (StationAdhocAuthorisationPaymentMethod) {
|
|
1197
|
+
StationAdhocAuthorisationPaymentMethod["AUTH_BY_CAR_PLUG_AND_CHARGE"] = "AUTH_BY_CAR_PLUG_AND_CHARGE";
|
|
1198
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_APPLE_PAY"] = "ONLINE_APPLE_PAY";
|
|
1199
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_IN_APP"] = "TERMINAL_IN_APP";
|
|
1200
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_PAYPAL"] = "ONLINE_PAYPAL";
|
|
1201
|
+
StationAdhocAuthorisationPaymentMethod["SERVICE_PROVIDER_RFID_CARD"] = "SERVICE_PROVIDER_RFID_CARD";
|
|
1202
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_QR_CODE"] = "TERMINAL_QR_CODE";
|
|
1203
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_CREDIT_CARD"] = "TERMINAL_CREDIT_CARD";
|
|
1204
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_DEBIT_CARD"] = "TERMINAL_DEBIT_CARD";
|
|
1205
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_SMS"] = "TERMINAL_SMS";
|
|
1206
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_CREDIT_CARD"] = "ONLINE_CREDIT_CARD";
|
|
1207
|
+
StationAdhocAuthorisationPaymentMethod["OTHER_OTHER"] = "OTHER_OTHER";
|
|
1208
|
+
StationAdhocAuthorisationPaymentMethod["TERMINAL_CONTACTLESS"] = "TERMINAL_CONTACTLESS";
|
|
1209
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_GOOGLE_PAY"] = "ONLINE_GOOGLE_PAY";
|
|
1210
|
+
StationAdhocAuthorisationPaymentMethod["ONLINE_BANK_PAYMENT"] = "ONLINE_BANK_PAYMENT";
|
|
1211
|
+
StationAdhocAuthorisationPaymentMethod["AUTH_BY_CAR_AUTOCHARGE"] = "AUTH_BY_CAR_AUTOCHARGE";
|
|
1212
|
+
})(StationAdhocAuthorisationPaymentMethod || (StationAdhocAuthorisationPaymentMethod = {}));
|
|
1213
|
+
|
|
1155
1214
|
/** The station speed type. */
|
|
1156
1215
|
export let StationSpeedType;
|
|
1157
1216
|
/** The station stats model */
|
|
@@ -1227,6 +1286,12 @@ export let VehicleBatteryFieldEstimations;
|
|
|
1227
1286
|
VehicleBatteryFieldEstimations["U"] = "U";
|
|
1228
1287
|
})(VehicleBatteryFieldEstimations || (VehicleBatteryFieldEstimations = {}));
|
|
1229
1288
|
|
|
1289
|
+
export let VehicleBatteryType;
|
|
1290
|
+
|
|
1291
|
+
(function (VehicleBatteryType) {
|
|
1292
|
+
VehicleBatteryType["LITHIUM_ION"] = "lithium_ion";
|
|
1293
|
+
})(VehicleBatteryType || (VehicleBatteryType = {}));
|
|
1294
|
+
|
|
1230
1295
|
export let VehicleDataProvider;
|
|
1231
1296
|
|
|
1232
1297
|
(function (VehicleDataProvider) {
|
|
@@ -1285,6 +1350,16 @@ export let VehicleMode;
|
|
|
1285
1350
|
VehicleMode["CONCEPT"] = "concept";
|
|
1286
1351
|
})(VehicleMode || (VehicleMode = {}));
|
|
1287
1352
|
|
|
1353
|
+
export let VehiclePlugAndChargeSupport;
|
|
1354
|
+
/** The output element of the vehiclePremium query. */
|
|
1355
|
+
|
|
1356
|
+
(function (VehiclePlugAndChargeSupport) {
|
|
1357
|
+
VehiclePlugAndChargeSupport["AVAILABLE"] = "available";
|
|
1358
|
+
VehiclePlugAndChargeSupport["ANNOUNCED"] = "announced";
|
|
1359
|
+
VehiclePlugAndChargeSupport["LIMITED"] = "limited";
|
|
1360
|
+
VehiclePlugAndChargeSupport["NOT_AVAILABLE"] = "not_available";
|
|
1361
|
+
})(VehiclePlugAndChargeSupport || (VehiclePlugAndChargeSupport = {}));
|
|
1362
|
+
|
|
1288
1363
|
/** Propulsion. */
|
|
1289
1364
|
export let VehiclePropulsion;
|
|
1290
1365
|
/** Status of a vehicle provider. */
|