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