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