@chargetrip/types 1.30.0 → 1.32.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,24 +3,43 @@
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
+ exports.AccessType = void 0;
7
7
  /** Information about an address */
8
8
 
9
+ (function (AccessType) {
10
+ AccessType["PRIVATE"] = "Private";
11
+ AccessType["PUBLIC"] = "Public";
12
+ AccessType["RESTRICTED"] = "Restricted";
13
+ })(exports.AccessType || (exports.AccessType = {}));
14
+
15
+ exports.AdhocAuthorisationMethod = void 0;
9
16
  /** Amenities available near a station */
17
+
18
+ (function (AdhocAuthorisationMethod) {
19
+ AdhocAuthorisationMethod["CREDIT_CARD"] = "CREDIT_CARD";
20
+ AdhocAuthorisationMethod["DEBIT_CARD"] = "DEBIT_CARD";
21
+ AdhocAuthorisationMethod["OTHER"] = "OTHER";
22
+ AdhocAuthorisationMethod["OTHER_APPLE_PAY"] = "OTHER_Apple_Pay";
23
+ AdhocAuthorisationMethod["OTHER_AUTHENTICATION_BY_CAR"] = "OTHER_Authentication_by_car";
24
+ AdhocAuthorisationMethod["OTHER_GOOGLE_PAY"] = "OTHER_Google_Pay";
25
+ AdhocAuthorisationMethod["QR_CODE"] = "QR_CODE";
26
+ AdhocAuthorisationMethod["SMS"] = "SMS";
27
+ })(exports.AdhocAuthorisationMethod || (exports.AdhocAuthorisationMethod = {}));
28
+
10
29
  exports.Amenities = void 0;
11
30
  /** The amenity model */
12
31
 
13
32
  (function (Amenities) {
14
- Amenities["PARK"] = "park";
15
- Amenities["RESTAURANT"] = "restaurant";
16
- Amenities["MUSEUM"] = "museum";
33
+ Amenities["BATHROOM"] = "bathroom";
17
34
  Amenities["COFFEE"] = "coffee";
18
35
  Amenities["HOTEL"] = "hotel";
36
+ Amenities["MUSEUM"] = "museum";
37
+ Amenities["PARK"] = "park";
38
+ Amenities["PHARMACY"] = "pharmacy";
39
+ Amenities["PLAYGROUND"] = "playground";
40
+ Amenities["RESTAURANT"] = "restaurant";
19
41
  Amenities["SHOPPING"] = "shopping";
20
- Amenities["BATHROOM"] = "bathroom";
21
42
  Amenities["SUPERMARKET"] = "supermarket";
22
- Amenities["PLAYGROUND"] = "playground";
23
- Amenities["PHARMACY"] = "pharmacy";
24
43
  })(exports.Amenities || (exports.Amenities = {}));
25
44
 
26
45
  /** The type of the batter value */
@@ -28,8 +47,8 @@ exports.BatteryInputType = void 0;
28
47
  /** Output of a car query */
29
48
 
30
49
  (function (BatteryInputType) {
31
- BatteryInputType["KWH"] = "kwh";
32
50
  BatteryInputType["KM"] = "km";
51
+ BatteryInputType["KWH"] = "kwh";
33
52
  BatteryInputType["MILES"] = "miles";
34
53
  BatteryInputType["PERCENTAGE"] = "percentage";
35
54
  })(exports.BatteryInputType || (exports.BatteryInputType = {}));
@@ -65,11 +84,11 @@ exports.CarImageType = void 0;
65
84
  /** When uploading images to a car, you can select one of this types. The rest of the types are automatically generated by the system */
66
85
 
67
86
  (function (CarImageType) {
68
- CarImageType["PROVIDER"] = "provider";
69
- CarImageType["IMAGE"] = "image";
70
- CarImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
71
87
  CarImageType["BRAND"] = "brand";
72
88
  CarImageType["BRAND_THUMBNAIL"] = "brand_thumbnail";
89
+ CarImageType["IMAGE"] = "image";
90
+ CarImageType["IMAGE_THUMBNAIL"] = "image_thumbnail";
91
+ CarImageType["PROVIDER"] = "provider";
73
92
  })(exports.CarImageType || (exports.CarImageType = {}));
74
93
 
75
94
  exports.CarImageTypeUploadable = void 0;
@@ -83,9 +102,9 @@ exports.CarImageTypeUploadable = void 0;
83
102
  exports.CarMode = void 0;
84
103
 
85
104
  (function (CarMode) {
105
+ CarMode["CONCEPT"] = "concept";
86
106
  CarMode["INDEX_ONLY"] = "index_only";
87
107
  CarMode["PRODUCTION"] = "production";
88
- CarMode["CONCEPT"] = "concept";
89
108
  })(exports.CarMode || (exports.CarMode = {}));
90
109
 
91
110
  /** Propulsion */
@@ -102,9 +121,9 @@ exports.CarStatus = void 0;
102
121
 
103
122
  (function (CarStatus) {
104
123
  CarStatus["NEW"] = "new";
105
- CarStatus["REVIEW"] = "review";
106
124
  CarStatus["PUBLIC"] = "public";
107
125
  CarStatus["REMOVED"] = "removed";
126
+ CarStatus["REVIEW"] = "review";
108
127
  })(exports.CarStatus || (exports.CarStatus = {}));
109
128
 
110
129
  /** Charging mode used at charging stations */
@@ -112,26 +131,45 @@ exports.ChargeMode = void 0;
112
131
  /** A groupped representation of EVSEs */
113
132
 
114
133
  (function (ChargeMode) {
115
- ChargeMode["OPTIMIZE_TRAVEL_TIME"] = "OPTIMIZE_TRAVEL_TIME";
116
134
  ChargeMode["ALWAYS_TO_MAX_CHARGE"] = "ALWAYS_TO_MAX_CHARGE";
135
+ ChargeMode["OPTIMIZE_TRAVEL_TIME"] = "OPTIMIZE_TRAVEL_TIME";
117
136
  })(exports.ChargeMode || (exports.ChargeMode = {}));
118
137
 
119
138
  exports.ChargerStatus = void 0;
120
139
  /** Groupping by status of the chargers */
121
140
 
122
141
  (function (ChargerStatus) {
123
- ChargerStatus["FREE"] = "free";
124
142
  ChargerStatus["BUSY"] = "busy";
125
- ChargerStatus["UNKNOWN"] = "unknown";
126
143
  ChargerStatus["ERROR"] = "error";
144
+ ChargerStatus["FREE"] = "free";
145
+ ChargerStatus["UNKNOWN"] = "unknown";
127
146
  })(exports.ChargerStatus || (exports.ChargerStatus = {}));
128
147
 
148
+ exports.ChargingBehaviourCode = void 0;
149
+
150
+ (function (ChargingBehaviourCode) {
151
+ ChargingBehaviourCode["FAST_CHARGING"] = "FAST_CHARGING";
152
+ ChargingBehaviourCode["MIXED_CHARGING"] = "MIXED_CHARGING";
153
+ ChargingBehaviourCode["NOISE_CHARGING"] = "NOISE_CHARGING";
154
+ ChargingBehaviourCode["OFFICE_CHARGING"] = "OFFICE_CHARGING";
155
+ ChargingBehaviourCode["OVERNIGHT_CHARGING"] = "OVERNIGHT_CHARGING";
156
+ ChargingBehaviourCode["URBAN_CHARGING"] = "URBAN_CHARGING";
157
+ })(exports.ChargingBehaviourCode || (exports.ChargingBehaviourCode = {}));
158
+
159
+ exports.ConnectProvider = void 0;
160
+ /** Connector data which extends OCPI Connector */
161
+
162
+ (function (ConnectProvider) {
163
+ ConnectProvider["ENODE"] = "Enode";
164
+ })(exports.ConnectProvider || (exports.ConnectProvider = {}));
165
+
129
166
  /** The socket or plug standard of the charging point. */
130
167
  exports.ConnectorType = void 0;
131
168
  /** The complete contact information */
132
169
 
133
170
  (function (ConnectorType) {
134
171
  ConnectorType["CHADEMO"] = "CHADEMO";
172
+ ConnectorType["CHAOJI"] = "CHAOJI";
135
173
  ConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
136
174
  ConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
137
175
  ConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
@@ -147,6 +185,7 @@ exports.ConnectorType = void 0;
147
185
  ConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
148
186
  ConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
149
187
  ConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
188
+ ConnectorType["GB_T"] = "GB_T";
150
189
  ConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
151
190
  ConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
152
191
  ConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
@@ -157,12 +196,6 @@ exports.ConnectorType = void 0;
157
196
  ConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
158
197
  ConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
159
198
  ConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
160
- ConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
161
- ConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
162
- ConnectorType["TESLA_R"] = "TESLA_R";
163
- ConnectorType["TESLA_S"] = "TESLA_S";
164
- ConnectorType["GB_T"] = "GB_T";
165
- ConnectorType["CHAOJI"] = "CHAOJI";
166
199
  ConnectorType["NEMA_5_20"] = "NEMA_5_20";
167
200
  ConnectorType["NEMA_6_30"] = "NEMA_6_30";
168
201
  ConnectorType["NEMA_6_50"] = "NEMA_6_50";
@@ -170,6 +203,10 @@ exports.ConnectorType = void 0;
170
203
  ConnectorType["NEMA_10_50"] = "NEMA_10_50";
171
204
  ConnectorType["NEMA_14_30"] = "NEMA_14_30";
172
205
  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";
173
210
  })(exports.ConnectorType || (exports.ConnectorType = {}));
174
211
 
175
212
  /** ISO-3166 alpha-2 country codes */
@@ -203,9 +240,11 @@ exports.CountryCodeAlpha2 = void 0;
203
240
  CountryCodeAlpha2["BH"] = "BH";
204
241
  CountryCodeAlpha2["BI"] = "BI";
205
242
  CountryCodeAlpha2["BJ"] = "BJ";
243
+ CountryCodeAlpha2["BL"] = "BL";
206
244
  CountryCodeAlpha2["BM"] = "BM";
207
245
  CountryCodeAlpha2["BN"] = "BN";
208
246
  CountryCodeAlpha2["BO"] = "BO";
247
+ CountryCodeAlpha2["BQ"] = "BQ";
209
248
  CountryCodeAlpha2["BR"] = "BR";
210
249
  CountryCodeAlpha2["BS"] = "BS";
211
250
  CountryCodeAlpha2["BT"] = "BT";
@@ -229,6 +268,7 @@ exports.CountryCodeAlpha2 = void 0;
229
268
  CountryCodeAlpha2["CS"] = "CS";
230
269
  CountryCodeAlpha2["CU"] = "CU";
231
270
  CountryCodeAlpha2["CV"] = "CV";
271
+ CountryCodeAlpha2["CW"] = "CW";
232
272
  CountryCodeAlpha2["CX"] = "CX";
233
273
  CountryCodeAlpha2["CY"] = "CY";
234
274
  CountryCodeAlpha2["CZ"] = "CZ";
@@ -256,6 +296,7 @@ exports.CountryCodeAlpha2 = void 0;
256
296
  CountryCodeAlpha2["GD"] = "GD";
257
297
  CountryCodeAlpha2["GE"] = "GE";
258
298
  CountryCodeAlpha2["GF"] = "GF";
299
+ CountryCodeAlpha2["GG"] = "GG";
259
300
  CountryCodeAlpha2["GH"] = "GH";
260
301
  CountryCodeAlpha2["GI"] = "GI";
261
302
  CountryCodeAlpha2["GL"] = "GL";
@@ -278,12 +319,14 @@ exports.CountryCodeAlpha2 = void 0;
278
319
  CountryCodeAlpha2["ID"] = "ID";
279
320
  CountryCodeAlpha2["IE"] = "IE";
280
321
  CountryCodeAlpha2["IL"] = "IL";
322
+ CountryCodeAlpha2["IM"] = "IM";
281
323
  CountryCodeAlpha2["IN"] = "IN";
282
324
  CountryCodeAlpha2["IO"] = "IO";
283
325
  CountryCodeAlpha2["IQ"] = "IQ";
284
326
  CountryCodeAlpha2["IR"] = "IR";
285
327
  CountryCodeAlpha2["IS"] = "IS";
286
328
  CountryCodeAlpha2["IT"] = "IT";
329
+ CountryCodeAlpha2["JE"] = "JE";
287
330
  CountryCodeAlpha2["JM"] = "JM";
288
331
  CountryCodeAlpha2["JO"] = "JO";
289
332
  CountryCodeAlpha2["JP"] = "JP";
@@ -381,6 +424,7 @@ exports.CountryCodeAlpha2 = void 0;
381
424
  CountryCodeAlpha2["SN"] = "SN";
382
425
  CountryCodeAlpha2["SO"] = "SO";
383
426
  CountryCodeAlpha2["SR"] = "SR";
427
+ CountryCodeAlpha2["SS"] = "SS";
384
428
  CountryCodeAlpha2["ST"] = "ST";
385
429
  CountryCodeAlpha2["SV"] = "SV";
386
430
  CountryCodeAlpha2["SX"] = "SX";
@@ -410,6 +454,18 @@ exports.CountryCodeAlpha2 = void 0;
410
454
  CountryCodeAlpha2["UZ"] = "UZ";
411
455
  CountryCodeAlpha2["VA"] = "VA";
412
456
  CountryCodeAlpha2["VC"] = "VC";
457
+ CountryCodeAlpha2["VE"] = "VE";
458
+ CountryCodeAlpha2["VG"] = "VG";
459
+ CountryCodeAlpha2["VI"] = "VI";
460
+ CountryCodeAlpha2["VN"] = "VN";
461
+ CountryCodeAlpha2["VU"] = "VU";
462
+ CountryCodeAlpha2["WF"] = "WF";
463
+ CountryCodeAlpha2["WS"] = "WS";
464
+ CountryCodeAlpha2["YE"] = "YE";
465
+ CountryCodeAlpha2["YT"] = "YT";
466
+ CountryCodeAlpha2["ZA"] = "ZA";
467
+ CountryCodeAlpha2["ZM"] = "ZM";
468
+ CountryCodeAlpha2["ZW"] = "ZW";
413
469
  })(exports.CountryCodeAlpha2 || (exports.CountryCodeAlpha2 = {}));
414
470
 
415
471
  /** GeoJSON Feature type */
@@ -421,22 +477,31 @@ exports.FeatureType = void 0;
421
477
  })(exports.FeatureType || (exports.FeatureType = {}));
422
478
 
423
479
  exports.InstructionsFormat = void 0;
424
- /** Types of a leg */
425
480
 
426
481
  (function (InstructionsFormat) {
427
482
  InstructionsFormat["CHARGETRIP"] = "Chargetrip";
428
483
  InstructionsFormat["MAPBOXV5"] = "MapboxV5";
429
484
  })(exports.InstructionsFormat || (exports.InstructionsFormat = {}));
430
485
 
486
+ /** Status of the isoline label */
487
+ exports.IsolineStatus = void 0;
488
+ /** Types of a leg */
489
+
490
+ (function (IsolineStatus) {
491
+ IsolineStatus["DONE"] = "done";
492
+ IsolineStatus["ERROR"] = "error";
493
+ IsolineStatus["PENDING"] = "pending";
494
+ })(exports.IsolineStatus || (exports.IsolineStatus = {}));
495
+
431
496
  exports.LegType = void 0;
432
497
  /** Preferred language for the mapping */
433
498
 
434
499
  (function (LegType) {
500
+ LegType["FINAL"] = "final";
435
501
  LegType["STATION"] = "station";
502
+ LegType["STATIONFINAL"] = "stationFinal";
436
503
  LegType["STATIONVIA"] = "stationVia";
437
504
  LegType["VIA"] = "via";
438
- LegType["FINAL"] = "final";
439
- LegType["STATIONFINAL"] = "stationFinal";
440
505
  })(exports.LegType || (exports.LegType = {}));
441
506
 
442
507
  exports.MappingLanguage = void 0;
@@ -458,10 +523,10 @@ exports.NavigationState = void 0;
458
523
  /** Navigation session station type */
459
524
 
460
525
  (function (NavigationState) {
461
- NavigationState["DRIVING"] = "driving";
462
526
  NavigationState["CHARGING"] = "charging";
463
- NavigationState["FINISHED"] = "finished";
527
+ NavigationState["DRIVING"] = "driving";
464
528
  NavigationState["ERROR"] = "error";
529
+ NavigationState["FINISHED"] = "finished";
465
530
  })(exports.NavigationState || (exports.NavigationState = {}));
466
531
 
467
532
  /** The capabilities of an EVSE. */
@@ -469,8 +534,8 @@ exports.OCPICapability = void 0;
469
534
  /** The format of the connector, whether it is a socket or a plug. */
470
535
 
471
536
  (function (OCPICapability) {
472
- OCPICapability["CHARGING_PROFILE_CAPABLE"] = "CHARGING_PROFILE_CAPABLE";
473
537
  OCPICapability["CHARGING_PREFERENCES_CAPABLE"] = "CHARGING_PREFERENCES_CAPABLE";
538
+ OCPICapability["CHARGING_PROFILE_CAPABLE"] = "CHARGING_PROFILE_CAPABLE";
474
539
  OCPICapability["CHIP_CARD_SUPPORT"] = "CHIP_CARD_SUPPORT";
475
540
  OCPICapability["CONTACTLESS_CARD_SUPPORT"] = "CONTACTLESS_CARD_SUPPORT";
476
541
  OCPICapability["CREDIT_CARD_PAYABLE"] = "CREDIT_CARD_PAYABLE";
@@ -479,23 +544,24 @@ exports.OCPICapability = void 0;
479
544
  OCPICapability["REMOTE_START_STOP_CAPABLE"] = "REMOTE_START_STOP_CAPABLE";
480
545
  OCPICapability["RESERVABLE"] = "RESERVABLE";
481
546
  OCPICapability["RFID_READER"] = "RFID_READER";
547
+ OCPICapability["START_SESSION_CONNECTOR_REQUIRED"] = "START_SESSION_CONNECTOR_REQUIRED";
482
548
  OCPICapability["TOKEN_GROUP_CAPABLE"] = "TOKEN_GROUP_CAPABLE";
483
549
  OCPICapability["UNLOCK_CAPABLE"] = "UNLOCK_CAPABLE";
484
- OCPICapability["START_SESSION_CONNECTOR_REQUIRED"] = "START_SESSION_CONNECTOR_REQUIRED";
485
550
  })(exports.OCPICapability || (exports.OCPICapability = {}));
486
551
 
487
552
  exports.OCPIConnectorFormat = void 0;
488
553
  /** Deprecated: Please use ConnectorType instead */
489
554
 
490
555
  (function (OCPIConnectorFormat) {
491
- OCPIConnectorFormat["SOCKET"] = "SOCKET";
492
556
  OCPIConnectorFormat["CABLE"] = "CABLE";
557
+ OCPIConnectorFormat["SOCKET"] = "SOCKET";
493
558
  })(exports.OCPIConnectorFormat || (exports.OCPIConnectorFormat = {}));
494
559
 
495
560
  exports.OCPIConnectorType = void 0;
496
561
 
497
562
  (function (OCPIConnectorType) {
498
563
  OCPIConnectorType["CHADEMO"] = "CHADEMO";
564
+ OCPIConnectorType["CHAOJI"] = "CHAOJI";
499
565
  OCPIConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
500
566
  OCPIConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
501
567
  OCPIConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
@@ -511,6 +577,7 @@ exports.OCPIConnectorType = void 0;
511
577
  OCPIConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
512
578
  OCPIConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
513
579
  OCPIConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
580
+ OCPIConnectorType["GB_T"] = "GB_T";
514
581
  OCPIConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
515
582
  OCPIConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
516
583
  OCPIConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
@@ -521,12 +588,6 @@ exports.OCPIConnectorType = void 0;
521
588
  OCPIConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
522
589
  OCPIConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
523
590
  OCPIConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
524
- OCPIConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
525
- OCPIConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
526
- OCPIConnectorType["TESLA_R"] = "TESLA_R";
527
- OCPIConnectorType["TESLA_S"] = "TESLA_S";
528
- OCPIConnectorType["GB_T"] = "GB_T";
529
- OCPIConnectorType["CHAOJI"] = "CHAOJI";
530
591
  OCPIConnectorType["NEMA_5_20"] = "NEMA_5_20";
531
592
  OCPIConnectorType["NEMA_6_30"] = "NEMA_6_30";
532
593
  OCPIConnectorType["NEMA_6_50"] = "NEMA_6_50";
@@ -534,18 +595,22 @@ exports.OCPIConnectorType = void 0;
534
595
  OCPIConnectorType["NEMA_10_50"] = "NEMA_10_50";
535
596
  OCPIConnectorType["NEMA_14_30"] = "NEMA_14_30";
536
597
  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";
537
602
  })(exports.OCPIConnectorType || (exports.OCPIConnectorType = {}));
538
603
 
539
604
  exports.OCPIDayOfWeek = void 0;
540
605
 
541
606
  (function (OCPIDayOfWeek) {
542
- OCPIDayOfWeek["MONDAY"] = "MONDAY";
543
- OCPIDayOfWeek["TUESDAY"] = "TUESDAY";
544
- OCPIDayOfWeek["WEDNESDAY"] = "WEDNESDAY";
545
- OCPIDayOfWeek["THURSDAY"] = "THURSDAY";
546
607
  OCPIDayOfWeek["FRIDAY"] = "FRIDAY";
608
+ OCPIDayOfWeek["MONDAY"] = "MONDAY";
547
609
  OCPIDayOfWeek["SATURDAY"] = "SATURDAY";
548
610
  OCPIDayOfWeek["SUNDAY"] = "SUNDAY";
611
+ OCPIDayOfWeek["THURSDAY"] = "THURSDAY";
612
+ OCPIDayOfWeek["TUESDAY"] = "TUESDAY";
613
+ OCPIDayOfWeek["WEDNESDAY"] = "WEDNESDAY";
549
614
  })(exports.OCPIDayOfWeek || (exports.OCPIDayOfWeek = {}));
550
615
 
551
616
  /** Categories of energy sources. */
@@ -553,14 +618,14 @@ exports.OCPIEnergySourceCategory = void 0;
553
618
  /** Amount of waste produced/emitted per kWh. */
554
619
 
555
620
  (function (OCPIEnergySourceCategory) {
556
- OCPIEnergySourceCategory["NUCLEAR"] = "NUCLEAR";
557
- OCPIEnergySourceCategory["GENERAL_FOSSIL"] = "GENERAL_FOSSIL";
558
621
  OCPIEnergySourceCategory["COAL"] = "COAL";
559
622
  OCPIEnergySourceCategory["GAS"] = "GAS";
623
+ OCPIEnergySourceCategory["GENERAL_FOSSIL"] = "GENERAL_FOSSIL";
560
624
  OCPIEnergySourceCategory["GENERAL_GREEN"] = "GENERAL_GREEN";
625
+ OCPIEnergySourceCategory["NUCLEAR"] = "NUCLEAR";
561
626
  OCPIEnergySourceCategory["SOLAR"] = "SOLAR";
562
- OCPIEnergySourceCategory["WIND"] = "WIND";
563
627
  OCPIEnergySourceCategory["WATER"] = "WATER";
628
+ OCPIEnergySourceCategory["WIND"] = "WIND";
564
629
  })(exports.OCPIEnergySourceCategory || (exports.OCPIEnergySourceCategory = {}));
565
630
 
566
631
  /** Categories of environmental impact values. */
@@ -568,33 +633,33 @@ exports.OCPIEnvironmentalImpactCategory = void 0;
568
633
  /** Specifies one exceptional period for opening or access hours. */
569
634
 
570
635
  (function (OCPIEnvironmentalImpactCategory) {
571
- OCPIEnvironmentalImpactCategory["NUCLEAR_WASTE"] = "NUCLEAR_WASTE";
572
636
  OCPIEnvironmentalImpactCategory["CARBON_DIOXIDE"] = "CARBON_DIOXIDE";
637
+ OCPIEnvironmentalImpactCategory["NUCLEAR_WASTE"] = "NUCLEAR_WASTE";
573
638
  })(exports.OCPIEnvironmentalImpactCategory || (exports.OCPIEnvironmentalImpactCategory = {}));
574
639
 
575
640
  exports.OCPIFacility = void 0;
576
641
  /** This class defines the geo location of the Charge Point. The geodetic system to be used is WGS 84. */
577
642
 
578
643
  (function (OCPIFacility) {
579
- OCPIFacility["HOTEL"] = "HOTEL";
580
- OCPIFacility["RESTAURANT"] = "RESTAURANT";
644
+ OCPIFacility["AIRPORT"] = "AIRPORT";
645
+ OCPIFacility["BIKE_SHARING"] = "BIKE_SHARING";
646
+ OCPIFacility["BUS_STOP"] = "BUS_STOP";
581
647
  OCPIFacility["CAFE"] = "CAFE";
648
+ OCPIFacility["CARPOOL_PARKING"] = "CARPOOL_PARKING";
649
+ OCPIFacility["FUEL_STATION"] = "FUEL_STATION";
650
+ OCPIFacility["HOTEL"] = "HOTEL";
582
651
  OCPIFacility["MALL"] = "MALL";
583
- OCPIFacility["SUPERMARKET"] = "SUPERMARKET";
584
- OCPIFacility["SPORT"] = "SPORT";
585
- OCPIFacility["RECREATION_AREA"] = "RECREATION_AREA";
586
- OCPIFacility["NATURE"] = "NATURE";
652
+ OCPIFacility["METRO_STATION"] = "METRO_STATION";
587
653
  OCPIFacility["MUSEUM"] = "MUSEUM";
588
- OCPIFacility["BIKE_SHARING"] = "BIKE_SHARING";
589
- OCPIFacility["BUS_STOP"] = "BUS_STOP";
654
+ OCPIFacility["NATURE"] = "NATURE";
655
+ OCPIFacility["PARKING_LOT"] = "PARKING_LOT";
656
+ OCPIFacility["RECREATION_AREA"] = "RECREATION_AREA";
657
+ OCPIFacility["RESTAURANT"] = "RESTAURANT";
658
+ OCPIFacility["SPORT"] = "SPORT";
659
+ OCPIFacility["SUPERMARKET"] = "SUPERMARKET";
590
660
  OCPIFacility["TAXI_STAND"] = "TAXI_STAND";
591
- OCPIFacility["TRAM_STOP"] = "TRAM_STOP";
592
- OCPIFacility["METRO_STATION"] = "METRO_STATION";
593
661
  OCPIFacility["TRAIN_STATION"] = "TRAIN_STATION";
594
- OCPIFacility["AIRPORT"] = "AIRPORT";
595
- OCPIFacility["PARKING_LOT"] = "PARKING_LOT";
596
- OCPIFacility["CARPOOL_PARKING"] = "CARPOOL_PARKING";
597
- OCPIFacility["FUEL_STATION"] = "FUEL_STATION";
662
+ OCPIFacility["TRAM_STOP"] = "TRAM_STOP";
598
663
  OCPIFacility["WIFI"] = "WIFI";
599
664
  })(exports.OCPIFacility || (exports.OCPIFacility = {}));
600
665
 
@@ -616,21 +681,21 @@ exports.OCPIParkingRestriction = void 0;
616
681
  /** Reflects the general type of the charge point’s location. May be used for user information. */
617
682
 
618
683
  (function (OCPIParkingRestriction) {
619
- OCPIParkingRestriction["EV_ONLY"] = "EV_ONLY";
620
- OCPIParkingRestriction["PLUGGED"] = "PLUGGED";
621
- OCPIParkingRestriction["DISABLED"] = "DISABLED";
622
684
  OCPIParkingRestriction["CUSTOMERS"] = "CUSTOMERS";
685
+ OCPIParkingRestriction["DISABLED"] = "DISABLED";
686
+ OCPIParkingRestriction["EV_ONLY"] = "EV_ONLY";
623
687
  OCPIParkingRestriction["MOTORCYCLES"] = "MOTORCYCLES";
688
+ OCPIParkingRestriction["PLUGGED"] = "PLUGGED";
624
689
  })(exports.OCPIParkingRestriction || (exports.OCPIParkingRestriction = {}));
625
690
 
626
691
  exports.OCPIParkingType = void 0;
627
692
 
628
693
  (function (OCPIParkingType) {
629
694
  OCPIParkingType["ALONG_MOTORWAY"] = "ALONG_MOTORWAY";
630
- OCPIParkingType["PARKING_GARAGE"] = "PARKING_GARAGE";
631
- OCPIParkingType["PARKING_LOT"] = "PARKING_LOT";
632
695
  OCPIParkingType["ON_DRIVEWAY"] = "ON_DRIVEWAY";
633
696
  OCPIParkingType["ON_STREET"] = "ON_STREET";
697
+ OCPIParkingType["PARKING_GARAGE"] = "PARKING_GARAGE";
698
+ OCPIParkingType["PARKING_LOT"] = "PARKING_LOT";
634
699
  OCPIParkingType["UNDERGROUND_GARAGE"] = "UNDERGROUND_GARAGE";
635
700
  })(exports.OCPIParkingType || (exports.OCPIParkingType = {}));
636
701
 
@@ -638,9 +703,9 @@ exports.OCPIPowerType = void 0;
638
703
 
639
704
  (function (OCPIPowerType) {
640
705
  OCPIPowerType["AC_1_PHASE"] = "AC_1_PHASE";
641
- OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
642
706
  OCPIPowerType["AC_2_PHASE"] = "AC_2_PHASE";
643
707
  OCPIPowerType["AC_2_PHASE_SPLIT"] = "AC_2_PHASE_SPLIT";
708
+ OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
644
709
  OCPIPowerType["DC"] = "DC";
645
710
  })(exports.OCPIPowerType || (exports.OCPIPowerType = {}));
646
711
 
@@ -696,56 +761,64 @@ exports.ParkingCost = void 0;
696
761
 
697
762
  /** GeoJSON Point type */
698
763
  exports.PointType = void 0;
699
- /** The list of powers for the speed type */
764
+ /** A GeoJSON Polygon */
700
765
 
701
766
  (function (PointType) {
702
767
  PointType["POINT"] = "Point";
703
768
  })(exports.PointType || (exports.PointType = {}));
704
769
 
770
+ /** GeoJSON Polygon type */
771
+ exports.PolygonType = void 0;
772
+ /** The list of powers for the speed type */
773
+
774
+ (function (PolygonType) {
775
+ PolygonType["POLYGON"] = "Polygon";
776
+ })(exports.PolygonType || (exports.PolygonType = {}));
777
+
705
778
  exports.PricingListElementType = void 0;
706
779
 
707
780
  (function (PricingListElementType) {
708
781
  PricingListElementType["ENERGY"] = "ENERGY";
709
782
  PricingListElementType["FLAT"] = "FLAT";
710
- PricingListElementType["TIME"] = "TIME";
711
783
  PricingListElementType["PARKING_TIME"] = "PARKING_TIME";
784
+ PricingListElementType["TIME"] = "TIME";
712
785
  })(exports.PricingListElementType || (exports.PricingListElementType = {}));
713
786
 
714
787
  /** Types of an alternative route */
715
788
  exports.RouteAlternativeType = void 0;
716
789
 
717
790
  (function (RouteAlternativeType) {
718
- RouteAlternativeType["FASTEST"] = "fastest";
719
- RouteAlternativeType["BESTMATCHING"] = "bestMatching";
720
791
  RouteAlternativeType["ALTERNATIVE"] = "alternative";
792
+ RouteAlternativeType["BESTMATCHING"] = "bestMatching";
793
+ RouteAlternativeType["FASTEST"] = "fastest";
721
794
  })(exports.RouteAlternativeType || (exports.RouteAlternativeType = {}));
722
795
 
723
796
  /** Sign belonging to the instruction indicating the main maneuver */
724
797
  exports.RouteInstructionSign = void 0;
725
798
 
726
799
  (function (RouteInstructionSign) {
727
- RouteInstructionSign["UNKNOWN"] = "UNKNOWN";
728
- RouteInstructionSign["U_TURN_UNKNOWN"] = "U_TURN_UNKNOWN";
729
- RouteInstructionSign["U_TURN_LEFT"] = "U_TURN_LEFT";
800
+ RouteInstructionSign["CONTINUE_ON_STREET"] = "CONTINUE_ON_STREET";
801
+ RouteInstructionSign["FINISH"] = "FINISH";
802
+ RouteInstructionSign["IGNORE"] = "IGNORE";
730
803
  RouteInstructionSign["KEEP_LEFT"] = "KEEP_LEFT";
804
+ RouteInstructionSign["KEEP_RIGHT"] = "KEEP_RIGHT";
731
805
  RouteInstructionSign["LEAVE_ROUNDABOUT"] = "LEAVE_ROUNDABOUT";
732
- RouteInstructionSign["TURN_SHARP_LEFT"] = "TURN_SHARP_LEFT";
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";
733
811
  RouteInstructionSign["TURN_LEFT"] = "TURN_LEFT";
734
- RouteInstructionSign["TURN_SLIGHT_LEFT"] = "TURN_SLIGHT_LEFT";
735
- RouteInstructionSign["CONTINUE_ON_STREET"] = "CONTINUE_ON_STREET";
736
- RouteInstructionSign["TURN_SLIGHT_RIGHT"] = "TURN_SLIGHT_RIGHT";
737
812
  RouteInstructionSign["TURN_RIGHT"] = "TURN_RIGHT";
813
+ RouteInstructionSign["TURN_SHARP_LEFT"] = "TURN_SHARP_LEFT";
738
814
  RouteInstructionSign["TURN_SHARP_RIGHT"] = "TURN_SHARP_RIGHT";
739
- RouteInstructionSign["FINISH"] = "FINISH";
740
- RouteInstructionSign["REACHED_VIA"] = "REACHED_VIA";
741
- RouteInstructionSign["REACHED_CHARGING_STATION"] = "REACHED_CHARGING_STATION";
815
+ RouteInstructionSign["TURN_SLIGHT_LEFT"] = "TURN_SLIGHT_LEFT";
816
+ RouteInstructionSign["TURN_SLIGHT_RIGHT"] = "TURN_SLIGHT_RIGHT";
817
+ RouteInstructionSign["UNKNOWN"] = "UNKNOWN";
742
818
  RouteInstructionSign["USE_ROUNDABOUT"] = "USE_ROUNDABOUT";
743
- RouteInstructionSign["KEEP_RIGHT"] = "KEEP_RIGHT";
819
+ RouteInstructionSign["U_TURN_LEFT"] = "U_TURN_LEFT";
744
820
  RouteInstructionSign["U_TURN_RIGHT"] = "U_TURN_RIGHT";
745
- RouteInstructionSign["PT_START_TRIP"] = "PT_START_TRIP";
746
- RouteInstructionSign["PT_TRANSFER"] = "PT_TRANSFER";
747
- RouteInstructionSign["PT_END_TRIP"] = "PT_END_TRIP";
748
- RouteInstructionSign["IGNORE"] = "IGNORE";
821
+ RouteInstructionSign["U_TURN_UNKNOWN"] = "U_TURN_UNKNOWN";
749
822
  })(exports.RouteInstructionSign || (exports.RouteInstructionSign = {}));
750
823
 
751
824
  /** Type of operator prioritization for a route */
@@ -761,20 +834,20 @@ exports.RouteOperatorsType = void 0;
761
834
  exports.RouteSeason = void 0;
762
835
 
763
836
  (function (RouteSeason) {
837
+ RouteSeason["CURRENT"] = "current";
764
838
  RouteSeason["SUMMER"] = "summer";
765
839
  RouteSeason["WINTER"] = "winter";
766
- RouteSeason["CURRENT"] = "current";
767
840
  })(exports.RouteSeason || (exports.RouteSeason = {}));
768
841
 
769
842
  /** The status of a route. The status can be pending, processing, done, not_found or error */
770
843
  exports.RouteStatus = void 0;
771
844
 
772
845
  (function (RouteStatus) {
773
- RouteStatus["PENDING"] = "pending";
774
- RouteStatus["PROCESSING"] = "processing";
775
846
  RouteStatus["DONE"] = "done";
776
- RouteStatus["NOT_FOUND"] = "not_found";
777
847
  RouteStatus["ERROR"] = "error";
848
+ RouteStatus["NOT_FOUND"] = "not_found";
849
+ RouteStatus["PENDING"] = "pending";
850
+ RouteStatus["PROCESSING"] = "processing";
778
851
  })(exports.RouteStatus || (exports.RouteStatus = {}));
779
852
 
780
853
  /** Tags of a route */
@@ -782,10 +855,11 @@ exports.RouteTagType = void 0;
782
855
  /** Standards(plug type) stats model */
783
856
 
784
857
  (function (RouteTagType) {
785
- RouteTagType["ROAD"] = "road";
858
+ RouteTagType["CROSSBORDER"] = "crossborder";
859
+ RouteTagType["FERRY"] = "ferry";
786
860
  RouteTagType["HIGHWAY"] = "highway";
861
+ RouteTagType["ROAD"] = "road";
787
862
  RouteTagType["TOLL"] = "toll";
788
- RouteTagType["FERRY"] = "ferry";
789
863
  RouteTagType["WALKING"] = "walking";
790
864
  })(exports.RouteTagType || (exports.RouteTagType = {}));
791
865
 
@@ -794,8 +868,8 @@ exports.StationSpeedType = void 0;
794
868
  /** The station stats model */
795
869
 
796
870
  (function (StationSpeedType) {
797
- StationSpeedType["SLOW"] = "slow";
798
871
  StationSpeedType["FAST"] = "fast";
872
+ StationSpeedType["SLOW"] = "slow";
799
873
  StationSpeedType["TURBO"] = "turbo";
800
874
  })(exports.StationSpeedType || (exports.StationSpeedType = {}));
801
875
 
@@ -803,10 +877,11 @@ exports.StationSpeedType = void 0;
803
877
  exports.StepType = void 0;
804
878
 
805
879
  (function (StepType) {
806
- StepType["ROAD"] = "road";
880
+ StepType["CROSSBORDER"] = "crossborder";
881
+ StepType["FERRY"] = "ferry";
807
882
  StepType["HIGHWAY"] = "highway";
883
+ StepType["ROAD"] = "road";
808
884
  StepType["TOLL"] = "toll";
809
- StepType["FERRY"] = "ferry";
810
885
  StepType["WALKING"] = "walking";
811
886
  })(exports.StepType || (exports.StepType = {}));
812
887
  //# sourceMappingURL=index.js.map