ojp-shared-types 0.0.10 → 0.0.11

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.0.10"
17
+ "ojp-shared-types": "0.0.11"
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.0.10";
29
+ var VERSION = "0.0.11";
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.0.10";
1
+ declare const VERSION = "0.0.11";
2
2
 
3
3
  interface components$f {
4
4
  schemas: {
@@ -641,6 +641,10 @@ interface components$f {
641
641
  }[];
642
642
  };
643
643
  };
644
+ ModeFilterStructure: {
645
+ exclude?: boolean;
646
+ ptMode?: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "other" | "unknown")[];
647
+ };
644
648
  };
645
649
  responses: never;
646
650
  parameters: never;
@@ -1415,6 +1419,10 @@ interface components$c {
1415
1419
  PlaceParam: {
1416
1420
  type: ("stop" | "address" | "poi" | "location" | "topographicPlace")[];
1417
1421
  numberOfResults?: number;
1422
+ modes?: {
1423
+ exclude?: boolean;
1424
+ ptMode?: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "other" | "unknown")[];
1425
+ };
1418
1426
  includePtModes?: boolean;
1419
1427
  };
1420
1428
  InitialInput: {
@@ -1463,6 +1471,10 @@ interface components$c {
1463
1471
  restrictions?: {
1464
1472
  type: ("stop" | "address" | "poi" | "location" | "topographicPlace")[];
1465
1473
  numberOfResults?: number;
1474
+ modes?: {
1475
+ exclude?: boolean;
1476
+ ptMode?: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "other" | "unknown")[];
1477
+ };
1466
1478
  includePtModes?: boolean;
1467
1479
  };
1468
1480
  };
@@ -1505,6 +1517,10 @@ interface components$c {
1505
1517
  restrictions?: {
1506
1518
  type: ("stop" | "address" | "poi" | "location" | "topographicPlace")[];
1507
1519
  numberOfResults?: number;
1520
+ modes?: {
1521
+ exclude?: boolean;
1522
+ ptMode?: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "other" | "unknown")[];
1523
+ };
1508
1524
  includePtModes?: boolean;
1509
1525
  };
1510
1526
  };
@@ -4656,10 +4672,6 @@ interface components$6 {
4656
4672
 
4657
4673
  interface components$5 {
4658
4674
  schemas: {
4659
- ModeAndModeOfOperationFilter: {
4660
- exclude?: boolean;
4661
- ptMode?: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "other" | "unknown")[];
4662
- };
4663
4675
  TripParam: {
4664
4676
  modeAndModeOfOperationFilter?: {
4665
4677
  exclude?: boolean;
@@ -9133,12 +9145,12 @@ type AddressSchema = components$f['schemas']['Address'];
9133
9145
  type ModeStructureSchema = components$f['schemas']['ModeStructure'];
9134
9146
  type ProductCategorySchema = components$f['schemas']['ProductCategory'];
9135
9147
  type GeneralAttributeSchema = components$f['schemas']['GeneralAttribute'];
9148
+ type ModeFilterSchema = components$f["schemas"]['ModeFilterStructure'];
9136
9149
  type ResponseContextSchema = components$f['schemas']['ResponseContextStructure'];
9137
9150
  type TripRequestOJP = components$5["schemas"]["OJP"];
9138
9151
  type TripParamsSchema = components$5["schemas"]["TripParam"];
9139
9152
  type TripRequestSchema = components$5["schemas"]["OJPTripRequest"];
9140
9153
  type ViaPointSchema = components$5["schemas"]["ViaPoint"];
9141
- type ModeAndModeOfOperationFilterSchema = components$5["schemas"]["ModeAndModeOfOperationFilter"];
9142
9154
  type TripResultSchema = components$4['schemas']['TripResult'];
9143
9155
  type TripSchema = components$4["schemas"]["Trip"];
9144
9156
  type LegSchema = components$4["schemas"]["Leg"];
@@ -9191,4 +9203,4 @@ declare const OpenAPI_Dependencies: {
9191
9203
  readonly MapStringValues: Record<string, boolean>;
9192
9204
  };
9193
9205
 
9194
- export { type AddressSchema, type CallAtStopSchema, type ContinuousLegSchema, type DatedJourneySchema, type FareDeliverySchema, type FareRequestOJP, type FareRequestParamsSchema, type FareRequestSchema, type FareRequestsSchema, type FareResponseOJP, type FareResultSchema, type GeneralAttributeSchema, type GeoPositionSchema, type InitialInputSchema, type InternationalTextSchema, type LIR_RequestParamsSchema, type LegSchema, type LocationInformationDeliverySchema, type LocationInformationRequestOJP, type LocationInformationRequestResponseOJP, type LocationInformationRequestSchema, type ModeAndModeOfOperationFilterSchema, type ModeStructureSchema, type OJPv1_DatedJourneySchema, type OJPv1_TimedLegSchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripSchema, OpenAPI_Dependencies, type PlaceContextSchema, type PlaceRefSchema, type PlaceResultSchema, type PlaceSchema, type PlaceTypeEnum, type PointOfInterestSchema, type ProductCategorySchema, type ResponseContextSchema, type SER_RequestLocationSchema, type SER_RequestOJP, type SER_RequestParamsSchema, type StopEventDeliverySchema, type StopEventRequestResponseOJP, type StopEventRequestSchema, type StopEventResultSchema, type StopEventSchema, type StopPlaceSchema, type StopPointSchema, type TIR_RequestOJP, type TIR_RequestParamsSchema, type TIR_RequestSchema, type TRR_DeliverySchema, type TRR_RequestOJP, type TRR_RequestParamsSchema, type TRR_RequestSchema, type TRR_ResponseOJP, type TimedLegSchema, type TopographicPlaceSchema, type TransferLegSchema, type TripDeliverySchema, type TripInfoDeliverySchema, type TripInfoResponseOJP, type TripInfoResultStructureSchema, type TripParamsSchema, type TripRequestOJP, type TripRequestResponseOJP, type TripRequestSchema, type TripResultSchema, type TripSchema, type UseRealtimeDataEnum, VERSION, type VehicleModesOfTransportEnum, type ViaPointSchema };
9206
+ export { type AddressSchema, type CallAtStopSchema, type ContinuousLegSchema, type DatedJourneySchema, type FareDeliverySchema, type FareRequestOJP, type FareRequestParamsSchema, type FareRequestSchema, type FareRequestsSchema, type FareResponseOJP, type FareResultSchema, type GeneralAttributeSchema, type GeoPositionSchema, type InitialInputSchema, type InternationalTextSchema, type LIR_RequestParamsSchema, type LegSchema, type LocationInformationDeliverySchema, type LocationInformationRequestOJP, type LocationInformationRequestResponseOJP, type LocationInformationRequestSchema, type ModeFilterSchema, type ModeStructureSchema, type OJPv1_DatedJourneySchema, type OJPv1_TimedLegSchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripSchema, OpenAPI_Dependencies, type PlaceContextSchema, type PlaceRefSchema, type PlaceResultSchema, type PlaceSchema, type PlaceTypeEnum, type PointOfInterestSchema, type ProductCategorySchema, type ResponseContextSchema, type SER_RequestLocationSchema, type SER_RequestOJP, type SER_RequestParamsSchema, type StopEventDeliverySchema, type StopEventRequestResponseOJP, type StopEventRequestSchema, type StopEventResultSchema, type StopEventSchema, type StopPlaceSchema, type StopPointSchema, type TIR_RequestOJP, type TIR_RequestParamsSchema, type TIR_RequestSchema, type TRR_DeliverySchema, type TRR_RequestOJP, type TRR_RequestParamsSchema, type TRR_RequestSchema, type TRR_ResponseOJP, type TimedLegSchema, type TopographicPlaceSchema, type TransferLegSchema, type TripDeliverySchema, type TripInfoDeliverySchema, type TripInfoResponseOJP, type TripInfoResultStructureSchema, type TripParamsSchema, type TripRequestOJP, type TripRequestResponseOJP, type TripRequestSchema, type TripResultSchema, type TripSchema, type UseRealtimeDataEnum, VERSION, type VehicleModesOfTransportEnum, type ViaPointSchema };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const VERSION = "0.0.10";
1
+ declare const VERSION = "0.0.11";
2
2
 
3
3
  interface components$f {
4
4
  schemas: {
@@ -641,6 +641,10 @@ interface components$f {
641
641
  }[];
642
642
  };
643
643
  };
644
+ ModeFilterStructure: {
645
+ exclude?: boolean;
646
+ ptMode?: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "other" | "unknown")[];
647
+ };
644
648
  };
645
649
  responses: never;
646
650
  parameters: never;
@@ -1415,6 +1419,10 @@ interface components$c {
1415
1419
  PlaceParam: {
1416
1420
  type: ("stop" | "address" | "poi" | "location" | "topographicPlace")[];
1417
1421
  numberOfResults?: number;
1422
+ modes?: {
1423
+ exclude?: boolean;
1424
+ ptMode?: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "other" | "unknown")[];
1425
+ };
1418
1426
  includePtModes?: boolean;
1419
1427
  };
1420
1428
  InitialInput: {
@@ -1463,6 +1471,10 @@ interface components$c {
1463
1471
  restrictions?: {
1464
1472
  type: ("stop" | "address" | "poi" | "location" | "topographicPlace")[];
1465
1473
  numberOfResults?: number;
1474
+ modes?: {
1475
+ exclude?: boolean;
1476
+ ptMode?: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "other" | "unknown")[];
1477
+ };
1466
1478
  includePtModes?: boolean;
1467
1479
  };
1468
1480
  };
@@ -1505,6 +1517,10 @@ interface components$c {
1505
1517
  restrictions?: {
1506
1518
  type: ("stop" | "address" | "poi" | "location" | "topographicPlace")[];
1507
1519
  numberOfResults?: number;
1520
+ modes?: {
1521
+ exclude?: boolean;
1522
+ ptMode?: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "other" | "unknown")[];
1523
+ };
1508
1524
  includePtModes?: boolean;
1509
1525
  };
1510
1526
  };
@@ -4656,10 +4672,6 @@ interface components$6 {
4656
4672
 
4657
4673
  interface components$5 {
4658
4674
  schemas: {
4659
- ModeAndModeOfOperationFilter: {
4660
- exclude?: boolean;
4661
- ptMode?: ("air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "other" | "unknown")[];
4662
- };
4663
4675
  TripParam: {
4664
4676
  modeAndModeOfOperationFilter?: {
4665
4677
  exclude?: boolean;
@@ -9133,12 +9145,12 @@ type AddressSchema = components$f['schemas']['Address'];
9133
9145
  type ModeStructureSchema = components$f['schemas']['ModeStructure'];
9134
9146
  type ProductCategorySchema = components$f['schemas']['ProductCategory'];
9135
9147
  type GeneralAttributeSchema = components$f['schemas']['GeneralAttribute'];
9148
+ type ModeFilterSchema = components$f["schemas"]['ModeFilterStructure'];
9136
9149
  type ResponseContextSchema = components$f['schemas']['ResponseContextStructure'];
9137
9150
  type TripRequestOJP = components$5["schemas"]["OJP"];
9138
9151
  type TripParamsSchema = components$5["schemas"]["TripParam"];
9139
9152
  type TripRequestSchema = components$5["schemas"]["OJPTripRequest"];
9140
9153
  type ViaPointSchema = components$5["schemas"]["ViaPoint"];
9141
- type ModeAndModeOfOperationFilterSchema = components$5["schemas"]["ModeAndModeOfOperationFilter"];
9142
9154
  type TripResultSchema = components$4['schemas']['TripResult'];
9143
9155
  type TripSchema = components$4["schemas"]["Trip"];
9144
9156
  type LegSchema = components$4["schemas"]["Leg"];
@@ -9191,4 +9203,4 @@ declare const OpenAPI_Dependencies: {
9191
9203
  readonly MapStringValues: Record<string, boolean>;
9192
9204
  };
9193
9205
 
9194
- export { type AddressSchema, type CallAtStopSchema, type ContinuousLegSchema, type DatedJourneySchema, type FareDeliverySchema, type FareRequestOJP, type FareRequestParamsSchema, type FareRequestSchema, type FareRequestsSchema, type FareResponseOJP, type FareResultSchema, type GeneralAttributeSchema, type GeoPositionSchema, type InitialInputSchema, type InternationalTextSchema, type LIR_RequestParamsSchema, type LegSchema, type LocationInformationDeliverySchema, type LocationInformationRequestOJP, type LocationInformationRequestResponseOJP, type LocationInformationRequestSchema, type ModeAndModeOfOperationFilterSchema, type ModeStructureSchema, type OJPv1_DatedJourneySchema, type OJPv1_TimedLegSchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripSchema, OpenAPI_Dependencies, type PlaceContextSchema, type PlaceRefSchema, type PlaceResultSchema, type PlaceSchema, type PlaceTypeEnum, type PointOfInterestSchema, type ProductCategorySchema, type ResponseContextSchema, type SER_RequestLocationSchema, type SER_RequestOJP, type SER_RequestParamsSchema, type StopEventDeliverySchema, type StopEventRequestResponseOJP, type StopEventRequestSchema, type StopEventResultSchema, type StopEventSchema, type StopPlaceSchema, type StopPointSchema, type TIR_RequestOJP, type TIR_RequestParamsSchema, type TIR_RequestSchema, type TRR_DeliverySchema, type TRR_RequestOJP, type TRR_RequestParamsSchema, type TRR_RequestSchema, type TRR_ResponseOJP, type TimedLegSchema, type TopographicPlaceSchema, type TransferLegSchema, type TripDeliverySchema, type TripInfoDeliverySchema, type TripInfoResponseOJP, type TripInfoResultStructureSchema, type TripParamsSchema, type TripRequestOJP, type TripRequestResponseOJP, type TripRequestSchema, type TripResultSchema, type TripSchema, type UseRealtimeDataEnum, VERSION, type VehicleModesOfTransportEnum, type ViaPointSchema };
9206
+ export { type AddressSchema, type CallAtStopSchema, type ContinuousLegSchema, type DatedJourneySchema, type FareDeliverySchema, type FareRequestOJP, type FareRequestParamsSchema, type FareRequestSchema, type FareRequestsSchema, type FareResponseOJP, type FareResultSchema, type GeneralAttributeSchema, type GeoPositionSchema, type InitialInputSchema, type InternationalTextSchema, type LIR_RequestParamsSchema, type LegSchema, type LocationInformationDeliverySchema, type LocationInformationRequestOJP, type LocationInformationRequestResponseOJP, type LocationInformationRequestSchema, type ModeFilterSchema, type ModeStructureSchema, type OJPv1_DatedJourneySchema, type OJPv1_TimedLegSchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripSchema, OpenAPI_Dependencies, type PlaceContextSchema, type PlaceRefSchema, type PlaceResultSchema, type PlaceSchema, type PlaceTypeEnum, type PointOfInterestSchema, type ProductCategorySchema, type ResponseContextSchema, type SER_RequestLocationSchema, type SER_RequestOJP, type SER_RequestParamsSchema, type StopEventDeliverySchema, type StopEventRequestResponseOJP, type StopEventRequestSchema, type StopEventResultSchema, type StopEventSchema, type StopPlaceSchema, type StopPointSchema, type TIR_RequestOJP, type TIR_RequestParamsSchema, type TIR_RequestSchema, type TRR_DeliverySchema, type TRR_RequestOJP, type TRR_RequestParamsSchema, type TRR_RequestSchema, type TRR_ResponseOJP, type TimedLegSchema, type TopographicPlaceSchema, type TransferLegSchema, type TripDeliverySchema, type TripInfoDeliverySchema, type TripInfoResponseOJP, type TripInfoResultStructureSchema, type TripParamsSchema, type TripRequestOJP, type TripRequestResponseOJP, type TripRequestSchema, type TripResultSchema, type TripSchema, type UseRealtimeDataEnum, VERSION, type VehicleModesOfTransportEnum, type ViaPointSchema };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/constants.ts
2
- var VERSION = "0.0.10";
2
+ var VERSION = "0.0.11";
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.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "Shared types for OJP models based on OpenAPI / XSD Schema",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",