ojp-shared-types 0.0.21 → 0.0.23

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.21"
17
+ "ojp-shared-types": "0.0.23"
18
18
  }
19
19
  ```
20
20
 
@@ -23,7 +23,7 @@ Notes
23
23
  ```
24
24
  import * as OJP_Types from 'ojp-shared-types';
25
25
 
26
- export class MyOJPReques implements OJP_Types.TripRequestSchema {
26
+ export class MyOJPRequest implements OJP_Types.TripRequestSchema {
27
27
  ....
28
28
  }
29
29
  ```
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.21";
29
+ var VERSION = "0.0.23";
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.21";
1
+ declare const VERSION = "0.0.23";
2
2
 
3
3
  interface components$h {
4
4
  schemas: {
@@ -470,6 +470,7 @@ interface components$h {
470
470
  text: string;
471
471
  };
472
472
  code: string;
473
+ importance?: number;
473
474
  };
474
475
  SituationFullRefStructure: {
475
476
  participantRef: string;
@@ -519,6 +520,7 @@ interface components$h {
519
520
  text: string;
520
521
  };
521
522
  code: string;
523
+ importance?: number;
522
524
  }[];
523
525
  operatorRef?: string;
524
526
  destinationStopPointRef?: string;
@@ -822,6 +824,13 @@ interface components$h {
822
824
 
823
825
  interface components$g {
824
826
  schemas: {
827
+ GeneralAttribute: {
828
+ text: {
829
+ text: string;
830
+ };
831
+ code: string;
832
+ importance?: number;
833
+ };
825
834
  DatedJourney: {
826
835
  conventionalModeOfOperation?: string;
827
836
  operatingDayRef: string;
@@ -862,10 +871,11 @@ interface components$g {
862
871
  };
863
872
  trainNumber?: string;
864
873
  attribute: {
865
- userText: {
874
+ text: {
866
875
  text: string;
867
876
  };
868
877
  code: string;
878
+ importance?: number;
869
879
  }[];
870
880
  operatorRef?: string;
871
881
  destinationStopPointRef?: string;
@@ -1120,10 +1130,11 @@ interface components$f {
1120
1130
  };
1121
1131
  trainNumber?: string;
1122
1132
  attribute: {
1123
- userText: {
1133
+ text: {
1124
1134
  text: string;
1125
1135
  };
1126
1136
  code: string;
1137
+ importance?: number;
1127
1138
  }[];
1128
1139
  operatorRef?: string;
1129
1140
  destinationStopPointRef?: string;
@@ -1330,10 +1341,11 @@ interface components$f {
1330
1341
  };
1331
1342
  trainNumber?: string;
1332
1343
  attribute: {
1333
- userText: {
1344
+ text: {
1334
1345
  text: string;
1335
1346
  };
1336
1347
  code: string;
1348
+ importance?: number;
1337
1349
  }[];
1338
1350
  operatorRef?: string;
1339
1351
  destinationStopPointRef?: string;
@@ -1734,10 +1746,11 @@ interface components$f {
1734
1746
  };
1735
1747
  trainNumber?: string;
1736
1748
  attribute: {
1737
- userText: {
1749
+ text: {
1738
1750
  text: string;
1739
1751
  };
1740
1752
  code: string;
1753
+ importance?: number;
1741
1754
  }[];
1742
1755
  operatorRef?: string;
1743
1756
  destinationStopPointRef?: string;
@@ -3372,6 +3385,7 @@ interface components$9 {
3372
3385
  text: string;
3373
3386
  };
3374
3387
  code: string;
3388
+ importance?: number;
3375
3389
  }[];
3376
3390
  operatorRef?: string;
3377
3391
  destinationStopPointRef?: string;
@@ -3552,6 +3566,7 @@ interface components$9 {
3552
3566
  text: string;
3553
3567
  };
3554
3568
  code: string;
3569
+ importance?: number;
3555
3570
  }[];
3556
3571
  operatorRef?: string;
3557
3572
  destinationStopPointRef?: string;
@@ -3889,6 +3904,7 @@ interface components$9 {
3889
3904
  text: string;
3890
3905
  };
3891
3906
  code: string;
3907
+ importance?: number;
3892
3908
  }[];
3893
3909
  operatorRef?: string;
3894
3910
  destinationStopPointRef?: string;
@@ -4232,6 +4248,7 @@ interface components$9 {
4232
4248
  text: string;
4233
4249
  };
4234
4250
  code: string;
4251
+ importance?: number;
4235
4252
  }[];
4236
4253
  operatorRef?: string;
4237
4254
  destinationStopPointRef?: string;
@@ -4436,6 +4453,7 @@ interface components$7 {
4436
4453
  text: string;
4437
4454
  };
4438
4455
  code: string;
4456
+ importance?: number;
4439
4457
  }[];
4440
4458
  operatorRef?: string;
4441
4459
  destinationStopPointRef?: string;
@@ -4759,6 +4777,7 @@ interface components$7 {
4759
4777
  text: string;
4760
4778
  };
4761
4779
  code: string;
4780
+ importance?: number;
4762
4781
  }[];
4763
4782
  operatorRef?: string;
4764
4783
  destinationStopPointRef?: string;
@@ -5088,6 +5107,7 @@ interface components$7 {
5088
5107
  text: string;
5089
5108
  };
5090
5109
  code: string;
5110
+ importance?: number;
5091
5111
  }[];
5092
5112
  operatorRef?: string;
5093
5113
  destinationStopPointRef?: string;
@@ -5416,10 +5436,11 @@ interface components$6 {
5416
5436
  };
5417
5437
  trainNumber?: string;
5418
5438
  attribute: {
5419
- userText: {
5439
+ text: {
5420
5440
  text: string;
5421
5441
  };
5422
5442
  code: string;
5443
+ importance?: number;
5423
5444
  }[];
5424
5445
  operatorRef?: string;
5425
5446
  destinationStopPointRef?: string;
@@ -5744,10 +5765,11 @@ interface components$6 {
5744
5765
  };
5745
5766
  trainNumber?: string;
5746
5767
  attribute: {
5747
- userText: {
5768
+ text: {
5748
5769
  text: string;
5749
5770
  };
5750
5771
  code: string;
5772
+ importance?: number;
5751
5773
  }[];
5752
5774
  operatorRef?: string;
5753
5775
  destinationStopPointRef?: string;
@@ -6078,10 +6100,11 @@ interface components$6 {
6078
6100
  };
6079
6101
  trainNumber?: string;
6080
6102
  attribute: {
6081
- userText: {
6103
+ text: {
6082
6104
  text: string;
6083
6105
  };
6084
6106
  code: string;
6107
+ importance?: number;
6085
6108
  }[];
6086
6109
  operatorRef?: string;
6087
6110
  destinationStopPointRef?: string;
@@ -6804,6 +6827,7 @@ interface components$4 {
6804
6827
  text: string;
6805
6828
  };
6806
6829
  code: string;
6830
+ importance?: number;
6807
6831
  }[];
6808
6832
  operatorRef?: string;
6809
6833
  destinationStopPointRef?: string;
@@ -7194,6 +7218,7 @@ interface components$4 {
7194
7218
  text: string;
7195
7219
  };
7196
7220
  code: string;
7221
+ importance?: number;
7197
7222
  }[];
7198
7223
  operatorRef?: string;
7199
7224
  destinationStopPointRef?: string;
@@ -7594,6 +7619,7 @@ interface components$4 {
7594
7619
  text: string;
7595
7620
  };
7596
7621
  code: string;
7622
+ importance?: number;
7597
7623
  }[];
7598
7624
  operatorRef?: string;
7599
7625
  destinationStopPointRef?: string;
@@ -8002,6 +8028,7 @@ interface components$4 {
8002
8028
  text: string;
8003
8029
  };
8004
8030
  code: string;
8031
+ importance?: number;
8005
8032
  }[];
8006
8033
  operatorRef?: string;
8007
8034
  destinationStopPointRef?: string;
@@ -8567,6 +8594,7 @@ interface components$4 {
8567
8594
  text: string;
8568
8595
  };
8569
8596
  code: string;
8597
+ importance?: number;
8570
8598
  }[];
8571
8599
  operatorRef?: string;
8572
8600
  destinationStopPointRef?: string;
@@ -9138,6 +9166,7 @@ interface components$4 {
9138
9166
  text: string;
9139
9167
  };
9140
9168
  code: string;
9169
+ importance?: number;
9141
9170
  }[];
9142
9171
  operatorRef?: string;
9143
9172
  destinationStopPointRef?: string;
@@ -9577,6 +9606,7 @@ interface components$3 {
9577
9606
  text: string;
9578
9607
  };
9579
9608
  code: string;
9609
+ importance?: number;
9580
9610
  }[];
9581
9611
  operatorRef?: string;
9582
9612
  destinationStopPointRef?: string;
@@ -10004,6 +10034,7 @@ interface components$3 {
10004
10034
  text: string;
10005
10035
  };
10006
10036
  code: string;
10037
+ importance?: number;
10007
10038
  }[];
10008
10039
  operatorRef?: string;
10009
10040
  destinationStopPointRef?: string;
@@ -10432,6 +10463,7 @@ interface components$2 {
10432
10463
  text: string;
10433
10464
  };
10434
10465
  code: string;
10466
+ importance?: number;
10435
10467
  }[];
10436
10468
  operatorRef?: string;
10437
10469
  destinationStopPointRef?: string;
@@ -10852,6 +10884,7 @@ interface components$2 {
10852
10884
  text: string;
10853
10885
  };
10854
10886
  code: string;
10887
+ importance?: number;
10855
10888
  }[];
10856
10889
  operatorRef?: string;
10857
10890
  destinationStopPointRef?: string;
@@ -11269,10 +11302,11 @@ interface components$1 {
11269
11302
  };
11270
11303
  trainNumber?: string;
11271
11304
  attribute: {
11272
- userText: {
11305
+ text: {
11273
11306
  text: string;
11274
11307
  };
11275
11308
  code: string;
11309
+ importance?: number;
11276
11310
  }[];
11277
11311
  operatorRef?: string;
11278
11312
  destinationStopPointRef?: string;
@@ -11714,10 +11748,11 @@ interface components$1 {
11714
11748
  };
11715
11749
  trainNumber?: string;
11716
11750
  attribute: {
11717
- userText: {
11751
+ text: {
11718
11752
  text: string;
11719
11753
  };
11720
11754
  code: string;
11755
+ importance?: number;
11721
11756
  }[];
11722
11757
  operatorRef?: string;
11723
11758
  destinationStopPointRef?: string;
@@ -12142,10 +12177,11 @@ interface components$1 {
12142
12177
  };
12143
12178
  trainNumber?: string;
12144
12179
  attribute: {
12145
- userText: {
12180
+ text: {
12146
12181
  text: string;
12147
12182
  };
12148
12183
  code: string;
12184
+ importance?: number;
12149
12185
  }[];
12150
12186
  operatorRef?: string;
12151
12187
  destinationStopPointRef?: string;
@@ -12578,10 +12614,11 @@ interface components$1 {
12578
12614
  };
12579
12615
  trainNumber?: string;
12580
12616
  attribute: {
12581
- userText: {
12617
+ text: {
12582
12618
  text: string;
12583
12619
  };
12584
12620
  code: string;
12621
+ importance?: number;
12585
12622
  }[];
12586
12623
  operatorRef?: string;
12587
12624
  destinationStopPointRef?: string;
@@ -12969,6 +13006,8 @@ interface components {
12969
13006
  }
12970
13007
 
12971
13008
  type OJPv1_DatedJourneySchema = components$g['schemas']['DatedJourney'];
13009
+ type OJPv1_LocationSchema = components$g['schemas']['Location'];
13010
+ type OJPv1_GeneralAttributeSchema = components$g['schemas']['GeneralAttribute'];
12972
13011
  type OJPv1_TimedLegSchema = components$f['schemas']['TimedLeg'];
12973
13012
  type OJPv1_TripLegSchema = components$f['schemas']['TripLeg'];
12974
13013
  type OJPv1_TripSchema = components$f['schemas']['Trip'];
@@ -13057,4 +13096,4 @@ declare const OpenAPI_Dependencies: {
13057
13096
  readonly MapStringValues: Record<string, boolean>;
13058
13097
  };
13059
13098
 
13060
- 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 GeoRestrictionsSchema, type IndividualTransportOptionSchema, 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_InitialInputSchema, type OJPv1_LocationInformationDeliverySchema, type OJPv1_LocationInformationRequestOJP, type OJPv1_LocationInformationRequestResponseOJP, type OJPv1_LocationInformationRequestSchema, type OJPv1_TimedLegSchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripSchema, OpenAPI_Dependencies, type PersonalModesEnum, 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 TrackSectionSchema, 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 };
13099
+ 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 GeoRestrictionsSchema, type IndividualTransportOptionSchema, 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_GeneralAttributeSchema, type OJPv1_InitialInputSchema, type OJPv1_LocationInformationDeliverySchema, type OJPv1_LocationInformationRequestOJP, type OJPv1_LocationInformationRequestResponseOJP, type OJPv1_LocationInformationRequestSchema, type OJPv1_LocationSchema, type OJPv1_TimedLegSchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripSchema, OpenAPI_Dependencies, type PersonalModesEnum, 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 TrackSectionSchema, 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.21";
1
+ declare const VERSION = "0.0.23";
2
2
 
3
3
  interface components$h {
4
4
  schemas: {
@@ -470,6 +470,7 @@ interface components$h {
470
470
  text: string;
471
471
  };
472
472
  code: string;
473
+ importance?: number;
473
474
  };
474
475
  SituationFullRefStructure: {
475
476
  participantRef: string;
@@ -519,6 +520,7 @@ interface components$h {
519
520
  text: string;
520
521
  };
521
522
  code: string;
523
+ importance?: number;
522
524
  }[];
523
525
  operatorRef?: string;
524
526
  destinationStopPointRef?: string;
@@ -822,6 +824,13 @@ interface components$h {
822
824
 
823
825
  interface components$g {
824
826
  schemas: {
827
+ GeneralAttribute: {
828
+ text: {
829
+ text: string;
830
+ };
831
+ code: string;
832
+ importance?: number;
833
+ };
825
834
  DatedJourney: {
826
835
  conventionalModeOfOperation?: string;
827
836
  operatingDayRef: string;
@@ -862,10 +871,11 @@ interface components$g {
862
871
  };
863
872
  trainNumber?: string;
864
873
  attribute: {
865
- userText: {
874
+ text: {
866
875
  text: string;
867
876
  };
868
877
  code: string;
878
+ importance?: number;
869
879
  }[];
870
880
  operatorRef?: string;
871
881
  destinationStopPointRef?: string;
@@ -1120,10 +1130,11 @@ interface components$f {
1120
1130
  };
1121
1131
  trainNumber?: string;
1122
1132
  attribute: {
1123
- userText: {
1133
+ text: {
1124
1134
  text: string;
1125
1135
  };
1126
1136
  code: string;
1137
+ importance?: number;
1127
1138
  }[];
1128
1139
  operatorRef?: string;
1129
1140
  destinationStopPointRef?: string;
@@ -1330,10 +1341,11 @@ interface components$f {
1330
1341
  };
1331
1342
  trainNumber?: string;
1332
1343
  attribute: {
1333
- userText: {
1344
+ text: {
1334
1345
  text: string;
1335
1346
  };
1336
1347
  code: string;
1348
+ importance?: number;
1337
1349
  }[];
1338
1350
  operatorRef?: string;
1339
1351
  destinationStopPointRef?: string;
@@ -1734,10 +1746,11 @@ interface components$f {
1734
1746
  };
1735
1747
  trainNumber?: string;
1736
1748
  attribute: {
1737
- userText: {
1749
+ text: {
1738
1750
  text: string;
1739
1751
  };
1740
1752
  code: string;
1753
+ importance?: number;
1741
1754
  }[];
1742
1755
  operatorRef?: string;
1743
1756
  destinationStopPointRef?: string;
@@ -3372,6 +3385,7 @@ interface components$9 {
3372
3385
  text: string;
3373
3386
  };
3374
3387
  code: string;
3388
+ importance?: number;
3375
3389
  }[];
3376
3390
  operatorRef?: string;
3377
3391
  destinationStopPointRef?: string;
@@ -3552,6 +3566,7 @@ interface components$9 {
3552
3566
  text: string;
3553
3567
  };
3554
3568
  code: string;
3569
+ importance?: number;
3555
3570
  }[];
3556
3571
  operatorRef?: string;
3557
3572
  destinationStopPointRef?: string;
@@ -3889,6 +3904,7 @@ interface components$9 {
3889
3904
  text: string;
3890
3905
  };
3891
3906
  code: string;
3907
+ importance?: number;
3892
3908
  }[];
3893
3909
  operatorRef?: string;
3894
3910
  destinationStopPointRef?: string;
@@ -4232,6 +4248,7 @@ interface components$9 {
4232
4248
  text: string;
4233
4249
  };
4234
4250
  code: string;
4251
+ importance?: number;
4235
4252
  }[];
4236
4253
  operatorRef?: string;
4237
4254
  destinationStopPointRef?: string;
@@ -4436,6 +4453,7 @@ interface components$7 {
4436
4453
  text: string;
4437
4454
  };
4438
4455
  code: string;
4456
+ importance?: number;
4439
4457
  }[];
4440
4458
  operatorRef?: string;
4441
4459
  destinationStopPointRef?: string;
@@ -4759,6 +4777,7 @@ interface components$7 {
4759
4777
  text: string;
4760
4778
  };
4761
4779
  code: string;
4780
+ importance?: number;
4762
4781
  }[];
4763
4782
  operatorRef?: string;
4764
4783
  destinationStopPointRef?: string;
@@ -5088,6 +5107,7 @@ interface components$7 {
5088
5107
  text: string;
5089
5108
  };
5090
5109
  code: string;
5110
+ importance?: number;
5091
5111
  }[];
5092
5112
  operatorRef?: string;
5093
5113
  destinationStopPointRef?: string;
@@ -5416,10 +5436,11 @@ interface components$6 {
5416
5436
  };
5417
5437
  trainNumber?: string;
5418
5438
  attribute: {
5419
- userText: {
5439
+ text: {
5420
5440
  text: string;
5421
5441
  };
5422
5442
  code: string;
5443
+ importance?: number;
5423
5444
  }[];
5424
5445
  operatorRef?: string;
5425
5446
  destinationStopPointRef?: string;
@@ -5744,10 +5765,11 @@ interface components$6 {
5744
5765
  };
5745
5766
  trainNumber?: string;
5746
5767
  attribute: {
5747
- userText: {
5768
+ text: {
5748
5769
  text: string;
5749
5770
  };
5750
5771
  code: string;
5772
+ importance?: number;
5751
5773
  }[];
5752
5774
  operatorRef?: string;
5753
5775
  destinationStopPointRef?: string;
@@ -6078,10 +6100,11 @@ interface components$6 {
6078
6100
  };
6079
6101
  trainNumber?: string;
6080
6102
  attribute: {
6081
- userText: {
6103
+ text: {
6082
6104
  text: string;
6083
6105
  };
6084
6106
  code: string;
6107
+ importance?: number;
6085
6108
  }[];
6086
6109
  operatorRef?: string;
6087
6110
  destinationStopPointRef?: string;
@@ -6804,6 +6827,7 @@ interface components$4 {
6804
6827
  text: string;
6805
6828
  };
6806
6829
  code: string;
6830
+ importance?: number;
6807
6831
  }[];
6808
6832
  operatorRef?: string;
6809
6833
  destinationStopPointRef?: string;
@@ -7194,6 +7218,7 @@ interface components$4 {
7194
7218
  text: string;
7195
7219
  };
7196
7220
  code: string;
7221
+ importance?: number;
7197
7222
  }[];
7198
7223
  operatorRef?: string;
7199
7224
  destinationStopPointRef?: string;
@@ -7594,6 +7619,7 @@ interface components$4 {
7594
7619
  text: string;
7595
7620
  };
7596
7621
  code: string;
7622
+ importance?: number;
7597
7623
  }[];
7598
7624
  operatorRef?: string;
7599
7625
  destinationStopPointRef?: string;
@@ -8002,6 +8028,7 @@ interface components$4 {
8002
8028
  text: string;
8003
8029
  };
8004
8030
  code: string;
8031
+ importance?: number;
8005
8032
  }[];
8006
8033
  operatorRef?: string;
8007
8034
  destinationStopPointRef?: string;
@@ -8567,6 +8594,7 @@ interface components$4 {
8567
8594
  text: string;
8568
8595
  };
8569
8596
  code: string;
8597
+ importance?: number;
8570
8598
  }[];
8571
8599
  operatorRef?: string;
8572
8600
  destinationStopPointRef?: string;
@@ -9138,6 +9166,7 @@ interface components$4 {
9138
9166
  text: string;
9139
9167
  };
9140
9168
  code: string;
9169
+ importance?: number;
9141
9170
  }[];
9142
9171
  operatorRef?: string;
9143
9172
  destinationStopPointRef?: string;
@@ -9577,6 +9606,7 @@ interface components$3 {
9577
9606
  text: string;
9578
9607
  };
9579
9608
  code: string;
9609
+ importance?: number;
9580
9610
  }[];
9581
9611
  operatorRef?: string;
9582
9612
  destinationStopPointRef?: string;
@@ -10004,6 +10034,7 @@ interface components$3 {
10004
10034
  text: string;
10005
10035
  };
10006
10036
  code: string;
10037
+ importance?: number;
10007
10038
  }[];
10008
10039
  operatorRef?: string;
10009
10040
  destinationStopPointRef?: string;
@@ -10432,6 +10463,7 @@ interface components$2 {
10432
10463
  text: string;
10433
10464
  };
10434
10465
  code: string;
10466
+ importance?: number;
10435
10467
  }[];
10436
10468
  operatorRef?: string;
10437
10469
  destinationStopPointRef?: string;
@@ -10852,6 +10884,7 @@ interface components$2 {
10852
10884
  text: string;
10853
10885
  };
10854
10886
  code: string;
10887
+ importance?: number;
10855
10888
  }[];
10856
10889
  operatorRef?: string;
10857
10890
  destinationStopPointRef?: string;
@@ -11269,10 +11302,11 @@ interface components$1 {
11269
11302
  };
11270
11303
  trainNumber?: string;
11271
11304
  attribute: {
11272
- userText: {
11305
+ text: {
11273
11306
  text: string;
11274
11307
  };
11275
11308
  code: string;
11309
+ importance?: number;
11276
11310
  }[];
11277
11311
  operatorRef?: string;
11278
11312
  destinationStopPointRef?: string;
@@ -11714,10 +11748,11 @@ interface components$1 {
11714
11748
  };
11715
11749
  trainNumber?: string;
11716
11750
  attribute: {
11717
- userText: {
11751
+ text: {
11718
11752
  text: string;
11719
11753
  };
11720
11754
  code: string;
11755
+ importance?: number;
11721
11756
  }[];
11722
11757
  operatorRef?: string;
11723
11758
  destinationStopPointRef?: string;
@@ -12142,10 +12177,11 @@ interface components$1 {
12142
12177
  };
12143
12178
  trainNumber?: string;
12144
12179
  attribute: {
12145
- userText: {
12180
+ text: {
12146
12181
  text: string;
12147
12182
  };
12148
12183
  code: string;
12184
+ importance?: number;
12149
12185
  }[];
12150
12186
  operatorRef?: string;
12151
12187
  destinationStopPointRef?: string;
@@ -12578,10 +12614,11 @@ interface components$1 {
12578
12614
  };
12579
12615
  trainNumber?: string;
12580
12616
  attribute: {
12581
- userText: {
12617
+ text: {
12582
12618
  text: string;
12583
12619
  };
12584
12620
  code: string;
12621
+ importance?: number;
12585
12622
  }[];
12586
12623
  operatorRef?: string;
12587
12624
  destinationStopPointRef?: string;
@@ -12969,6 +13006,8 @@ interface components {
12969
13006
  }
12970
13007
 
12971
13008
  type OJPv1_DatedJourneySchema = components$g['schemas']['DatedJourney'];
13009
+ type OJPv1_LocationSchema = components$g['schemas']['Location'];
13010
+ type OJPv1_GeneralAttributeSchema = components$g['schemas']['GeneralAttribute'];
12972
13011
  type OJPv1_TimedLegSchema = components$f['schemas']['TimedLeg'];
12973
13012
  type OJPv1_TripLegSchema = components$f['schemas']['TripLeg'];
12974
13013
  type OJPv1_TripSchema = components$f['schemas']['Trip'];
@@ -13057,4 +13096,4 @@ declare const OpenAPI_Dependencies: {
13057
13096
  readonly MapStringValues: Record<string, boolean>;
13058
13097
  };
13059
13098
 
13060
- 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 GeoRestrictionsSchema, type IndividualTransportOptionSchema, 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_InitialInputSchema, type OJPv1_LocationInformationDeliverySchema, type OJPv1_LocationInformationRequestOJP, type OJPv1_LocationInformationRequestResponseOJP, type OJPv1_LocationInformationRequestSchema, type OJPv1_TimedLegSchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripSchema, OpenAPI_Dependencies, type PersonalModesEnum, 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 TrackSectionSchema, 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 };
13099
+ 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 GeoRestrictionsSchema, type IndividualTransportOptionSchema, 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_GeneralAttributeSchema, type OJPv1_InitialInputSchema, type OJPv1_LocationInformationDeliverySchema, type OJPv1_LocationInformationRequestOJP, type OJPv1_LocationInformationRequestResponseOJP, type OJPv1_LocationInformationRequestSchema, type OJPv1_LocationSchema, type OJPv1_TimedLegSchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripSchema, OpenAPI_Dependencies, type PersonalModesEnum, 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 TrackSectionSchema, 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.21";
2
+ var VERSION = "0.0.23";
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.21",
3
+ "version": "0.0.23",
4
4
  "description": "Shared types for OJP models based on OpenAPI / XSD Schema",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",