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