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