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