@chargetrip/types 1.44.0 → 1.46.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/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +188 -82
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +188 -82
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +322 -1335
- package/graphql.schema.json +2773 -7182
- package/package.json +4 -2
- package/src/graphql.ts +314 -1394
package/dist/node/index.js
CHANGED
|
@@ -20,7 +20,6 @@ exports.AccessType = void 0;
|
|
|
20
20
|
})(exports.AccessType || (exports.AccessType = {}));
|
|
21
21
|
|
|
22
22
|
exports.AdhocAuthorisationMethod = void 0;
|
|
23
|
-
/** Amenities available near a station */
|
|
24
23
|
|
|
25
24
|
(function (AdhocAuthorisationMethod) {
|
|
26
25
|
AdhocAuthorisationMethod["CREDIT_CARD"] = "CREDIT_CARD";
|
|
@@ -33,6 +32,7 @@ exports.AdhocAuthorisationMethod = void 0;
|
|
|
33
32
|
AdhocAuthorisationMethod["SMS"] = "SMS";
|
|
34
33
|
})(exports.AdhocAuthorisationMethod || (exports.AdhocAuthorisationMethod = {}));
|
|
35
34
|
|
|
35
|
+
/** Amenities available near a station */
|
|
36
36
|
exports.Amenities = void 0;
|
|
37
37
|
/** The amenity model */
|
|
38
38
|
|
|
@@ -82,17 +82,6 @@ exports.BatteryInputType = void 0;
|
|
|
82
82
|
BatteryInputType["PERCENTAGE"] = "percentage";
|
|
83
83
|
})(exports.BatteryInputType || (exports.BatteryInputType = {}));
|
|
84
84
|
|
|
85
|
-
/** Deprecated: In favour of VehicleBatteryFieldEstimations. */
|
|
86
|
-
exports.CarBatteryFieldEstimations = void 0;
|
|
87
|
-
/** Deprecated: In favour of VehicleBody. */
|
|
88
|
-
|
|
89
|
-
(function (CarBatteryFieldEstimations) {
|
|
90
|
-
CarBatteryFieldEstimations["B"] = "B";
|
|
91
|
-
CarBatteryFieldEstimations["F"] = "F";
|
|
92
|
-
CarBatteryFieldEstimations["N"] = "N";
|
|
93
|
-
CarBatteryFieldEstimations["U"] = "U";
|
|
94
|
-
})(exports.CarBatteryFieldEstimations || (exports.CarBatteryFieldEstimations = {}));
|
|
95
|
-
|
|
96
85
|
exports.CarConnectivityProvider = void 0;
|
|
97
86
|
/** Deprecated. */
|
|
98
87
|
|
|
@@ -100,74 +89,6 @@ exports.CarConnectivityProvider = void 0;
|
|
|
100
89
|
CarConnectivityProvider["ENODE"] = "Enode";
|
|
101
90
|
})(exports.CarConnectivityProvider || (exports.CarConnectivityProvider = {}));
|
|
102
91
|
|
|
103
|
-
/** Deprecated: In favour of VehicleDrivetrain. */
|
|
104
|
-
exports.CarDrivetrain = void 0;
|
|
105
|
-
/** Deprecated. */
|
|
106
|
-
|
|
107
|
-
(function (CarDrivetrain) {
|
|
108
|
-
CarDrivetrain["BEV"] = "BEV";
|
|
109
|
-
CarDrivetrain["EREV"] = "EREV";
|
|
110
|
-
})(exports.CarDrivetrain || (exports.CarDrivetrain = {}));
|
|
111
|
-
|
|
112
|
-
/** Deprecated: In favour of VehicleFuel. */
|
|
113
|
-
exports.CarFuel = void 0;
|
|
114
|
-
/** Deprecated: In favour of VehicleImage */
|
|
115
|
-
|
|
116
|
-
(function (CarFuel) {
|
|
117
|
-
CarFuel["E"] = "E";
|
|
118
|
-
})(exports.CarFuel || (exports.CarFuel = {}));
|
|
119
|
-
|
|
120
|
-
/** Deprecated: In favour of VehicleImageType. */
|
|
121
|
-
exports.CarImageType = void 0;
|
|
122
|
-
/** Deprecated: In favour of VehicleImageTypeUploadable. */
|
|
123
|
-
|
|
124
|
-
(function (CarImageType) {
|
|
125
|
-
CarImageType["PROVIDER"] = "provider";
|
|
126
|
-
CarImageType["IMAGE"] = "image";
|
|
127
|
-
CarImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
|
|
128
|
-
CarImageType["BRAND"] = "brand";
|
|
129
|
-
CarImageType["BRAND_THUMBNAIL"] = "brand_thumbnail";
|
|
130
|
-
CarImageType["PLACEHOLDER"] = "placeholder";
|
|
131
|
-
})(exports.CarImageType || (exports.CarImageType = {}));
|
|
132
|
-
|
|
133
|
-
exports.CarImageTypeUploadable = void 0;
|
|
134
|
-
/** Deprecated: In favour of VehicleList. */
|
|
135
|
-
|
|
136
|
-
(function (CarImageTypeUploadable) {
|
|
137
|
-
CarImageTypeUploadable["IMAGE"] = "image";
|
|
138
|
-
})(exports.CarImageTypeUploadable || (exports.CarImageTypeUploadable = {}));
|
|
139
|
-
|
|
140
|
-
/** Deprecated: In favour of VehicleMode. */
|
|
141
|
-
exports.CarMode = void 0;
|
|
142
|
-
/** Deprecated: In favour of VehicleNaming. */
|
|
143
|
-
|
|
144
|
-
(function (CarMode) {
|
|
145
|
-
CarMode["INDEX_ONLY"] = "index_only";
|
|
146
|
-
CarMode["PRODUCTION"] = "production";
|
|
147
|
-
CarMode["CONCEPT"] = "concept";
|
|
148
|
-
})(exports.CarMode || (exports.CarMode = {}));
|
|
149
|
-
|
|
150
|
-
/** Deprecated: In favour of VehiclePropulsion. */
|
|
151
|
-
exports.CarPropulsion = void 0;
|
|
152
|
-
/** Deprecated: In favour of VehicleRange. */
|
|
153
|
-
|
|
154
|
-
(function (CarPropulsion) {
|
|
155
|
-
CarPropulsion["AWD"] = "AWD";
|
|
156
|
-
CarPropulsion["FRONT"] = "Front";
|
|
157
|
-
CarPropulsion["REAR"] = "Rear";
|
|
158
|
-
})(exports.CarPropulsion || (exports.CarPropulsion = {}));
|
|
159
|
-
|
|
160
|
-
/** Deprecated: In favour of VehicleStatus. */
|
|
161
|
-
exports.CarStatus = void 0;
|
|
162
|
-
/** Deprecated: In favour of VehicleVideo. */
|
|
163
|
-
|
|
164
|
-
(function (CarStatus) {
|
|
165
|
-
CarStatus["NEW"] = "new";
|
|
166
|
-
CarStatus["REVIEW"] = "review";
|
|
167
|
-
CarStatus["PUBLIC"] = "public";
|
|
168
|
-
CarStatus["REMOVED"] = "removed";
|
|
169
|
-
})(exports.CarStatus || (exports.CarStatus = {}));
|
|
170
|
-
|
|
171
92
|
/** Charging mode used at charging stations. */
|
|
172
93
|
exports.ChargeMode = void 0;
|
|
173
94
|
|
|
@@ -593,7 +514,192 @@ exports.CountryCodeAlpha2 = void 0;
|
|
|
593
514
|
CountryCodeAlpha2["ZW"] = "ZW";
|
|
594
515
|
})(exports.CountryCodeAlpha2 || (exports.CountryCodeAlpha2 = {}));
|
|
595
516
|
|
|
517
|
+
/** Currency in the ISO 4217 format. */
|
|
518
|
+
exports.Currency = void 0;
|
|
596
519
|
/** Currency according to the ISO 4217 standard. */
|
|
520
|
+
|
|
521
|
+
(function (Currency) {
|
|
522
|
+
Currency["AED"] = "AED";
|
|
523
|
+
Currency["AFN"] = "AFN";
|
|
524
|
+
Currency["ALL"] = "ALL";
|
|
525
|
+
Currency["AMD"] = "AMD";
|
|
526
|
+
Currency["ANG"] = "ANG";
|
|
527
|
+
Currency["AOA"] = "AOA";
|
|
528
|
+
Currency["ARS"] = "ARS";
|
|
529
|
+
Currency["AUD"] = "AUD";
|
|
530
|
+
Currency["AWG"] = "AWG";
|
|
531
|
+
Currency["AZN"] = "AZN";
|
|
532
|
+
Currency["BAM"] = "BAM";
|
|
533
|
+
Currency["BBD"] = "BBD";
|
|
534
|
+
Currency["BDT"] = "BDT";
|
|
535
|
+
Currency["BGN"] = "BGN";
|
|
536
|
+
Currency["BHD"] = "BHD";
|
|
537
|
+
Currency["BIF"] = "BIF";
|
|
538
|
+
Currency["BMD"] = "BMD";
|
|
539
|
+
Currency["BND"] = "BND";
|
|
540
|
+
Currency["BOB"] = "BOB";
|
|
541
|
+
Currency["BRL"] = "BRL";
|
|
542
|
+
Currency["BSD"] = "BSD";
|
|
543
|
+
Currency["BTN"] = "BTN";
|
|
544
|
+
Currency["BWP"] = "BWP";
|
|
545
|
+
Currency["BYN"] = "BYN";
|
|
546
|
+
Currency["BYR"] = "BYR";
|
|
547
|
+
Currency["BZD"] = "BZD";
|
|
548
|
+
Currency["CAD"] = "CAD";
|
|
549
|
+
Currency["CDF"] = "CDF";
|
|
550
|
+
Currency["CHF"] = "CHF";
|
|
551
|
+
Currency["CLF"] = "CLF";
|
|
552
|
+
Currency["CLP"] = "CLP";
|
|
553
|
+
Currency["CNY"] = "CNY";
|
|
554
|
+
Currency["COP"] = "COP";
|
|
555
|
+
Currency["CRC"] = "CRC";
|
|
556
|
+
Currency["CUC"] = "CUC";
|
|
557
|
+
Currency["CUP"] = "CUP";
|
|
558
|
+
Currency["CVE"] = "CVE";
|
|
559
|
+
Currency["CZK"] = "CZK";
|
|
560
|
+
Currency["DJF"] = "DJF";
|
|
561
|
+
Currency["DKK"] = "DKK";
|
|
562
|
+
Currency["DOP"] = "DOP";
|
|
563
|
+
Currency["DZD"] = "DZD";
|
|
564
|
+
Currency["EGP"] = "EGP";
|
|
565
|
+
Currency["ERN"] = "ERN";
|
|
566
|
+
Currency["ETB"] = "ETB";
|
|
567
|
+
Currency["EUR"] = "EUR";
|
|
568
|
+
Currency["FJD"] = "FJD";
|
|
569
|
+
Currency["FKP"] = "FKP";
|
|
570
|
+
Currency["GBP"] = "GBP";
|
|
571
|
+
Currency["GEL"] = "GEL";
|
|
572
|
+
Currency["GGP"] = "GGP";
|
|
573
|
+
Currency["GHS"] = "GHS";
|
|
574
|
+
Currency["GIP"] = "GIP";
|
|
575
|
+
Currency["GMD"] = "GMD";
|
|
576
|
+
Currency["GNF"] = "GNF";
|
|
577
|
+
Currency["GTQ"] = "GTQ";
|
|
578
|
+
Currency["GYD"] = "GYD";
|
|
579
|
+
Currency["HKD"] = "HKD";
|
|
580
|
+
Currency["HNL"] = "HNL";
|
|
581
|
+
Currency["HRK"] = "HRK";
|
|
582
|
+
Currency["HTG"] = "HTG";
|
|
583
|
+
Currency["HUF"] = "HUF";
|
|
584
|
+
Currency["IDR"] = "IDR";
|
|
585
|
+
Currency["ILS"] = "ILS";
|
|
586
|
+
Currency["IMP"] = "IMP";
|
|
587
|
+
Currency["INR"] = "INR";
|
|
588
|
+
Currency["IQD"] = "IQD";
|
|
589
|
+
Currency["IRR"] = "IRR";
|
|
590
|
+
Currency["ISK"] = "ISK";
|
|
591
|
+
Currency["JEP"] = "JEP";
|
|
592
|
+
Currency["JMD"] = "JMD";
|
|
593
|
+
Currency["JOD"] = "JOD";
|
|
594
|
+
Currency["JPY"] = "JPY";
|
|
595
|
+
Currency["KES"] = "KES";
|
|
596
|
+
Currency["KGS"] = "KGS";
|
|
597
|
+
Currency["KHR"] = "KHR";
|
|
598
|
+
Currency["KMF"] = "KMF";
|
|
599
|
+
Currency["KPW"] = "KPW";
|
|
600
|
+
Currency["KRW"] = "KRW";
|
|
601
|
+
Currency["KWD"] = "KWD";
|
|
602
|
+
Currency["KYD"] = "KYD";
|
|
603
|
+
Currency["KZT"] = "KZT";
|
|
604
|
+
Currency["LAK"] = "LAK";
|
|
605
|
+
Currency["LBP"] = "LBP";
|
|
606
|
+
Currency["LKR"] = "LKR";
|
|
607
|
+
Currency["LRD"] = "LRD";
|
|
608
|
+
Currency["LSL"] = "LSL";
|
|
609
|
+
Currency["LTL"] = "LTL";
|
|
610
|
+
Currency["LVL"] = "LVL";
|
|
611
|
+
Currency["LYD"] = "LYD";
|
|
612
|
+
Currency["MAD"] = "MAD";
|
|
613
|
+
Currency["MDL"] = "MDL";
|
|
614
|
+
Currency["MGA"] = "MGA";
|
|
615
|
+
Currency["MKD"] = "MKD";
|
|
616
|
+
Currency["MMK"] = "MMK";
|
|
617
|
+
Currency["MNT"] = "MNT";
|
|
618
|
+
Currency["MOP"] = "MOP";
|
|
619
|
+
Currency["MRO"] = "MRO";
|
|
620
|
+
Currency["MUR"] = "MUR";
|
|
621
|
+
Currency["MVR"] = "MVR";
|
|
622
|
+
Currency["MWK"] = "MWK";
|
|
623
|
+
Currency["MXN"] = "MXN";
|
|
624
|
+
Currency["MYR"] = "MYR";
|
|
625
|
+
Currency["MZN"] = "MZN";
|
|
626
|
+
Currency["NAD"] = "NAD";
|
|
627
|
+
Currency["NGN"] = "NGN";
|
|
628
|
+
Currency["NIO"] = "NIO";
|
|
629
|
+
Currency["NOK"] = "NOK";
|
|
630
|
+
Currency["NPR"] = "NPR";
|
|
631
|
+
Currency["NZD"] = "NZD";
|
|
632
|
+
Currency["OMR"] = "OMR";
|
|
633
|
+
Currency["PAB"] = "PAB";
|
|
634
|
+
Currency["PEN"] = "PEN";
|
|
635
|
+
Currency["PGK"] = "PGK";
|
|
636
|
+
Currency["PHP"] = "PHP";
|
|
637
|
+
Currency["PKR"] = "PKR";
|
|
638
|
+
Currency["PLN"] = "PLN";
|
|
639
|
+
Currency["PYG"] = "PYG";
|
|
640
|
+
Currency["QAR"] = "QAR";
|
|
641
|
+
Currency["RON"] = "RON";
|
|
642
|
+
Currency["RSD"] = "RSD";
|
|
643
|
+
Currency["RUB"] = "RUB";
|
|
644
|
+
Currency["RWF"] = "RWF";
|
|
645
|
+
Currency["SAR"] = "SAR";
|
|
646
|
+
Currency["SBD"] = "SBD";
|
|
647
|
+
Currency["SCR"] = "SCR";
|
|
648
|
+
Currency["SDG"] = "SDG";
|
|
649
|
+
Currency["SEK"] = "SEK";
|
|
650
|
+
Currency["SGD"] = "SGD";
|
|
651
|
+
Currency["SHP"] = "SHP";
|
|
652
|
+
Currency["SLL"] = "SLL";
|
|
653
|
+
Currency["SOS"] = "SOS";
|
|
654
|
+
Currency["SRD"] = "SRD";
|
|
655
|
+
Currency["STD"] = "STD";
|
|
656
|
+
Currency["SVC"] = "SVC";
|
|
657
|
+
Currency["SYP"] = "SYP";
|
|
658
|
+
Currency["SZL"] = "SZL";
|
|
659
|
+
Currency["THB"] = "THB";
|
|
660
|
+
Currency["TJS"] = "TJS";
|
|
661
|
+
Currency["TMT"] = "TMT";
|
|
662
|
+
Currency["TND"] = "TND";
|
|
663
|
+
Currency["TOP"] = "TOP";
|
|
664
|
+
Currency["TRY"] = "TRY";
|
|
665
|
+
Currency["TTD"] = "TTD";
|
|
666
|
+
Currency["TWD"] = "TWD";
|
|
667
|
+
Currency["TZS"] = "TZS";
|
|
668
|
+
Currency["UAH"] = "UAH";
|
|
669
|
+
Currency["UGX"] = "UGX";
|
|
670
|
+
Currency["USD"] = "USD";
|
|
671
|
+
Currency["UYU"] = "UYU";
|
|
672
|
+
Currency["UZS"] = "UZS";
|
|
673
|
+
Currency["VEF"] = "VEF";
|
|
674
|
+
Currency["VND"] = "VND";
|
|
675
|
+
Currency["VUV"] = "VUV";
|
|
676
|
+
Currency["WST"] = "WST";
|
|
677
|
+
Currency["XAF"] = "XAF";
|
|
678
|
+
Currency["XAG"] = "XAG";
|
|
679
|
+
Currency["XAU"] = "XAU";
|
|
680
|
+
Currency["XCD"] = "XCD";
|
|
681
|
+
Currency["XDR"] = "XDR";
|
|
682
|
+
Currency["XOF"] = "XOF";
|
|
683
|
+
Currency["XPF"] = "XPF";
|
|
684
|
+
Currency["YER"] = "YER";
|
|
685
|
+
Currency["ZAR"] = "ZAR";
|
|
686
|
+
Currency["ZMK"] = "ZMK";
|
|
687
|
+
Currency["ZMW"] = "ZMW";
|
|
688
|
+
Currency["ZWL"] = "ZWL";
|
|
689
|
+
Currency["XPT"] = "XPT";
|
|
690
|
+
Currency["XPD"] = "XPD";
|
|
691
|
+
Currency["BTC"] = "BTC";
|
|
692
|
+
Currency["ETH"] = "ETH";
|
|
693
|
+
Currency["BNB"] = "BNB";
|
|
694
|
+
Currency["XRP"] = "XRP";
|
|
695
|
+
Currency["SOL"] = "SOL";
|
|
696
|
+
Currency["DOT"] = "DOT";
|
|
697
|
+
Currency["AVAX"] = "AVAX";
|
|
698
|
+
Currency["MATIC"] = "MATIC";
|
|
699
|
+
Currency["LTC"] = "LTC";
|
|
700
|
+
Currency["ADA"] = "ADA";
|
|
701
|
+
})(exports.Currency || (exports.Currency = {}));
|
|
702
|
+
|
|
597
703
|
exports.CurrencyUnit = void 0;
|
|
598
704
|
/** Represents a day of the week. */
|
|
599
705
|
|
|
@@ -1480,7 +1586,6 @@ exports.SortDirection = void 0;
|
|
|
1480
1586
|
})(exports.SortDirection || (exports.SortDirection = {}));
|
|
1481
1587
|
|
|
1482
1588
|
exports.SpeedUnit = void 0;
|
|
1483
|
-
/** Standards(plug type) stats model */
|
|
1484
1589
|
|
|
1485
1590
|
(function (SpeedUnit) {
|
|
1486
1591
|
SpeedUnit["KILOMETERS_PER_HOUR"] = "kilometers_per_hour";
|
|
@@ -1521,7 +1626,7 @@ exports.StationAdhocAuthorisationPaymentMethod = void 0;
|
|
|
1521
1626
|
|
|
1522
1627
|
/** The station speed type. */
|
|
1523
1628
|
exports.StationSpeedType = void 0;
|
|
1524
|
-
/**
|
|
1629
|
+
/** Describes the vehicle restrictions at the location. */
|
|
1525
1630
|
|
|
1526
1631
|
(function (StationSpeedType) {
|
|
1527
1632
|
StationSpeedType["SLOW"] = "slow";
|
|
@@ -1547,6 +1652,7 @@ exports.TelemetryInputSource = void 0;
|
|
|
1547
1652
|
(function (TelemetryInputSource) {
|
|
1548
1653
|
TelemetryInputSource["MANUAL"] = "manual";
|
|
1549
1654
|
TelemetryInputSource["TELEMETRY"] = "telemetry";
|
|
1655
|
+
TelemetryInputSource["DEFAULT"] = "default";
|
|
1550
1656
|
})(exports.TelemetryInputSource || (exports.TelemetryInputSource = {}));
|
|
1551
1657
|
|
|
1552
1658
|
/** Temperature unit. */
|