@chargetrip/types 1.24.0 → 1.27.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 +30 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +37 -2
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +37 -2
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +257 -40
- package/graphql.schema.json +1416 -96
- package/package.json +3 -3
- package/src/graphql.ts +318 -79
package/dist/node/index.js
CHANGED
|
@@ -6,9 +6,22 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
6
6
|
|
|
7
7
|
/** Information about an address */
|
|
8
8
|
|
|
9
|
+
/** Amenities available near a station */
|
|
10
|
+
exports.Amenities = void 0;
|
|
9
11
|
/** The amenity model */
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
(function (Amenities) {
|
|
14
|
+
Amenities["PARK"] = "park";
|
|
15
|
+
Amenities["RESTAURANT"] = "restaurant";
|
|
16
|
+
Amenities["MUSEUM"] = "museum";
|
|
17
|
+
Amenities["COFFEE"] = "coffee";
|
|
18
|
+
Amenities["HOTEL"] = "hotel";
|
|
19
|
+
Amenities["SHOPPING"] = "shopping";
|
|
20
|
+
Amenities["BATHROOM"] = "bathroom";
|
|
21
|
+
Amenities["SUPERMARKET"] = "supermarket";
|
|
22
|
+
Amenities["PLAYGROUND"] = "playground";
|
|
23
|
+
Amenities["PHARMACY"] = "pharmacy";
|
|
24
|
+
})(exports.Amenities || (exports.Amenities = {}));
|
|
12
25
|
|
|
13
26
|
/** The type of the batter value */
|
|
14
27
|
exports.BatteryInputType = void 0;
|
|
@@ -401,12 +414,20 @@ exports.CountryCodeAlpha2 = void 0;
|
|
|
401
414
|
|
|
402
415
|
/** GeoJSON Feature type */
|
|
403
416
|
exports.FeatureType = void 0;
|
|
404
|
-
/**
|
|
417
|
+
/** Navigation service providers available */
|
|
405
418
|
|
|
406
419
|
(function (FeatureType) {
|
|
407
420
|
FeatureType["FEATURE"] = "Feature";
|
|
408
421
|
})(exports.FeatureType || (exports.FeatureType = {}));
|
|
409
422
|
|
|
423
|
+
exports.InstructionsFormat = void 0;
|
|
424
|
+
/** Types of a leg */
|
|
425
|
+
|
|
426
|
+
(function (InstructionsFormat) {
|
|
427
|
+
InstructionsFormat["CHARGETRIP"] = "Chargetrip";
|
|
428
|
+
InstructionsFormat["MAPBOXV5"] = "MapboxV5";
|
|
429
|
+
})(exports.InstructionsFormat || (exports.InstructionsFormat = {}));
|
|
430
|
+
|
|
410
431
|
exports.LegType = void 0;
|
|
411
432
|
/** Preferred language for the mapping */
|
|
412
433
|
|
|
@@ -428,9 +449,21 @@ exports.MappingLanguage = void 0;
|
|
|
428
449
|
exports.MappingProvider = void 0;
|
|
429
450
|
|
|
430
451
|
(function (MappingProvider) {
|
|
452
|
+
MappingProvider["CHARGETRIP"] = "Chargetrip";
|
|
431
453
|
MappingProvider["MAPBOXV5"] = "MapboxV5";
|
|
432
454
|
})(exports.MappingProvider || (exports.MappingProvider = {}));
|
|
433
455
|
|
|
456
|
+
/** State of navigation session */
|
|
457
|
+
exports.NavigationState = void 0;
|
|
458
|
+
/** Navigation session station type */
|
|
459
|
+
|
|
460
|
+
(function (NavigationState) {
|
|
461
|
+
NavigationState["DRIVING"] = "driving";
|
|
462
|
+
NavigationState["CHARGING"] = "charging";
|
|
463
|
+
NavigationState["FINISHED"] = "finished";
|
|
464
|
+
NavigationState["ERROR"] = "error";
|
|
465
|
+
})(exports.NavigationState || (exports.NavigationState = {}));
|
|
466
|
+
|
|
434
467
|
/** The capabilities of an EVSE. */
|
|
435
468
|
exports.OCPICapability = void 0;
|
|
436
469
|
/** The format of the connector, whether it is a socket or a plug. */
|
|
@@ -753,6 +786,7 @@ exports.RouteTagType = void 0;
|
|
|
753
786
|
RouteTagType["HIGHWAY"] = "highway";
|
|
754
787
|
RouteTagType["TOLL"] = "toll";
|
|
755
788
|
RouteTagType["FERRY"] = "ferry";
|
|
789
|
+
RouteTagType["WALKING"] = "walking";
|
|
756
790
|
})(exports.RouteTagType || (exports.RouteTagType = {}));
|
|
757
791
|
|
|
758
792
|
/** The station speed type */
|
|
@@ -773,5 +807,6 @@ exports.StepType = void 0;
|
|
|
773
807
|
StepType["HIGHWAY"] = "highway";
|
|
774
808
|
StepType["TOLL"] = "toll";
|
|
775
809
|
StepType["FERRY"] = "ferry";
|
|
810
|
+
StepType["WALKING"] = "walking";
|
|
776
811
|
})(exports.StepType || (exports.StepType = {}));
|
|
777
812
|
//# sourceMappingURL=index.js.map
|