@chargetrip/types 1.32.0 → 1.33.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 +248 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +132 -99
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +132 -99
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +1467 -1255
- package/graphql.schema.json +374 -119
- package/package.json +1 -2
- package/src/graphql.ts +88 -29
|
@@ -3,9 +3,9 @@ export let AccessType;
|
|
|
3
3
|
/** Information about an address */
|
|
4
4
|
|
|
5
5
|
(function (AccessType) {
|
|
6
|
-
AccessType["PRIVATE"] = "Private";
|
|
7
6
|
AccessType["PUBLIC"] = "Public";
|
|
8
7
|
AccessType["RESTRICTED"] = "Restricted";
|
|
8
|
+
AccessType["PRIVATE"] = "Private";
|
|
9
9
|
})(AccessType || (AccessType = {}));
|
|
10
10
|
|
|
11
11
|
export let AdhocAuthorisationMethod;
|
|
@@ -26,25 +26,25 @@ export let Amenities;
|
|
|
26
26
|
/** The amenity model */
|
|
27
27
|
|
|
28
28
|
(function (Amenities) {
|
|
29
|
-
Amenities["BATHROOM"] = "bathroom";
|
|
30
|
-
Amenities["COFFEE"] = "coffee";
|
|
31
|
-
Amenities["HOTEL"] = "hotel";
|
|
32
|
-
Amenities["MUSEUM"] = "museum";
|
|
33
29
|
Amenities["PARK"] = "park";
|
|
34
|
-
Amenities["PHARMACY"] = "pharmacy";
|
|
35
|
-
Amenities["PLAYGROUND"] = "playground";
|
|
36
30
|
Amenities["RESTAURANT"] = "restaurant";
|
|
31
|
+
Amenities["MUSEUM"] = "museum";
|
|
32
|
+
Amenities["COFFEE"] = "coffee";
|
|
33
|
+
Amenities["HOTEL"] = "hotel";
|
|
37
34
|
Amenities["SHOPPING"] = "shopping";
|
|
35
|
+
Amenities["BATHROOM"] = "bathroom";
|
|
38
36
|
Amenities["SUPERMARKET"] = "supermarket";
|
|
37
|
+
Amenities["PLAYGROUND"] = "playground";
|
|
38
|
+
Amenities["PHARMACY"] = "pharmacy";
|
|
39
39
|
})(Amenities || (Amenities = {}));
|
|
40
40
|
|
|
41
|
-
/** The type of the
|
|
41
|
+
/** The type of the battery value */
|
|
42
42
|
export let BatteryInputType;
|
|
43
43
|
/** Output of a car query */
|
|
44
44
|
|
|
45
45
|
(function (BatteryInputType) {
|
|
46
|
-
BatteryInputType["KM"] = "km";
|
|
47
46
|
BatteryInputType["KWH"] = "kwh";
|
|
47
|
+
BatteryInputType["KM"] = "km";
|
|
48
48
|
BatteryInputType["MILES"] = "miles";
|
|
49
49
|
BatteryInputType["PERCENTAGE"] = "percentage";
|
|
50
50
|
})(BatteryInputType || (BatteryInputType = {}));
|
|
@@ -59,6 +59,13 @@ export let CarBatteryFieldEstimations;
|
|
|
59
59
|
CarBatteryFieldEstimations["U"] = "U";
|
|
60
60
|
})(CarBatteryFieldEstimations || (CarBatteryFieldEstimations = {}));
|
|
61
61
|
|
|
62
|
+
export let CarConnectivityProvider;
|
|
63
|
+
/** Deprecated */
|
|
64
|
+
|
|
65
|
+
(function (CarConnectivityProvider) {
|
|
66
|
+
CarConnectivityProvider["ENODE"] = "Enode";
|
|
67
|
+
})(CarConnectivityProvider || (CarConnectivityProvider = {}));
|
|
68
|
+
|
|
62
69
|
/** Drivetrain */
|
|
63
70
|
export let CarDrivetrain;
|
|
64
71
|
/** Deprecated */
|
|
@@ -80,11 +87,11 @@ export let CarImageType;
|
|
|
80
87
|
/** When uploading images to a car, you can select one of this types. The rest of the types are automatically generated by the system */
|
|
81
88
|
|
|
82
89
|
(function (CarImageType) {
|
|
83
|
-
CarImageType["
|
|
84
|
-
CarImageType["BRAND_THUMBNAIL"] = "brand_thumbnail";
|
|
90
|
+
CarImageType["PROVIDER"] = "provider";
|
|
85
91
|
CarImageType["IMAGE"] = "image";
|
|
86
92
|
CarImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
|
|
87
|
-
CarImageType["
|
|
93
|
+
CarImageType["BRAND"] = "brand";
|
|
94
|
+
CarImageType["BRAND_THUMBNAIL"] = "brand_thumbnail";
|
|
88
95
|
})(CarImageType || (CarImageType = {}));
|
|
89
96
|
|
|
90
97
|
export let CarImageTypeUploadable;
|
|
@@ -98,9 +105,9 @@ export let CarImageTypeUploadable;
|
|
|
98
105
|
export let CarMode;
|
|
99
106
|
|
|
100
107
|
(function (CarMode) {
|
|
101
|
-
CarMode["CONCEPT"] = "concept";
|
|
102
108
|
CarMode["INDEX_ONLY"] = "index_only";
|
|
103
109
|
CarMode["PRODUCTION"] = "production";
|
|
110
|
+
CarMode["CONCEPT"] = "concept";
|
|
104
111
|
})(CarMode || (CarMode = {}));
|
|
105
112
|
|
|
106
113
|
/** Propulsion */
|
|
@@ -117,9 +124,9 @@ export let CarStatus;
|
|
|
117
124
|
|
|
118
125
|
(function (CarStatus) {
|
|
119
126
|
CarStatus["NEW"] = "new";
|
|
127
|
+
CarStatus["REVIEW"] = "review";
|
|
120
128
|
CarStatus["PUBLIC"] = "public";
|
|
121
129
|
CarStatus["REMOVED"] = "removed";
|
|
122
|
-
CarStatus["REVIEW"] = "review";
|
|
123
130
|
})(CarStatus || (CarStatus = {}));
|
|
124
131
|
|
|
125
132
|
/** Charging mode used at charging stations */
|
|
@@ -127,45 +134,60 @@ export let ChargeMode;
|
|
|
127
134
|
/** A groupped representation of EVSEs */
|
|
128
135
|
|
|
129
136
|
(function (ChargeMode) {
|
|
130
|
-
ChargeMode["ALWAYS_TO_MAX_CHARGE"] = "ALWAYS_TO_MAX_CHARGE";
|
|
131
137
|
ChargeMode["OPTIMIZE_TRAVEL_TIME"] = "OPTIMIZE_TRAVEL_TIME";
|
|
138
|
+
ChargeMode["ALWAYS_TO_MAX_CHARGE"] = "ALWAYS_TO_MAX_CHARGE";
|
|
132
139
|
})(ChargeMode || (ChargeMode = {}));
|
|
133
140
|
|
|
134
141
|
export let ChargerStatus;
|
|
135
142
|
/** Groupping by status of the chargers */
|
|
136
143
|
|
|
137
144
|
(function (ChargerStatus) {
|
|
138
|
-
ChargerStatus["BUSY"] = "busy";
|
|
139
|
-
ChargerStatus["ERROR"] = "error";
|
|
140
145
|
ChargerStatus["FREE"] = "free";
|
|
146
|
+
ChargerStatus["BUSY"] = "busy";
|
|
141
147
|
ChargerStatus["UNKNOWN"] = "unknown";
|
|
148
|
+
ChargerStatus["ERROR"] = "error";
|
|
142
149
|
})(ChargerStatus || (ChargerStatus = {}));
|
|
143
150
|
|
|
144
151
|
export let ChargingBehaviourCode;
|
|
145
152
|
|
|
146
153
|
(function (ChargingBehaviourCode) {
|
|
154
|
+
ChargingBehaviourCode["URBAN_CHARGING"] = "URBAN_CHARGING";
|
|
147
155
|
ChargingBehaviourCode["FAST_CHARGING"] = "FAST_CHARGING";
|
|
148
156
|
ChargingBehaviourCode["MIXED_CHARGING"] = "MIXED_CHARGING";
|
|
149
157
|
ChargingBehaviourCode["NOISE_CHARGING"] = "NOISE_CHARGING";
|
|
150
|
-
ChargingBehaviourCode["OFFICE_CHARGING"] = "OFFICE_CHARGING";
|
|
151
158
|
ChargingBehaviourCode["OVERNIGHT_CHARGING"] = "OVERNIGHT_CHARGING";
|
|
152
|
-
ChargingBehaviourCode["
|
|
159
|
+
ChargingBehaviourCode["OFFICE_CHARGING"] = "OFFICE_CHARGING";
|
|
153
160
|
})(ChargingBehaviourCode || (ChargingBehaviourCode = {}));
|
|
154
161
|
|
|
155
162
|
export let ConnectProvider;
|
|
156
|
-
/** Connector data which extends OCPI Connector */
|
|
157
163
|
|
|
158
164
|
(function (ConnectProvider) {
|
|
159
165
|
ConnectProvider["ENODE"] = "Enode";
|
|
160
166
|
})(ConnectProvider || (ConnectProvider = {}));
|
|
161
167
|
|
|
168
|
+
export let ConnectScope;
|
|
169
|
+
|
|
170
|
+
(function (ConnectScope) {
|
|
171
|
+
ConnectScope["LOCATION"] = "location";
|
|
172
|
+
ConnectScope["CHARGE_STATE"] = "charge_state";
|
|
173
|
+
ConnectScope["ODOMETER"] = "odometer";
|
|
174
|
+
})(ConnectScope || (ConnectScope = {}));
|
|
175
|
+
|
|
176
|
+
export let ConnectedVehicleStatus;
|
|
177
|
+
/** Connector data which extends OCPI Connector */
|
|
178
|
+
|
|
179
|
+
(function (ConnectedVehicleStatus) {
|
|
180
|
+
ConnectedVehicleStatus["PENDING"] = "pending";
|
|
181
|
+
ConnectedVehicleStatus["AUTHORIZED"] = "authorized";
|
|
182
|
+
ConnectedVehicleStatus["DEAUTHORIZED"] = "deauthorized";
|
|
183
|
+
})(ConnectedVehicleStatus || (ConnectedVehicleStatus = {}));
|
|
184
|
+
|
|
162
185
|
/** The socket or plug standard of the charging point. */
|
|
163
186
|
export let ConnectorType;
|
|
164
187
|
/** The complete contact information */
|
|
165
188
|
|
|
166
189
|
(function (ConnectorType) {
|
|
167
190
|
ConnectorType["CHADEMO"] = "CHADEMO";
|
|
168
|
-
ConnectorType["CHAOJI"] = "CHAOJI";
|
|
169
191
|
ConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
|
|
170
192
|
ConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
|
|
171
193
|
ConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
|
|
@@ -181,7 +203,6 @@ export let ConnectorType;
|
|
|
181
203
|
ConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
|
|
182
204
|
ConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
|
|
183
205
|
ConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
|
|
184
|
-
ConnectorType["GB_T"] = "GB_T";
|
|
185
206
|
ConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
|
|
186
207
|
ConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
|
|
187
208
|
ConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
|
|
@@ -192,6 +213,12 @@ export let ConnectorType;
|
|
|
192
213
|
ConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
|
|
193
214
|
ConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
|
|
194
215
|
ConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
|
|
216
|
+
ConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
|
|
217
|
+
ConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
|
|
218
|
+
ConnectorType["TESLA_R"] = "TESLA_R";
|
|
219
|
+
ConnectorType["TESLA_S"] = "TESLA_S";
|
|
220
|
+
ConnectorType["GB_T"] = "GB_T";
|
|
221
|
+
ConnectorType["CHAOJI"] = "CHAOJI";
|
|
195
222
|
ConnectorType["NEMA_5_20"] = "NEMA_5_20";
|
|
196
223
|
ConnectorType["NEMA_6_30"] = "NEMA_6_30";
|
|
197
224
|
ConnectorType["NEMA_6_50"] = "NEMA_6_50";
|
|
@@ -199,15 +226,10 @@ export let ConnectorType;
|
|
|
199
226
|
ConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
200
227
|
ConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
201
228
|
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";
|
|
206
229
|
})(ConnectorType || (ConnectorType = {}));
|
|
207
230
|
|
|
208
231
|
/** ISO-3166 alpha-2 country codes */
|
|
209
232
|
export let CountryCodeAlpha2;
|
|
210
|
-
/** EVSE data which extends OCPI EVSE */
|
|
211
233
|
|
|
212
234
|
(function (CountryCodeAlpha2) {
|
|
213
235
|
CountryCodeAlpha2["AD"] = "AD";
|
|
@@ -464,14 +486,25 @@ export let CountryCodeAlpha2;
|
|
|
464
486
|
CountryCodeAlpha2["ZW"] = "ZW";
|
|
465
487
|
})(CountryCodeAlpha2 || (CountryCodeAlpha2 = {}));
|
|
466
488
|
|
|
489
|
+
export let DistanceUnit;
|
|
490
|
+
/** EVSE data which extends OCPI EVSE */
|
|
491
|
+
|
|
492
|
+
(function (DistanceUnit) {
|
|
493
|
+
DistanceUnit["METER"] = "meter";
|
|
494
|
+
DistanceUnit["FOOT"] = "foot";
|
|
495
|
+
DistanceUnit["KILOMETER"] = "kilometer";
|
|
496
|
+
DistanceUnit["MILE"] = "mile";
|
|
497
|
+
})(DistanceUnit || (DistanceUnit = {}));
|
|
498
|
+
|
|
467
499
|
/** GeoJSON Feature type */
|
|
468
500
|
export let FeatureType;
|
|
469
|
-
/**
|
|
501
|
+
/** Geometry point with GPS coordinates */
|
|
470
502
|
|
|
471
503
|
(function (FeatureType) {
|
|
472
504
|
FeatureType["FEATURE"] = "Feature";
|
|
473
505
|
})(FeatureType || (FeatureType = {}));
|
|
474
506
|
|
|
507
|
+
/** Navigation service providers available */
|
|
475
508
|
export let InstructionsFormat;
|
|
476
509
|
|
|
477
510
|
(function (InstructionsFormat) {
|
|
@@ -485,19 +518,19 @@ export let IsolineStatus;
|
|
|
485
518
|
|
|
486
519
|
(function (IsolineStatus) {
|
|
487
520
|
IsolineStatus["DONE"] = "done";
|
|
488
|
-
IsolineStatus["ERROR"] = "error";
|
|
489
521
|
IsolineStatus["PENDING"] = "pending";
|
|
522
|
+
IsolineStatus["ERROR"] = "error";
|
|
490
523
|
})(IsolineStatus || (IsolineStatus = {}));
|
|
491
524
|
|
|
492
525
|
export let LegType;
|
|
493
526
|
/** Preferred language for the mapping */
|
|
494
527
|
|
|
495
528
|
(function (LegType) {
|
|
496
|
-
LegType["FINAL"] = "final";
|
|
497
529
|
LegType["STATION"] = "station";
|
|
498
|
-
LegType["STATIONFINAL"] = "stationFinal";
|
|
499
530
|
LegType["STATIONVIA"] = "stationVia";
|
|
500
531
|
LegType["VIA"] = "via";
|
|
532
|
+
LegType["FINAL"] = "final";
|
|
533
|
+
LegType["STATIONFINAL"] = "stationFinal";
|
|
501
534
|
})(LegType || (LegType = {}));
|
|
502
535
|
|
|
503
536
|
export let MappingLanguage;
|
|
@@ -519,10 +552,10 @@ export let NavigationState;
|
|
|
519
552
|
/** Navigation session station type */
|
|
520
553
|
|
|
521
554
|
(function (NavigationState) {
|
|
522
|
-
NavigationState["CHARGING"] = "charging";
|
|
523
555
|
NavigationState["DRIVING"] = "driving";
|
|
524
|
-
NavigationState["
|
|
556
|
+
NavigationState["CHARGING"] = "charging";
|
|
525
557
|
NavigationState["FINISHED"] = "finished";
|
|
558
|
+
NavigationState["ERROR"] = "error";
|
|
526
559
|
})(NavigationState || (NavigationState = {}));
|
|
527
560
|
|
|
528
561
|
/** The capabilities of an EVSE. */
|
|
@@ -530,8 +563,8 @@ export let OCPICapability;
|
|
|
530
563
|
/** The format of the connector, whether it is a socket or a plug. */
|
|
531
564
|
|
|
532
565
|
(function (OCPICapability) {
|
|
533
|
-
OCPICapability["CHARGING_PREFERENCES_CAPABLE"] = "CHARGING_PREFERENCES_CAPABLE";
|
|
534
566
|
OCPICapability["CHARGING_PROFILE_CAPABLE"] = "CHARGING_PROFILE_CAPABLE";
|
|
567
|
+
OCPICapability["CHARGING_PREFERENCES_CAPABLE"] = "CHARGING_PREFERENCES_CAPABLE";
|
|
535
568
|
OCPICapability["CHIP_CARD_SUPPORT"] = "CHIP_CARD_SUPPORT";
|
|
536
569
|
OCPICapability["CONTACTLESS_CARD_SUPPORT"] = "CONTACTLESS_CARD_SUPPORT";
|
|
537
570
|
OCPICapability["CREDIT_CARD_PAYABLE"] = "CREDIT_CARD_PAYABLE";
|
|
@@ -540,24 +573,23 @@ export let OCPICapability;
|
|
|
540
573
|
OCPICapability["REMOTE_START_STOP_CAPABLE"] = "REMOTE_START_STOP_CAPABLE";
|
|
541
574
|
OCPICapability["RESERVABLE"] = "RESERVABLE";
|
|
542
575
|
OCPICapability["RFID_READER"] = "RFID_READER";
|
|
543
|
-
OCPICapability["START_SESSION_CONNECTOR_REQUIRED"] = "START_SESSION_CONNECTOR_REQUIRED";
|
|
544
576
|
OCPICapability["TOKEN_GROUP_CAPABLE"] = "TOKEN_GROUP_CAPABLE";
|
|
545
577
|
OCPICapability["UNLOCK_CAPABLE"] = "UNLOCK_CAPABLE";
|
|
578
|
+
OCPICapability["START_SESSION_CONNECTOR_REQUIRED"] = "START_SESSION_CONNECTOR_REQUIRED";
|
|
546
579
|
})(OCPICapability || (OCPICapability = {}));
|
|
547
580
|
|
|
548
581
|
export let OCPIConnectorFormat;
|
|
549
582
|
/** Deprecated: Please use ConnectorType instead */
|
|
550
583
|
|
|
551
584
|
(function (OCPIConnectorFormat) {
|
|
552
|
-
OCPIConnectorFormat["CABLE"] = "CABLE";
|
|
553
585
|
OCPIConnectorFormat["SOCKET"] = "SOCKET";
|
|
586
|
+
OCPIConnectorFormat["CABLE"] = "CABLE";
|
|
554
587
|
})(OCPIConnectorFormat || (OCPIConnectorFormat = {}));
|
|
555
588
|
|
|
556
589
|
export let OCPIConnectorType;
|
|
557
590
|
|
|
558
591
|
(function (OCPIConnectorType) {
|
|
559
592
|
OCPIConnectorType["CHADEMO"] = "CHADEMO";
|
|
560
|
-
OCPIConnectorType["CHAOJI"] = "CHAOJI";
|
|
561
593
|
OCPIConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
|
|
562
594
|
OCPIConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
|
|
563
595
|
OCPIConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
|
|
@@ -573,7 +605,6 @@ export let OCPIConnectorType;
|
|
|
573
605
|
OCPIConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
|
|
574
606
|
OCPIConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
|
|
575
607
|
OCPIConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
|
|
576
|
-
OCPIConnectorType["GB_T"] = "GB_T";
|
|
577
608
|
OCPIConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
|
|
578
609
|
OCPIConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
|
|
579
610
|
OCPIConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
|
|
@@ -584,6 +615,12 @@ export let OCPIConnectorType;
|
|
|
584
615
|
OCPIConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
|
|
585
616
|
OCPIConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
|
|
586
617
|
OCPIConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
|
|
618
|
+
OCPIConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
|
|
619
|
+
OCPIConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
|
|
620
|
+
OCPIConnectorType["TESLA_R"] = "TESLA_R";
|
|
621
|
+
OCPIConnectorType["TESLA_S"] = "TESLA_S";
|
|
622
|
+
OCPIConnectorType["GB_T"] = "GB_T";
|
|
623
|
+
OCPIConnectorType["CHAOJI"] = "CHAOJI";
|
|
587
624
|
OCPIConnectorType["NEMA_5_20"] = "NEMA_5_20";
|
|
588
625
|
OCPIConnectorType["NEMA_6_30"] = "NEMA_6_30";
|
|
589
626
|
OCPIConnectorType["NEMA_6_50"] = "NEMA_6_50";
|
|
@@ -591,22 +628,18 @@ export let OCPIConnectorType;
|
|
|
591
628
|
OCPIConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
592
629
|
OCPIConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
593
630
|
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";
|
|
598
631
|
})(OCPIConnectorType || (OCPIConnectorType = {}));
|
|
599
632
|
|
|
600
633
|
export let OCPIDayOfWeek;
|
|
601
634
|
|
|
602
635
|
(function (OCPIDayOfWeek) {
|
|
603
|
-
OCPIDayOfWeek["FRIDAY"] = "FRIDAY";
|
|
604
636
|
OCPIDayOfWeek["MONDAY"] = "MONDAY";
|
|
605
|
-
OCPIDayOfWeek["SATURDAY"] = "SATURDAY";
|
|
606
|
-
OCPIDayOfWeek["SUNDAY"] = "SUNDAY";
|
|
607
|
-
OCPIDayOfWeek["THURSDAY"] = "THURSDAY";
|
|
608
637
|
OCPIDayOfWeek["TUESDAY"] = "TUESDAY";
|
|
609
638
|
OCPIDayOfWeek["WEDNESDAY"] = "WEDNESDAY";
|
|
639
|
+
OCPIDayOfWeek["THURSDAY"] = "THURSDAY";
|
|
640
|
+
OCPIDayOfWeek["FRIDAY"] = "FRIDAY";
|
|
641
|
+
OCPIDayOfWeek["SATURDAY"] = "SATURDAY";
|
|
642
|
+
OCPIDayOfWeek["SUNDAY"] = "SUNDAY";
|
|
610
643
|
})(OCPIDayOfWeek || (OCPIDayOfWeek = {}));
|
|
611
644
|
|
|
612
645
|
/** Categories of energy sources. */
|
|
@@ -614,14 +647,14 @@ export let OCPIEnergySourceCategory;
|
|
|
614
647
|
/** Amount of waste produced/emitted per kWh. */
|
|
615
648
|
|
|
616
649
|
(function (OCPIEnergySourceCategory) {
|
|
650
|
+
OCPIEnergySourceCategory["NUCLEAR"] = "NUCLEAR";
|
|
651
|
+
OCPIEnergySourceCategory["GENERAL_FOSSIL"] = "GENERAL_FOSSIL";
|
|
617
652
|
OCPIEnergySourceCategory["COAL"] = "COAL";
|
|
618
653
|
OCPIEnergySourceCategory["GAS"] = "GAS";
|
|
619
|
-
OCPIEnergySourceCategory["GENERAL_FOSSIL"] = "GENERAL_FOSSIL";
|
|
620
654
|
OCPIEnergySourceCategory["GENERAL_GREEN"] = "GENERAL_GREEN";
|
|
621
|
-
OCPIEnergySourceCategory["NUCLEAR"] = "NUCLEAR";
|
|
622
655
|
OCPIEnergySourceCategory["SOLAR"] = "SOLAR";
|
|
623
|
-
OCPIEnergySourceCategory["WATER"] = "WATER";
|
|
624
656
|
OCPIEnergySourceCategory["WIND"] = "WIND";
|
|
657
|
+
OCPIEnergySourceCategory["WATER"] = "WATER";
|
|
625
658
|
})(OCPIEnergySourceCategory || (OCPIEnergySourceCategory = {}));
|
|
626
659
|
|
|
627
660
|
/** Categories of environmental impact values. */
|
|
@@ -629,33 +662,33 @@ export let OCPIEnvironmentalImpactCategory;
|
|
|
629
662
|
/** Specifies one exceptional period for opening or access hours. */
|
|
630
663
|
|
|
631
664
|
(function (OCPIEnvironmentalImpactCategory) {
|
|
632
|
-
OCPIEnvironmentalImpactCategory["CARBON_DIOXIDE"] = "CARBON_DIOXIDE";
|
|
633
665
|
OCPIEnvironmentalImpactCategory["NUCLEAR_WASTE"] = "NUCLEAR_WASTE";
|
|
666
|
+
OCPIEnvironmentalImpactCategory["CARBON_DIOXIDE"] = "CARBON_DIOXIDE";
|
|
634
667
|
})(OCPIEnvironmentalImpactCategory || (OCPIEnvironmentalImpactCategory = {}));
|
|
635
668
|
|
|
636
669
|
export let OCPIFacility;
|
|
637
670
|
/** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
|
|
638
671
|
|
|
639
672
|
(function (OCPIFacility) {
|
|
640
|
-
OCPIFacility["AIRPORT"] = "AIRPORT";
|
|
641
|
-
OCPIFacility["BIKE_SHARING"] = "BIKE_SHARING";
|
|
642
|
-
OCPIFacility["BUS_STOP"] = "BUS_STOP";
|
|
643
|
-
OCPIFacility["CAFE"] = "CAFE";
|
|
644
|
-
OCPIFacility["CARPOOL_PARKING"] = "CARPOOL_PARKING";
|
|
645
|
-
OCPIFacility["FUEL_STATION"] = "FUEL_STATION";
|
|
646
673
|
OCPIFacility["HOTEL"] = "HOTEL";
|
|
647
|
-
OCPIFacility["MALL"] = "MALL";
|
|
648
|
-
OCPIFacility["METRO_STATION"] = "METRO_STATION";
|
|
649
|
-
OCPIFacility["MUSEUM"] = "MUSEUM";
|
|
650
|
-
OCPIFacility["NATURE"] = "NATURE";
|
|
651
|
-
OCPIFacility["PARKING_LOT"] = "PARKING_LOT";
|
|
652
|
-
OCPIFacility["RECREATION_AREA"] = "RECREATION_AREA";
|
|
653
674
|
OCPIFacility["RESTAURANT"] = "RESTAURANT";
|
|
654
|
-
OCPIFacility["
|
|
675
|
+
OCPIFacility["CAFE"] = "CAFE";
|
|
676
|
+
OCPIFacility["MALL"] = "MALL";
|
|
655
677
|
OCPIFacility["SUPERMARKET"] = "SUPERMARKET";
|
|
678
|
+
OCPIFacility["SPORT"] = "SPORT";
|
|
679
|
+
OCPIFacility["RECREATION_AREA"] = "RECREATION_AREA";
|
|
680
|
+
OCPIFacility["NATURE"] = "NATURE";
|
|
681
|
+
OCPIFacility["MUSEUM"] = "MUSEUM";
|
|
682
|
+
OCPIFacility["BIKE_SHARING"] = "BIKE_SHARING";
|
|
683
|
+
OCPIFacility["BUS_STOP"] = "BUS_STOP";
|
|
656
684
|
OCPIFacility["TAXI_STAND"] = "TAXI_STAND";
|
|
657
|
-
OCPIFacility["TRAIN_STATION"] = "TRAIN_STATION";
|
|
658
685
|
OCPIFacility["TRAM_STOP"] = "TRAM_STOP";
|
|
686
|
+
OCPIFacility["METRO_STATION"] = "METRO_STATION";
|
|
687
|
+
OCPIFacility["TRAIN_STATION"] = "TRAIN_STATION";
|
|
688
|
+
OCPIFacility["AIRPORT"] = "AIRPORT";
|
|
689
|
+
OCPIFacility["PARKING_LOT"] = "PARKING_LOT";
|
|
690
|
+
OCPIFacility["CARPOOL_PARKING"] = "CARPOOL_PARKING";
|
|
691
|
+
OCPIFacility["FUEL_STATION"] = "FUEL_STATION";
|
|
659
692
|
OCPIFacility["WIFI"] = "WIFI";
|
|
660
693
|
})(OCPIFacility || (OCPIFacility = {}));
|
|
661
694
|
|
|
@@ -677,21 +710,21 @@ export let OCPIParkingRestriction;
|
|
|
677
710
|
/** Reflects the general type of the charge point’s location. May be used for user information. */
|
|
678
711
|
|
|
679
712
|
(function (OCPIParkingRestriction) {
|
|
680
|
-
OCPIParkingRestriction["CUSTOMERS"] = "CUSTOMERS";
|
|
681
|
-
OCPIParkingRestriction["DISABLED"] = "DISABLED";
|
|
682
713
|
OCPIParkingRestriction["EV_ONLY"] = "EV_ONLY";
|
|
683
|
-
OCPIParkingRestriction["MOTORCYCLES"] = "MOTORCYCLES";
|
|
684
714
|
OCPIParkingRestriction["PLUGGED"] = "PLUGGED";
|
|
715
|
+
OCPIParkingRestriction["DISABLED"] = "DISABLED";
|
|
716
|
+
OCPIParkingRestriction["CUSTOMERS"] = "CUSTOMERS";
|
|
717
|
+
OCPIParkingRestriction["MOTORCYCLES"] = "MOTORCYCLES";
|
|
685
718
|
})(OCPIParkingRestriction || (OCPIParkingRestriction = {}));
|
|
686
719
|
|
|
687
720
|
export let OCPIParkingType;
|
|
688
721
|
|
|
689
722
|
(function (OCPIParkingType) {
|
|
690
723
|
OCPIParkingType["ALONG_MOTORWAY"] = "ALONG_MOTORWAY";
|
|
691
|
-
OCPIParkingType["ON_DRIVEWAY"] = "ON_DRIVEWAY";
|
|
692
|
-
OCPIParkingType["ON_STREET"] = "ON_STREET";
|
|
693
724
|
OCPIParkingType["PARKING_GARAGE"] = "PARKING_GARAGE";
|
|
694
725
|
OCPIParkingType["PARKING_LOT"] = "PARKING_LOT";
|
|
726
|
+
OCPIParkingType["ON_DRIVEWAY"] = "ON_DRIVEWAY";
|
|
727
|
+
OCPIParkingType["ON_STREET"] = "ON_STREET";
|
|
695
728
|
OCPIParkingType["UNDERGROUND_GARAGE"] = "UNDERGROUND_GARAGE";
|
|
696
729
|
})(OCPIParkingType || (OCPIParkingType = {}));
|
|
697
730
|
|
|
@@ -699,9 +732,9 @@ export let OCPIPowerType;
|
|
|
699
732
|
|
|
700
733
|
(function (OCPIPowerType) {
|
|
701
734
|
OCPIPowerType["AC_1_PHASE"] = "AC_1_PHASE";
|
|
735
|
+
OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
|
|
702
736
|
OCPIPowerType["AC_2_PHASE"] = "AC_2_PHASE";
|
|
703
737
|
OCPIPowerType["AC_2_PHASE_SPLIT"] = "AC_2_PHASE_SPLIT";
|
|
704
|
-
OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
|
|
705
738
|
OCPIPowerType["DC"] = "DC";
|
|
706
739
|
})(OCPIPowerType || (OCPIPowerType = {}));
|
|
707
740
|
|
|
@@ -776,45 +809,45 @@ export let PricingListElementType;
|
|
|
776
809
|
(function (PricingListElementType) {
|
|
777
810
|
PricingListElementType["ENERGY"] = "ENERGY";
|
|
778
811
|
PricingListElementType["FLAT"] = "FLAT";
|
|
779
|
-
PricingListElementType["PARKING_TIME"] = "PARKING_TIME";
|
|
780
812
|
PricingListElementType["TIME"] = "TIME";
|
|
813
|
+
PricingListElementType["PARKING_TIME"] = "PARKING_TIME";
|
|
781
814
|
})(PricingListElementType || (PricingListElementType = {}));
|
|
782
815
|
|
|
783
816
|
/** Types of an alternative route */
|
|
784
817
|
export let RouteAlternativeType;
|
|
785
818
|
|
|
786
819
|
(function (RouteAlternativeType) {
|
|
787
|
-
RouteAlternativeType["ALTERNATIVE"] = "alternative";
|
|
788
|
-
RouteAlternativeType["BESTMATCHING"] = "bestMatching";
|
|
789
820
|
RouteAlternativeType["FASTEST"] = "fastest";
|
|
821
|
+
RouteAlternativeType["BESTMATCHING"] = "bestMatching";
|
|
822
|
+
RouteAlternativeType["ALTERNATIVE"] = "alternative";
|
|
790
823
|
})(RouteAlternativeType || (RouteAlternativeType = {}));
|
|
791
824
|
|
|
792
825
|
/** Sign belonging to the instruction indicating the main maneuver */
|
|
793
826
|
export let RouteInstructionSign;
|
|
794
827
|
|
|
795
828
|
(function (RouteInstructionSign) {
|
|
796
|
-
RouteInstructionSign["
|
|
797
|
-
RouteInstructionSign["
|
|
798
|
-
RouteInstructionSign["
|
|
829
|
+
RouteInstructionSign["UNKNOWN"] = "UNKNOWN";
|
|
830
|
+
RouteInstructionSign["U_TURN_UNKNOWN"] = "U_TURN_UNKNOWN";
|
|
831
|
+
RouteInstructionSign["U_TURN_LEFT"] = "U_TURN_LEFT";
|
|
799
832
|
RouteInstructionSign["KEEP_LEFT"] = "KEEP_LEFT";
|
|
800
|
-
RouteInstructionSign["KEEP_RIGHT"] = "KEEP_RIGHT";
|
|
801
833
|
RouteInstructionSign["LEAVE_ROUNDABOUT"] = "LEAVE_ROUNDABOUT";
|
|
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";
|
|
807
|
-
RouteInstructionSign["TURN_LEFT"] = "TURN_LEFT";
|
|
808
|
-
RouteInstructionSign["TURN_RIGHT"] = "TURN_RIGHT";
|
|
809
834
|
RouteInstructionSign["TURN_SHARP_LEFT"] = "TURN_SHARP_LEFT";
|
|
810
|
-
RouteInstructionSign["
|
|
835
|
+
RouteInstructionSign["TURN_LEFT"] = "TURN_LEFT";
|
|
811
836
|
RouteInstructionSign["TURN_SLIGHT_LEFT"] = "TURN_SLIGHT_LEFT";
|
|
837
|
+
RouteInstructionSign["CONTINUE_ON_STREET"] = "CONTINUE_ON_STREET";
|
|
812
838
|
RouteInstructionSign["TURN_SLIGHT_RIGHT"] = "TURN_SLIGHT_RIGHT";
|
|
813
|
-
RouteInstructionSign["
|
|
839
|
+
RouteInstructionSign["TURN_RIGHT"] = "TURN_RIGHT";
|
|
840
|
+
RouteInstructionSign["TURN_SHARP_RIGHT"] = "TURN_SHARP_RIGHT";
|
|
841
|
+
RouteInstructionSign["FINISH"] = "FINISH";
|
|
842
|
+
RouteInstructionSign["REACHED_VIA"] = "REACHED_VIA";
|
|
843
|
+
RouteInstructionSign["REACHED_CHARGING_STATION"] = "REACHED_CHARGING_STATION";
|
|
814
844
|
RouteInstructionSign["USE_ROUNDABOUT"] = "USE_ROUNDABOUT";
|
|
815
|
-
RouteInstructionSign["
|
|
845
|
+
RouteInstructionSign["KEEP_RIGHT"] = "KEEP_RIGHT";
|
|
816
846
|
RouteInstructionSign["U_TURN_RIGHT"] = "U_TURN_RIGHT";
|
|
817
|
-
RouteInstructionSign["
|
|
847
|
+
RouteInstructionSign["PT_START_TRIP"] = "PT_START_TRIP";
|
|
848
|
+
RouteInstructionSign["PT_TRANSFER"] = "PT_TRANSFER";
|
|
849
|
+
RouteInstructionSign["PT_END_TRIP"] = "PT_END_TRIP";
|
|
850
|
+
RouteInstructionSign["IGNORE"] = "IGNORE";
|
|
818
851
|
})(RouteInstructionSign || (RouteInstructionSign = {}));
|
|
819
852
|
|
|
820
853
|
/** Type of operator prioritization for a route */
|
|
@@ -830,20 +863,20 @@ export let RouteOperatorsType;
|
|
|
830
863
|
export let RouteSeason;
|
|
831
864
|
|
|
832
865
|
(function (RouteSeason) {
|
|
833
|
-
RouteSeason["CURRENT"] = "current";
|
|
834
866
|
RouteSeason["SUMMER"] = "summer";
|
|
835
867
|
RouteSeason["WINTER"] = "winter";
|
|
868
|
+
RouteSeason["CURRENT"] = "current";
|
|
836
869
|
})(RouteSeason || (RouteSeason = {}));
|
|
837
870
|
|
|
838
871
|
/** The status of a route. The status can be pending, processing, done, not_found or error */
|
|
839
872
|
export let RouteStatus;
|
|
840
873
|
|
|
841
874
|
(function (RouteStatus) {
|
|
842
|
-
RouteStatus["DONE"] = "done";
|
|
843
|
-
RouteStatus["ERROR"] = "error";
|
|
844
|
-
RouteStatus["NOT_FOUND"] = "not_found";
|
|
845
875
|
RouteStatus["PENDING"] = "pending";
|
|
846
876
|
RouteStatus["PROCESSING"] = "processing";
|
|
877
|
+
RouteStatus["DONE"] = "done";
|
|
878
|
+
RouteStatus["NOT_FOUND"] = "not_found";
|
|
879
|
+
RouteStatus["ERROR"] = "error";
|
|
847
880
|
})(RouteStatus || (RouteStatus = {}));
|
|
848
881
|
|
|
849
882
|
/** Tags of a route */
|
|
@@ -851,12 +884,12 @@ export let RouteTagType;
|
|
|
851
884
|
/** Standards(plug type) stats model */
|
|
852
885
|
|
|
853
886
|
(function (RouteTagType) {
|
|
854
|
-
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
855
|
-
RouteTagType["FERRY"] = "ferry";
|
|
856
|
-
RouteTagType["HIGHWAY"] = "highway";
|
|
857
887
|
RouteTagType["ROAD"] = "road";
|
|
888
|
+
RouteTagType["HIGHWAY"] = "highway";
|
|
858
889
|
RouteTagType["TOLL"] = "toll";
|
|
890
|
+
RouteTagType["FERRY"] = "ferry";
|
|
859
891
|
RouteTagType["WALKING"] = "walking";
|
|
892
|
+
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
860
893
|
})(RouteTagType || (RouteTagType = {}));
|
|
861
894
|
|
|
862
895
|
/** The station speed type */
|
|
@@ -864,8 +897,8 @@ export let StationSpeedType;
|
|
|
864
897
|
/** The station stats model */
|
|
865
898
|
|
|
866
899
|
(function (StationSpeedType) {
|
|
867
|
-
StationSpeedType["FAST"] = "fast";
|
|
868
900
|
StationSpeedType["SLOW"] = "slow";
|
|
901
|
+
StationSpeedType["FAST"] = "fast";
|
|
869
902
|
StationSpeedType["TURBO"] = "turbo";
|
|
870
903
|
})(StationSpeedType || (StationSpeedType = {}));
|
|
871
904
|
|
|
@@ -873,11 +906,11 @@ export let StationSpeedType;
|
|
|
873
906
|
export let StepType;
|
|
874
907
|
|
|
875
908
|
(function (StepType) {
|
|
876
|
-
StepType["CROSSBORDER"] = "crossborder";
|
|
877
|
-
StepType["FERRY"] = "ferry";
|
|
878
|
-
StepType["HIGHWAY"] = "highway";
|
|
879
909
|
StepType["ROAD"] = "road";
|
|
910
|
+
StepType["HIGHWAY"] = "highway";
|
|
880
911
|
StepType["TOLL"] = "toll";
|
|
912
|
+
StepType["FERRY"] = "ferry";
|
|
881
913
|
StepType["WALKING"] = "walking";
|
|
914
|
+
StepType["CROSSBORDER"] = "crossborder";
|
|
882
915
|
})(StepType || (StepType = {}));
|
|
883
916
|
//# sourceMappingURL=graphql.js.map
|