@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
|
@@ -109,6 +109,52 @@ export let ChargerStatus;
|
|
|
109
109
|
ChargerStatus["ERROR"] = "error";
|
|
110
110
|
})(ChargerStatus || (ChargerStatus = {}));
|
|
111
111
|
|
|
112
|
+
/** The socket or plug standard of the charging point. */
|
|
113
|
+
export let ConnectorType;
|
|
114
|
+
/** The complete contact information */
|
|
115
|
+
|
|
116
|
+
(function (ConnectorType) {
|
|
117
|
+
ConnectorType["CHADEMO"] = "CHADEMO";
|
|
118
|
+
ConnectorType["DOMESTIC_A"] = "DOMESTIC_A";
|
|
119
|
+
ConnectorType["DOMESTIC_B"] = "DOMESTIC_B";
|
|
120
|
+
ConnectorType["DOMESTIC_C"] = "DOMESTIC_C";
|
|
121
|
+
ConnectorType["DOMESTIC_D"] = "DOMESTIC_D";
|
|
122
|
+
ConnectorType["DOMESTIC_E"] = "DOMESTIC_E";
|
|
123
|
+
ConnectorType["DOMESTIC_F"] = "DOMESTIC_F";
|
|
124
|
+
ConnectorType["DOMESTIC_G"] = "DOMESTIC_G";
|
|
125
|
+
ConnectorType["DOMESTIC_H"] = "DOMESTIC_H";
|
|
126
|
+
ConnectorType["DOMESTIC_I"] = "DOMESTIC_I";
|
|
127
|
+
ConnectorType["DOMESTIC_J"] = "DOMESTIC_J";
|
|
128
|
+
ConnectorType["DOMESTIC_K"] = "DOMESTIC_K";
|
|
129
|
+
ConnectorType["DOMESTIC_L"] = "DOMESTIC_L";
|
|
130
|
+
ConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
|
|
131
|
+
ConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
|
|
132
|
+
ConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
|
|
133
|
+
ConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
|
|
134
|
+
ConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
|
|
135
|
+
ConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
|
|
136
|
+
ConnectorType["IEC_60309_2_THREE_64"] = "IEC_60309_2_three_64";
|
|
137
|
+
ConnectorType["IEC_62196_T1"] = "IEC_62196_T1";
|
|
138
|
+
ConnectorType["IEC_62196_T1_COMBO"] = "IEC_62196_T1_COMBO";
|
|
139
|
+
ConnectorType["IEC_62196_T2"] = "IEC_62196_T2";
|
|
140
|
+
ConnectorType["IEC_62196_T2_COMBO"] = "IEC_62196_T2_COMBO";
|
|
141
|
+
ConnectorType["IEC_62196_T3A"] = "IEC_62196_T3A";
|
|
142
|
+
ConnectorType["IEC_62196_T3C"] = "IEC_62196_T3C";
|
|
143
|
+
ConnectorType["PANTOGRAPH_BOTTOM_UP"] = "PANTOGRAPH_BOTTOM_UP";
|
|
144
|
+
ConnectorType["PANTOGRAPH_TOP_DOWN"] = "PANTOGRAPH_TOP_DOWN";
|
|
145
|
+
ConnectorType["TESLA_R"] = "TESLA_R";
|
|
146
|
+
ConnectorType["TESLA_S"] = "TESLA_S";
|
|
147
|
+
ConnectorType["GB_T"] = "GB_T";
|
|
148
|
+
ConnectorType["CHAOJI"] = "CHAOJI";
|
|
149
|
+
ConnectorType["NEMA_5_20"] = "NEMA_5_20";
|
|
150
|
+
ConnectorType["NEMA_6_30"] = "NEMA_6_30";
|
|
151
|
+
ConnectorType["NEMA_6_50"] = "NEMA_6_50";
|
|
152
|
+
ConnectorType["NEMA_10_30"] = "NEMA_10_30";
|
|
153
|
+
ConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
154
|
+
ConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
155
|
+
ConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
156
|
+
})(ConnectorType || (ConnectorType = {}));
|
|
157
|
+
|
|
112
158
|
/** ISO-3166 alpha-2 country codes */
|
|
113
159
|
export let CountryCodeAlpha2;
|
|
114
160
|
/** EVSE data which extends OCPI EVSE */
|
|
@@ -351,13 +397,22 @@ export let CountryCodeAlpha2;
|
|
|
351
397
|
|
|
352
398
|
/** GeoJSON Feature type */
|
|
353
399
|
export let FeatureType;
|
|
354
|
-
/**
|
|
400
|
+
/** Navigation service providers available */
|
|
355
401
|
|
|
356
402
|
(function (FeatureType) {
|
|
357
403
|
FeatureType["FEATURE"] = "Feature";
|
|
358
404
|
})(FeatureType || (FeatureType = {}));
|
|
359
405
|
|
|
406
|
+
export let InstructionsFormat;
|
|
407
|
+
/** Types of a leg */
|
|
408
|
+
|
|
409
|
+
(function (InstructionsFormat) {
|
|
410
|
+
InstructionsFormat["CHARGETRIP"] = "Chargetrip";
|
|
411
|
+
InstructionsFormat["MAPBOXV5"] = "MapboxV5";
|
|
412
|
+
})(InstructionsFormat || (InstructionsFormat = {}));
|
|
413
|
+
|
|
360
414
|
export let LegType;
|
|
415
|
+
/** Preferred language for the mapping */
|
|
361
416
|
|
|
362
417
|
(function (LegType) {
|
|
363
418
|
LegType["STATION"] = "station";
|
|
@@ -367,6 +422,31 @@ export let LegType;
|
|
|
367
422
|
LegType["STATIONFINAL"] = "stationFinal";
|
|
368
423
|
})(LegType || (LegType = {}));
|
|
369
424
|
|
|
425
|
+
export let MappingLanguage;
|
|
426
|
+
/** Navigation service providers available */
|
|
427
|
+
|
|
428
|
+
(function (MappingLanguage) {
|
|
429
|
+
MappingLanguage["EN"] = "en";
|
|
430
|
+
})(MappingLanguage || (MappingLanguage = {}));
|
|
431
|
+
|
|
432
|
+
export let MappingProvider;
|
|
433
|
+
|
|
434
|
+
(function (MappingProvider) {
|
|
435
|
+
MappingProvider["CHARGETRIP"] = "Chargetrip";
|
|
436
|
+
MappingProvider["MAPBOXV5"] = "MapboxV5";
|
|
437
|
+
})(MappingProvider || (MappingProvider = {}));
|
|
438
|
+
|
|
439
|
+
/** State of navigation session */
|
|
440
|
+
export let NavigationState;
|
|
441
|
+
/** Navigation session station type */
|
|
442
|
+
|
|
443
|
+
(function (NavigationState) {
|
|
444
|
+
NavigationState["DRIVING"] = "Driving";
|
|
445
|
+
NavigationState["CHARGING"] = "Charging";
|
|
446
|
+
NavigationState["FINISHED"] = "Finished";
|
|
447
|
+
NavigationState["ERROR"] = "Error";
|
|
448
|
+
})(NavigationState || (NavigationState = {}));
|
|
449
|
+
|
|
370
450
|
/** The capabilities of an EVSE. */
|
|
371
451
|
export let OCPICapability;
|
|
372
452
|
/** The format of the connector, whether it is a socket or a plug. */
|
|
@@ -384,10 +464,11 @@ export let OCPICapability;
|
|
|
384
464
|
OCPICapability["RFID_READER"] = "RFID_READER";
|
|
385
465
|
OCPICapability["TOKEN_GROUP_CAPABLE"] = "TOKEN_GROUP_CAPABLE";
|
|
386
466
|
OCPICapability["UNLOCK_CAPABLE"] = "UNLOCK_CAPABLE";
|
|
467
|
+
OCPICapability["START_SESSION_CONNECTOR_REQUIRED"] = "START_SESSION_CONNECTOR_REQUIRED";
|
|
387
468
|
})(OCPICapability || (OCPICapability = {}));
|
|
388
469
|
|
|
389
470
|
export let OCPIConnectorFormat;
|
|
390
|
-
/**
|
|
471
|
+
/** Deprecated: Please use ConnectorType instead */
|
|
391
472
|
|
|
392
473
|
(function (OCPIConnectorFormat) {
|
|
393
474
|
OCPIConnectorFormat["SOCKET"] = "SOCKET";
|
|
@@ -410,6 +491,9 @@ export let OCPIConnectorType;
|
|
|
410
491
|
OCPIConnectorType["DOMESTIC_J"] = "DOMESTIC_J";
|
|
411
492
|
OCPIConnectorType["DOMESTIC_K"] = "DOMESTIC_K";
|
|
412
493
|
OCPIConnectorType["DOMESTIC_L"] = "DOMESTIC_L";
|
|
494
|
+
OCPIConnectorType["DOMESTIC_M"] = "DOMESTIC_M";
|
|
495
|
+
OCPIConnectorType["DOMESTIC_N"] = "DOMESTIC_N";
|
|
496
|
+
OCPIConnectorType["DOMESTIC_O"] = "DOMESTIC_O";
|
|
413
497
|
OCPIConnectorType["IEC_60309_2_SINGLE_16"] = "IEC_60309_2_single_16";
|
|
414
498
|
OCPIConnectorType["IEC_60309_2_THREE_16"] = "IEC_60309_2_three_16";
|
|
415
499
|
OCPIConnectorType["IEC_60309_2_THREE_32"] = "IEC_60309_2_three_32";
|
|
@@ -425,6 +509,14 @@ export let OCPIConnectorType;
|
|
|
425
509
|
OCPIConnectorType["TESLA_R"] = "TESLA_R";
|
|
426
510
|
OCPIConnectorType["TESLA_S"] = "TESLA_S";
|
|
427
511
|
OCPIConnectorType["GB_T"] = "GB_T";
|
|
512
|
+
OCPIConnectorType["CHAOJI"] = "CHAOJI";
|
|
513
|
+
OCPIConnectorType["NEMA_5_20"] = "NEMA_5_20";
|
|
514
|
+
OCPIConnectorType["NEMA_6_30"] = "NEMA_6_30";
|
|
515
|
+
OCPIConnectorType["NEMA_6_50"] = "NEMA_6_50";
|
|
516
|
+
OCPIConnectorType["NEMA_10_30"] = "NEMA_10_30";
|
|
517
|
+
OCPIConnectorType["NEMA_10_50"] = "NEMA_10_50";
|
|
518
|
+
OCPIConnectorType["NEMA_14_30"] = "NEMA_14_30";
|
|
519
|
+
OCPIConnectorType["NEMA_14_50"] = "NEMA_14_50";
|
|
428
520
|
})(OCPIConnectorType || (OCPIConnectorType = {}));
|
|
429
521
|
|
|
430
522
|
export let OCPIDayOfWeek;
|
|
@@ -530,6 +622,8 @@ export let OCPIPowerType;
|
|
|
530
622
|
(function (OCPIPowerType) {
|
|
531
623
|
OCPIPowerType["AC_1_PHASE"] = "AC_1_PHASE";
|
|
532
624
|
OCPIPowerType["AC_3_PHASE"] = "AC_3_PHASE";
|
|
625
|
+
OCPIPowerType["AC_2_PHASE"] = "AC_2_PHASE";
|
|
626
|
+
OCPIPowerType["AC_2_PHASE_SPLIT"] = "AC_2_PHASE_SPLIT";
|
|
533
627
|
OCPIPowerType["DC"] = "DC";
|
|
534
628
|
})(OCPIPowerType || (OCPIPowerType = {}));
|
|
535
629
|
|
|
@@ -591,6 +685,15 @@ export let PointType;
|
|
|
591
685
|
PointType["POINT"] = "Point";
|
|
592
686
|
})(PointType || (PointType = {}));
|
|
593
687
|
|
|
688
|
+
export let PricingListElementType;
|
|
689
|
+
|
|
690
|
+
(function (PricingListElementType) {
|
|
691
|
+
PricingListElementType["ENERGY"] = "ENERGY";
|
|
692
|
+
PricingListElementType["FLAT"] = "FLAT";
|
|
693
|
+
PricingListElementType["TIME"] = "TIME";
|
|
694
|
+
PricingListElementType["PARKING_TIME"] = "PARKING_TIME";
|
|
695
|
+
})(PricingListElementType || (PricingListElementType = {}));
|
|
696
|
+
|
|
594
697
|
/** Types of an alternative route */
|
|
595
698
|
export let RouteAlternativeType;
|
|
596
699
|
|
|
@@ -628,7 +731,7 @@ export let RouteInstructionSign;
|
|
|
628
731
|
RouteInstructionSign["IGNORE"] = "IGNORE";
|
|
629
732
|
})(RouteInstructionSign || (RouteInstructionSign = {}));
|
|
630
733
|
|
|
631
|
-
/** Type of operator
|
|
734
|
+
/** Type of operator prioritization for a route */
|
|
632
735
|
export let RouteOperatorsType;
|
|
633
736
|
|
|
634
737
|
(function (RouteOperatorsType) {
|
|
@@ -648,7 +751,6 @@ export let RouteSeason;
|
|
|
648
751
|
|
|
649
752
|
/** The status of a route. The status can be pending, processing, done, not_found or error */
|
|
650
753
|
export let RouteStatus;
|
|
651
|
-
/** Standards(plug type) stats model */
|
|
652
754
|
|
|
653
755
|
(function (RouteStatus) {
|
|
654
756
|
RouteStatus["PENDING"] = "pending";
|
|
@@ -658,6 +760,17 @@ export let RouteStatus;
|
|
|
658
760
|
RouteStatus["ERROR"] = "error";
|
|
659
761
|
})(RouteStatus || (RouteStatus = {}));
|
|
660
762
|
|
|
763
|
+
/** Tags of a route */
|
|
764
|
+
export let RouteTagType;
|
|
765
|
+
/** Standards(plug type) stats model */
|
|
766
|
+
|
|
767
|
+
(function (RouteTagType) {
|
|
768
|
+
RouteTagType["ROAD"] = "road";
|
|
769
|
+
RouteTagType["HIGHWAY"] = "highway";
|
|
770
|
+
RouteTagType["TOLL"] = "toll";
|
|
771
|
+
RouteTagType["FERRY"] = "ferry";
|
|
772
|
+
})(RouteTagType || (RouteTagType = {}));
|
|
773
|
+
|
|
661
774
|
/** The station speed type */
|
|
662
775
|
export let StationSpeedType;
|
|
663
776
|
/** The station stats model */
|
|
@@ -667,4 +780,14 @@ export let StationSpeedType;
|
|
|
667
780
|
StationSpeedType["FAST"] = "fast";
|
|
668
781
|
StationSpeedType["TURBO"] = "turbo";
|
|
669
782
|
})(StationSpeedType || (StationSpeedType = {}));
|
|
783
|
+
|
|
784
|
+
/** Types of a route step */
|
|
785
|
+
export let StepType;
|
|
786
|
+
|
|
787
|
+
(function (StepType) {
|
|
788
|
+
StepType["ROAD"] = "road";
|
|
789
|
+
StepType["HIGHWAY"] = "highway";
|
|
790
|
+
StepType["TOLL"] = "toll";
|
|
791
|
+
StepType["FERRY"] = "ferry";
|
|
792
|
+
})(StepType || (StepType = {}));
|
|
670
793
|
//# sourceMappingURL=graphql.js.map
|