@chargetrip/types 1.32.0 → 1.32.2
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/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +120 -98
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +120 -98
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +1418 -1262
- package/package.json +1 -1
|
@@ -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,16 +26,16 @@ 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
41
|
/** The type of the batter value */
|
|
@@ -43,8 +43,8 @@ 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,59 @@ 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 ConnectedVehiclePermission;
|
|
169
|
+
|
|
170
|
+
(function (ConnectedVehiclePermission) {
|
|
171
|
+
ConnectedVehiclePermission["LOCATION"] = "location";
|
|
172
|
+
ConnectedVehiclePermission["BATTERY"] = "battery";
|
|
173
|
+
})(ConnectedVehiclePermission || (ConnectedVehiclePermission = {}));
|
|
174
|
+
|
|
175
|
+
export let ConnectedVehicleStatus;
|
|
176
|
+
/** Connector data which extends OCPI Connector */
|
|
177
|
+
|
|
178
|
+
(function (ConnectedVehicleStatus) {
|
|
179
|
+
ConnectedVehicleStatus["PENDING"] = "pending";
|
|
180
|
+
ConnectedVehicleStatus["AUTHORIZED"] = "authorized";
|
|
181
|
+
ConnectedVehicleStatus["DEAUTHORIZED"] = "deauthorized";
|
|
182
|
+
})(ConnectedVehicleStatus || (ConnectedVehicleStatus = {}));
|
|
183
|
+
|
|
162
184
|
/** The socket or plug standard of the charging point. */
|
|
163
185
|
export let ConnectorType;
|
|
164
186
|
/** The complete contact information */
|
|
165
187
|
|
|
166
188
|
(function (ConnectorType) {
|
|
167
189
|
ConnectorType["CHADEMO"] = "CHADEMO";
|
|
168
|
-
ConnectorType["CHAOJI"] = "CHAOJI";
|
|
169
190
|
ConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
|
|
170
191
|
ConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
|
|
171
192
|
ConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
|
|
@@ -181,7 +202,6 @@ export let ConnectorType;
|
|
|
181
202
|
ConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
|
|
182
203
|
ConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
|
|
183
204
|
ConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
|
|
184
|
-
ConnectorType["GB_T"] = "GB_T";
|
|
185
205
|
ConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
|
|
186
206
|
ConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
|
|
187
207
|
ConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
|
|
@@ -192,6 +212,12 @@ export let ConnectorType;
|
|
|
192
212
|
ConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
|
|
193
213
|
ConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
|
|
194
214
|
ConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
|
|
215
|
+
ConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
|
|
216
|
+
ConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
|
|
217
|
+
ConnectorType["TESLA_R"] = "TESLA_R";
|
|
218
|
+
ConnectorType["TESLA_S"] = "TESLA_S";
|
|
219
|
+
ConnectorType["GB_T"] = "GB_T";
|
|
220
|
+
ConnectorType["CHAOJI"] = "CHAOJI";
|
|
195
221
|
ConnectorType["NEMA_5_20"] = "NEMA_5_20";
|
|
196
222
|
ConnectorType["NEMA_6_30"] = "NEMA_6_30";
|
|
197
223
|
ConnectorType["NEMA_6_50"] = "NEMA_6_50";
|
|
@@ -199,15 +225,10 @@ export let ConnectorType;
|
|
|
199
225
|
ConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
200
226
|
ConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
201
227
|
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
228
|
})(ConnectorType || (ConnectorType = {}));
|
|
207
229
|
|
|
208
230
|
/** ISO-3166 alpha-2 country codes */
|
|
209
231
|
export let CountryCodeAlpha2;
|
|
210
|
-
/** EVSE data which extends OCPI EVSE */
|
|
211
232
|
|
|
212
233
|
(function (CountryCodeAlpha2) {
|
|
213
234
|
CountryCodeAlpha2["AD"] = "AD";
|
|
@@ -466,12 +487,13 @@ export let CountryCodeAlpha2;
|
|
|
466
487
|
|
|
467
488
|
/** GeoJSON Feature type */
|
|
468
489
|
export let FeatureType;
|
|
469
|
-
/**
|
|
490
|
+
/** Geometry point with GPS coordinates */
|
|
470
491
|
|
|
471
492
|
(function (FeatureType) {
|
|
472
493
|
FeatureType["FEATURE"] = "Feature";
|
|
473
494
|
})(FeatureType || (FeatureType = {}));
|
|
474
495
|
|
|
496
|
+
/** Navigation service providers available */
|
|
475
497
|
export let InstructionsFormat;
|
|
476
498
|
|
|
477
499
|
(function (InstructionsFormat) {
|
|
@@ -485,19 +507,19 @@ export let IsolineStatus;
|
|
|
485
507
|
|
|
486
508
|
(function (IsolineStatus) {
|
|
487
509
|
IsolineStatus["DONE"] = "done";
|
|
488
|
-
IsolineStatus["ERROR"] = "error";
|
|
489
510
|
IsolineStatus["PENDING"] = "pending";
|
|
511
|
+
IsolineStatus["ERROR"] = "error";
|
|
490
512
|
})(IsolineStatus || (IsolineStatus = {}));
|
|
491
513
|
|
|
492
514
|
export let LegType;
|
|
493
515
|
/** Preferred language for the mapping */
|
|
494
516
|
|
|
495
517
|
(function (LegType) {
|
|
496
|
-
LegType["FINAL"] = "final";
|
|
497
518
|
LegType["STATION"] = "station";
|
|
498
|
-
LegType["STATIONFINAL"] = "stationFinal";
|
|
499
519
|
LegType["STATIONVIA"] = "stationVia";
|
|
500
520
|
LegType["VIA"] = "via";
|
|
521
|
+
LegType["FINAL"] = "final";
|
|
522
|
+
LegType["STATIONFINAL"] = "stationFinal";
|
|
501
523
|
})(LegType || (LegType = {}));
|
|
502
524
|
|
|
503
525
|
export let MappingLanguage;
|
|
@@ -519,10 +541,10 @@ export let NavigationState;
|
|
|
519
541
|
/** Navigation session station type */
|
|
520
542
|
|
|
521
543
|
(function (NavigationState) {
|
|
522
|
-
NavigationState["CHARGING"] = "charging";
|
|
523
544
|
NavigationState["DRIVING"] = "driving";
|
|
524
|
-
NavigationState["
|
|
545
|
+
NavigationState["CHARGING"] = "charging";
|
|
525
546
|
NavigationState["FINISHED"] = "finished";
|
|
547
|
+
NavigationState["ERROR"] = "error";
|
|
526
548
|
})(NavigationState || (NavigationState = {}));
|
|
527
549
|
|
|
528
550
|
/** The capabilities of an EVSE. */
|
|
@@ -530,8 +552,8 @@ export let OCPICapability;
|
|
|
530
552
|
/** The format of the connector, whether it is a socket or a plug. */
|
|
531
553
|
|
|
532
554
|
(function (OCPICapability) {
|
|
533
|
-
OCPICapability["CHARGING_PREFERENCES_CAPABLE"] = "CHARGING_PREFERENCES_CAPABLE";
|
|
534
555
|
OCPICapability["CHARGING_PROFILE_CAPABLE"] = "CHARGING_PROFILE_CAPABLE";
|
|
556
|
+
OCPICapability["CHARGING_PREFERENCES_CAPABLE"] = "CHARGING_PREFERENCES_CAPABLE";
|
|
535
557
|
OCPICapability["CHIP_CARD_SUPPORT"] = "CHIP_CARD_SUPPORT";
|
|
536
558
|
OCPICapability["CONTACTLESS_CARD_SUPPORT"] = "CONTACTLESS_CARD_SUPPORT";
|
|
537
559
|
OCPICapability["CREDIT_CARD_PAYABLE"] = "CREDIT_CARD_PAYABLE";
|
|
@@ -540,24 +562,23 @@ export let OCPICapability;
|
|
|
540
562
|
OCPICapability["REMOTE_START_STOP_CAPABLE"] = "REMOTE_START_STOP_CAPABLE";
|
|
541
563
|
OCPICapability["RESERVABLE"] = "RESERVABLE";
|
|
542
564
|
OCPICapability["RFID_READER"] = "RFID_READER";
|
|
543
|
-
OCPICapability["START_SESSION_CONNECTOR_REQUIRED"] = "START_SESSION_CONNECTOR_REQUIRED";
|
|
544
565
|
OCPICapability["TOKEN_GROUP_CAPABLE"] = "TOKEN_GROUP_CAPABLE";
|
|
545
566
|
OCPICapability["UNLOCK_CAPABLE"] = "UNLOCK_CAPABLE";
|
|
567
|
+
OCPICapability["START_SESSION_CONNECTOR_REQUIRED"] = "START_SESSION_CONNECTOR_REQUIRED";
|
|
546
568
|
})(OCPICapability || (OCPICapability = {}));
|
|
547
569
|
|
|
548
570
|
export let OCPIConnectorFormat;
|
|
549
571
|
/** Deprecated: Please use ConnectorType instead */
|
|
550
572
|
|
|
551
573
|
(function (OCPIConnectorFormat) {
|
|
552
|
-
OCPIConnectorFormat["CABLE"] = "CABLE";
|
|
553
574
|
OCPIConnectorFormat["SOCKET"] = "SOCKET";
|
|
575
|
+
OCPIConnectorFormat["CABLE"] = "CABLE";
|
|
554
576
|
})(OCPIConnectorFormat || (OCPIConnectorFormat = {}));
|
|
555
577
|
|
|
556
578
|
export let OCPIConnectorType;
|
|
557
579
|
|
|
558
580
|
(function (OCPIConnectorType) {
|
|
559
581
|
OCPIConnectorType["CHADEMO"] = "CHADEMO";
|
|
560
|
-
OCPIConnectorType["CHAOJI"] = "CHAOJI";
|
|
561
582
|
OCPIConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
|
|
562
583
|
OCPIConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
|
|
563
584
|
OCPIConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
|
|
@@ -573,7 +594,6 @@ export let OCPIConnectorType;
|
|
|
573
594
|
OCPIConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
|
|
574
595
|
OCPIConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
|
|
575
596
|
OCPIConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
|
|
576
|
-
OCPIConnectorType["GB_T"] = "GB_T";
|
|
577
597
|
OCPIConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
|
|
578
598
|
OCPIConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
|
|
579
599
|
OCPIConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
|
|
@@ -584,6 +604,12 @@ export let OCPIConnectorType;
|
|
|
584
604
|
OCPIConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
|
|
585
605
|
OCPIConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
|
|
586
606
|
OCPIConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
|
|
607
|
+
OCPIConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
|
|
608
|
+
OCPIConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
|
|
609
|
+
OCPIConnectorType["TESLA_R"] = "TESLA_R";
|
|
610
|
+
OCPIConnectorType["TESLA_S"] = "TESLA_S";
|
|
611
|
+
OCPIConnectorType["GB_T"] = "GB_T";
|
|
612
|
+
OCPIConnectorType["CHAOJI"] = "CHAOJI";
|
|
587
613
|
OCPIConnectorType["NEMA_5_20"] = "NEMA_5_20";
|
|
588
614
|
OCPIConnectorType["NEMA_6_30"] = "NEMA_6_30";
|
|
589
615
|
OCPIConnectorType["NEMA_6_50"] = "NEMA_6_50";
|
|
@@ -591,22 +617,18 @@ export let OCPIConnectorType;
|
|
|
591
617
|
OCPIConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
592
618
|
OCPIConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
593
619
|
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
620
|
})(OCPIConnectorType || (OCPIConnectorType = {}));
|
|
599
621
|
|
|
600
622
|
export let OCPIDayOfWeek;
|
|
601
623
|
|
|
602
624
|
(function (OCPIDayOfWeek) {
|
|
603
|
-
OCPIDayOfWeek["FRIDAY"] = "FRIDAY";
|
|
604
625
|
OCPIDayOfWeek["MONDAY"] = "MONDAY";
|
|
605
|
-
OCPIDayOfWeek["SATURDAY"] = "SATURDAY";
|
|
606
|
-
OCPIDayOfWeek["SUNDAY"] = "SUNDAY";
|
|
607
|
-
OCPIDayOfWeek["THURSDAY"] = "THURSDAY";
|
|
608
626
|
OCPIDayOfWeek["TUESDAY"] = "TUESDAY";
|
|
609
627
|
OCPIDayOfWeek["WEDNESDAY"] = "WEDNESDAY";
|
|
628
|
+
OCPIDayOfWeek["THURSDAY"] = "THURSDAY";
|
|
629
|
+
OCPIDayOfWeek["FRIDAY"] = "FRIDAY";
|
|
630
|
+
OCPIDayOfWeek["SATURDAY"] = "SATURDAY";
|
|
631
|
+
OCPIDayOfWeek["SUNDAY"] = "SUNDAY";
|
|
610
632
|
})(OCPIDayOfWeek || (OCPIDayOfWeek = {}));
|
|
611
633
|
|
|
612
634
|
/** Categories of energy sources. */
|
|
@@ -614,14 +636,14 @@ export let OCPIEnergySourceCategory;
|
|
|
614
636
|
/** Amount of waste produced/emitted per kWh. */
|
|
615
637
|
|
|
616
638
|
(function (OCPIEnergySourceCategory) {
|
|
639
|
+
OCPIEnergySourceCategory["NUCLEAR"] = "NUCLEAR";
|
|
640
|
+
OCPIEnergySourceCategory["GENERAL_FOSSIL"] = "GENERAL_FOSSIL";
|
|
617
641
|
OCPIEnergySourceCategory["COAL"] = "COAL";
|
|
618
642
|
OCPIEnergySourceCategory["GAS"] = "GAS";
|
|
619
|
-
OCPIEnergySourceCategory["GENERAL_FOSSIL"] = "GENERAL_FOSSIL";
|
|
620
643
|
OCPIEnergySourceCategory["GENERAL_GREEN"] = "GENERAL_GREEN";
|
|
621
|
-
OCPIEnergySourceCategory["NUCLEAR"] = "NUCLEAR";
|
|
622
644
|
OCPIEnergySourceCategory["SOLAR"] = "SOLAR";
|
|
623
|
-
OCPIEnergySourceCategory["WATER"] = "WATER";
|
|
624
645
|
OCPIEnergySourceCategory["WIND"] = "WIND";
|
|
646
|
+
OCPIEnergySourceCategory["WATER"] = "WATER";
|
|
625
647
|
})(OCPIEnergySourceCategory || (OCPIEnergySourceCategory = {}));
|
|
626
648
|
|
|
627
649
|
/** Categories of environmental impact values. */
|
|
@@ -629,33 +651,33 @@ export let OCPIEnvironmentalImpactCategory;
|
|
|
629
651
|
/** Specifies one exceptional period for opening or access hours. */
|
|
630
652
|
|
|
631
653
|
(function (OCPIEnvironmentalImpactCategory) {
|
|
632
|
-
OCPIEnvironmentalImpactCategory["CARBON_DIOXIDE"] = "CARBON_DIOXIDE";
|
|
633
654
|
OCPIEnvironmentalImpactCategory["NUCLEAR_WASTE"] = "NUCLEAR_WASTE";
|
|
655
|
+
OCPIEnvironmentalImpactCategory["CARBON_DIOXIDE"] = "CARBON_DIOXIDE";
|
|
634
656
|
})(OCPIEnvironmentalImpactCategory || (OCPIEnvironmentalImpactCategory = {}));
|
|
635
657
|
|
|
636
658
|
export let OCPIFacility;
|
|
637
659
|
/** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
|
|
638
660
|
|
|
639
661
|
(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
662
|
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
663
|
OCPIFacility["RESTAURANT"] = "RESTAURANT";
|
|
654
|
-
OCPIFacility["
|
|
664
|
+
OCPIFacility["CAFE"] = "CAFE";
|
|
665
|
+
OCPIFacility["MALL"] = "MALL";
|
|
655
666
|
OCPIFacility["SUPERMARKET"] = "SUPERMARKET";
|
|
667
|
+
OCPIFacility["SPORT"] = "SPORT";
|
|
668
|
+
OCPIFacility["RECREATION_AREA"] = "RECREATION_AREA";
|
|
669
|
+
OCPIFacility["NATURE"] = "NATURE";
|
|
670
|
+
OCPIFacility["MUSEUM"] = "MUSEUM";
|
|
671
|
+
OCPIFacility["BIKE_SHARING"] = "BIKE_SHARING";
|
|
672
|
+
OCPIFacility["BUS_STOP"] = "BUS_STOP";
|
|
656
673
|
OCPIFacility["TAXI_STAND"] = "TAXI_STAND";
|
|
657
|
-
OCPIFacility["TRAIN_STATION"] = "TRAIN_STATION";
|
|
658
674
|
OCPIFacility["TRAM_STOP"] = "TRAM_STOP";
|
|
675
|
+
OCPIFacility["METRO_STATION"] = "METRO_STATION";
|
|
676
|
+
OCPIFacility["TRAIN_STATION"] = "TRAIN_STATION";
|
|
677
|
+
OCPIFacility["AIRPORT"] = "AIRPORT";
|
|
678
|
+
OCPIFacility["PARKING_LOT"] = "PARKING_LOT";
|
|
679
|
+
OCPIFacility["CARPOOL_PARKING"] = "CARPOOL_PARKING";
|
|
680
|
+
OCPIFacility["FUEL_STATION"] = "FUEL_STATION";
|
|
659
681
|
OCPIFacility["WIFI"] = "WIFI";
|
|
660
682
|
})(OCPIFacility || (OCPIFacility = {}));
|
|
661
683
|
|
|
@@ -677,21 +699,21 @@ export let OCPIParkingRestriction;
|
|
|
677
699
|
/** Reflects the general type of the charge point’s location. May be used for user information. */
|
|
678
700
|
|
|
679
701
|
(function (OCPIParkingRestriction) {
|
|
680
|
-
OCPIParkingRestriction["CUSTOMERS"] = "CUSTOMERS";
|
|
681
|
-
OCPIParkingRestriction["DISABLED"] = "DISABLED";
|
|
682
702
|
OCPIParkingRestriction["EV_ONLY"] = "EV_ONLY";
|
|
683
|
-
OCPIParkingRestriction["MOTORCYCLES"] = "MOTORCYCLES";
|
|
684
703
|
OCPIParkingRestriction["PLUGGED"] = "PLUGGED";
|
|
704
|
+
OCPIParkingRestriction["DISABLED"] = "DISABLED";
|
|
705
|
+
OCPIParkingRestriction["CUSTOMERS"] = "CUSTOMERS";
|
|
706
|
+
OCPIParkingRestriction["MOTORCYCLES"] = "MOTORCYCLES";
|
|
685
707
|
})(OCPIParkingRestriction || (OCPIParkingRestriction = {}));
|
|
686
708
|
|
|
687
709
|
export let OCPIParkingType;
|
|
688
710
|
|
|
689
711
|
(function (OCPIParkingType) {
|
|
690
712
|
OCPIParkingType["ALONG_MOTORWAY"] = "ALONG_MOTORWAY";
|
|
691
|
-
OCPIParkingType["ON_DRIVEWAY"] = "ON_DRIVEWAY";
|
|
692
|
-
OCPIParkingType["ON_STREET"] = "ON_STREET";
|
|
693
713
|
OCPIParkingType["PARKING_GARAGE"] = "PARKING_GARAGE";
|
|
694
714
|
OCPIParkingType["PARKING_LOT"] = "PARKING_LOT";
|
|
715
|
+
OCPIParkingType["ON_DRIVEWAY"] = "ON_DRIVEWAY";
|
|
716
|
+
OCPIParkingType["ON_STREET"] = "ON_STREET";
|
|
695
717
|
OCPIParkingType["UNDERGROUND_GARAGE"] = "UNDERGROUND_GARAGE";
|
|
696
718
|
})(OCPIParkingType || (OCPIParkingType = {}));
|
|
697
719
|
|
|
@@ -699,9 +721,9 @@ export let OCPIPowerType;
|
|
|
699
721
|
|
|
700
722
|
(function (OCPIPowerType) {
|
|
701
723
|
OCPIPowerType["AC_1_PHASE"] = "AC_1_PHASE";
|
|
724
|
+
OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
|
|
702
725
|
OCPIPowerType["AC_2_PHASE"] = "AC_2_PHASE";
|
|
703
726
|
OCPIPowerType["AC_2_PHASE_SPLIT"] = "AC_2_PHASE_SPLIT";
|
|
704
|
-
OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
|
|
705
727
|
OCPIPowerType["DC"] = "DC";
|
|
706
728
|
})(OCPIPowerType || (OCPIPowerType = {}));
|
|
707
729
|
|
|
@@ -776,45 +798,45 @@ export let PricingListElementType;
|
|
|
776
798
|
(function (PricingListElementType) {
|
|
777
799
|
PricingListElementType["ENERGY"] = "ENERGY";
|
|
778
800
|
PricingListElementType["FLAT"] = "FLAT";
|
|
779
|
-
PricingListElementType["PARKING_TIME"] = "PARKING_TIME";
|
|
780
801
|
PricingListElementType["TIME"] = "TIME";
|
|
802
|
+
PricingListElementType["PARKING_TIME"] = "PARKING_TIME";
|
|
781
803
|
})(PricingListElementType || (PricingListElementType = {}));
|
|
782
804
|
|
|
783
805
|
/** Types of an alternative route */
|
|
784
806
|
export let RouteAlternativeType;
|
|
785
807
|
|
|
786
808
|
(function (RouteAlternativeType) {
|
|
787
|
-
RouteAlternativeType["ALTERNATIVE"] = "alternative";
|
|
788
|
-
RouteAlternativeType["BESTMATCHING"] = "bestMatching";
|
|
789
809
|
RouteAlternativeType["FASTEST"] = "fastest";
|
|
810
|
+
RouteAlternativeType["BESTMATCHING"] = "bestMatching";
|
|
811
|
+
RouteAlternativeType["ALTERNATIVE"] = "alternative";
|
|
790
812
|
})(RouteAlternativeType || (RouteAlternativeType = {}));
|
|
791
813
|
|
|
792
814
|
/** Sign belonging to the instruction indicating the main maneuver */
|
|
793
815
|
export let RouteInstructionSign;
|
|
794
816
|
|
|
795
817
|
(function (RouteInstructionSign) {
|
|
796
|
-
RouteInstructionSign["
|
|
797
|
-
RouteInstructionSign["
|
|
798
|
-
RouteInstructionSign["
|
|
818
|
+
RouteInstructionSign["UNKNOWN"] = "UNKNOWN";
|
|
819
|
+
RouteInstructionSign["U_TURN_UNKNOWN"] = "U_TURN_UNKNOWN";
|
|
820
|
+
RouteInstructionSign["U_TURN_LEFT"] = "U_TURN_LEFT";
|
|
799
821
|
RouteInstructionSign["KEEP_LEFT"] = "KEEP_LEFT";
|
|
800
|
-
RouteInstructionSign["KEEP_RIGHT"] = "KEEP_RIGHT";
|
|
801
822
|
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
823
|
RouteInstructionSign["TURN_SHARP_LEFT"] = "TURN_SHARP_LEFT";
|
|
810
|
-
RouteInstructionSign["
|
|
824
|
+
RouteInstructionSign["TURN_LEFT"] = "TURN_LEFT";
|
|
811
825
|
RouteInstructionSign["TURN_SLIGHT_LEFT"] = "TURN_SLIGHT_LEFT";
|
|
826
|
+
RouteInstructionSign["CONTINUE_ON_STREET"] = "CONTINUE_ON_STREET";
|
|
812
827
|
RouteInstructionSign["TURN_SLIGHT_RIGHT"] = "TURN_SLIGHT_RIGHT";
|
|
813
|
-
RouteInstructionSign["
|
|
828
|
+
RouteInstructionSign["TURN_RIGHT"] = "TURN_RIGHT";
|
|
829
|
+
RouteInstructionSign["TURN_SHARP_RIGHT"] = "TURN_SHARP_RIGHT";
|
|
830
|
+
RouteInstructionSign["FINISH"] = "FINISH";
|
|
831
|
+
RouteInstructionSign["REACHED_VIA"] = "REACHED_VIA";
|
|
832
|
+
RouteInstructionSign["REACHED_CHARGING_STATION"] = "REACHED_CHARGING_STATION";
|
|
814
833
|
RouteInstructionSign["USE_ROUNDABOUT"] = "USE_ROUNDABOUT";
|
|
815
|
-
RouteInstructionSign["
|
|
834
|
+
RouteInstructionSign["KEEP_RIGHT"] = "KEEP_RIGHT";
|
|
816
835
|
RouteInstructionSign["U_TURN_RIGHT"] = "U_TURN_RIGHT";
|
|
817
|
-
RouteInstructionSign["
|
|
836
|
+
RouteInstructionSign["PT_START_TRIP"] = "PT_START_TRIP";
|
|
837
|
+
RouteInstructionSign["PT_TRANSFER"] = "PT_TRANSFER";
|
|
838
|
+
RouteInstructionSign["PT_END_TRIP"] = "PT_END_TRIP";
|
|
839
|
+
RouteInstructionSign["IGNORE"] = "IGNORE";
|
|
818
840
|
})(RouteInstructionSign || (RouteInstructionSign = {}));
|
|
819
841
|
|
|
820
842
|
/** Type of operator prioritization for a route */
|
|
@@ -830,20 +852,20 @@ export let RouteOperatorsType;
|
|
|
830
852
|
export let RouteSeason;
|
|
831
853
|
|
|
832
854
|
(function (RouteSeason) {
|
|
833
|
-
RouteSeason["CURRENT"] = "current";
|
|
834
855
|
RouteSeason["SUMMER"] = "summer";
|
|
835
856
|
RouteSeason["WINTER"] = "winter";
|
|
857
|
+
RouteSeason["CURRENT"] = "current";
|
|
836
858
|
})(RouteSeason || (RouteSeason = {}));
|
|
837
859
|
|
|
838
860
|
/** The status of a route. The status can be pending, processing, done, not_found or error */
|
|
839
861
|
export let RouteStatus;
|
|
840
862
|
|
|
841
863
|
(function (RouteStatus) {
|
|
842
|
-
RouteStatus["DONE"] = "done";
|
|
843
|
-
RouteStatus["ERROR"] = "error";
|
|
844
|
-
RouteStatus["NOT_FOUND"] = "not_found";
|
|
845
864
|
RouteStatus["PENDING"] = "pending";
|
|
846
865
|
RouteStatus["PROCESSING"] = "processing";
|
|
866
|
+
RouteStatus["DONE"] = "done";
|
|
867
|
+
RouteStatus["NOT_FOUND"] = "not_found";
|
|
868
|
+
RouteStatus["ERROR"] = "error";
|
|
847
869
|
})(RouteStatus || (RouteStatus = {}));
|
|
848
870
|
|
|
849
871
|
/** Tags of a route */
|
|
@@ -851,12 +873,12 @@ export let RouteTagType;
|
|
|
851
873
|
/** Standards(plug type) stats model */
|
|
852
874
|
|
|
853
875
|
(function (RouteTagType) {
|
|
854
|
-
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
855
|
-
RouteTagType["FERRY"] = "ferry";
|
|
856
|
-
RouteTagType["HIGHWAY"] = "highway";
|
|
857
876
|
RouteTagType["ROAD"] = "road";
|
|
877
|
+
RouteTagType["HIGHWAY"] = "highway";
|
|
858
878
|
RouteTagType["TOLL"] = "toll";
|
|
879
|
+
RouteTagType["FERRY"] = "ferry";
|
|
859
880
|
RouteTagType["WALKING"] = "walking";
|
|
881
|
+
RouteTagType["CROSSBORDER"] = "crossborder";
|
|
860
882
|
})(RouteTagType || (RouteTagType = {}));
|
|
861
883
|
|
|
862
884
|
/** The station speed type */
|
|
@@ -864,8 +886,8 @@ export let StationSpeedType;
|
|
|
864
886
|
/** The station stats model */
|
|
865
887
|
|
|
866
888
|
(function (StationSpeedType) {
|
|
867
|
-
StationSpeedType["FAST"] = "fast";
|
|
868
889
|
StationSpeedType["SLOW"] = "slow";
|
|
890
|
+
StationSpeedType["FAST"] = "fast";
|
|
869
891
|
StationSpeedType["TURBO"] = "turbo";
|
|
870
892
|
})(StationSpeedType || (StationSpeedType = {}));
|
|
871
893
|
|
|
@@ -873,11 +895,11 @@ export let StationSpeedType;
|
|
|
873
895
|
export let StepType;
|
|
874
896
|
|
|
875
897
|
(function (StepType) {
|
|
876
|
-
StepType["CROSSBORDER"] = "crossborder";
|
|
877
|
-
StepType["FERRY"] = "ferry";
|
|
878
|
-
StepType["HIGHWAY"] = "highway";
|
|
879
898
|
StepType["ROAD"] = "road";
|
|
899
|
+
StepType["HIGHWAY"] = "highway";
|
|
880
900
|
StepType["TOLL"] = "toll";
|
|
901
|
+
StepType["FERRY"] = "ferry";
|
|
881
902
|
StepType["WALKING"] = "walking";
|
|
903
|
+
StepType["CROSSBORDER"] = "crossborder";
|
|
882
904
|
})(StepType || (StepType = {}));
|
|
883
905
|
//# sourceMappingURL=graphql.js.map
|