@chargetrip/types 1.30.0 → 1.31.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/README.md +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +167 -92
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +167 -92
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +1422 -1277
- package/package.json +1 -1
|
@@ -1,22 +1,41 @@
|
|
|
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["PRIVATE"] = "Private";
|
|
7
|
+
AccessType["PUBLIC"] = "Public";
|
|
8
|
+
AccessType["RESTRICTED"] = "Restricted";
|
|
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
|
|
|
9
28
|
(function (Amenities) {
|
|
10
|
-
Amenities["
|
|
11
|
-
Amenities["RESTAURANT"] = "restaurant";
|
|
12
|
-
Amenities["MUSEUM"] = "museum";
|
|
29
|
+
Amenities["BATHROOM"] = "bathroom";
|
|
13
30
|
Amenities["COFFEE"] = "coffee";
|
|
14
31
|
Amenities["HOTEL"] = "hotel";
|
|
32
|
+
Amenities["MUSEUM"] = "museum";
|
|
33
|
+
Amenities["PARK"] = "park";
|
|
34
|
+
Amenities["PHARMACY"] = "pharmacy";
|
|
35
|
+
Amenities["PLAYGROUND"] = "playground";
|
|
36
|
+
Amenities["RESTAURANT"] = "restaurant";
|
|
15
37
|
Amenities["SHOPPING"] = "shopping";
|
|
16
|
-
Amenities["BATHROOM"] = "bathroom";
|
|
17
38
|
Amenities["SUPERMARKET"] = "supermarket";
|
|
18
|
-
Amenities["PLAYGROUND"] = "playground";
|
|
19
|
-
Amenities["PHARMACY"] = "pharmacy";
|
|
20
39
|
})(Amenities || (Amenities = {}));
|
|
21
40
|
|
|
22
41
|
/** The type of the batter value */
|
|
@@ -24,8 +43,8 @@ export let BatteryInputType;
|
|
|
24
43
|
/** Output of a car query */
|
|
25
44
|
|
|
26
45
|
(function (BatteryInputType) {
|
|
27
|
-
BatteryInputType["KWH"] = "kwh";
|
|
28
46
|
BatteryInputType["KM"] = "km";
|
|
47
|
+
BatteryInputType["KWH"] = "kwh";
|
|
29
48
|
BatteryInputType["MILES"] = "miles";
|
|
30
49
|
BatteryInputType["PERCENTAGE"] = "percentage";
|
|
31
50
|
})(BatteryInputType || (BatteryInputType = {}));
|
|
@@ -61,11 +80,11 @@ export let CarImageType;
|
|
|
61
80
|
/** When uploading images to a car, you can select one of this types. The rest of the types are automatically generated by the system */
|
|
62
81
|
|
|
63
82
|
(function (CarImageType) {
|
|
64
|
-
CarImageType["PROVIDER"] = "provider";
|
|
65
|
-
CarImageType["IMAGE"] = "image";
|
|
66
|
-
CarImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
|
|
67
83
|
CarImageType["BRAND"] = "brand";
|
|
68
84
|
CarImageType["BRAND_THUMBNAIL"] = "brand_thumbnail";
|
|
85
|
+
CarImageType["IMAGE"] = "image";
|
|
86
|
+
CarImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
|
|
87
|
+
CarImageType["PROVIDER"] = "provider";
|
|
69
88
|
})(CarImageType || (CarImageType = {}));
|
|
70
89
|
|
|
71
90
|
export let CarImageTypeUploadable;
|
|
@@ -79,9 +98,9 @@ export let CarImageTypeUploadable;
|
|
|
79
98
|
export let CarMode;
|
|
80
99
|
|
|
81
100
|
(function (CarMode) {
|
|
101
|
+
CarMode["CONCEPT"] = "concept";
|
|
82
102
|
CarMode["INDEX_ONLY"] = "index_only";
|
|
83
103
|
CarMode["PRODUCTION"] = "production";
|
|
84
|
-
CarMode["CONCEPT"] = "concept";
|
|
85
104
|
})(CarMode || (CarMode = {}));
|
|
86
105
|
|
|
87
106
|
/** Propulsion */
|
|
@@ -98,9 +117,9 @@ export let CarStatus;
|
|
|
98
117
|
|
|
99
118
|
(function (CarStatus) {
|
|
100
119
|
CarStatus["NEW"] = "new";
|
|
101
|
-
CarStatus["REVIEW"] = "review";
|
|
102
120
|
CarStatus["PUBLIC"] = "public";
|
|
103
121
|
CarStatus["REMOVED"] = "removed";
|
|
122
|
+
CarStatus["REVIEW"] = "review";
|
|
104
123
|
})(CarStatus || (CarStatus = {}));
|
|
105
124
|
|
|
106
125
|
/** Charging mode used at charging stations */
|
|
@@ -108,26 +127,45 @@ export let ChargeMode;
|
|
|
108
127
|
/** A groupped representation of EVSEs */
|
|
109
128
|
|
|
110
129
|
(function (ChargeMode) {
|
|
111
|
-
ChargeMode["OPTIMIZE_TRAVEL_TIME"] = "OPTIMIZE_TRAVEL_TIME";
|
|
112
130
|
ChargeMode["ALWAYS_TO_MAX_CHARGE"] = "ALWAYS_TO_MAX_CHARGE";
|
|
131
|
+
ChargeMode["OPTIMIZE_TRAVEL_TIME"] = "OPTIMIZE_TRAVEL_TIME";
|
|
113
132
|
})(ChargeMode || (ChargeMode = {}));
|
|
114
133
|
|
|
115
134
|
export let ChargerStatus;
|
|
116
135
|
/** Groupping by status of the chargers */
|
|
117
136
|
|
|
118
137
|
(function (ChargerStatus) {
|
|
119
|
-
ChargerStatus["FREE"] = "free";
|
|
120
138
|
ChargerStatus["BUSY"] = "busy";
|
|
121
|
-
ChargerStatus["UNKNOWN"] = "unknown";
|
|
122
139
|
ChargerStatus["ERROR"] = "error";
|
|
140
|
+
ChargerStatus["FREE"] = "free";
|
|
141
|
+
ChargerStatus["UNKNOWN"] = "unknown";
|
|
123
142
|
})(ChargerStatus || (ChargerStatus = {}));
|
|
124
143
|
|
|
144
|
+
export let ChargingBehaviourCode;
|
|
145
|
+
|
|
146
|
+
(function (ChargingBehaviourCode) {
|
|
147
|
+
ChargingBehaviourCode["FAST_CHARGING"] = "FAST_CHARGING";
|
|
148
|
+
ChargingBehaviourCode["MIXED_CHARGING"] = "MIXED_CHARGING";
|
|
149
|
+
ChargingBehaviourCode["NOISE_CHARGING"] = "NOISE_CHARGING";
|
|
150
|
+
ChargingBehaviourCode["OFFICE_CHARGING"] = "OFFICE_CHARGING";
|
|
151
|
+
ChargingBehaviourCode["OVERNIGHT_CHARGING"] = "OVERNIGHT_CHARGING";
|
|
152
|
+
ChargingBehaviourCode["URBAN_CHARGING"] = "URBAN_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 */
|
|
128
165
|
|
|
129
166
|
(function (ConnectorType) {
|
|
130
167
|
ConnectorType["CHADEMO"] = "CHADEMO";
|
|
168
|
+
ConnectorType["CHAOJI"] = "CHAOJI";
|
|
131
169
|
ConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
|
|
132
170
|
ConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
|
|
133
171
|
ConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
|
|
@@ -143,6 +181,7 @@ export let ConnectorType;
|
|
|
143
181
|
ConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
|
|
144
182
|
ConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
|
|
145
183
|
ConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
|
|
184
|
+
ConnectorType["GB_T"] = "GB_T";
|
|
146
185
|
ConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
|
|
147
186
|
ConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
|
|
148
187
|
ConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
|
|
@@ -153,12 +192,6 @@ export let ConnectorType;
|
|
|
153
192
|
ConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
|
|
154
193
|
ConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
|
|
155
194
|
ConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
|
|
156
|
-
ConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
|
|
157
|
-
ConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
|
|
158
|
-
ConnectorType["TESLA_R"] = "TESLA_R";
|
|
159
|
-
ConnectorType["TESLA_S"] = "TESLA_S";
|
|
160
|
-
ConnectorType["GB_T"] = "GB_T";
|
|
161
|
-
ConnectorType["CHAOJI"] = "CHAOJI";
|
|
162
195
|
ConnectorType["NEMA_5_20"] = "NEMA_5_20";
|
|
163
196
|
ConnectorType["NEMA_6_30"] = "NEMA_6_30";
|
|
164
197
|
ConnectorType["NEMA_6_50"] = "NEMA_6_50";
|
|
@@ -166,6 +199,10 @@ export let ConnectorType;
|
|
|
166
199
|
ConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
167
200
|
ConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
168
201
|
ConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
202
|
+
ConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
|
|
203
|
+
ConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
|
|
204
|
+
ConnectorType["TESLA_R"] = "TESLA_R";
|
|
205
|
+
ConnectorType["TESLA_S"] = "TESLA_S";
|
|
169
206
|
})(ConnectorType || (ConnectorType = {}));
|
|
170
207
|
|
|
171
208
|
/** ISO-3166 alpha-2 country codes */
|
|
@@ -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,22 +473,31 @@ 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["ERROR"] = "error";
|
|
489
|
+
IsolineStatus["PENDING"] = "pending";
|
|
490
|
+
})(IsolineStatus || (IsolineStatus = {}));
|
|
491
|
+
|
|
427
492
|
export let LegType;
|
|
428
493
|
/** Preferred language for the mapping */
|
|
429
494
|
|
|
430
495
|
(function (LegType) {
|
|
496
|
+
LegType["FINAL"] = "final";
|
|
431
497
|
LegType["STATION"] = "station";
|
|
498
|
+
LegType["STATIONFINAL"] = "stationFinal";
|
|
432
499
|
LegType["STATIONVIA"] = "stationVia";
|
|
433
500
|
LegType["VIA"] = "via";
|
|
434
|
-
LegType["FINAL"] = "final";
|
|
435
|
-
LegType["STATIONFINAL"] = "stationFinal";
|
|
436
501
|
})(LegType || (LegType = {}));
|
|
437
502
|
|
|
438
503
|
export let MappingLanguage;
|
|
@@ -454,10 +519,10 @@ export let NavigationState;
|
|
|
454
519
|
/** Navigation session station type */
|
|
455
520
|
|
|
456
521
|
(function (NavigationState) {
|
|
457
|
-
NavigationState["DRIVING"] = "driving";
|
|
458
522
|
NavigationState["CHARGING"] = "charging";
|
|
459
|
-
NavigationState["
|
|
523
|
+
NavigationState["DRIVING"] = "driving";
|
|
460
524
|
NavigationState["ERROR"] = "error";
|
|
525
|
+
NavigationState["FINISHED"] = "finished";
|
|
461
526
|
})(NavigationState || (NavigationState = {}));
|
|
462
527
|
|
|
463
528
|
/** The capabilities of an EVSE. */
|
|
@@ -465,8 +530,8 @@ export let OCPICapability;
|
|
|
465
530
|
/** The format of the connector, whether it is a socket or a plug. */
|
|
466
531
|
|
|
467
532
|
(function (OCPICapability) {
|
|
468
|
-
OCPICapability["CHARGING_PROFILE_CAPABLE"] = "CHARGING_PROFILE_CAPABLE";
|
|
469
533
|
OCPICapability["CHARGING_PREFERENCES_CAPABLE"] = "CHARGING_PREFERENCES_CAPABLE";
|
|
534
|
+
OCPICapability["CHARGING_PROFILE_CAPABLE"] = "CHARGING_PROFILE_CAPABLE";
|
|
470
535
|
OCPICapability["CHIP_CARD_SUPPORT"] = "CHIP_CARD_SUPPORT";
|
|
471
536
|
OCPICapability["CONTACTLESS_CARD_SUPPORT"] = "CONTACTLESS_CARD_SUPPORT";
|
|
472
537
|
OCPICapability["CREDIT_CARD_PAYABLE"] = "CREDIT_CARD_PAYABLE";
|
|
@@ -475,23 +540,24 @@ export let OCPICapability;
|
|
|
475
540
|
OCPICapability["REMOTE_START_STOP_CAPABLE"] = "REMOTE_START_STOP_CAPABLE";
|
|
476
541
|
OCPICapability["RESERVABLE"] = "RESERVABLE";
|
|
477
542
|
OCPICapability["RFID_READER"] = "RFID_READER";
|
|
543
|
+
OCPICapability["START_SESSION_CONNECTOR_REQUIRED"] = "START_SESSION_CONNECTOR_REQUIRED";
|
|
478
544
|
OCPICapability["TOKEN_GROUP_CAPABLE"] = "TOKEN_GROUP_CAPABLE";
|
|
479
545
|
OCPICapability["UNLOCK_CAPABLE"] = "UNLOCK_CAPABLE";
|
|
480
|
-
OCPICapability["START_SESSION_CONNECTOR_REQUIRED"] = "START_SESSION_CONNECTOR_REQUIRED";
|
|
481
546
|
})(OCPICapability || (OCPICapability = {}));
|
|
482
547
|
|
|
483
548
|
export let OCPIConnectorFormat;
|
|
484
549
|
/** Deprecated: Please use ConnectorType instead */
|
|
485
550
|
|
|
486
551
|
(function (OCPIConnectorFormat) {
|
|
487
|
-
OCPIConnectorFormat["SOCKET"] = "SOCKET";
|
|
488
552
|
OCPIConnectorFormat["CABLE"] = "CABLE";
|
|
553
|
+
OCPIConnectorFormat["SOCKET"] = "SOCKET";
|
|
489
554
|
})(OCPIConnectorFormat || (OCPIConnectorFormat = {}));
|
|
490
555
|
|
|
491
556
|
export let OCPIConnectorType;
|
|
492
557
|
|
|
493
558
|
(function (OCPIConnectorType) {
|
|
494
559
|
OCPIConnectorType["CHADEMO"] = "CHADEMO";
|
|
560
|
+
OCPIConnectorType["CHAOJI"] = "CHAOJI";
|
|
495
561
|
OCPIConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
|
|
496
562
|
OCPIConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
|
|
497
563
|
OCPIConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
|
|
@@ -507,6 +573,7 @@ export let OCPIConnectorType;
|
|
|
507
573
|
OCPIConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
|
|
508
574
|
OCPIConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
|
|
509
575
|
OCPIConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
|
|
576
|
+
OCPIConnectorType["GB_T"] = "GB_T";
|
|
510
577
|
OCPIConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
|
|
511
578
|
OCPIConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
|
|
512
579
|
OCPIConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
|
|
@@ -517,12 +584,6 @@ export let OCPIConnectorType;
|
|
|
517
584
|
OCPIConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
|
|
518
585
|
OCPIConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
|
|
519
586
|
OCPIConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
|
|
520
|
-
OCPIConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
|
|
521
|
-
OCPIConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
|
|
522
|
-
OCPIConnectorType["TESLA_R"] = "TESLA_R";
|
|
523
|
-
OCPIConnectorType["TESLA_S"] = "TESLA_S";
|
|
524
|
-
OCPIConnectorType["GB_T"] = "GB_T";
|
|
525
|
-
OCPIConnectorType["CHAOJI"] = "CHAOJI";
|
|
526
587
|
OCPIConnectorType["NEMA_5_20"] = "NEMA_5_20";
|
|
527
588
|
OCPIConnectorType["NEMA_6_30"] = "NEMA_6_30";
|
|
528
589
|
OCPIConnectorType["NEMA_6_50"] = "NEMA_6_50";
|
|
@@ -530,18 +591,22 @@ export let OCPIConnectorType;
|
|
|
530
591
|
OCPIConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
531
592
|
OCPIConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
532
593
|
OCPIConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
594
|
+
OCPIConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
|
|
595
|
+
OCPIConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
|
|
596
|
+
OCPIConnectorType["TESLA_R"] = "TESLA_R";
|
|
597
|
+
OCPIConnectorType["TESLA_S"] = "TESLA_S";
|
|
533
598
|
})(OCPIConnectorType || (OCPIConnectorType = {}));
|
|
534
599
|
|
|
535
600
|
export let OCPIDayOfWeek;
|
|
536
601
|
|
|
537
602
|
(function (OCPIDayOfWeek) {
|
|
538
|
-
OCPIDayOfWeek["MONDAY"] = "MONDAY";
|
|
539
|
-
OCPIDayOfWeek["TUESDAY"] = "TUESDAY";
|
|
540
|
-
OCPIDayOfWeek["WEDNESDAY"] = "WEDNESDAY";
|
|
541
|
-
OCPIDayOfWeek["THURSDAY"] = "THURSDAY";
|
|
542
603
|
OCPIDayOfWeek["FRIDAY"] = "FRIDAY";
|
|
604
|
+
OCPIDayOfWeek["MONDAY"] = "MONDAY";
|
|
543
605
|
OCPIDayOfWeek["SATURDAY"] = "SATURDAY";
|
|
544
606
|
OCPIDayOfWeek["SUNDAY"] = "SUNDAY";
|
|
607
|
+
OCPIDayOfWeek["THURSDAY"] = "THURSDAY";
|
|
608
|
+
OCPIDayOfWeek["TUESDAY"] = "TUESDAY";
|
|
609
|
+
OCPIDayOfWeek["WEDNESDAY"] = "WEDNESDAY";
|
|
545
610
|
})(OCPIDayOfWeek || (OCPIDayOfWeek = {}));
|
|
546
611
|
|
|
547
612
|
/** Categories of energy sources. */
|
|
@@ -549,14 +614,14 @@ export let OCPIEnergySourceCategory;
|
|
|
549
614
|
/** Amount of waste produced/emitted per kWh. */
|
|
550
615
|
|
|
551
616
|
(function (OCPIEnergySourceCategory) {
|
|
552
|
-
OCPIEnergySourceCategory["NUCLEAR"] = "NUCLEAR";
|
|
553
|
-
OCPIEnergySourceCategory["GENERAL_FOSSIL"] = "GENERAL_FOSSIL";
|
|
554
617
|
OCPIEnergySourceCategory["COAL"] = "COAL";
|
|
555
618
|
OCPIEnergySourceCategory["GAS"] = "GAS";
|
|
619
|
+
OCPIEnergySourceCategory["GENERAL_FOSSIL"] = "GENERAL_FOSSIL";
|
|
556
620
|
OCPIEnergySourceCategory["GENERAL_GREEN"] = "GENERAL_GREEN";
|
|
621
|
+
OCPIEnergySourceCategory["NUCLEAR"] = "NUCLEAR";
|
|
557
622
|
OCPIEnergySourceCategory["SOLAR"] = "SOLAR";
|
|
558
|
-
OCPIEnergySourceCategory["WIND"] = "WIND";
|
|
559
623
|
OCPIEnergySourceCategory["WATER"] = "WATER";
|
|
624
|
+
OCPIEnergySourceCategory["WIND"] = "WIND";
|
|
560
625
|
})(OCPIEnergySourceCategory || (OCPIEnergySourceCategory = {}));
|
|
561
626
|
|
|
562
627
|
/** Categories of environmental impact values. */
|
|
@@ -564,33 +629,33 @@ export let OCPIEnvironmentalImpactCategory;
|
|
|
564
629
|
/** Specifies one exceptional period for opening or access hours. */
|
|
565
630
|
|
|
566
631
|
(function (OCPIEnvironmentalImpactCategory) {
|
|
567
|
-
OCPIEnvironmentalImpactCategory["NUCLEAR_WASTE"] = "NUCLEAR_WASTE";
|
|
568
632
|
OCPIEnvironmentalImpactCategory["CARBON_DIOXIDE"] = "CARBON_DIOXIDE";
|
|
633
|
+
OCPIEnvironmentalImpactCategory["NUCLEAR_WASTE"] = "NUCLEAR_WASTE";
|
|
569
634
|
})(OCPIEnvironmentalImpactCategory || (OCPIEnvironmentalImpactCategory = {}));
|
|
570
635
|
|
|
571
636
|
export let OCPIFacility;
|
|
572
637
|
/** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
|
|
573
638
|
|
|
574
639
|
(function (OCPIFacility) {
|
|
575
|
-
OCPIFacility["
|
|
576
|
-
OCPIFacility["
|
|
640
|
+
OCPIFacility["AIRPORT"] = "AIRPORT";
|
|
641
|
+
OCPIFacility["BIKE_SHARING"] = "BIKE_SHARING";
|
|
642
|
+
OCPIFacility["BUS_STOP"] = "BUS_STOP";
|
|
577
643
|
OCPIFacility["CAFE"] = "CAFE";
|
|
644
|
+
OCPIFacility["CARPOOL_PARKING"] = "CARPOOL_PARKING";
|
|
645
|
+
OCPIFacility["FUEL_STATION"] = "FUEL_STATION";
|
|
646
|
+
OCPIFacility["HOTEL"] = "HOTEL";
|
|
578
647
|
OCPIFacility["MALL"] = "MALL";
|
|
579
|
-
OCPIFacility["
|
|
580
|
-
OCPIFacility["SPORT"] = "SPORT";
|
|
581
|
-
OCPIFacility["RECREATION_AREA"] = "RECREATION_AREA";
|
|
582
|
-
OCPIFacility["NATURE"] = "NATURE";
|
|
648
|
+
OCPIFacility["METRO_STATION"] = "METRO_STATION";
|
|
583
649
|
OCPIFacility["MUSEUM"] = "MUSEUM";
|
|
584
|
-
OCPIFacility["
|
|
585
|
-
OCPIFacility["
|
|
650
|
+
OCPIFacility["NATURE"] = "NATURE";
|
|
651
|
+
OCPIFacility["PARKING_LOT"] = "PARKING_LOT";
|
|
652
|
+
OCPIFacility["RECREATION_AREA"] = "RECREATION_AREA";
|
|
653
|
+
OCPIFacility["RESTAURANT"] = "RESTAURANT";
|
|
654
|
+
OCPIFacility["SPORT"] = "SPORT";
|
|
655
|
+
OCPIFacility["SUPERMARKET"] = "SUPERMARKET";
|
|
586
656
|
OCPIFacility["TAXI_STAND"] = "TAXI_STAND";
|
|
587
|
-
OCPIFacility["TRAM_STOP"] = "TRAM_STOP";
|
|
588
|
-
OCPIFacility["METRO_STATION"] = "METRO_STATION";
|
|
589
657
|
OCPIFacility["TRAIN_STATION"] = "TRAIN_STATION";
|
|
590
|
-
OCPIFacility["
|
|
591
|
-
OCPIFacility["PARKING_LOT"] = "PARKING_LOT";
|
|
592
|
-
OCPIFacility["CARPOOL_PARKING"] = "CARPOOL_PARKING";
|
|
593
|
-
OCPIFacility["FUEL_STATION"] = "FUEL_STATION";
|
|
658
|
+
OCPIFacility["TRAM_STOP"] = "TRAM_STOP";
|
|
594
659
|
OCPIFacility["WIFI"] = "WIFI";
|
|
595
660
|
})(OCPIFacility || (OCPIFacility = {}));
|
|
596
661
|
|
|
@@ -612,21 +677,21 @@ export let OCPIParkingRestriction;
|
|
|
612
677
|
/** Reflects the general type of the charge point’s location. May be used for user information. */
|
|
613
678
|
|
|
614
679
|
(function (OCPIParkingRestriction) {
|
|
615
|
-
OCPIParkingRestriction["EV_ONLY"] = "EV_ONLY";
|
|
616
|
-
OCPIParkingRestriction["PLUGGED"] = "PLUGGED";
|
|
617
|
-
OCPIParkingRestriction["DISABLED"] = "DISABLED";
|
|
618
680
|
OCPIParkingRestriction["CUSTOMERS"] = "CUSTOMERS";
|
|
681
|
+
OCPIParkingRestriction["DISABLED"] = "DISABLED";
|
|
682
|
+
OCPIParkingRestriction["EV_ONLY"] = "EV_ONLY";
|
|
619
683
|
OCPIParkingRestriction["MOTORCYCLES"] = "MOTORCYCLES";
|
|
684
|
+
OCPIParkingRestriction["PLUGGED"] = "PLUGGED";
|
|
620
685
|
})(OCPIParkingRestriction || (OCPIParkingRestriction = {}));
|
|
621
686
|
|
|
622
687
|
export let OCPIParkingType;
|
|
623
688
|
|
|
624
689
|
(function (OCPIParkingType) {
|
|
625
690
|
OCPIParkingType["ALONG_MOTORWAY"] = "ALONG_MOTORWAY";
|
|
626
|
-
OCPIParkingType["PARKING_GARAGE"] = "PARKING_GARAGE";
|
|
627
|
-
OCPIParkingType["PARKING_LOT"] = "PARKING_LOT";
|
|
628
691
|
OCPIParkingType["ON_DRIVEWAY"] = "ON_DRIVEWAY";
|
|
629
692
|
OCPIParkingType["ON_STREET"] = "ON_STREET";
|
|
693
|
+
OCPIParkingType["PARKING_GARAGE"] = "PARKING_GARAGE";
|
|
694
|
+
OCPIParkingType["PARKING_LOT"] = "PARKING_LOT";
|
|
630
695
|
OCPIParkingType["UNDERGROUND_GARAGE"] = "UNDERGROUND_GARAGE";
|
|
631
696
|
})(OCPIParkingType || (OCPIParkingType = {}));
|
|
632
697
|
|
|
@@ -634,9 +699,9 @@ export let OCPIPowerType;
|
|
|
634
699
|
|
|
635
700
|
(function (OCPIPowerType) {
|
|
636
701
|
OCPIPowerType["AC_1_PHASE"] = "AC_1_PHASE";
|
|
637
|
-
OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
|
|
638
702
|
OCPIPowerType["AC_2_PHASE"] = "AC_2_PHASE";
|
|
639
703
|
OCPIPowerType["AC_2_PHASE_SPLIT"] = "AC_2_PHASE_SPLIT";
|
|
704
|
+
OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
|
|
640
705
|
OCPIPowerType["DC"] = "DC";
|
|
641
706
|
})(OCPIPowerType || (OCPIPowerType = {}));
|
|
642
707
|
|
|
@@ -692,56 +757,64 @@ 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) {
|
|
704
777
|
PricingListElementType["ENERGY"] = "ENERGY";
|
|
705
778
|
PricingListElementType["FLAT"] = "FLAT";
|
|
706
|
-
PricingListElementType["TIME"] = "TIME";
|
|
707
779
|
PricingListElementType["PARKING_TIME"] = "PARKING_TIME";
|
|
780
|
+
PricingListElementType["TIME"] = "TIME";
|
|
708
781
|
})(PricingListElementType || (PricingListElementType = {}));
|
|
709
782
|
|
|
710
783
|
/** Types of an alternative route */
|
|
711
784
|
export let RouteAlternativeType;
|
|
712
785
|
|
|
713
786
|
(function (RouteAlternativeType) {
|
|
714
|
-
RouteAlternativeType["FASTEST"] = "fastest";
|
|
715
|
-
RouteAlternativeType["BESTMATCHING"] = "bestMatching";
|
|
716
787
|
RouteAlternativeType["ALTERNATIVE"] = "alternative";
|
|
788
|
+
RouteAlternativeType["BESTMATCHING"] = "bestMatching";
|
|
789
|
+
RouteAlternativeType["FASTEST"] = "fastest";
|
|
717
790
|
})(RouteAlternativeType || (RouteAlternativeType = {}));
|
|
718
791
|
|
|
719
792
|
/** Sign belonging to the instruction indicating the main maneuver */
|
|
720
793
|
export let RouteInstructionSign;
|
|
721
794
|
|
|
722
795
|
(function (RouteInstructionSign) {
|
|
723
|
-
RouteInstructionSign["
|
|
724
|
-
RouteInstructionSign["
|
|
725
|
-
RouteInstructionSign["
|
|
796
|
+
RouteInstructionSign["CONTINUE_ON_STREET"] = "CONTINUE_ON_STREET";
|
|
797
|
+
RouteInstructionSign["FINISH"] = "FINISH";
|
|
798
|
+
RouteInstructionSign["IGNORE"] = "IGNORE";
|
|
726
799
|
RouteInstructionSign["KEEP_LEFT"] = "KEEP_LEFT";
|
|
800
|
+
RouteInstructionSign["KEEP_RIGHT"] = "KEEP_RIGHT";
|
|
727
801
|
RouteInstructionSign["LEAVE_ROUNDABOUT"] = "LEAVE_ROUNDABOUT";
|
|
728
|
-
RouteInstructionSign["
|
|
802
|
+
RouteInstructionSign["PT_END_TRIP"] = "PT_END_TRIP";
|
|
803
|
+
RouteInstructionSign["PT_START_TRIP"] = "PT_START_TRIP";
|
|
804
|
+
RouteInstructionSign["PT_TRANSFER"] = "PT_TRANSFER";
|
|
805
|
+
RouteInstructionSign["REACHED_CHARGING_STATION"] = "REACHED_CHARGING_STATION";
|
|
806
|
+
RouteInstructionSign["REACHED_VIA"] = "REACHED_VIA";
|
|
729
807
|
RouteInstructionSign["TURN_LEFT"] = "TURN_LEFT";
|
|
730
|
-
RouteInstructionSign["TURN_SLIGHT_LEFT"] = "TURN_SLIGHT_LEFT";
|
|
731
|
-
RouteInstructionSign["CONTINUE_ON_STREET"] = "CONTINUE_ON_STREET";
|
|
732
|
-
RouteInstructionSign["TURN_SLIGHT_RIGHT"] = "TURN_SLIGHT_RIGHT";
|
|
733
808
|
RouteInstructionSign["TURN_RIGHT"] = "TURN_RIGHT";
|
|
809
|
+
RouteInstructionSign["TURN_SHARP_LEFT"] = "TURN_SHARP_LEFT";
|
|
734
810
|
RouteInstructionSign["TURN_SHARP_RIGHT"] = "TURN_SHARP_RIGHT";
|
|
735
|
-
RouteInstructionSign["
|
|
736
|
-
RouteInstructionSign["
|
|
737
|
-
RouteInstructionSign["
|
|
811
|
+
RouteInstructionSign["TURN_SLIGHT_LEFT"] = "TURN_SLIGHT_LEFT";
|
|
812
|
+
RouteInstructionSign["TURN_SLIGHT_RIGHT"] = "TURN_SLIGHT_RIGHT";
|
|
813
|
+
RouteInstructionSign["UNKNOWN"] = "UNKNOWN";
|
|
738
814
|
RouteInstructionSign["USE_ROUNDABOUT"] = "USE_ROUNDABOUT";
|
|
739
|
-
RouteInstructionSign["
|
|
815
|
+
RouteInstructionSign["U_TURN_LEFT"] = "U_TURN_LEFT";
|
|
740
816
|
RouteInstructionSign["U_TURN_RIGHT"] = "U_TURN_RIGHT";
|
|
741
|
-
RouteInstructionSign["
|
|
742
|
-
RouteInstructionSign["PT_TRANSFER"] = "PT_TRANSFER";
|
|
743
|
-
RouteInstructionSign["PT_END_TRIP"] = "PT_END_TRIP";
|
|
744
|
-
RouteInstructionSign["IGNORE"] = "IGNORE";
|
|
817
|
+
RouteInstructionSign["U_TURN_UNKNOWN"] = "U_TURN_UNKNOWN";
|
|
745
818
|
})(RouteInstructionSign || (RouteInstructionSign = {}));
|
|
746
819
|
|
|
747
820
|
/** Type of operator prioritization for a route */
|
|
@@ -757,20 +830,20 @@ export let RouteOperatorsType;
|
|
|
757
830
|
export let RouteSeason;
|
|
758
831
|
|
|
759
832
|
(function (RouteSeason) {
|
|
833
|
+
RouteSeason["CURRENT"] = "current";
|
|
760
834
|
RouteSeason["SUMMER"] = "summer";
|
|
761
835
|
RouteSeason["WINTER"] = "winter";
|
|
762
|
-
RouteSeason["CURRENT"] = "current";
|
|
763
836
|
})(RouteSeason || (RouteSeason = {}));
|
|
764
837
|
|
|
765
838
|
/** The status of a route. The status can be pending, processing, done, not_found or error */
|
|
766
839
|
export let RouteStatus;
|
|
767
840
|
|
|
768
841
|
(function (RouteStatus) {
|
|
769
|
-
RouteStatus["PENDING"] = "pending";
|
|
770
|
-
RouteStatus["PROCESSING"] = "processing";
|
|
771
842
|
RouteStatus["DONE"] = "done";
|
|
772
|
-
RouteStatus["NOT_FOUND"] = "not_found";
|
|
773
843
|
RouteStatus["ERROR"] = "error";
|
|
844
|
+
RouteStatus["NOT_FOUND"] = "not_found";
|
|
845
|
+
RouteStatus["PENDING"] = "pending";
|
|
846
|
+
RouteStatus["PROCESSING"] = "processing";
|
|
774
847
|
})(RouteStatus || (RouteStatus = {}));
|
|
775
848
|
|
|
776
849
|
/** Tags of a route */
|
|
@@ -778,10 +851,11 @@ export let RouteTagType;
|
|
|
778
851
|
/** Standards(plug type) stats model */
|
|
779
852
|
|
|
780
853
|
(function (RouteTagType) {
|
|
781
|
-
RouteTagType["
|
|
854
|
+
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
855
|
+
RouteTagType["FERRY"] = "ferry";
|
|
782
856
|
RouteTagType["HIGHWAY"] = "highway";
|
|
857
|
+
RouteTagType["ROAD"] = "road";
|
|
783
858
|
RouteTagType["TOLL"] = "toll";
|
|
784
|
-
RouteTagType["FERRY"] = "ferry";
|
|
785
859
|
RouteTagType["WALKING"] = "walking";
|
|
786
860
|
})(RouteTagType || (RouteTagType = {}));
|
|
787
861
|
|
|
@@ -790,8 +864,8 @@ export let StationSpeedType;
|
|
|
790
864
|
/** The station stats model */
|
|
791
865
|
|
|
792
866
|
(function (StationSpeedType) {
|
|
793
|
-
StationSpeedType["SLOW"] = "slow";
|
|
794
867
|
StationSpeedType["FAST"] = "fast";
|
|
868
|
+
StationSpeedType["SLOW"] = "slow";
|
|
795
869
|
StationSpeedType["TURBO"] = "turbo";
|
|
796
870
|
})(StationSpeedType || (StationSpeedType = {}));
|
|
797
871
|
|
|
@@ -799,10 +873,11 @@ export let StationSpeedType;
|
|
|
799
873
|
export let StepType;
|
|
800
874
|
|
|
801
875
|
(function (StepType) {
|
|
802
|
-
StepType["
|
|
876
|
+
StepType["CROSSBORDER"] = "crossborder";
|
|
877
|
+
StepType["FERRY"] = "ferry";
|
|
803
878
|
StepType["HIGHWAY"] = "highway";
|
|
879
|
+
StepType["ROAD"] = "road";
|
|
804
880
|
StepType["TOLL"] = "toll";
|
|
805
|
-
StepType["FERRY"] = "ferry";
|
|
806
881
|
StepType["WALKING"] = "walking";
|
|
807
882
|
})(StepType || (StepType = {}));
|
|
808
883
|
//# sourceMappingURL=graphql.js.map
|