@chargetrip/types 1.20.0 → 1.25.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/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +127 -4
- package/dist/node/index.js.map +1 -1
- package/dist/react-native/graphql.js +127 -4
- package/dist/react-native/graphql.js.map +1 -1
- package/dist/ts/graphql.d.ts +441 -43
- package/graphql.schema.json +2100 -127
- package/package.json +4 -3
- package/src/graphql.ts +474 -43
- package/CHANGELOG.md +0 -154
package/dist/node/index.js
CHANGED
|
@@ -113,6 +113,52 @@ exports.ChargerStatus = void 0;
|
|
|
113
113
|
ChargerStatus["ERROR"] = "error";
|
|
114
114
|
})(exports.ChargerStatus || (exports.ChargerStatus = {}));
|
|
115
115
|
|
|
116
|
+
/** The socket or plug standard of the charging point. */
|
|
117
|
+
exports.ConnectorType = void 0;
|
|
118
|
+
/** The complete contact information */
|
|
119
|
+
|
|
120
|
+
(function (ConnectorType) {
|
|
121
|
+
ConnectorType["CHADEMO"] = "CHADEMO";
|
|
122
|
+
ConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
|
|
123
|
+
ConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
|
|
124
|
+
ConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
|
|
125
|
+
ConnectorType["DOMESTIC_D"] = "DOMESTIC_D";
|
|
126
|
+
ConnectorType["DOMESTIC_E"] = "DOMESTIC_E";
|
|
127
|
+
ConnectorType["DOMESTIC_F"] = "DOMESTIC_F";
|
|
128
|
+
ConnectorType["DOMESTIC_G"] = "DOMESTIC_G";
|
|
129
|
+
ConnectorType["DOMESTIC_H"] = "DOMESTIC_H";
|
|
130
|
+
ConnectorType["DOMESTIC_I"] = "DOMESTIC_I";
|
|
131
|
+
ConnectorType["DOMESTIC_J"] = "DOMESTIC_J";
|
|
132
|
+
ConnectorType["DOMESTIC_K"] = "DOMESTIC_K";
|
|
133
|
+
ConnectorType["DOMESTIC_L"] = "DOMESTIC_L";
|
|
134
|
+
ConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
|
|
135
|
+
ConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
|
|
136
|
+
ConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
|
|
137
|
+
ConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
|
|
138
|
+
ConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
|
|
139
|
+
ConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
|
|
140
|
+
ConnectorType["IEC_60309_2_THREE_64"] = "IEC_60309_2_three_64";
|
|
141
|
+
ConnectorType["IEC_62196_T1"] = "IEC_62196_T1";
|
|
142
|
+
ConnectorType["IEC_62196_T1_COMBO"] = "IEC_62196_T1_COMBO";
|
|
143
|
+
ConnectorType["IEC_62196_T2"] = "IEC_62196_T2";
|
|
144
|
+
ConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
|
|
145
|
+
ConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
|
|
146
|
+
ConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
|
|
147
|
+
ConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
|
|
148
|
+
ConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
|
|
149
|
+
ConnectorType["TESLA_R"] = "TESLA_R";
|
|
150
|
+
ConnectorType["TESLA_S"] = "TESLA_S";
|
|
151
|
+
ConnectorType["GB_T"] = "GB_T";
|
|
152
|
+
ConnectorType["CHAOJI"] = "CHAOJI";
|
|
153
|
+
ConnectorType["NEMA_5_20"] = "NEMA_5_20";
|
|
154
|
+
ConnectorType["NEMA_6_30"] = "NEMA_6_30";
|
|
155
|
+
ConnectorType["NEMA_6_50"] = "NEMA_6_50";
|
|
156
|
+
ConnectorType["NEMA_10_30"] = "NEMA_10_30";
|
|
157
|
+
ConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
158
|
+
ConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
159
|
+
ConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
160
|
+
})(exports.ConnectorType || (exports.ConnectorType = {}));
|
|
161
|
+
|
|
116
162
|
/** ISO-3166 alpha-2 country codes */
|
|
117
163
|
exports.CountryCodeAlpha2 = void 0;
|
|
118
164
|
/** EVSE data which extends OCPI EVSE */
|
|
@@ -355,13 +401,22 @@ exports.CountryCodeAlpha2 = void 0;
|
|
|
355
401
|
|
|
356
402
|
/** GeoJSON Feature type */
|
|
357
403
|
exports.FeatureType = void 0;
|
|
358
|
-
/**
|
|
404
|
+
/** Navigation service providers available */
|
|
359
405
|
|
|
360
406
|
(function (FeatureType) {
|
|
361
407
|
FeatureType["FEATURE"] = "Feature";
|
|
362
408
|
})(exports.FeatureType || (exports.FeatureType = {}));
|
|
363
409
|
|
|
410
|
+
exports.InstructionsFormat = void 0;
|
|
411
|
+
/** Types of a leg */
|
|
412
|
+
|
|
413
|
+
(function (InstructionsFormat) {
|
|
414
|
+
InstructionsFormat["CHARGETRIP"] = "Chargetrip";
|
|
415
|
+
InstructionsFormat["MAPBOXV5"] = "MapboxV5";
|
|
416
|
+
})(exports.InstructionsFormat || (exports.InstructionsFormat = {}));
|
|
417
|
+
|
|
364
418
|
exports.LegType = void 0;
|
|
419
|
+
/** Preferred language for the mapping */
|
|
365
420
|
|
|
366
421
|
(function (LegType) {
|
|
367
422
|
LegType["STATION"] = "station";
|
|
@@ -371,6 +426,31 @@ exports.LegType = void 0;
|
|
|
371
426
|
LegType["STATIONFINAL"] = "stationFinal";
|
|
372
427
|
})(exports.LegType || (exports.LegType = {}));
|
|
373
428
|
|
|
429
|
+
exports.MappingLanguage = void 0;
|
|
430
|
+
/** Navigation service providers available */
|
|
431
|
+
|
|
432
|
+
(function (MappingLanguage) {
|
|
433
|
+
MappingLanguage["EN"] = "en";
|
|
434
|
+
})(exports.MappingLanguage || (exports.MappingLanguage = {}));
|
|
435
|
+
|
|
436
|
+
exports.MappingProvider = void 0;
|
|
437
|
+
|
|
438
|
+
(function (MappingProvider) {
|
|
439
|
+
MappingProvider["CHARGETRIP"] = "Chargetrip";
|
|
440
|
+
MappingProvider["MAPBOXV5"] = "MapboxV5";
|
|
441
|
+
})(exports.MappingProvider || (exports.MappingProvider = {}));
|
|
442
|
+
|
|
443
|
+
/** State of navigation session */
|
|
444
|
+
exports.NavigationState = void 0;
|
|
445
|
+
/** Navigation session station type */
|
|
446
|
+
|
|
447
|
+
(function (NavigationState) {
|
|
448
|
+
NavigationState["DRIVING"] = "Driving";
|
|
449
|
+
NavigationState["CHARGING"] = "Charging";
|
|
450
|
+
NavigationState["FINISHED"] = "Finished";
|
|
451
|
+
NavigationState["ERROR"] = "Error";
|
|
452
|
+
})(exports.NavigationState || (exports.NavigationState = {}));
|
|
453
|
+
|
|
374
454
|
/** The capabilities of an EVSE. */
|
|
375
455
|
exports.OCPICapability = void 0;
|
|
376
456
|
/** The format of the connector, whether it is a socket or a plug. */
|
|
@@ -388,10 +468,11 @@ exports.OCPICapability = void 0;
|
|
|
388
468
|
OCPICapability["RFID_READER"] = "RFID_READER";
|
|
389
469
|
OCPICapability["TOKEN_GROUP_CAPABLE"] = "TOKEN_GROUP_CAPABLE";
|
|
390
470
|
OCPICapability["UNLOCK_CAPABLE"] = "UNLOCK_CAPABLE";
|
|
471
|
+
OCPICapability["START_SESSION_CONNECTOR_REQUIRED"] = "START_SESSION_CONNECTOR_REQUIRED";
|
|
391
472
|
})(exports.OCPICapability || (exports.OCPICapability = {}));
|
|
392
473
|
|
|
393
474
|
exports.OCPIConnectorFormat = void 0;
|
|
394
|
-
/**
|
|
475
|
+
/** Deprecated: Please use ConnectorType instead */
|
|
395
476
|
|
|
396
477
|
(function (OCPIConnectorFormat) {
|
|
397
478
|
OCPIConnectorFormat["SOCKET"] = "SOCKET";
|
|
@@ -414,6 +495,9 @@ exports.OCPIConnectorType = void 0;
|
|
|
414
495
|
OCPIConnectorType["DOMESTIC_J"] = "DOMESTIC_J";
|
|
415
496
|
OCPIConnectorType["DOMESTIC_K"] = "DOMESTIC_K";
|
|
416
497
|
OCPIConnectorType["DOMESTIC_L"] = "DOMESTIC_L";
|
|
498
|
+
OCPIConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
|
|
499
|
+
OCPIConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
|
|
500
|
+
OCPIConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
|
|
417
501
|
OCPIConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
|
|
418
502
|
OCPIConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
|
|
419
503
|
OCPIConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
|
|
@@ -429,6 +513,14 @@ exports.OCPIConnectorType = void 0;
|
|
|
429
513
|
OCPIConnectorType["TESLA_R"] = "TESLA_R";
|
|
430
514
|
OCPIConnectorType["TESLA_S"] = "TESLA_S";
|
|
431
515
|
OCPIConnectorType["GB_T"] = "GB_T";
|
|
516
|
+
OCPIConnectorType["CHAOJI"] = "CHAOJI";
|
|
517
|
+
OCPIConnectorType["NEMA_5_20"] = "NEMA_5_20";
|
|
518
|
+
OCPIConnectorType["NEMA_6_30"] = "NEMA_6_30";
|
|
519
|
+
OCPIConnectorType["NEMA_6_50"] = "NEMA_6_50";
|
|
520
|
+
OCPIConnectorType["NEMA_10_30"] = "NEMA_10_30";
|
|
521
|
+
OCPIConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
522
|
+
OCPIConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
523
|
+
OCPIConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
432
524
|
})(exports.OCPIConnectorType || (exports.OCPIConnectorType = {}));
|
|
433
525
|
|
|
434
526
|
exports.OCPIDayOfWeek = void 0;
|
|
@@ -534,6 +626,8 @@ exports.OCPIPowerType = void 0;
|
|
|
534
626
|
(function (OCPIPowerType) {
|
|
535
627
|
OCPIPowerType["AC_1_PHASE"] = "AC_1_PHASE";
|
|
536
628
|
OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
|
|
629
|
+
OCPIPowerType["AC_2_PHASE"] = "AC_2_PHASE";
|
|
630
|
+
OCPIPowerType["AC_2_PHASE_SPLIT"] = "AC_2_PHASE_SPLIT";
|
|
537
631
|
OCPIPowerType["DC"] = "DC";
|
|
538
632
|
})(exports.OCPIPowerType || (exports.OCPIPowerType = {}));
|
|
539
633
|
|
|
@@ -595,6 +689,15 @@ exports.PointType = void 0;
|
|
|
595
689
|
PointType["POINT"] = "Point";
|
|
596
690
|
})(exports.PointType || (exports.PointType = {}));
|
|
597
691
|
|
|
692
|
+
exports.PricingListElementType = void 0;
|
|
693
|
+
|
|
694
|
+
(function (PricingListElementType) {
|
|
695
|
+
PricingListElementType["ENERGY"] = "ENERGY";
|
|
696
|
+
PricingListElementType["FLAT"] = "FLAT";
|
|
697
|
+
PricingListElementType["TIME"] = "TIME";
|
|
698
|
+
PricingListElementType["PARKING_TIME"] = "PARKING_TIME";
|
|
699
|
+
})(exports.PricingListElementType || (exports.PricingListElementType = {}));
|
|
700
|
+
|
|
598
701
|
/** Types of an alternative route */
|
|
599
702
|
exports.RouteAlternativeType = void 0;
|
|
600
703
|
|
|
@@ -632,7 +735,7 @@ exports.RouteInstructionSign = void 0;
|
|
|
632
735
|
RouteInstructionSign["IGNORE"] = "IGNORE";
|
|
633
736
|
})(exports.RouteInstructionSign || (exports.RouteInstructionSign = {}));
|
|
634
737
|
|
|
635
|
-
/** Type of operator
|
|
738
|
+
/** Type of operator prioritization for a route */
|
|
636
739
|
exports.RouteOperatorsType = void 0;
|
|
637
740
|
|
|
638
741
|
(function (RouteOperatorsType) {
|
|
@@ -652,7 +755,6 @@ exports.RouteSeason = void 0;
|
|
|
652
755
|
|
|
653
756
|
/** The status of a route. The status can be pending, processing, done, not_found or error */
|
|
654
757
|
exports.RouteStatus = void 0;
|
|
655
|
-
/** Standards(plug type) stats model */
|
|
656
758
|
|
|
657
759
|
(function (RouteStatus) {
|
|
658
760
|
RouteStatus["PENDING"] = "pending";
|
|
@@ -662,6 +764,17 @@ exports.RouteStatus = void 0;
|
|
|
662
764
|
RouteStatus["ERROR"] = "error";
|
|
663
765
|
})(exports.RouteStatus || (exports.RouteStatus = {}));
|
|
664
766
|
|
|
767
|
+
/** Tags of a route */
|
|
768
|
+
exports.RouteTagType = void 0;
|
|
769
|
+
/** Standards(plug type) stats model */
|
|
770
|
+
|
|
771
|
+
(function (RouteTagType) {
|
|
772
|
+
RouteTagType["ROAD"] = "road";
|
|
773
|
+
RouteTagType["HIGHWAY"] = "highway";
|
|
774
|
+
RouteTagType["TOLL"] = "toll";
|
|
775
|
+
RouteTagType["FERRY"] = "ferry";
|
|
776
|
+
})(exports.RouteTagType || (exports.RouteTagType = {}));
|
|
777
|
+
|
|
665
778
|
/** The station speed type */
|
|
666
779
|
exports.StationSpeedType = void 0;
|
|
667
780
|
/** The station stats model */
|
|
@@ -671,4 +784,14 @@ exports.StationSpeedType = void 0;
|
|
|
671
784
|
StationSpeedType["FAST"] = "fast";
|
|
672
785
|
StationSpeedType["TURBO"] = "turbo";
|
|
673
786
|
})(exports.StationSpeedType || (exports.StationSpeedType = {}));
|
|
787
|
+
|
|
788
|
+
/** Types of a route step */
|
|
789
|
+
exports.StepType = void 0;
|
|
790
|
+
|
|
791
|
+
(function (StepType) {
|
|
792
|
+
StepType["ROAD"] = "road";
|
|
793
|
+
StepType["HIGHWAY"] = "highway";
|
|
794
|
+
StepType["TOLL"] = "toll";
|
|
795
|
+
StepType["FERRY"] = "ferry";
|
|
796
|
+
})(exports.StepType || (exports.StepType = {}));
|
|
674
797
|
//# sourceMappingURL=index.js.map
|