@chargetrip/types 1.30.0 → 1.30.1
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 +234 -0
- package/README.md +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +78 -3
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +78 -3
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +252 -82
- package/graphql.schema.json +3910 -3653
- package/package.json +3 -2
- package/src/graphql.ts +1300 -1270
package/dist/node/index.js
CHANGED
|
@@ -3,10 +3,29 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
6
|
-
|
|
6
|
+
exports.AccessType = void 0;
|
|
7
7
|
/** Information about an address */
|
|
8
8
|
|
|
9
|
+
(function (AccessType) {
|
|
10
|
+
AccessType["PUBLIC"] = "Public";
|
|
11
|
+
AccessType["RESTRICTED"] = "Restricted";
|
|
12
|
+
AccessType["PRIVATE"] = "Private";
|
|
13
|
+
})(exports.AccessType || (exports.AccessType = {}));
|
|
14
|
+
|
|
15
|
+
exports.AdhocAuthorisationMethod = void 0;
|
|
9
16
|
/** Amenities available near a station */
|
|
17
|
+
|
|
18
|
+
(function (AdhocAuthorisationMethod) {
|
|
19
|
+
AdhocAuthorisationMethod["CREDIT_CARD"] = "CREDIT_CARD";
|
|
20
|
+
AdhocAuthorisationMethod["DEBIT_CARD"] = "DEBIT_CARD";
|
|
21
|
+
AdhocAuthorisationMethod["OTHER"] = "OTHER";
|
|
22
|
+
AdhocAuthorisationMethod["OTHER_APPLE_PAY"] = "OTHER_Apple_Pay";
|
|
23
|
+
AdhocAuthorisationMethod["OTHER_AUTHENTICATION_BY_CAR"] = "OTHER_Authentication_by_car";
|
|
24
|
+
AdhocAuthorisationMethod["OTHER_GOOGLE_PAY"] = "OTHER_Google_Pay";
|
|
25
|
+
AdhocAuthorisationMethod["QR_CODE"] = "QR_CODE";
|
|
26
|
+
AdhocAuthorisationMethod["SMS"] = "SMS";
|
|
27
|
+
})(exports.AdhocAuthorisationMethod || (exports.AdhocAuthorisationMethod = {}));
|
|
28
|
+
|
|
10
29
|
exports.Amenities = void 0;
|
|
11
30
|
/** The amenity model */
|
|
12
31
|
|
|
@@ -126,6 +145,24 @@ exports.ChargerStatus = void 0;
|
|
|
126
145
|
ChargerStatus["ERROR"] = "error";
|
|
127
146
|
})(exports.ChargerStatus || (exports.ChargerStatus = {}));
|
|
128
147
|
|
|
148
|
+
exports.ChargingBehaviourCode = void 0;
|
|
149
|
+
|
|
150
|
+
(function (ChargingBehaviourCode) {
|
|
151
|
+
ChargingBehaviourCode["URBAN_CHARGING"] = "URBAN_CHARGING";
|
|
152
|
+
ChargingBehaviourCode["FAST_CHARGING"] = "FAST_CHARGING";
|
|
153
|
+
ChargingBehaviourCode["MIXED_CHARGING"] = "MIXED_CHARGING";
|
|
154
|
+
ChargingBehaviourCode["NOISE_CHARGING"] = "NOISE_CHARGING";
|
|
155
|
+
ChargingBehaviourCode["OVERNIGHT_CHARGING"] = "OVERNIGHT_CHARGING";
|
|
156
|
+
ChargingBehaviourCode["OFFICE_CHARGING"] = "OFFICE_CHARGING";
|
|
157
|
+
})(exports.ChargingBehaviourCode || (exports.ChargingBehaviourCode = {}));
|
|
158
|
+
|
|
159
|
+
exports.ConnectProvider = void 0;
|
|
160
|
+
/** Connector data which extends OCPI Connector */
|
|
161
|
+
|
|
162
|
+
(function (ConnectProvider) {
|
|
163
|
+
ConnectProvider["ENODE"] = "Enode";
|
|
164
|
+
})(exports.ConnectProvider || (exports.ConnectProvider = {}));
|
|
165
|
+
|
|
129
166
|
/** The socket or plug standard of the charging point. */
|
|
130
167
|
exports.ConnectorType = void 0;
|
|
131
168
|
/** The complete contact information */
|
|
@@ -203,9 +240,11 @@ exports.CountryCodeAlpha2 = void 0;
|
|
|
203
240
|
CountryCodeAlpha2["BH"] = "BH";
|
|
204
241
|
CountryCodeAlpha2["BI"] = "BI";
|
|
205
242
|
CountryCodeAlpha2["BJ"] = "BJ";
|
|
243
|
+
CountryCodeAlpha2["BL"] = "BL";
|
|
206
244
|
CountryCodeAlpha2["BM"] = "BM";
|
|
207
245
|
CountryCodeAlpha2["BN"] = "BN";
|
|
208
246
|
CountryCodeAlpha2["BO"] = "BO";
|
|
247
|
+
CountryCodeAlpha2["BQ"] = "BQ";
|
|
209
248
|
CountryCodeAlpha2["BR"] = "BR";
|
|
210
249
|
CountryCodeAlpha2["BS"] = "BS";
|
|
211
250
|
CountryCodeAlpha2["BT"] = "BT";
|
|
@@ -229,6 +268,7 @@ exports.CountryCodeAlpha2 = void 0;
|
|
|
229
268
|
CountryCodeAlpha2["CS"] = "CS";
|
|
230
269
|
CountryCodeAlpha2["CU"] = "CU";
|
|
231
270
|
CountryCodeAlpha2["CV"] = "CV";
|
|
271
|
+
CountryCodeAlpha2["CW"] = "CW";
|
|
232
272
|
CountryCodeAlpha2["CX"] = "CX";
|
|
233
273
|
CountryCodeAlpha2["CY"] = "CY";
|
|
234
274
|
CountryCodeAlpha2["CZ"] = "CZ";
|
|
@@ -256,6 +296,7 @@ exports.CountryCodeAlpha2 = void 0;
|
|
|
256
296
|
CountryCodeAlpha2["GD"] = "GD";
|
|
257
297
|
CountryCodeAlpha2["GE"] = "GE";
|
|
258
298
|
CountryCodeAlpha2["GF"] = "GF";
|
|
299
|
+
CountryCodeAlpha2["GG"] = "GG";
|
|
259
300
|
CountryCodeAlpha2["GH"] = "GH";
|
|
260
301
|
CountryCodeAlpha2["GI"] = "GI";
|
|
261
302
|
CountryCodeAlpha2["GL"] = "GL";
|
|
@@ -278,12 +319,14 @@ exports.CountryCodeAlpha2 = void 0;
|
|
|
278
319
|
CountryCodeAlpha2["ID"] = "ID";
|
|
279
320
|
CountryCodeAlpha2["IE"] = "IE";
|
|
280
321
|
CountryCodeAlpha2["IL"] = "IL";
|
|
322
|
+
CountryCodeAlpha2["IM"] = "IM";
|
|
281
323
|
CountryCodeAlpha2["IN"] = "IN";
|
|
282
324
|
CountryCodeAlpha2["IO"] = "IO";
|
|
283
325
|
CountryCodeAlpha2["IQ"] = "IQ";
|
|
284
326
|
CountryCodeAlpha2["IR"] = "IR";
|
|
285
327
|
CountryCodeAlpha2["IS"] = "IS";
|
|
286
328
|
CountryCodeAlpha2["IT"] = "IT";
|
|
329
|
+
CountryCodeAlpha2["JE"] = "JE";
|
|
287
330
|
CountryCodeAlpha2["JM"] = "JM";
|
|
288
331
|
CountryCodeAlpha2["JO"] = "JO";
|
|
289
332
|
CountryCodeAlpha2["JP"] = "JP";
|
|
@@ -381,6 +424,7 @@ exports.CountryCodeAlpha2 = void 0;
|
|
|
381
424
|
CountryCodeAlpha2["SN"] = "SN";
|
|
382
425
|
CountryCodeAlpha2["SO"] = "SO";
|
|
383
426
|
CountryCodeAlpha2["SR"] = "SR";
|
|
427
|
+
CountryCodeAlpha2["SS"] = "SS";
|
|
384
428
|
CountryCodeAlpha2["ST"] = "ST";
|
|
385
429
|
CountryCodeAlpha2["SV"] = "SV";
|
|
386
430
|
CountryCodeAlpha2["SX"] = "SX";
|
|
@@ -410,6 +454,18 @@ exports.CountryCodeAlpha2 = void 0;
|
|
|
410
454
|
CountryCodeAlpha2["UZ"] = "UZ";
|
|
411
455
|
CountryCodeAlpha2["VA"] = "VA";
|
|
412
456
|
CountryCodeAlpha2["VC"] = "VC";
|
|
457
|
+
CountryCodeAlpha2["VE"] = "VE";
|
|
458
|
+
CountryCodeAlpha2["VG"] = "VG";
|
|
459
|
+
CountryCodeAlpha2["VI"] = "VI";
|
|
460
|
+
CountryCodeAlpha2["VN"] = "VN";
|
|
461
|
+
CountryCodeAlpha2["VU"] = "VU";
|
|
462
|
+
CountryCodeAlpha2["WF"] = "WF";
|
|
463
|
+
CountryCodeAlpha2["WS"] = "WS";
|
|
464
|
+
CountryCodeAlpha2["YE"] = "YE";
|
|
465
|
+
CountryCodeAlpha2["YT"] = "YT";
|
|
466
|
+
CountryCodeAlpha2["ZA"] = "ZA";
|
|
467
|
+
CountryCodeAlpha2["ZM"] = "ZM";
|
|
468
|
+
CountryCodeAlpha2["ZW"] = "ZW";
|
|
413
469
|
})(exports.CountryCodeAlpha2 || (exports.CountryCodeAlpha2 = {}));
|
|
414
470
|
|
|
415
471
|
/** GeoJSON Feature type */
|
|
@@ -421,13 +477,22 @@ exports.FeatureType = void 0;
|
|
|
421
477
|
})(exports.FeatureType || (exports.FeatureType = {}));
|
|
422
478
|
|
|
423
479
|
exports.InstructionsFormat = void 0;
|
|
424
|
-
/** Types of a leg */
|
|
425
480
|
|
|
426
481
|
(function (InstructionsFormat) {
|
|
427
482
|
InstructionsFormat["CHARGETRIP"] = "Chargetrip";
|
|
428
483
|
InstructionsFormat["MAPBOXV5"] = "MapboxV5";
|
|
429
484
|
})(exports.InstructionsFormat || (exports.InstructionsFormat = {}));
|
|
430
485
|
|
|
486
|
+
/** Status of the isoline label */
|
|
487
|
+
exports.IsolineStatus = void 0;
|
|
488
|
+
/** Types of a leg */
|
|
489
|
+
|
|
490
|
+
(function (IsolineStatus) {
|
|
491
|
+
IsolineStatus["DONE"] = "done";
|
|
492
|
+
IsolineStatus["PENDING"] = "pending";
|
|
493
|
+
IsolineStatus["ERROR"] = "error";
|
|
494
|
+
})(exports.IsolineStatus || (exports.IsolineStatus = {}));
|
|
495
|
+
|
|
431
496
|
exports.LegType = void 0;
|
|
432
497
|
/** Preferred language for the mapping */
|
|
433
498
|
|
|
@@ -696,12 +761,20 @@ exports.ParkingCost = void 0;
|
|
|
696
761
|
|
|
697
762
|
/** GeoJSON Point type */
|
|
698
763
|
exports.PointType = void 0;
|
|
699
|
-
/**
|
|
764
|
+
/** A GeoJSON Polygon */
|
|
700
765
|
|
|
701
766
|
(function (PointType) {
|
|
702
767
|
PointType["POINT"] = "Point";
|
|
703
768
|
})(exports.PointType || (exports.PointType = {}));
|
|
704
769
|
|
|
770
|
+
/** GeoJSON Polygon type */
|
|
771
|
+
exports.PolygonType = void 0;
|
|
772
|
+
/** The list of powers for the speed type */
|
|
773
|
+
|
|
774
|
+
(function (PolygonType) {
|
|
775
|
+
PolygonType["POLYGON"] = "Polygon";
|
|
776
|
+
})(exports.PolygonType || (exports.PolygonType = {}));
|
|
777
|
+
|
|
705
778
|
exports.PricingListElementType = void 0;
|
|
706
779
|
|
|
707
780
|
(function (PricingListElementType) {
|
|
@@ -787,6 +860,7 @@ exports.RouteTagType = void 0;
|
|
|
787
860
|
RouteTagType["TOLL"] = "toll";
|
|
788
861
|
RouteTagType["FERRY"] = "ferry";
|
|
789
862
|
RouteTagType["WALKING"] = "walking";
|
|
863
|
+
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
790
864
|
})(exports.RouteTagType || (exports.RouteTagType = {}));
|
|
791
865
|
|
|
792
866
|
/** The station speed type */
|
|
@@ -808,5 +882,6 @@ exports.StepType = void 0;
|
|
|
808
882
|
StepType["TOLL"] = "toll";
|
|
809
883
|
StepType["FERRY"] = "ferry";
|
|
810
884
|
StepType["WALKING"] = "walking";
|
|
885
|
+
StepType["CROSSBORDER"] = "crossborder";
|
|
811
886
|
})(exports.StepType || (exports.StepType = {}));
|
|
812
887
|
//# sourceMappingURL=index.js.map
|