@chargetrip/types 1.15.0 → 1.19.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.
@@ -3,56 +3,25 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  /** All built-in and custom scalars, mapped to their actual values */
6
+
6
7
  /** Information about an address */
7
8
 
8
- (function (PointType) {
9
- PointType["POINT"] = "Point";
10
- })(exports.PointType || (exports.PointType = {}));
9
+ /** The amenity model */
11
10
 
12
- (function (OCPIConnectorType) {
13
- OCPIConnectorType["CHADEMO"] = "CHADEMO";
14
- OCPIConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
15
- OCPIConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
16
- OCPIConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
17
- OCPIConnectorType["DOMESTIC_D"] = "DOMESTIC_D";
18
- OCPIConnectorType["DOMESTIC_E"] = "DOMESTIC_E";
19
- OCPIConnectorType["DOMESTIC_F"] = "DOMESTIC_F";
20
- OCPIConnectorType["DOMESTIC_G"] = "DOMESTIC_G";
21
- OCPIConnectorType["DOMESTIC_H"] = "DOMESTIC_H";
22
- OCPIConnectorType["DOMESTIC_I"] = "DOMESTIC_I";
23
- OCPIConnectorType["DOMESTIC_J"] = "DOMESTIC_J";
24
- OCPIConnectorType["DOMESTIC_K"] = "DOMESTIC_K";
25
- OCPIConnectorType["DOMESTIC_L"] = "DOMESTIC_L";
26
- OCPIConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
27
- OCPIConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
28
- OCPIConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
29
- OCPIConnectorType["IEC_60309_2_THREE_64"] = "IEC_60309_2_three_64";
30
- OCPIConnectorType["IEC_62196_T1"] = "IEC_62196_T1";
31
- OCPIConnectorType["IEC_62196_T1_COMBO"] = "IEC_62196_T1_COMBO";
32
- OCPIConnectorType["IEC_62196_T2"] = "IEC_62196_T2";
33
- OCPIConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
34
- OCPIConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
35
- OCPIConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
36
- OCPIConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
37
- OCPIConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
38
- OCPIConnectorType["TESLA_R"] = "TESLA_R";
39
- OCPIConnectorType["TESLA_S"] = "TESLA_S";
40
- })(exports.OCPIConnectorType || (exports.OCPIConnectorType = {}));
11
+ /** Amenities stats model */
41
12
 
42
- (function (CarImageType) {
43
- CarImageType["PROVIDER"] = "provider";
44
- CarImageType["IMAGE"] = "image";
45
- CarImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
46
- CarImageType["BRAND"] = "brand";
47
- CarImageType["BRAND_THUMBNAIL"] = "brand_thumbnail";
48
- })(exports.CarImageType || (exports.CarImageType = {}));
49
- /** Deprecated */
13
+ /** The type of the batter value */
14
+ exports.BatteryInputType = void 0;
15
+ /** Output of a car query */
50
16
 
51
- (function (CarMode) {
52
- CarMode["INDEX_ONLY"] = "index_only";
53
- CarMode["PRODUCTION"] = "production";
54
- CarMode["CONCEPT"] = "concept";
55
- })(exports.CarMode || (exports.CarMode = {}));
17
+ (function (BatteryInputType) {
18
+ BatteryInputType["KWH"] = "kwh";
19
+ BatteryInputType["KM"] = "km";
20
+ BatteryInputType["MILES"] = "miles";
21
+ })(exports.BatteryInputType || (exports.BatteryInputType = {}));
22
+
23
+ /** Battery field estimated */
24
+ exports.CarBatteryFieldEstimations = void 0;
56
25
 
57
26
  (function (CarBatteryFieldEstimations) {
58
27
  CarBatteryFieldEstimations["B"] = "B";
@@ -60,58 +29,110 @@ Object.defineProperty(exports, '__esModule', { value: true });
60
29
  CarBatteryFieldEstimations["N"] = "N";
61
30
  CarBatteryFieldEstimations["U"] = "U";
62
31
  })(exports.CarBatteryFieldEstimations || (exports.CarBatteryFieldEstimations = {}));
63
- /** Fuel type */
32
+
33
+ /** Drivetrain */
34
+ exports.CarDrivetrain = void 0;
35
+ /** Deprecated */
64
36
 
65
37
  (function (CarDrivetrain) {
66
38
  CarDrivetrain["BEV"] = "BEV";
67
39
  CarDrivetrain["EREV"] = "EREV";
68
40
  })(exports.CarDrivetrain || (exports.CarDrivetrain = {}));
69
- /** Propulsion */
41
+
42
+ /** Fuel type */
43
+ exports.CarFuel = void 0;
70
44
 
71
45
  (function (CarFuel) {
72
46
  CarFuel["E"] = "E";
73
47
  })(exports.CarFuel || (exports.CarFuel = {}));
74
48
 
49
+ /** Available types of images which can be found for a car. Each type has specific image sizes */
50
+ exports.CarImageType = void 0;
51
+ /** When uploading images to a car, you can select one of this types. The rest of the types are automatically generated by the system */
52
+
53
+ (function (CarImageType) {
54
+ CarImageType["PROVIDER"] = "provider";
55
+ CarImageType["IMAGE"] = "image";
56
+ CarImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
57
+ CarImageType["BRAND"] = "brand";
58
+ CarImageType["BRAND_THUMBNAIL"] = "brand_thumbnail";
59
+ })(exports.CarImageType || (exports.CarImageType = {}));
60
+
61
+ exports.CarImageTypeUploadable = void 0;
62
+ /** The output element of the carList query */
63
+
64
+ (function (CarImageTypeUploadable) {
65
+ CarImageTypeUploadable["IMAGE"] = "image";
66
+ })(exports.CarImageTypeUploadable || (exports.CarImageTypeUploadable = {}));
67
+
68
+ /** Mode (state) of the current production */
69
+ exports.CarMode = void 0;
70
+
71
+ (function (CarMode) {
72
+ CarMode["INDEX_ONLY"] = "index_only";
73
+ CarMode["PRODUCTION"] = "production";
74
+ CarMode["CONCEPT"] = "concept";
75
+ })(exports.CarMode || (exports.CarMode = {}));
76
+
77
+ /** Propulsion */
78
+ exports.CarPropulsion = void 0;
79
+
75
80
  (function (CarPropulsion) {
76
81
  CarPropulsion["AWD"] = "AWD";
77
82
  CarPropulsion["FRONT"] = "Front";
78
83
  CarPropulsion["REAR"] = "Rear";
79
84
  })(exports.CarPropulsion || (exports.CarPropulsion = {}));
80
- /** The complete contact information */
81
85
 
82
- (function (OCPIImageCategory) {
83
- OCPIImageCategory["CHARGER"] = "CHARGER";
84
- OCPIImageCategory["ENTRANCE"] = "ENTRANCE";
85
- OCPIImageCategory["LOCATION"] = "LOCATION";
86
- OCPIImageCategory["NETWORK"] = "NETWORK";
87
- OCPIImageCategory["OPERATOR"] = "OPERATOR";
88
- OCPIImageCategory["OTHER"] = "OTHER";
89
- OCPIImageCategory["OWNER"] = "OWNER";
90
- })(exports.OCPIImageCategory || (exports.OCPIImageCategory = {}));
91
- /** EVSE data which extends OCPI EVSE */
86
+ /** Status of a car */
87
+ exports.CarStatus = void 0;
92
88
 
93
- (function (OCPIParkingType) {
94
- OCPIParkingType["ALONG_MOTORWAY"] = "ALONG_MOTORWAY";
95
- OCPIParkingType["PARKING_GARAGE"] = "PARKING_GARAGE";
96
- OCPIParkingType["PARKING_LOT"] = "PARKING_LOT";
97
- OCPIParkingType["ON_DRIVEWAY"] = "ON_DRIVEWAY";
98
- OCPIParkingType["ON_STREET"] = "ON_STREET";
99
- OCPIParkingType["UNDERGROUND_GARAGE"] = "UNDERGROUND_GARAGE";
100
- })(exports.OCPIParkingType || (exports.OCPIParkingType = {}));
101
- /** This type is used to schedule status periods in the future. The eMSP can provide this information to the EV user for trip planning purposes. A period MAY have no end. Example: "This station will be running as of tomorrow. Today it is still planned and under construction. */
89
+ (function (CarStatus) {
90
+ CarStatus["NEW"] = "new";
91
+ CarStatus["REVIEW"] = "review";
92
+ CarStatus["PUBLIC"] = "public";
93
+ CarStatus["REMOVED"] = "removed";
94
+ })(exports.CarStatus || (exports.CarStatus = {}));
102
95
 
103
- (function (OCPIStatus) {
104
- OCPIStatus["AVAILABLE"] = "AVAILABLE";
105
- OCPIStatus["BLOCKED"] = "BLOCKED";
106
- OCPIStatus["CHARGING"] = "CHARGING";
107
- OCPIStatus["INOPERATIVE"] = "INOPERATIVE";
108
- OCPIStatus["OUTOFORDER"] = "OUTOFORDER";
109
- OCPIStatus["PLANNED"] = "PLANNED";
110
- OCPIStatus["REMOVED"] = "REMOVED";
111
- OCPIStatus["RESERVED"] = "RESERVED";
112
- OCPIStatus["UNKNOWN"] = "UNKNOWN";
113
- })(exports.OCPIStatus || (exports.OCPIStatus = {}));
114
- /** Connector data which extends OCPI Connector */
96
+ /** Charging mode used at charging stations */
97
+ exports.ChargeMode = void 0;
98
+ /** A groupped representation of EVSEs */
99
+
100
+ (function (ChargeMode) {
101
+ ChargeMode["OPTIMIZE_TRAVEL_TIME"] = "OPTIMIZE_TRAVEL_TIME";
102
+ ChargeMode["ALWAYS_TO_MAX_CHARGE"] = "ALWAYS_TO_MAX_CHARGE";
103
+ })(exports.ChargeMode || (exports.ChargeMode = {}));
104
+
105
+ exports.ChargerStatus = void 0;
106
+ /** Groupping by status of the chargers */
107
+
108
+ (function (ChargerStatus) {
109
+ ChargerStatus["FREE"] = "free";
110
+ ChargerStatus["BUSY"] = "busy";
111
+ ChargerStatus["UNKNOWN"] = "unknown";
112
+ ChargerStatus["ERROR"] = "error";
113
+ })(exports.ChargerStatus || (exports.ChargerStatus = {}));
114
+
115
+ /** GeoJSON Feature type */
116
+ exports.FeatureType = void 0;
117
+ /** The types of the leg */
118
+
119
+ (function (FeatureType) {
120
+ FeatureType["FEATURE"] = "Feature";
121
+ })(exports.FeatureType || (exports.FeatureType = {}));
122
+
123
+ exports.LegType = void 0;
124
+
125
+ (function (LegType) {
126
+ LegType["STATION"] = "station";
127
+ LegType["STATIONVIA"] = "stationVia";
128
+ LegType["VIA"] = "via";
129
+ LegType["FINAL"] = "final";
130
+ LegType["STATIONFINAL"] = "stationFinal";
131
+ })(exports.LegType || (exports.LegType = {}));
132
+
133
+ /** The capabilities of an EVSE. */
134
+ exports.OCPICapability = void 0;
135
+ /** The format of the connector, whether it is a socket or a plug. */
115
136
 
116
137
  (function (OCPICapability) {
117
138
  OCPICapability["CHARGING_PROFILE_CAPABLE"] = "CHARGING_PROFILE_CAPABLE";
@@ -128,31 +149,48 @@ Object.defineProperty(exports, '__esModule', { value: true });
128
149
  OCPICapability["UNLOCK_CAPABLE"] = "UNLOCK_CAPABLE";
129
150
  })(exports.OCPICapability || (exports.OCPICapability = {}));
130
151
 
152
+ exports.OCPIConnectorFormat = void 0;
153
+ /** The socket or plug standard of the charging point. */
154
+
131
155
  (function (OCPIConnectorFormat) {
132
156
  OCPIConnectorFormat["SOCKET"] = "SOCKET";
133
157
  OCPIConnectorFormat["CABLE"] = "CABLE";
134
158
  })(exports.OCPIConnectorFormat || (exports.OCPIConnectorFormat = {}));
135
159
 
136
- (function (OCPIPowerType) {
137
- OCPIPowerType["AC_1_PHASE"] = "AC_1_PHASE";
138
- OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
139
- OCPIPowerType["DC"] = "DC";
140
- })(exports.OCPIPowerType || (exports.OCPIPowerType = {}));
160
+ exports.OCPIConnectorType = void 0;
141
161
 
142
- (function (OCPITariffType) {
143
- OCPITariffType["AD_HOC_PAYMENT"] = "AD_HOC_PAYMENT";
144
- OCPITariffType["PROFILE_CHEAP"] = "PROFILE_CHEAP";
145
- OCPITariffType["PROFILE_FAST"] = "PROFILE_FAST";
146
- OCPITariffType["PROFILE_GREEN"] = "PROFILE_GREEN";
147
- OCPITariffType["REGULAR"] = "REGULAR";
148
- })(exports.OCPITariffType || (exports.OCPITariffType = {}));
162
+ (function (OCPIConnectorType) {
163
+ OCPIConnectorType["CHADEMO"] = "CHADEMO";
164
+ OCPIConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
165
+ OCPIConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
166
+ OCPIConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
167
+ OCPIConnectorType["DOMESTIC_D"] = "DOMESTIC_D";
168
+ OCPIConnectorType["DOMESTIC_E"] = "DOMESTIC_E";
169
+ OCPIConnectorType["DOMESTIC_F"] = "DOMESTIC_F";
170
+ OCPIConnectorType["DOMESTIC_G"] = "DOMESTIC_G";
171
+ OCPIConnectorType["DOMESTIC_H"] = "DOMESTIC_H";
172
+ OCPIConnectorType["DOMESTIC_I"] = "DOMESTIC_I";
173
+ OCPIConnectorType["DOMESTIC_J"] = "DOMESTIC_J";
174
+ OCPIConnectorType["DOMESTIC_K"] = "DOMESTIC_K";
175
+ OCPIConnectorType["DOMESTIC_L"] = "DOMESTIC_L";
176
+ OCPIConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
177
+ OCPIConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
178
+ OCPIConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
179
+ OCPIConnectorType["IEC_60309_2_THREE_64"] = "IEC_60309_2_three_64";
180
+ OCPIConnectorType["IEC_62196_T1"] = "IEC_62196_T1";
181
+ OCPIConnectorType["IEC_62196_T1_COMBO"] = "IEC_62196_T1_COMBO";
182
+ OCPIConnectorType["IEC_62196_T2"] = "IEC_62196_T2";
183
+ OCPIConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
184
+ OCPIConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
185
+ OCPIConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
186
+ OCPIConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
187
+ OCPIConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
188
+ OCPIConnectorType["TESLA_R"] = "TESLA_R";
189
+ OCPIConnectorType["TESLA_S"] = "TESLA_S";
190
+ OCPIConnectorType["GB_T"] = "GB_T";
191
+ })(exports.OCPIConnectorType || (exports.OCPIConnectorType = {}));
149
192
 
150
- (function (OCPITariffDimensionType) {
151
- OCPITariffDimensionType["ENERGY"] = "ENERGY";
152
- OCPITariffDimensionType["FLAT"] = "FLAT";
153
- OCPITariffDimensionType["PARKING_TIME"] = "PARKING_TIME";
154
- OCPITariffDimensionType["TIME"] = "TIME";
155
- })(exports.OCPITariffDimensionType || (exports.OCPITariffDimensionType = {}));
193
+ exports.OCPIDayOfWeek = void 0;
156
194
 
157
195
  (function (OCPIDayOfWeek) {
158
196
  OCPIDayOfWeek["MONDAY"] = "MONDAY";
@@ -163,12 +201,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
163
201
  OCPIDayOfWeek["SATURDAY"] = "SATURDAY";
164
202
  OCPIDayOfWeek["SUNDAY"] = "SUNDAY";
165
203
  })(exports.OCPIDayOfWeek || (exports.OCPIDayOfWeek = {}));
166
- /** This type is used to specify the energy mix and environmental impact of the supplied energy at a location or in a tariff. */
167
204
 
168
- (function (OCPIReservationRestrictionType) {
169
- OCPIReservationRestrictionType["RESERVATION"] = "RESERVATION";
170
- OCPIReservationRestrictionType["RESERVATION_EXPIRES"] = "RESERVATION_EXPIRES";
171
- })(exports.OCPIReservationRestrictionType || (exports.OCPIReservationRestrictionType = {}));
205
+ /** Categories of energy sources. */
206
+ exports.OCPIEnergySourceCategory = void 0;
172
207
  /** Amount of waste produced/emitted per kWh. */
173
208
 
174
209
  (function (OCPIEnergySourceCategory) {
@@ -181,26 +216,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
181
216
  OCPIEnergySourceCategory["WIND"] = "WIND";
182
217
  OCPIEnergySourceCategory["WATER"] = "WATER";
183
218
  })(exports.OCPIEnergySourceCategory || (exports.OCPIEnergySourceCategory = {}));
184
- /** This value, if provided, represents the restriction to the parking spot for different purposes. */
219
+
220
+ /** Categories of environmental impact values. */
221
+ exports.OCPIEnvironmentalImpactCategory = void 0;
222
+ /** Specifies one exceptional period for opening or access hours. */
185
223
 
186
224
  (function (OCPIEnvironmentalImpactCategory) {
187
225
  OCPIEnvironmentalImpactCategory["NUCLEAR_WASTE"] = "NUCLEAR_WASTE";
188
226
  OCPIEnvironmentalImpactCategory["CARBON_DIOXIDE"] = "CARBON_DIOXIDE";
189
227
  })(exports.OCPIEnvironmentalImpactCategory || (exports.OCPIEnvironmentalImpactCategory = {}));
190
228
 
191
- (function (OCPIParkingRestriction) {
192
- OCPIParkingRestriction["EV_ONLY"] = "EV_ONLY";
193
- OCPIParkingRestriction["PLUGGED"] = "PLUGGED";
194
- OCPIParkingRestriction["DISABLED"] = "DISABLED";
195
- OCPIParkingRestriction["CUSTOMERS"] = "CUSTOMERS";
196
- OCPIParkingRestriction["MOTORCYCLES"] = "MOTORCYCLES";
197
- })(exports.OCPIParkingRestriction || (exports.OCPIParkingRestriction = {}));
198
-
199
- (function (ParkingCost) {
200
- ParkingCost["FREE"] = "free";
201
- ParkingCost["PAID"] = "paid";
202
- })(exports.ParkingCost || (exports.ParkingCost = {}));
203
- /** Opening and access hours of the location. */
229
+ exports.OCPIFacility = void 0;
230
+ /** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
204
231
 
205
232
  (function (OCPIFacility) {
206
233
  OCPIFacility["HOTEL"] = "HOTEL";
@@ -224,40 +251,120 @@ Object.defineProperty(exports, '__esModule', { value: true });
224
251
  OCPIFacility["FUEL_STATION"] = "FUEL_STATION";
225
252
  OCPIFacility["WIFI"] = "WIFI";
226
253
  })(exports.OCPIFacility || (exports.OCPIFacility = {}));
227
- /** Groupping by status of the chargers */
228
254
 
229
- (function (StationSpeedType) {
230
- StationSpeedType["SLOW"] = "slow";
231
- StationSpeedType["FAST"] = "fast";
232
- StationSpeedType["TURBO"] = "turbo";
233
- })(exports.StationSpeedType || (exports.StationSpeedType = {}));
234
- /** Special format for the user of a review */
255
+ /** The category of an image to obtain the correct usage in a user presentation. The category has to be set accordingly to the image content in order to guarantee the right usage. */
256
+ exports.OCPIImageCategory = void 0;
257
+ /** This value, if provided, represents the restriction to the parking spot for different purposes. */
235
258
 
236
- (function (ChargerStatus) {
237
- ChargerStatus["FREE"] = "free";
238
- ChargerStatus["BUSY"] = "busy";
239
- ChargerStatus["UNKNOWN"] = "unknown";
240
- ChargerStatus["ERROR"] = "error";
241
- })(exports.ChargerStatus || (exports.ChargerStatus = {}));
259
+ (function (OCPIImageCategory) {
260
+ OCPIImageCategory["CHARGER"] = "CHARGER";
261
+ OCPIImageCategory["ENTRANCE"] = "ENTRANCE";
262
+ OCPIImageCategory["LOCATION"] = "LOCATION";
263
+ OCPIImageCategory["NETWORK"] = "NETWORK";
264
+ OCPIImageCategory["OPERATOR"] = "OPERATOR";
265
+ OCPIImageCategory["OTHER"] = "OTHER";
266
+ OCPIImageCategory["OWNER"] = "OWNER";
267
+ })(exports.OCPIImageCategory || (exports.OCPIImageCategory = {}));
268
+
269
+ exports.OCPIParkingRestriction = void 0;
270
+ /** Reflects the general type of the charge point’s location. May be used for user information. */
271
+
272
+ (function (OCPIParkingRestriction) {
273
+ OCPIParkingRestriction["EV_ONLY"] = "EV_ONLY";
274
+ OCPIParkingRestriction["PLUGGED"] = "PLUGGED";
275
+ OCPIParkingRestriction["DISABLED"] = "DISABLED";
276
+ OCPIParkingRestriction["CUSTOMERS"] = "CUSTOMERS";
277
+ OCPIParkingRestriction["MOTORCYCLES"] = "MOTORCYCLES";
278
+ })(exports.OCPIParkingRestriction || (exports.OCPIParkingRestriction = {}));
279
+
280
+ exports.OCPIParkingType = void 0;
281
+
282
+ (function (OCPIParkingType) {
283
+ OCPIParkingType["ALONG_MOTORWAY"] = "ALONG_MOTORWAY";
284
+ OCPIParkingType["PARKING_GARAGE"] = "PARKING_GARAGE";
285
+ OCPIParkingType["PARKING_LOT"] = "PARKING_LOT";
286
+ OCPIParkingType["ON_DRIVEWAY"] = "ON_DRIVEWAY";
287
+ OCPIParkingType["ON_STREET"] = "ON_STREET";
288
+ OCPIParkingType["UNDERGROUND_GARAGE"] = "UNDERGROUND_GARAGE";
289
+ })(exports.OCPIParkingType || (exports.OCPIParkingType = {}));
290
+
291
+ exports.OCPIPowerType = void 0;
292
+
293
+ (function (OCPIPowerType) {
294
+ OCPIPowerType["AC_1_PHASE"] = "AC_1_PHASE";
295
+ OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
296
+ OCPIPowerType["DC"] = "DC";
297
+ })(exports.OCPIPowerType || (exports.OCPIPowerType = {}));
298
+
299
+ exports.OCPIReservationRestrictionType = void 0;
300
+ /** The status of an EVSE. */
301
+
302
+ (function (OCPIReservationRestrictionType) {
303
+ OCPIReservationRestrictionType["RESERVATION"] = "RESERVATION";
304
+ OCPIReservationRestrictionType["RESERVATION_EXPIRES"] = "RESERVATION_EXPIRES";
305
+ })(exports.OCPIReservationRestrictionType || (exports.OCPIReservationRestrictionType = {}));
306
+
307
+ exports.OCPIStatus = void 0;
308
+ /** This type is used to schedule status periods in the future. The eMSP can provide this information to the EV user for trip planning purposes. A period MAY have no end. Example: "This station will be running as of tomorrow. Today it is still planned and under construction. */
309
+
310
+ (function (OCPIStatus) {
311
+ OCPIStatus["AVAILABLE"] = "AVAILABLE";
312
+ OCPIStatus["BLOCKED"] = "BLOCKED";
313
+ OCPIStatus["CHARGING"] = "CHARGING";
314
+ OCPIStatus["INOPERATIVE"] = "INOPERATIVE";
315
+ OCPIStatus["OUTOFORDER"] = "OUTOFORDER";
316
+ OCPIStatus["PLANNED"] = "PLANNED";
317
+ OCPIStatus["REMOVED"] = "REMOVED";
318
+ OCPIStatus["RESERVED"] = "RESERVED";
319
+ OCPIStatus["UNKNOWN"] = "UNKNOWN";
320
+ })(exports.OCPIStatus || (exports.OCPIStatus = {}));
321
+
322
+ exports.OCPITariffDimensionType = void 0;
323
+
324
+ (function (OCPITariffDimensionType) {
325
+ OCPITariffDimensionType["ENERGY"] = "ENERGY";
326
+ OCPITariffDimensionType["FLAT"] = "FLAT";
327
+ OCPITariffDimensionType["PARKING_TIME"] = "PARKING_TIME";
328
+ OCPITariffDimensionType["TIME"] = "TIME";
329
+ })(exports.OCPITariffDimensionType || (exports.OCPITariffDimensionType = {}));
330
+
331
+ exports.OCPITariffType = void 0;
332
+ /** The operator data which extends OCPI BusinessDetails */
333
+
334
+ (function (OCPITariffType) {
335
+ OCPITariffType["AD_HOC_PAYMENT"] = "AD_HOC_PAYMENT";
336
+ OCPITariffType["PROFILE_CHEAP"] = "PROFILE_CHEAP";
337
+ OCPITariffType["PROFILE_FAST"] = "PROFILE_FAST";
338
+ OCPITariffType["PROFILE_GREEN"] = "PROFILE_GREEN";
339
+ OCPITariffType["REGULAR"] = "REGULAR";
340
+ })(exports.OCPITariffType || (exports.OCPITariffType = {}));
341
+
342
+ exports.ParkingCost = void 0;
343
+
344
+ (function (ParkingCost) {
345
+ ParkingCost["FREE"] = "free";
346
+ ParkingCost["PAID"] = "paid";
347
+ })(exports.ParkingCost || (exports.ParkingCost = {}));
348
+
349
+ /** GeoJSON Point type */
350
+ exports.PointType = void 0;
351
+ /** The list of powers for the speed type */
352
+
353
+ (function (PointType) {
354
+ PointType["POINT"] = "Point";
355
+ })(exports.PointType || (exports.PointType = {}));
356
+
357
+ /** Types of an alternative route */
358
+ exports.RouteAlternativeType = void 0;
242
359
 
243
360
  (function (RouteAlternativeType) {
244
361
  RouteAlternativeType["FASTEST"] = "fastest";
245
362
  RouteAlternativeType["BESTMATCHING"] = "bestMatching";
246
363
  RouteAlternativeType["ALTERNATIVE"] = "alternative";
247
364
  })(exports.RouteAlternativeType || (exports.RouteAlternativeType = {}));
248
- /** The types of the leg */
249
365
 
250
- (function (FeatureType) {
251
- FeatureType["FEATURE"] = "Feature";
252
- })(exports.FeatureType || (exports.FeatureType = {}));
253
-
254
- (function (LegType) {
255
- LegType["STATION"] = "station";
256
- LegType["STATIONVIA"] = "stationVia";
257
- LegType["VIA"] = "via";
258
- LegType["FINAL"] = "final";
259
- LegType["STATIONFINAL"] = "stationFinal";
260
- })(exports.LegType || (exports.LegType = {}));
366
+ /** Sign belonging to the instruction indicating the main maneuver */
367
+ exports.RouteInstructionSign = void 0;
261
368
 
262
369
  (function (RouteInstructionSign) {
263
370
  RouteInstructionSign["UNKNOWN"] = "UNKNOWN";
@@ -284,19 +391,27 @@ Object.defineProperty(exports, '__esModule', { value: true });
284
391
  RouteInstructionSign["IGNORE"] = "IGNORE";
285
392
  })(exports.RouteInstructionSign || (exports.RouteInstructionSign = {}));
286
393
 
287
- (function (BatteryInputType) {
288
- BatteryInputType["KWH"] = "kwh";
289
- BatteryInputType["KM"] = "km";
290
- BatteryInputType["MILES"] = "miles";
291
- })(exports.BatteryInputType || (exports.BatteryInputType = {}));
292
- /** The status of a route. The status can be pending, processing, done, not_found or error */
394
+ /** Type of operator preference for a route */
395
+ exports.RouteOperatorsType = void 0;
396
+
397
+ (function (RouteOperatorsType) {
398
+ RouteOperatorsType["NONE"] = "none";
399
+ RouteOperatorsType["PREFERRED"] = "preferred";
400
+ RouteOperatorsType["REQUIRED"] = "required";
401
+ })(exports.RouteOperatorsType || (exports.RouteOperatorsType = {}));
402
+
403
+ /** The season of the route */
404
+ exports.RouteSeason = void 0;
293
405
 
294
406
  (function (RouteSeason) {
295
407
  RouteSeason["SUMMER"] = "summer";
296
408
  RouteSeason["WINTER"] = "winter";
297
409
  RouteSeason["CURRENT"] = "current";
298
410
  })(exports.RouteSeason || (exports.RouteSeason = {}));
299
- /** A GeoJSON Point input */
411
+
412
+ /** The status of a route. The status can be pending, processing, done, not_found or error */
413
+ exports.RouteStatus = void 0;
414
+ /** Standards(plug type) stats model */
300
415
 
301
416
  (function (RouteStatus) {
302
417
  RouteStatus["PENDING"] = "pending";
@@ -305,16 +420,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
305
420
  RouteStatus["NOT_FOUND"] = "not_found";
306
421
  RouteStatus["ERROR"] = "error";
307
422
  })(exports.RouteStatus || (exports.RouteStatus = {}));
308
- /** Status of a car */
309
423
 
310
- (function (CarImageTypeUploadable) {
311
- CarImageTypeUploadable["IMAGE"] = "image";
312
- })(exports.CarImageTypeUploadable || (exports.CarImageTypeUploadable = {}));
424
+ /** The station speed type */
425
+ exports.StationSpeedType = void 0;
426
+ /** The station stats model */
313
427
 
314
- (function (CarStatus) {
315
- CarStatus["NEW"] = "new";
316
- CarStatus["REVIEW"] = "review";
317
- CarStatus["PUBLIC"] = "public";
318
- CarStatus["REMOVED"] = "removed";
319
- })(exports.CarStatus || (exports.CarStatus = {}));
428
+ (function (StationSpeedType) {
429
+ StationSpeedType["SLOW"] = "slow";
430
+ StationSpeedType["FAST"] = "fast";
431
+ StationSpeedType["TURBO"] = "turbo";
432
+ })(exports.StationSpeedType || (exports.StationSpeedType = {}));
320
433
  //# sourceMappingURL=index.js.map