ojp-shared-types 0.1.7 → 0.1.9

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/README.md CHANGED
@@ -14,7 +14,7 @@ Notes
14
14
  - include the `ojp-shared-types` package in the `./package.json` dependencies of the project
15
15
  ```
16
16
  "dependencies": {
17
- "ojp-shared-types": "0.1.7"
17
+ "ojp-shared-types": "0.1.9"
18
18
  }
19
19
  ```
20
20
 
package/dist/index.cjs CHANGED
@@ -26,7 +26,7 @@ __export(index_exports, {
26
26
  module.exports = __toCommonJS(index_exports);
27
27
 
28
28
  // src/constants.ts
29
- var VERSION = "0.1.7";
29
+ var VERSION = "0.1.9";
30
30
 
31
31
  // src/types/openapi-dependencies.ts
32
32
  var MapNS_Tags = {
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- declare const VERSION = "0.1.7";
1
+ declare const VERSION = "0.1.9";
2
2
 
3
3
  interface components$k {
4
4
  schemas: {
@@ -902,6 +902,21 @@ interface components$k {
902
902
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
903
903
  /** @enum {string} */
904
904
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
905
+ mode?: {
906
+ exclude?: boolean;
907
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
908
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
909
+ airSubmode?: string;
910
+ busSubmode?: string;
911
+ coachSubmode?: string;
912
+ funicularSubmode?: string;
913
+ metroSubmode?: string;
914
+ tramSubmode?: string;
915
+ telecabinSubmode?: string;
916
+ /** @enum {string} */
917
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
918
+ waterSubmode?: string;
919
+ };
905
920
  };
906
921
  };
907
922
  responses: never;
@@ -6578,6 +6593,11 @@ interface components$7 {
6578
6593
  /** @enum {string} */
6579
6594
  optimisationMethod?: "fastest" | "minChanges" | "leastWalking" | "leastCost" | "leastDistance" | "earliestArrival" | "latestDeparture" | "earliestArrivalAndLatestDeparture" | "minNonLevelEntrances" | "minStairs" | "bestForVisualImpairment" | "bestForAuditoryImpairment" | "environmentalSafety" | "extraSafe" | "extraReliable" | "scenic" | "quietTravel";
6580
6595
  includeAllRestrictedLines?: boolean;
6596
+ itModeToCover?: {
6597
+ /** @enum {string} */
6598
+ personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
6599
+ personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
6600
+ }[];
6581
6601
  includeTrackSections?: boolean;
6582
6602
  includeLegProjection?: boolean;
6583
6603
  includeTurnDescription?: boolean;
@@ -6707,6 +6727,11 @@ interface components$7 {
6707
6727
  /** @enum {string} */
6708
6728
  optimisationMethod?: "fastest" | "minChanges" | "leastWalking" | "leastCost" | "leastDistance" | "earliestArrival" | "latestDeparture" | "earliestArrivalAndLatestDeparture" | "minNonLevelEntrances" | "minStairs" | "bestForVisualImpairment" | "bestForAuditoryImpairment" | "environmentalSafety" | "extraSafe" | "extraReliable" | "scenic" | "quietTravel";
6709
6729
  includeAllRestrictedLines?: boolean;
6730
+ itModeToCover?: {
6731
+ /** @enum {string} */
6732
+ personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
6733
+ personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
6734
+ }[];
6710
6735
  includeTrackSections?: boolean;
6711
6736
  includeLegProjection?: boolean;
6712
6737
  includeTurnDescription?: boolean;
@@ -6831,6 +6856,11 @@ interface components$7 {
6831
6856
  /** @enum {string} */
6832
6857
  optimisationMethod?: "fastest" | "minChanges" | "leastWalking" | "leastCost" | "leastDistance" | "earliestArrival" | "latestDeparture" | "earliestArrivalAndLatestDeparture" | "minNonLevelEntrances" | "minStairs" | "bestForVisualImpairment" | "bestForAuditoryImpairment" | "environmentalSafety" | "extraSafe" | "extraReliable" | "scenic" | "quietTravel";
6833
6858
  includeAllRestrictedLines?: boolean;
6859
+ itModeToCover?: {
6860
+ /** @enum {string} */
6861
+ personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
6862
+ personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
6863
+ }[];
6834
6864
  includeTrackSections?: boolean;
6835
6865
  includeLegProjection?: boolean;
6836
6866
  includeTurnDescription?: boolean;
@@ -7352,6 +7382,21 @@ interface components$6 {
7352
7382
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
7353
7383
  /** @enum {string} */
7354
7384
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
7385
+ mode?: {
7386
+ exclude?: boolean;
7387
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
7388
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
7389
+ airSubmode?: string;
7390
+ busSubmode?: string;
7391
+ coachSubmode?: string;
7392
+ funicularSubmode?: string;
7393
+ metroSubmode?: string;
7394
+ tramSubmode?: string;
7395
+ telecabinSubmode?: string;
7396
+ /** @enum {string} */
7397
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
7398
+ waterSubmode?: string;
7399
+ };
7355
7400
  };
7356
7401
  duration: string;
7357
7402
  length?: number;
@@ -7748,6 +7793,21 @@ interface components$6 {
7748
7793
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
7749
7794
  /** @enum {string} */
7750
7795
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
7796
+ mode?: {
7797
+ exclude?: boolean;
7798
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
7799
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
7800
+ airSubmode?: string;
7801
+ busSubmode?: string;
7802
+ coachSubmode?: string;
7803
+ funicularSubmode?: string;
7804
+ metroSubmode?: string;
7805
+ tramSubmode?: string;
7806
+ telecabinSubmode?: string;
7807
+ /** @enum {string} */
7808
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
7809
+ waterSubmode?: string;
7810
+ };
7751
7811
  };
7752
7812
  duration: string;
7753
7813
  length?: number;
@@ -8157,6 +8217,21 @@ interface components$6 {
8157
8217
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
8158
8218
  /** @enum {string} */
8159
8219
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
8220
+ mode?: {
8221
+ exclude?: boolean;
8222
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
8223
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
8224
+ airSubmode?: string;
8225
+ busSubmode?: string;
8226
+ coachSubmode?: string;
8227
+ funicularSubmode?: string;
8228
+ metroSubmode?: string;
8229
+ tramSubmode?: string;
8230
+ telecabinSubmode?: string;
8231
+ /** @enum {string} */
8232
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
8233
+ waterSubmode?: string;
8234
+ };
8160
8235
  };
8161
8236
  duration: string;
8162
8237
  length?: number;
@@ -8574,6 +8649,21 @@ interface components$6 {
8574
8649
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
8575
8650
  /** @enum {string} */
8576
8651
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
8652
+ mode?: {
8653
+ exclude?: boolean;
8654
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
8655
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
8656
+ airSubmode?: string;
8657
+ busSubmode?: string;
8658
+ coachSubmode?: string;
8659
+ funicularSubmode?: string;
8660
+ metroSubmode?: string;
8661
+ tramSubmode?: string;
8662
+ telecabinSubmode?: string;
8663
+ /** @enum {string} */
8664
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
8665
+ waterSubmode?: string;
8666
+ };
8577
8667
  };
8578
8668
  duration: string;
8579
8669
  length?: number;
@@ -9157,6 +9247,21 @@ interface components$6 {
9157
9247
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
9158
9248
  /** @enum {string} */
9159
9249
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
9250
+ mode?: {
9251
+ exclude?: boolean;
9252
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
9253
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
9254
+ airSubmode?: string;
9255
+ busSubmode?: string;
9256
+ coachSubmode?: string;
9257
+ funicularSubmode?: string;
9258
+ metroSubmode?: string;
9259
+ tramSubmode?: string;
9260
+ telecabinSubmode?: string;
9261
+ /** @enum {string} */
9262
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
9263
+ waterSubmode?: string;
9264
+ };
9160
9265
  };
9161
9266
  duration: string;
9162
9267
  length?: number;
@@ -9746,6 +9851,21 @@ interface components$6 {
9746
9851
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
9747
9852
  /** @enum {string} */
9748
9853
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
9854
+ mode?: {
9855
+ exclude?: boolean;
9856
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
9857
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
9858
+ airSubmode?: string;
9859
+ busSubmode?: string;
9860
+ coachSubmode?: string;
9861
+ funicularSubmode?: string;
9862
+ metroSubmode?: string;
9863
+ tramSubmode?: string;
9864
+ telecabinSubmode?: string;
9865
+ /** @enum {string} */
9866
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
9867
+ waterSubmode?: string;
9868
+ };
9749
9869
  };
9750
9870
  duration: string;
9751
9871
  length?: number;
@@ -13231,6 +13351,21 @@ interface components$3 {
13231
13351
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
13232
13352
  /** @enum {string} */
13233
13353
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
13354
+ mode?: {
13355
+ exclude?: boolean;
13356
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
13357
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
13358
+ airSubmode?: string;
13359
+ busSubmode?: string;
13360
+ coachSubmode?: string;
13361
+ funicularSubmode?: string;
13362
+ metroSubmode?: string;
13363
+ tramSubmode?: string;
13364
+ telecabinSubmode?: string;
13365
+ /** @enum {string} */
13366
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
13367
+ waterSubmode?: string;
13368
+ };
13234
13369
  };
13235
13370
  duration: string;
13236
13371
  length?: number;
@@ -13669,6 +13804,21 @@ interface components$3 {
13669
13804
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
13670
13805
  /** @enum {string} */
13671
13806
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
13807
+ mode?: {
13808
+ exclude?: boolean;
13809
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
13810
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
13811
+ airSubmode?: string;
13812
+ busSubmode?: string;
13813
+ coachSubmode?: string;
13814
+ funicularSubmode?: string;
13815
+ metroSubmode?: string;
13816
+ tramSubmode?: string;
13817
+ telecabinSubmode?: string;
13818
+ /** @enum {string} */
13819
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
13820
+ waterSubmode?: string;
13821
+ };
13672
13822
  };
13673
13823
  duration: string;
13674
13824
  length?: number;
@@ -14266,6 +14416,21 @@ interface components$2 {
14266
14416
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
14267
14417
  /** @enum {string} */
14268
14418
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
14419
+ mode?: {
14420
+ exclude?: boolean;
14421
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
14422
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
14423
+ airSubmode?: string;
14424
+ busSubmode?: string;
14425
+ coachSubmode?: string;
14426
+ funicularSubmode?: string;
14427
+ metroSubmode?: string;
14428
+ tramSubmode?: string;
14429
+ telecabinSubmode?: string;
14430
+ /** @enum {string} */
14431
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
14432
+ waterSubmode?: string;
14433
+ };
14269
14434
  };
14270
14435
  duration: string;
14271
14436
  length?: number;
@@ -14855,6 +15020,21 @@ interface components$2 {
14855
15020
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
14856
15021
  /** @enum {string} */
14857
15022
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
15023
+ mode?: {
15024
+ exclude?: boolean;
15025
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
15026
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
15027
+ airSubmode?: string;
15028
+ busSubmode?: string;
15029
+ coachSubmode?: string;
15030
+ funicularSubmode?: string;
15031
+ metroSubmode?: string;
15032
+ tramSubmode?: string;
15033
+ telecabinSubmode?: string;
15034
+ /** @enum {string} */
15035
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
15036
+ waterSubmode?: string;
15037
+ };
14858
15038
  };
14859
15039
  duration: string;
14860
15040
  length?: number;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const VERSION = "0.1.7";
1
+ declare const VERSION = "0.1.9";
2
2
 
3
3
  interface components$k {
4
4
  schemas: {
@@ -902,6 +902,21 @@ interface components$k {
902
902
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
903
903
  /** @enum {string} */
904
904
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
905
+ mode?: {
906
+ exclude?: boolean;
907
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
908
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
909
+ airSubmode?: string;
910
+ busSubmode?: string;
911
+ coachSubmode?: string;
912
+ funicularSubmode?: string;
913
+ metroSubmode?: string;
914
+ tramSubmode?: string;
915
+ telecabinSubmode?: string;
916
+ /** @enum {string} */
917
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
918
+ waterSubmode?: string;
919
+ };
905
920
  };
906
921
  };
907
922
  responses: never;
@@ -6578,6 +6593,11 @@ interface components$7 {
6578
6593
  /** @enum {string} */
6579
6594
  optimisationMethod?: "fastest" | "minChanges" | "leastWalking" | "leastCost" | "leastDistance" | "earliestArrival" | "latestDeparture" | "earliestArrivalAndLatestDeparture" | "minNonLevelEntrances" | "minStairs" | "bestForVisualImpairment" | "bestForAuditoryImpairment" | "environmentalSafety" | "extraSafe" | "extraReliable" | "scenic" | "quietTravel";
6580
6595
  includeAllRestrictedLines?: boolean;
6596
+ itModeToCover?: {
6597
+ /** @enum {string} */
6598
+ personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
6599
+ personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
6600
+ }[];
6581
6601
  includeTrackSections?: boolean;
6582
6602
  includeLegProjection?: boolean;
6583
6603
  includeTurnDescription?: boolean;
@@ -6707,6 +6727,11 @@ interface components$7 {
6707
6727
  /** @enum {string} */
6708
6728
  optimisationMethod?: "fastest" | "minChanges" | "leastWalking" | "leastCost" | "leastDistance" | "earliestArrival" | "latestDeparture" | "earliestArrivalAndLatestDeparture" | "minNonLevelEntrances" | "minStairs" | "bestForVisualImpairment" | "bestForAuditoryImpairment" | "environmentalSafety" | "extraSafe" | "extraReliable" | "scenic" | "quietTravel";
6709
6729
  includeAllRestrictedLines?: boolean;
6730
+ itModeToCover?: {
6731
+ /** @enum {string} */
6732
+ personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
6733
+ personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
6734
+ }[];
6710
6735
  includeTrackSections?: boolean;
6711
6736
  includeLegProjection?: boolean;
6712
6737
  includeTurnDescription?: boolean;
@@ -6831,6 +6856,11 @@ interface components$7 {
6831
6856
  /** @enum {string} */
6832
6857
  optimisationMethod?: "fastest" | "minChanges" | "leastWalking" | "leastCost" | "leastDistance" | "earliestArrival" | "latestDeparture" | "earliestArrivalAndLatestDeparture" | "minNonLevelEntrances" | "minStairs" | "bestForVisualImpairment" | "bestForAuditoryImpairment" | "environmentalSafety" | "extraSafe" | "extraReliable" | "scenic" | "quietTravel";
6833
6858
  includeAllRestrictedLines?: boolean;
6859
+ itModeToCover?: {
6860
+ /** @enum {string} */
6861
+ personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
6862
+ personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
6863
+ }[];
6834
6864
  includeTrackSections?: boolean;
6835
6865
  includeLegProjection?: boolean;
6836
6866
  includeTurnDescription?: boolean;
@@ -7352,6 +7382,21 @@ interface components$6 {
7352
7382
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
7353
7383
  /** @enum {string} */
7354
7384
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
7385
+ mode?: {
7386
+ exclude?: boolean;
7387
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
7388
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
7389
+ airSubmode?: string;
7390
+ busSubmode?: string;
7391
+ coachSubmode?: string;
7392
+ funicularSubmode?: string;
7393
+ metroSubmode?: string;
7394
+ tramSubmode?: string;
7395
+ telecabinSubmode?: string;
7396
+ /** @enum {string} */
7397
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
7398
+ waterSubmode?: string;
7399
+ };
7355
7400
  };
7356
7401
  duration: string;
7357
7402
  length?: number;
@@ -7748,6 +7793,21 @@ interface components$6 {
7748
7793
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
7749
7794
  /** @enum {string} */
7750
7795
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
7796
+ mode?: {
7797
+ exclude?: boolean;
7798
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
7799
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
7800
+ airSubmode?: string;
7801
+ busSubmode?: string;
7802
+ coachSubmode?: string;
7803
+ funicularSubmode?: string;
7804
+ metroSubmode?: string;
7805
+ tramSubmode?: string;
7806
+ telecabinSubmode?: string;
7807
+ /** @enum {string} */
7808
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
7809
+ waterSubmode?: string;
7810
+ };
7751
7811
  };
7752
7812
  duration: string;
7753
7813
  length?: number;
@@ -8157,6 +8217,21 @@ interface components$6 {
8157
8217
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
8158
8218
  /** @enum {string} */
8159
8219
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
8220
+ mode?: {
8221
+ exclude?: boolean;
8222
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
8223
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
8224
+ airSubmode?: string;
8225
+ busSubmode?: string;
8226
+ coachSubmode?: string;
8227
+ funicularSubmode?: string;
8228
+ metroSubmode?: string;
8229
+ tramSubmode?: string;
8230
+ telecabinSubmode?: string;
8231
+ /** @enum {string} */
8232
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
8233
+ waterSubmode?: string;
8234
+ };
8160
8235
  };
8161
8236
  duration: string;
8162
8237
  length?: number;
@@ -8574,6 +8649,21 @@ interface components$6 {
8574
8649
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
8575
8650
  /** @enum {string} */
8576
8651
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
8652
+ mode?: {
8653
+ exclude?: boolean;
8654
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
8655
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
8656
+ airSubmode?: string;
8657
+ busSubmode?: string;
8658
+ coachSubmode?: string;
8659
+ funicularSubmode?: string;
8660
+ metroSubmode?: string;
8661
+ tramSubmode?: string;
8662
+ telecabinSubmode?: string;
8663
+ /** @enum {string} */
8664
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
8665
+ waterSubmode?: string;
8666
+ };
8577
8667
  };
8578
8668
  duration: string;
8579
8669
  length?: number;
@@ -9157,6 +9247,21 @@ interface components$6 {
9157
9247
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
9158
9248
  /** @enum {string} */
9159
9249
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
9250
+ mode?: {
9251
+ exclude?: boolean;
9252
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
9253
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
9254
+ airSubmode?: string;
9255
+ busSubmode?: string;
9256
+ coachSubmode?: string;
9257
+ funicularSubmode?: string;
9258
+ metroSubmode?: string;
9259
+ tramSubmode?: string;
9260
+ telecabinSubmode?: string;
9261
+ /** @enum {string} */
9262
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
9263
+ waterSubmode?: string;
9264
+ };
9160
9265
  };
9161
9266
  duration: string;
9162
9267
  length?: number;
@@ -9746,6 +9851,21 @@ interface components$6 {
9746
9851
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
9747
9852
  /** @enum {string} */
9748
9853
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
9854
+ mode?: {
9855
+ exclude?: boolean;
9856
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
9857
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
9858
+ airSubmode?: string;
9859
+ busSubmode?: string;
9860
+ coachSubmode?: string;
9861
+ funicularSubmode?: string;
9862
+ metroSubmode?: string;
9863
+ tramSubmode?: string;
9864
+ telecabinSubmode?: string;
9865
+ /** @enum {string} */
9866
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
9867
+ waterSubmode?: string;
9868
+ };
9749
9869
  };
9750
9870
  duration: string;
9751
9871
  length?: number;
@@ -13231,6 +13351,21 @@ interface components$3 {
13231
13351
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
13232
13352
  /** @enum {string} */
13233
13353
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
13354
+ mode?: {
13355
+ exclude?: boolean;
13356
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
13357
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
13358
+ airSubmode?: string;
13359
+ busSubmode?: string;
13360
+ coachSubmode?: string;
13361
+ funicularSubmode?: string;
13362
+ metroSubmode?: string;
13363
+ tramSubmode?: string;
13364
+ telecabinSubmode?: string;
13365
+ /** @enum {string} */
13366
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
13367
+ waterSubmode?: string;
13368
+ };
13234
13369
  };
13235
13370
  duration: string;
13236
13371
  length?: number;
@@ -13669,6 +13804,21 @@ interface components$3 {
13669
13804
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
13670
13805
  /** @enum {string} */
13671
13806
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
13807
+ mode?: {
13808
+ exclude?: boolean;
13809
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
13810
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
13811
+ airSubmode?: string;
13812
+ busSubmode?: string;
13813
+ coachSubmode?: string;
13814
+ funicularSubmode?: string;
13815
+ metroSubmode?: string;
13816
+ tramSubmode?: string;
13817
+ telecabinSubmode?: string;
13818
+ /** @enum {string} */
13819
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
13820
+ waterSubmode?: string;
13821
+ };
13672
13822
  };
13673
13823
  duration: string;
13674
13824
  length?: number;
@@ -14266,6 +14416,21 @@ interface components$2 {
14266
14416
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
14267
14417
  /** @enum {string} */
14268
14418
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
14419
+ mode?: {
14420
+ exclude?: boolean;
14421
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
14422
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
14423
+ airSubmode?: string;
14424
+ busSubmode?: string;
14425
+ coachSubmode?: string;
14426
+ funicularSubmode?: string;
14427
+ metroSubmode?: string;
14428
+ tramSubmode?: string;
14429
+ telecabinSubmode?: string;
14430
+ /** @enum {string} */
14431
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
14432
+ waterSubmode?: string;
14433
+ };
14269
14434
  };
14270
14435
  duration: string;
14271
14436
  length?: number;
@@ -14855,6 +15020,21 @@ interface components$2 {
14855
15020
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
14856
15021
  /** @enum {string} */
14857
15022
  personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
15023
+ mode?: {
15024
+ exclude?: boolean;
15025
+ ptMode: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown")[];
15026
+ personalMode: ("foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other")[];
15027
+ airSubmode?: string;
15028
+ busSubmode?: string;
15029
+ coachSubmode?: string;
15030
+ funicularSubmode?: string;
15031
+ metroSubmode?: string;
15032
+ tramSubmode?: string;
15033
+ telecabinSubmode?: string;
15034
+ /** @enum {string} */
15035
+ railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
15036
+ waterSubmode?: string;
15037
+ };
14858
15038
  };
14859
15039
  duration: string;
14860
15040
  length?: number;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/constants.ts
2
- var VERSION = "0.1.7";
2
+ var VERSION = "0.1.9";
3
3
 
4
4
  // src/types/openapi-dependencies.ts
5
5
  var MapNS_Tags = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ojp-shared-types",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Shared types for OJP models based on OpenAPI / XSD Schema",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",