@chargetrip/types 1.43.0 → 1.45.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 +19 -0
- package/README.md +2 -4
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +255 -20
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +255 -20
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +588 -226
- package/graphql.schema.json +3703 -1863
- package/package.json +1 -1
- package/src/graphql.ts +618 -232
|
@@ -16,7 +16,6 @@ export let AccessType;
|
|
|
16
16
|
})(AccessType || (AccessType = {}));
|
|
17
17
|
|
|
18
18
|
export let AdhocAuthorisationMethod;
|
|
19
|
-
/** Amenities available near a station */
|
|
20
19
|
|
|
21
20
|
(function (AdhocAuthorisationMethod) {
|
|
22
21
|
AdhocAuthorisationMethod["CREDIT_CARD"] = "CREDIT_CARD";
|
|
@@ -29,6 +28,7 @@ export let AdhocAuthorisationMethod;
|
|
|
29
28
|
AdhocAuthorisationMethod["SMS"] = "SMS";
|
|
30
29
|
})(AdhocAuthorisationMethod || (AdhocAuthorisationMethod = {}));
|
|
31
30
|
|
|
31
|
+
/** Amenities available near a station */
|
|
32
32
|
export let Amenities;
|
|
33
33
|
/** The amenity model */
|
|
34
34
|
|
|
@@ -227,7 +227,53 @@ export let ConnectedVehicleStatus;
|
|
|
227
227
|
ConnectedVehicleStatus["REMOVED"] = "removed";
|
|
228
228
|
})(ConnectedVehicleStatus || (ConnectedVehicleStatus = {}));
|
|
229
229
|
|
|
230
|
+
/** Type of pricing that is applicable. */
|
|
231
|
+
export let ConnectorPriceElementComponentType;
|
|
232
|
+
|
|
233
|
+
(function (ConnectorPriceElementComponentType) {
|
|
234
|
+
ConnectorPriceElementComponentType["ENERGY"] = "energy";
|
|
235
|
+
ConnectorPriceElementComponentType["FLAT"] = "flat";
|
|
236
|
+
ConnectorPriceElementComponentType["PARKING_TIME"] = "parking_time";
|
|
237
|
+
ConnectorPriceElementComponentType["TIME"] = "time";
|
|
238
|
+
})(ConnectorPriceElementComponentType || (ConnectorPriceElementComponentType = {}));
|
|
239
|
+
|
|
240
|
+
/** Type of the payment product. */
|
|
241
|
+
export let ConnectorPriceProductSubscriptionType;
|
|
242
|
+
/** Type of the payment product. */
|
|
243
|
+
|
|
244
|
+
(function (ConnectorPriceProductSubscriptionType) {
|
|
245
|
+
ConnectorPriceProductSubscriptionType["MONTHLY"] = "monthly";
|
|
246
|
+
ConnectorPriceProductSubscriptionType["YEARLY"] = "yearly";
|
|
247
|
+
ConnectorPriceProductSubscriptionType["ONE_OFF"] = "one_off";
|
|
248
|
+
ConnectorPriceProductSubscriptionType["NOT_APPLICABLE"] = "not_applicable";
|
|
249
|
+
})(ConnectorPriceProductSubscriptionType || (ConnectorPriceProductSubscriptionType = {}));
|
|
250
|
+
|
|
251
|
+
export let ConnectorPriceProductType;
|
|
252
|
+
|
|
253
|
+
(function (ConnectorPriceProductType) {
|
|
254
|
+
ConnectorPriceProductType["AD_HOC"] = "ad_hoc";
|
|
255
|
+
ConnectorPriceProductType["MSP"] = "msp";
|
|
256
|
+
ConnectorPriceProductType["CPO_SUBSCRIPTION"] = "cpo_subscription";
|
|
257
|
+
})(ConnectorPriceProductType || (ConnectorPriceProductType = {}));
|
|
258
|
+
|
|
259
|
+
/** The unit of time after which the overstay restrictions are applicable. */
|
|
260
|
+
export let ConnectorPriceRestrictionsOverstayTimeUnit;
|
|
261
|
+
/** Describes the cost associated with reserving a charging station. */
|
|
262
|
+
|
|
263
|
+
(function (ConnectorPriceRestrictionsOverstayTimeUnit) {
|
|
264
|
+
ConnectorPriceRestrictionsOverstayTimeUnit["SECONDS"] = "seconds";
|
|
265
|
+
ConnectorPriceRestrictionsOverstayTimeUnit["MINUTES"] = "minutes";
|
|
266
|
+
ConnectorPriceRestrictionsOverstayTimeUnit["HOURS"] = "hours";
|
|
267
|
+
})(ConnectorPriceRestrictionsOverstayTimeUnit || (ConnectorPriceRestrictionsOverstayTimeUnit = {}));
|
|
268
|
+
|
|
269
|
+
export let ConnectorPriceRestrictionsReservationType;
|
|
230
270
|
/** The socket or plug standard of the charging point. */
|
|
271
|
+
|
|
272
|
+
(function (ConnectorPriceRestrictionsReservationType) {
|
|
273
|
+
ConnectorPriceRestrictionsReservationType["RESERVATION"] = "reservation";
|
|
274
|
+
ConnectorPriceRestrictionsReservationType["RESERVATION_EXPIRES"] = "reservation_expires";
|
|
275
|
+
})(ConnectorPriceRestrictionsReservationType || (ConnectorPriceRestrictionsReservationType = {}));
|
|
276
|
+
|
|
231
277
|
export let ConnectorType;
|
|
232
278
|
|
|
233
279
|
(function (ConnectorType) {
|
|
@@ -543,8 +589,194 @@ export let CountryCodeAlpha2;
|
|
|
543
589
|
CountryCodeAlpha2["ZW"] = "ZW";
|
|
544
590
|
})(CountryCodeAlpha2 || (CountryCodeAlpha2 = {}));
|
|
545
591
|
|
|
592
|
+
/** Currency in the ISO 4217 format. */
|
|
593
|
+
export let Currency;
|
|
546
594
|
/** Currency according to the ISO 4217 standard. */
|
|
595
|
+
|
|
596
|
+
(function (Currency) {
|
|
597
|
+
Currency["AED"] = "AED";
|
|
598
|
+
Currency["AFN"] = "AFN";
|
|
599
|
+
Currency["ALL"] = "ALL";
|
|
600
|
+
Currency["AMD"] = "AMD";
|
|
601
|
+
Currency["ANG"] = "ANG";
|
|
602
|
+
Currency["AOA"] = "AOA";
|
|
603
|
+
Currency["ARS"] = "ARS";
|
|
604
|
+
Currency["AUD"] = "AUD";
|
|
605
|
+
Currency["AWG"] = "AWG";
|
|
606
|
+
Currency["AZN"] = "AZN";
|
|
607
|
+
Currency["BAM"] = "BAM";
|
|
608
|
+
Currency["BBD"] = "BBD";
|
|
609
|
+
Currency["BDT"] = "BDT";
|
|
610
|
+
Currency["BGN"] = "BGN";
|
|
611
|
+
Currency["BHD"] = "BHD";
|
|
612
|
+
Currency["BIF"] = "BIF";
|
|
613
|
+
Currency["BMD"] = "BMD";
|
|
614
|
+
Currency["BND"] = "BND";
|
|
615
|
+
Currency["BOB"] = "BOB";
|
|
616
|
+
Currency["BRL"] = "BRL";
|
|
617
|
+
Currency["BSD"] = "BSD";
|
|
618
|
+
Currency["BTN"] = "BTN";
|
|
619
|
+
Currency["BWP"] = "BWP";
|
|
620
|
+
Currency["BYN"] = "BYN";
|
|
621
|
+
Currency["BYR"] = "BYR";
|
|
622
|
+
Currency["BZD"] = "BZD";
|
|
623
|
+
Currency["CAD"] = "CAD";
|
|
624
|
+
Currency["CDF"] = "CDF";
|
|
625
|
+
Currency["CHF"] = "CHF";
|
|
626
|
+
Currency["CLF"] = "CLF";
|
|
627
|
+
Currency["CLP"] = "CLP";
|
|
628
|
+
Currency["CNY"] = "CNY";
|
|
629
|
+
Currency["COP"] = "COP";
|
|
630
|
+
Currency["CRC"] = "CRC";
|
|
631
|
+
Currency["CUC"] = "CUC";
|
|
632
|
+
Currency["CUP"] = "CUP";
|
|
633
|
+
Currency["CVE"] = "CVE";
|
|
634
|
+
Currency["CZK"] = "CZK";
|
|
635
|
+
Currency["DJF"] = "DJF";
|
|
636
|
+
Currency["DKK"] = "DKK";
|
|
637
|
+
Currency["DOP"] = "DOP";
|
|
638
|
+
Currency["DZD"] = "DZD";
|
|
639
|
+
Currency["EGP"] = "EGP";
|
|
640
|
+
Currency["ERN"] = "ERN";
|
|
641
|
+
Currency["ETB"] = "ETB";
|
|
642
|
+
Currency["EUR"] = "EUR";
|
|
643
|
+
Currency["FJD"] = "FJD";
|
|
644
|
+
Currency["FKP"] = "FKP";
|
|
645
|
+
Currency["GBP"] = "GBP";
|
|
646
|
+
Currency["GEL"] = "GEL";
|
|
647
|
+
Currency["GGP"] = "GGP";
|
|
648
|
+
Currency["GHS"] = "GHS";
|
|
649
|
+
Currency["GIP"] = "GIP";
|
|
650
|
+
Currency["GMD"] = "GMD";
|
|
651
|
+
Currency["GNF"] = "GNF";
|
|
652
|
+
Currency["GTQ"] = "GTQ";
|
|
653
|
+
Currency["GYD"] = "GYD";
|
|
654
|
+
Currency["HKD"] = "HKD";
|
|
655
|
+
Currency["HNL"] = "HNL";
|
|
656
|
+
Currency["HRK"] = "HRK";
|
|
657
|
+
Currency["HTG"] = "HTG";
|
|
658
|
+
Currency["HUF"] = "HUF";
|
|
659
|
+
Currency["IDR"] = "IDR";
|
|
660
|
+
Currency["ILS"] = "ILS";
|
|
661
|
+
Currency["IMP"] = "IMP";
|
|
662
|
+
Currency["INR"] = "INR";
|
|
663
|
+
Currency["IQD"] = "IQD";
|
|
664
|
+
Currency["IRR"] = "IRR";
|
|
665
|
+
Currency["ISK"] = "ISK";
|
|
666
|
+
Currency["JEP"] = "JEP";
|
|
667
|
+
Currency["JMD"] = "JMD";
|
|
668
|
+
Currency["JOD"] = "JOD";
|
|
669
|
+
Currency["JPY"] = "JPY";
|
|
670
|
+
Currency["KES"] = "KES";
|
|
671
|
+
Currency["KGS"] = "KGS";
|
|
672
|
+
Currency["KHR"] = "KHR";
|
|
673
|
+
Currency["KMF"] = "KMF";
|
|
674
|
+
Currency["KPW"] = "KPW";
|
|
675
|
+
Currency["KRW"] = "KRW";
|
|
676
|
+
Currency["KWD"] = "KWD";
|
|
677
|
+
Currency["KYD"] = "KYD";
|
|
678
|
+
Currency["KZT"] = "KZT";
|
|
679
|
+
Currency["LAK"] = "LAK";
|
|
680
|
+
Currency["LBP"] = "LBP";
|
|
681
|
+
Currency["LKR"] = "LKR";
|
|
682
|
+
Currency["LRD"] = "LRD";
|
|
683
|
+
Currency["LSL"] = "LSL";
|
|
684
|
+
Currency["LTL"] = "LTL";
|
|
685
|
+
Currency["LVL"] = "LVL";
|
|
686
|
+
Currency["LYD"] = "LYD";
|
|
687
|
+
Currency["MAD"] = "MAD";
|
|
688
|
+
Currency["MDL"] = "MDL";
|
|
689
|
+
Currency["MGA"] = "MGA";
|
|
690
|
+
Currency["MKD"] = "MKD";
|
|
691
|
+
Currency["MMK"] = "MMK";
|
|
692
|
+
Currency["MNT"] = "MNT";
|
|
693
|
+
Currency["MOP"] = "MOP";
|
|
694
|
+
Currency["MRO"] = "MRO";
|
|
695
|
+
Currency["MUR"] = "MUR";
|
|
696
|
+
Currency["MVR"] = "MVR";
|
|
697
|
+
Currency["MWK"] = "MWK";
|
|
698
|
+
Currency["MXN"] = "MXN";
|
|
699
|
+
Currency["MYR"] = "MYR";
|
|
700
|
+
Currency["MZN"] = "MZN";
|
|
701
|
+
Currency["NAD"] = "NAD";
|
|
702
|
+
Currency["NGN"] = "NGN";
|
|
703
|
+
Currency["NIO"] = "NIO";
|
|
704
|
+
Currency["NOK"] = "NOK";
|
|
705
|
+
Currency["NPR"] = "NPR";
|
|
706
|
+
Currency["NZD"] = "NZD";
|
|
707
|
+
Currency["OMR"] = "OMR";
|
|
708
|
+
Currency["PAB"] = "PAB";
|
|
709
|
+
Currency["PEN"] = "PEN";
|
|
710
|
+
Currency["PGK"] = "PGK";
|
|
711
|
+
Currency["PHP"] = "PHP";
|
|
712
|
+
Currency["PKR"] = "PKR";
|
|
713
|
+
Currency["PLN"] = "PLN";
|
|
714
|
+
Currency["PYG"] = "PYG";
|
|
715
|
+
Currency["QAR"] = "QAR";
|
|
716
|
+
Currency["RON"] = "RON";
|
|
717
|
+
Currency["RSD"] = "RSD";
|
|
718
|
+
Currency["RUB"] = "RUB";
|
|
719
|
+
Currency["RWF"] = "RWF";
|
|
720
|
+
Currency["SAR"] = "SAR";
|
|
721
|
+
Currency["SBD"] = "SBD";
|
|
722
|
+
Currency["SCR"] = "SCR";
|
|
723
|
+
Currency["SDG"] = "SDG";
|
|
724
|
+
Currency["SEK"] = "SEK";
|
|
725
|
+
Currency["SGD"] = "SGD";
|
|
726
|
+
Currency["SHP"] = "SHP";
|
|
727
|
+
Currency["SLL"] = "SLL";
|
|
728
|
+
Currency["SOS"] = "SOS";
|
|
729
|
+
Currency["SRD"] = "SRD";
|
|
730
|
+
Currency["STD"] = "STD";
|
|
731
|
+
Currency["SVC"] = "SVC";
|
|
732
|
+
Currency["SYP"] = "SYP";
|
|
733
|
+
Currency["SZL"] = "SZL";
|
|
734
|
+
Currency["THB"] = "THB";
|
|
735
|
+
Currency["TJS"] = "TJS";
|
|
736
|
+
Currency["TMT"] = "TMT";
|
|
737
|
+
Currency["TND"] = "TND";
|
|
738
|
+
Currency["TOP"] = "TOP";
|
|
739
|
+
Currency["TRY"] = "TRY";
|
|
740
|
+
Currency["TTD"] = "TTD";
|
|
741
|
+
Currency["TWD"] = "TWD";
|
|
742
|
+
Currency["TZS"] = "TZS";
|
|
743
|
+
Currency["UAH"] = "UAH";
|
|
744
|
+
Currency["UGX"] = "UGX";
|
|
745
|
+
Currency["USD"] = "USD";
|
|
746
|
+
Currency["UYU"] = "UYU";
|
|
747
|
+
Currency["UZS"] = "UZS";
|
|
748
|
+
Currency["VEF"] = "VEF";
|
|
749
|
+
Currency["VND"] = "VND";
|
|
750
|
+
Currency["VUV"] = "VUV";
|
|
751
|
+
Currency["WST"] = "WST";
|
|
752
|
+
Currency["XAF"] = "XAF";
|
|
753
|
+
Currency["XAG"] = "XAG";
|
|
754
|
+
Currency["XAU"] = "XAU";
|
|
755
|
+
Currency["XCD"] = "XCD";
|
|
756
|
+
Currency["XDR"] = "XDR";
|
|
757
|
+
Currency["XOF"] = "XOF";
|
|
758
|
+
Currency["XPF"] = "XPF";
|
|
759
|
+
Currency["YER"] = "YER";
|
|
760
|
+
Currency["ZAR"] = "ZAR";
|
|
761
|
+
Currency["ZMK"] = "ZMK";
|
|
762
|
+
Currency["ZMW"] = "ZMW";
|
|
763
|
+
Currency["ZWL"] = "ZWL";
|
|
764
|
+
Currency["XPT"] = "XPT";
|
|
765
|
+
Currency["XPD"] = "XPD";
|
|
766
|
+
Currency["BTC"] = "BTC";
|
|
767
|
+
Currency["ETH"] = "ETH";
|
|
768
|
+
Currency["BNB"] = "BNB";
|
|
769
|
+
Currency["XRP"] = "XRP";
|
|
770
|
+
Currency["SOL"] = "SOL";
|
|
771
|
+
Currency["DOT"] = "DOT";
|
|
772
|
+
Currency["AVAX"] = "AVAX";
|
|
773
|
+
Currency["MATIC"] = "MATIC";
|
|
774
|
+
Currency["LTC"] = "LTC";
|
|
775
|
+
Currency["ADA"] = "ADA";
|
|
776
|
+
})(Currency || (Currency = {}));
|
|
777
|
+
|
|
547
778
|
export let CurrencyUnit;
|
|
779
|
+
/** Represents a day of the week. */
|
|
548
780
|
|
|
549
781
|
(function (CurrencyUnit) {
|
|
550
782
|
CurrencyUnit["EUR"] = "EUR";
|
|
@@ -683,6 +915,18 @@ export let CurrencyUnit;
|
|
|
683
915
|
CurrencyUnit["ZMW"] = "ZMW";
|
|
684
916
|
})(CurrencyUnit || (CurrencyUnit = {}));
|
|
685
917
|
|
|
918
|
+
export let DayOfWeek;
|
|
919
|
+
|
|
920
|
+
(function (DayOfWeek) {
|
|
921
|
+
DayOfWeek["MONDAY"] = "monday";
|
|
922
|
+
DayOfWeek["TUESDAY"] = "tuesday";
|
|
923
|
+
DayOfWeek["WEDNESDAY"] = "wednesday";
|
|
924
|
+
DayOfWeek["THURSDAY"] = "thursday";
|
|
925
|
+
DayOfWeek["FRIDAY"] = "friday";
|
|
926
|
+
DayOfWeek["SATURDAY"] = "saturday";
|
|
927
|
+
DayOfWeek["SUNDAY"] = "sunday";
|
|
928
|
+
})(DayOfWeek || (DayOfWeek = {}));
|
|
929
|
+
|
|
686
930
|
export let DimensionUnit;
|
|
687
931
|
/** Distance unit */
|
|
688
932
|
|
|
@@ -1149,6 +1393,15 @@ export let OICPValueAddedServices;
|
|
|
1149
1393
|
OICPValueAddedServices["NONE"] = "none";
|
|
1150
1394
|
})(OICPValueAddedServices || (OICPValueAddedServices = {}));
|
|
1151
1395
|
|
|
1396
|
+
/** Operator ranking level. */
|
|
1397
|
+
export let OperatorRankingLevel;
|
|
1398
|
+
|
|
1399
|
+
(function (OperatorRankingLevel) {
|
|
1400
|
+
OperatorRankingLevel["LOW"] = "low";
|
|
1401
|
+
OperatorRankingLevel["MEDIUM"] = "medium";
|
|
1402
|
+
OperatorRankingLevel["HIGH"] = "high";
|
|
1403
|
+
})(OperatorRankingLevel || (OperatorRankingLevel = {}));
|
|
1404
|
+
|
|
1152
1405
|
export let ParkingCost;
|
|
1153
1406
|
|
|
1154
1407
|
(function (ParkingCost) {
|
|
@@ -1265,7 +1518,6 @@ export let RouteDetailsLegType;
|
|
|
1265
1518
|
|
|
1266
1519
|
/** Tags of a route. */
|
|
1267
1520
|
export let RouteDetailsTag;
|
|
1268
|
-
/** Types of a route. */
|
|
1269
1521
|
|
|
1270
1522
|
(function (RouteDetailsTag) {
|
|
1271
1523
|
RouteDetailsTag["ROAD"] = "road";
|
|
@@ -1276,14 +1528,6 @@ export let RouteDetailsTag;
|
|
|
1276
1528
|
RouteDetailsTag["CROSSBORDER"] = "crossborder";
|
|
1277
1529
|
})(RouteDetailsTag || (RouteDetailsTag = {}));
|
|
1278
1530
|
|
|
1279
|
-
export let RouteDetailsType;
|
|
1280
|
-
|
|
1281
|
-
(function (RouteDetailsType) {
|
|
1282
|
-
RouteDetailsType["FASTEST"] = "fastest";
|
|
1283
|
-
RouteDetailsType["BEST_MATCHING"] = "best_matching";
|
|
1284
|
-
RouteDetailsType["ALTERNATIVE"] = "alternative";
|
|
1285
|
-
})(RouteDetailsType || (RouteDetailsType = {}));
|
|
1286
|
-
|
|
1287
1531
|
/** Sign belonging to the instruction indicating the main maneuver. */
|
|
1288
1532
|
export let RouteInstructionSign;
|
|
1289
1533
|
|
|
@@ -1484,6 +1728,7 @@ export let TelemetryInputSource;
|
|
|
1484
1728
|
(function (TelemetryInputSource) {
|
|
1485
1729
|
TelemetryInputSource["MANUAL"] = "manual";
|
|
1486
1730
|
TelemetryInputSource["TELEMETRY"] = "telemetry";
|
|
1731
|
+
TelemetryInputSource["DEFAULT"] = "default";
|
|
1487
1732
|
})(TelemetryInputSource || (TelemetryInputSource = {}));
|
|
1488
1733
|
|
|
1489
1734
|
/** Temperature unit. */
|
|
@@ -1645,16 +1890,6 @@ export let VehicleRegion;
|
|
|
1645
1890
|
VehicleRegion["SA"] = "SA";
|
|
1646
1891
|
})(VehicleRegion || (VehicleRegion = {}));
|
|
1647
1892
|
|
|
1648
|
-
/** Status of a vehicle. */
|
|
1649
|
-
export let VehicleStatus;
|
|
1650
|
-
|
|
1651
|
-
(function (VehicleStatus) {
|
|
1652
|
-
VehicleStatus["DRAFT"] = "draft";
|
|
1653
|
-
VehicleStatus["PUBLIC"] = "public";
|
|
1654
|
-
VehicleStatus["PRIVATE"] = "private";
|
|
1655
|
-
VehicleStatus["ARCHIVED"] = "archived";
|
|
1656
|
-
})(VehicleStatus || (VehicleStatus = {}));
|
|
1657
|
-
|
|
1658
1893
|
export let VehicleType;
|
|
1659
1894
|
|
|
1660
1895
|
(function (VehicleType) {
|