@chargetrip/types 1.28.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 +1487 -297
- package/package.json +3 -2
- package/src/graphql.ts +275 -85
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
2
|
-
|
|
2
|
+
export let AccessType;
|
|
3
3
|
/** Information about an address */
|
|
4
4
|
|
|
5
|
+
(function (AccessType) {
|
|
6
|
+
AccessType["PUBLIC"] = "Public";
|
|
7
|
+
AccessType["RESTRICTED"] = "Restricted";
|
|
8
|
+
AccessType["PRIVATE"] = "Private";
|
|
9
|
+
})(AccessType || (AccessType = {}));
|
|
10
|
+
|
|
11
|
+
export let AdhocAuthorisationMethod;
|
|
5
12
|
/** Amenities available near a station */
|
|
13
|
+
|
|
14
|
+
(function (AdhocAuthorisationMethod) {
|
|
15
|
+
AdhocAuthorisationMethod["CREDIT_CARD"] = "CREDIT_CARD";
|
|
16
|
+
AdhocAuthorisationMethod["DEBIT_CARD"] = "DEBIT_CARD";
|
|
17
|
+
AdhocAuthorisationMethod["OTHER"] = "OTHER";
|
|
18
|
+
AdhocAuthorisationMethod["OTHER_APPLE_PAY"] = "OTHER_Apple_Pay";
|
|
19
|
+
AdhocAuthorisationMethod["OTHER_AUTHENTICATION_BY_CAR"] = "OTHER_Authentication_by_car";
|
|
20
|
+
AdhocAuthorisationMethod["OTHER_GOOGLE_PAY"] = "OTHER_Google_Pay";
|
|
21
|
+
AdhocAuthorisationMethod["QR_CODE"] = "QR_CODE";
|
|
22
|
+
AdhocAuthorisationMethod["SMS"] = "SMS";
|
|
23
|
+
})(AdhocAuthorisationMethod || (AdhocAuthorisationMethod = {}));
|
|
24
|
+
|
|
6
25
|
export let Amenities;
|
|
7
26
|
/** The amenity model */
|
|
8
27
|
|
|
@@ -122,6 +141,24 @@ export let ChargerStatus;
|
|
|
122
141
|
ChargerStatus["ERROR"] = "error";
|
|
123
142
|
})(ChargerStatus || (ChargerStatus = {}));
|
|
124
143
|
|
|
144
|
+
export let ChargingBehaviourCode;
|
|
145
|
+
|
|
146
|
+
(function (ChargingBehaviourCode) {
|
|
147
|
+
ChargingBehaviourCode["URBAN_CHARGING"] = "URBAN_CHARGING";
|
|
148
|
+
ChargingBehaviourCode["FAST_CHARGING"] = "FAST_CHARGING";
|
|
149
|
+
ChargingBehaviourCode["MIXED_CHARGING"] = "MIXED_CHARGING";
|
|
150
|
+
ChargingBehaviourCode["NOISE_CHARGING"] = "NOISE_CHARGING";
|
|
151
|
+
ChargingBehaviourCode["OVERNIGHT_CHARGING"] = "OVERNIGHT_CHARGING";
|
|
152
|
+
ChargingBehaviourCode["OFFICE_CHARGING"] = "OFFICE_CHARGING";
|
|
153
|
+
})(ChargingBehaviourCode || (ChargingBehaviourCode = {}));
|
|
154
|
+
|
|
155
|
+
export let ConnectProvider;
|
|
156
|
+
/** Connector data which extends OCPI Connector */
|
|
157
|
+
|
|
158
|
+
(function (ConnectProvider) {
|
|
159
|
+
ConnectProvider["ENODE"] = "Enode";
|
|
160
|
+
})(ConnectProvider || (ConnectProvider = {}));
|
|
161
|
+
|
|
125
162
|
/** The socket or plug standard of the charging point. */
|
|
126
163
|
export let ConnectorType;
|
|
127
164
|
/** The complete contact information */
|
|
@@ -199,9 +236,11 @@ export let CountryCodeAlpha2;
|
|
|
199
236
|
CountryCodeAlpha2["BH"] = "BH";
|
|
200
237
|
CountryCodeAlpha2["BI"] = "BI";
|
|
201
238
|
CountryCodeAlpha2["BJ"] = "BJ";
|
|
239
|
+
CountryCodeAlpha2["BL"] = "BL";
|
|
202
240
|
CountryCodeAlpha2["BM"] = "BM";
|
|
203
241
|
CountryCodeAlpha2["BN"] = "BN";
|
|
204
242
|
CountryCodeAlpha2["BO"] = "BO";
|
|
243
|
+
CountryCodeAlpha2["BQ"] = "BQ";
|
|
205
244
|
CountryCodeAlpha2["BR"] = "BR";
|
|
206
245
|
CountryCodeAlpha2["BS"] = "BS";
|
|
207
246
|
CountryCodeAlpha2["BT"] = "BT";
|
|
@@ -225,6 +264,7 @@ export let CountryCodeAlpha2;
|
|
|
225
264
|
CountryCodeAlpha2["CS"] = "CS";
|
|
226
265
|
CountryCodeAlpha2["CU"] = "CU";
|
|
227
266
|
CountryCodeAlpha2["CV"] = "CV";
|
|
267
|
+
CountryCodeAlpha2["CW"] = "CW";
|
|
228
268
|
CountryCodeAlpha2["CX"] = "CX";
|
|
229
269
|
CountryCodeAlpha2["CY"] = "CY";
|
|
230
270
|
CountryCodeAlpha2["CZ"] = "CZ";
|
|
@@ -252,6 +292,7 @@ export let CountryCodeAlpha2;
|
|
|
252
292
|
CountryCodeAlpha2["GD"] = "GD";
|
|
253
293
|
CountryCodeAlpha2["GE"] = "GE";
|
|
254
294
|
CountryCodeAlpha2["GF"] = "GF";
|
|
295
|
+
CountryCodeAlpha2["GG"] = "GG";
|
|
255
296
|
CountryCodeAlpha2["GH"] = "GH";
|
|
256
297
|
CountryCodeAlpha2["GI"] = "GI";
|
|
257
298
|
CountryCodeAlpha2["GL"] = "GL";
|
|
@@ -274,12 +315,14 @@ export let CountryCodeAlpha2;
|
|
|
274
315
|
CountryCodeAlpha2["ID"] = "ID";
|
|
275
316
|
CountryCodeAlpha2["IE"] = "IE";
|
|
276
317
|
CountryCodeAlpha2["IL"] = "IL";
|
|
318
|
+
CountryCodeAlpha2["IM"] = "IM";
|
|
277
319
|
CountryCodeAlpha2["IN"] = "IN";
|
|
278
320
|
CountryCodeAlpha2["IO"] = "IO";
|
|
279
321
|
CountryCodeAlpha2["IQ"] = "IQ";
|
|
280
322
|
CountryCodeAlpha2["IR"] = "IR";
|
|
281
323
|
CountryCodeAlpha2["IS"] = "IS";
|
|
282
324
|
CountryCodeAlpha2["IT"] = "IT";
|
|
325
|
+
CountryCodeAlpha2["JE"] = "JE";
|
|
283
326
|
CountryCodeAlpha2["JM"] = "JM";
|
|
284
327
|
CountryCodeAlpha2["JO"] = "JO";
|
|
285
328
|
CountryCodeAlpha2["JP"] = "JP";
|
|
@@ -377,6 +420,7 @@ export let CountryCodeAlpha2;
|
|
|
377
420
|
CountryCodeAlpha2["SN"] = "SN";
|
|
378
421
|
CountryCodeAlpha2["SO"] = "SO";
|
|
379
422
|
CountryCodeAlpha2["SR"] = "SR";
|
|
423
|
+
CountryCodeAlpha2["SS"] = "SS";
|
|
380
424
|
CountryCodeAlpha2["ST"] = "ST";
|
|
381
425
|
CountryCodeAlpha2["SV"] = "SV";
|
|
382
426
|
CountryCodeAlpha2["SX"] = "SX";
|
|
@@ -406,6 +450,18 @@ export let CountryCodeAlpha2;
|
|
|
406
450
|
CountryCodeAlpha2["UZ"] = "UZ";
|
|
407
451
|
CountryCodeAlpha2["VA"] = "VA";
|
|
408
452
|
CountryCodeAlpha2["VC"] = "VC";
|
|
453
|
+
CountryCodeAlpha2["VE"] = "VE";
|
|
454
|
+
CountryCodeAlpha2["VG"] = "VG";
|
|
455
|
+
CountryCodeAlpha2["VI"] = "VI";
|
|
456
|
+
CountryCodeAlpha2["VN"] = "VN";
|
|
457
|
+
CountryCodeAlpha2["VU"] = "VU";
|
|
458
|
+
CountryCodeAlpha2["WF"] = "WF";
|
|
459
|
+
CountryCodeAlpha2["WS"] = "WS";
|
|
460
|
+
CountryCodeAlpha2["YE"] = "YE";
|
|
461
|
+
CountryCodeAlpha2["YT"] = "YT";
|
|
462
|
+
CountryCodeAlpha2["ZA"] = "ZA";
|
|
463
|
+
CountryCodeAlpha2["ZM"] = "ZM";
|
|
464
|
+
CountryCodeAlpha2["ZW"] = "ZW";
|
|
409
465
|
})(CountryCodeAlpha2 || (CountryCodeAlpha2 = {}));
|
|
410
466
|
|
|
411
467
|
/** GeoJSON Feature type */
|
|
@@ -417,13 +473,22 @@ export let FeatureType;
|
|
|
417
473
|
})(FeatureType || (FeatureType = {}));
|
|
418
474
|
|
|
419
475
|
export let InstructionsFormat;
|
|
420
|
-
/** Types of a leg */
|
|
421
476
|
|
|
422
477
|
(function (InstructionsFormat) {
|
|
423
478
|
InstructionsFormat["CHARGETRIP"] = "Chargetrip";
|
|
424
479
|
InstructionsFormat["MAPBOXV5"] = "MapboxV5";
|
|
425
480
|
})(InstructionsFormat || (InstructionsFormat = {}));
|
|
426
481
|
|
|
482
|
+
/** Status of the isoline label */
|
|
483
|
+
export let IsolineStatus;
|
|
484
|
+
/** Types of a leg */
|
|
485
|
+
|
|
486
|
+
(function (IsolineStatus) {
|
|
487
|
+
IsolineStatus["DONE"] = "done";
|
|
488
|
+
IsolineStatus["PENDING"] = "pending";
|
|
489
|
+
IsolineStatus["ERROR"] = "error";
|
|
490
|
+
})(IsolineStatus || (IsolineStatus = {}));
|
|
491
|
+
|
|
427
492
|
export let LegType;
|
|
428
493
|
/** Preferred language for the mapping */
|
|
429
494
|
|
|
@@ -692,12 +757,20 @@ export let ParkingCost;
|
|
|
692
757
|
|
|
693
758
|
/** GeoJSON Point type */
|
|
694
759
|
export let PointType;
|
|
695
|
-
/**
|
|
760
|
+
/** A GeoJSON Polygon */
|
|
696
761
|
|
|
697
762
|
(function (PointType) {
|
|
698
763
|
PointType["POINT"] = "Point";
|
|
699
764
|
})(PointType || (PointType = {}));
|
|
700
765
|
|
|
766
|
+
/** GeoJSON Polygon type */
|
|
767
|
+
export let PolygonType;
|
|
768
|
+
/** The list of powers for the speed type */
|
|
769
|
+
|
|
770
|
+
(function (PolygonType) {
|
|
771
|
+
PolygonType["POLYGON"] = "Polygon";
|
|
772
|
+
})(PolygonType || (PolygonType = {}));
|
|
773
|
+
|
|
701
774
|
export let PricingListElementType;
|
|
702
775
|
|
|
703
776
|
(function (PricingListElementType) {
|
|
@@ -783,6 +856,7 @@ export let RouteTagType;
|
|
|
783
856
|
RouteTagType["TOLL"] = "toll";
|
|
784
857
|
RouteTagType["FERRY"] = "ferry";
|
|
785
858
|
RouteTagType["WALKING"] = "walking";
|
|
859
|
+
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
786
860
|
})(RouteTagType || (RouteTagType = {}));
|
|
787
861
|
|
|
788
862
|
/** The station speed type */
|
|
@@ -804,5 +878,6 @@ export let StepType;
|
|
|
804
878
|
StepType["TOLL"] = "toll";
|
|
805
879
|
StepType["FERRY"] = "ferry";
|
|
806
880
|
StepType["WALKING"] = "walking";
|
|
881
|
+
StepType["CROSSBORDER"] = "crossborder";
|
|
807
882
|
})(StepType || (StepType = {}));
|
|
808
883
|
//# sourceMappingURL=graphql.js.map
|