ojp-shared-types 0.1.9 → 0.1.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.1.9"
17
+ "ojp-shared-types": "0.1.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.1.9";
29
+ var VERSION = "0.1.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.1.9";
1
+ declare const VERSION = "0.1.11";
2
2
 
3
3
  interface components$k {
4
4
  schemas: {
@@ -897,6 +897,12 @@ interface components$k {
897
897
  };
898
898
  };
899
899
  };
900
+ BookingArrangementStructure: {
901
+ bookingAgencyName: {
902
+ text: string;
903
+ };
904
+ infoUrl: string;
905
+ };
900
906
  ContinuousServiceStructure: {
901
907
  /** @enum {string} */
902
908
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
@@ -917,6 +923,14 @@ interface components$k {
917
923
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
918
924
  waterSubmode?: string;
919
925
  };
926
+ bookingArrangements?: {
927
+ bookingArrangement: {
928
+ bookingAgencyName: {
929
+ text: string;
930
+ };
931
+ infoUrl: string;
932
+ }[];
933
+ };
920
934
  };
921
935
  };
922
936
  responses: never;
@@ -1371,6 +1385,13 @@ interface components$j {
1371
1385
  }[];
1372
1386
  };
1373
1387
  };
1388
+ IndividualTransportOptionsStructure: {
1389
+ mode: string;
1390
+ maxDistance?: number;
1391
+ maxDuration?: string;
1392
+ minDistance?: number;
1393
+ minDuration?: string;
1394
+ };
1374
1395
  PlaceContext: {
1375
1396
  placeRef: {
1376
1397
  stopPointRef?: string;
@@ -1384,6 +1405,13 @@ interface components$j {
1384
1405
  };
1385
1406
  };
1386
1407
  depArrTime?: string;
1408
+ individualTransportOptions?: {
1409
+ mode: string;
1410
+ maxDistance?: number;
1411
+ maxDuration?: string;
1412
+ minDistance?: number;
1413
+ minDuration?: string;
1414
+ }[];
1387
1415
  };
1388
1416
  TrackSectionStructure: {
1389
1417
  trackStart?: {
@@ -3668,6 +3696,13 @@ interface components$c {
3668
3696
  };
3669
3697
  };
3670
3698
  depArrTime?: string;
3699
+ individualTransportOptions?: {
3700
+ mode: string;
3701
+ maxDistance?: number;
3702
+ maxDuration?: string;
3703
+ minDistance?: number;
3704
+ minDuration?: string;
3705
+ }[];
3671
3706
  };
3672
3707
  params?: {
3673
3708
  includeAllRestrictedLines?: boolean;
@@ -3703,6 +3738,13 @@ interface components$c {
3703
3738
  };
3704
3739
  };
3705
3740
  depArrTime?: string;
3741
+ individualTransportOptions?: {
3742
+ mode: string;
3743
+ maxDistance?: number;
3744
+ maxDuration?: string;
3745
+ minDistance?: number;
3746
+ minDuration?: string;
3747
+ }[];
3706
3748
  };
3707
3749
  params?: {
3708
3750
  includeAllRestrictedLines?: boolean;
@@ -7397,6 +7439,14 @@ interface components$6 {
7397
7439
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
7398
7440
  waterSubmode?: string;
7399
7441
  };
7442
+ bookingArrangements?: {
7443
+ bookingArrangement: {
7444
+ bookingAgencyName: {
7445
+ text: string;
7446
+ };
7447
+ infoUrl: string;
7448
+ }[];
7449
+ };
7400
7450
  };
7401
7451
  duration: string;
7402
7452
  length?: number;
@@ -7808,6 +7858,14 @@ interface components$6 {
7808
7858
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
7809
7859
  waterSubmode?: string;
7810
7860
  };
7861
+ bookingArrangements?: {
7862
+ bookingArrangement: {
7863
+ bookingAgencyName: {
7864
+ text: string;
7865
+ };
7866
+ infoUrl: string;
7867
+ }[];
7868
+ };
7811
7869
  };
7812
7870
  duration: string;
7813
7871
  length?: number;
@@ -8232,6 +8290,14 @@ interface components$6 {
8232
8290
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
8233
8291
  waterSubmode?: string;
8234
8292
  };
8293
+ bookingArrangements?: {
8294
+ bookingArrangement: {
8295
+ bookingAgencyName: {
8296
+ text: string;
8297
+ };
8298
+ infoUrl: string;
8299
+ }[];
8300
+ };
8235
8301
  };
8236
8302
  duration: string;
8237
8303
  length?: number;
@@ -8664,6 +8730,14 @@ interface components$6 {
8664
8730
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
8665
8731
  waterSubmode?: string;
8666
8732
  };
8733
+ bookingArrangements?: {
8734
+ bookingArrangement: {
8735
+ bookingAgencyName: {
8736
+ text: string;
8737
+ };
8738
+ infoUrl: string;
8739
+ }[];
8740
+ };
8667
8741
  };
8668
8742
  duration: string;
8669
8743
  length?: number;
@@ -9262,6 +9336,14 @@ interface components$6 {
9262
9336
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
9263
9337
  waterSubmode?: string;
9264
9338
  };
9339
+ bookingArrangements?: {
9340
+ bookingArrangement: {
9341
+ bookingAgencyName: {
9342
+ text: string;
9343
+ };
9344
+ infoUrl: string;
9345
+ }[];
9346
+ };
9265
9347
  };
9266
9348
  duration: string;
9267
9349
  length?: number;
@@ -9866,6 +9948,14 @@ interface components$6 {
9866
9948
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
9867
9949
  waterSubmode?: string;
9868
9950
  };
9951
+ bookingArrangements?: {
9952
+ bookingArrangement: {
9953
+ bookingAgencyName: {
9954
+ text: string;
9955
+ };
9956
+ infoUrl: string;
9957
+ }[];
9958
+ };
9869
9959
  };
9870
9960
  duration: string;
9871
9961
  length?: number;
@@ -10001,6 +10091,23 @@ interface components$5 {
10001
10091
  includeLegProjection?: boolean;
10002
10092
  includeTurnDescription?: boolean;
10003
10093
  includeIntermediateStops?: boolean;
10094
+ extension?: {
10095
+ origin?: {
10096
+ mode: string;
10097
+ maxDistance?: number;
10098
+ maxDuration?: string;
10099
+ minDistance?: number;
10100
+ minDuration?: string;
10101
+ };
10102
+ destination?: {
10103
+ mode: string;
10104
+ maxDistance?: number;
10105
+ maxDuration?: string;
10106
+ minDistance?: number;
10107
+ minDuration?: string;
10108
+ };
10109
+ itModesToCover?: string[];
10110
+ };
10004
10111
  };
10005
10112
  ViaPoint: {
10006
10113
  viaPoint: {
@@ -10031,6 +10138,13 @@ interface components$5 {
10031
10138
  };
10032
10139
  };
10033
10140
  depArrTime?: string;
10141
+ individualTransportOptions?: {
10142
+ mode: string;
10143
+ maxDistance?: number;
10144
+ maxDuration?: string;
10145
+ minDistance?: number;
10146
+ minDuration?: string;
10147
+ }[];
10034
10148
  };
10035
10149
  destination: {
10036
10150
  placeRef: {
@@ -10045,6 +10159,13 @@ interface components$5 {
10045
10159
  };
10046
10160
  };
10047
10161
  depArrTime?: string;
10162
+ individualTransportOptions?: {
10163
+ mode: string;
10164
+ maxDistance?: number;
10165
+ maxDuration?: string;
10166
+ minDistance?: number;
10167
+ minDuration?: string;
10168
+ }[];
10048
10169
  };
10049
10170
  via: {
10050
10171
  viaPoint: {
@@ -10086,6 +10207,23 @@ interface components$5 {
10086
10207
  includeLegProjection?: boolean;
10087
10208
  includeTurnDescription?: boolean;
10088
10209
  includeIntermediateStops?: boolean;
10210
+ extension?: {
10211
+ origin?: {
10212
+ mode: string;
10213
+ maxDistance?: number;
10214
+ maxDuration?: string;
10215
+ minDistance?: number;
10216
+ minDuration?: string;
10217
+ };
10218
+ destination?: {
10219
+ mode: string;
10220
+ maxDistance?: number;
10221
+ maxDuration?: string;
10222
+ minDistance?: number;
10223
+ minDuration?: string;
10224
+ };
10225
+ itModesToCover?: string[];
10226
+ };
10089
10227
  };
10090
10228
  };
10091
10229
  OJP: {
@@ -10111,6 +10249,13 @@ interface components$5 {
10111
10249
  };
10112
10250
  };
10113
10251
  depArrTime?: string;
10252
+ individualTransportOptions?: {
10253
+ mode: string;
10254
+ maxDistance?: number;
10255
+ maxDuration?: string;
10256
+ minDistance?: number;
10257
+ minDuration?: string;
10258
+ }[];
10114
10259
  };
10115
10260
  destination: {
10116
10261
  placeRef: {
@@ -10125,6 +10270,13 @@ interface components$5 {
10125
10270
  };
10126
10271
  };
10127
10272
  depArrTime?: string;
10273
+ individualTransportOptions?: {
10274
+ mode: string;
10275
+ maxDistance?: number;
10276
+ maxDuration?: string;
10277
+ minDistance?: number;
10278
+ minDuration?: string;
10279
+ }[];
10128
10280
  };
10129
10281
  via: {
10130
10282
  viaPoint: {
@@ -10166,6 +10318,23 @@ interface components$5 {
10166
10318
  includeLegProjection?: boolean;
10167
10319
  includeTurnDescription?: boolean;
10168
10320
  includeIntermediateStops?: boolean;
10321
+ extension?: {
10322
+ origin?: {
10323
+ mode: string;
10324
+ maxDistance?: number;
10325
+ maxDuration?: string;
10326
+ minDistance?: number;
10327
+ minDuration?: string;
10328
+ };
10329
+ destination?: {
10330
+ mode: string;
10331
+ maxDistance?: number;
10332
+ maxDuration?: string;
10333
+ minDistance?: number;
10334
+ minDuration?: string;
10335
+ };
10336
+ itModesToCover?: string[];
10337
+ };
10169
10338
  };
10170
10339
  };
10171
10340
  };
@@ -10484,8 +10653,7 @@ interface components$4 {
10484
10653
  };
10485
10654
  };
10486
10655
  TransferLeg: {
10487
- /** @enum {string} */
10488
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
10656
+ transferMode?: string;
10489
10657
  legStart: {
10490
10658
  stopPointRef?: string;
10491
10659
  stopPlaceRef?: string;
@@ -10581,6 +10749,14 @@ interface components$4 {
10581
10749
  };
10582
10750
  service: {
10583
10751
  individualMode: string;
10752
+ bookingArrangements?: {
10753
+ bookingArrangement: {
10754
+ bookingAgencyName: {
10755
+ text: string;
10756
+ };
10757
+ infoUrl: string;
10758
+ }[];
10759
+ };
10584
10760
  };
10585
10761
  duration: string;
10586
10762
  length?: number;
@@ -10883,8 +11059,7 @@ interface components$4 {
10883
11059
  };
10884
11060
  };
10885
11061
  transferLeg?: {
10886
- /** @enum {string} */
10887
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
11062
+ transferMode?: string;
10888
11063
  legStart: {
10889
11064
  stopPointRef?: string;
10890
11065
  stopPlaceRef?: string;
@@ -10980,6 +11155,14 @@ interface components$4 {
10980
11155
  };
10981
11156
  service: {
10982
11157
  individualMode: string;
11158
+ bookingArrangements?: {
11159
+ bookingArrangement: {
11160
+ bookingAgencyName: {
11161
+ text: string;
11162
+ };
11163
+ infoUrl: string;
11164
+ }[];
11165
+ };
10983
11166
  };
10984
11167
  duration: string;
10985
11168
  length?: number;
@@ -11291,8 +11474,7 @@ interface components$4 {
11291
11474
  };
11292
11475
  };
11293
11476
  transferLeg?: {
11294
- /** @enum {string} */
11295
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
11477
+ transferMode?: string;
11296
11478
  legStart: {
11297
11479
  stopPointRef?: string;
11298
11480
  stopPlaceRef?: string;
@@ -11388,6 +11570,14 @@ interface components$4 {
11388
11570
  };
11389
11571
  service: {
11390
11572
  individualMode: string;
11573
+ bookingArrangements?: {
11574
+ bookingArrangement: {
11575
+ bookingAgencyName: {
11576
+ text: string;
11577
+ };
11578
+ infoUrl: string;
11579
+ }[];
11580
+ };
11391
11581
  };
11392
11582
  duration: string;
11393
11583
  length?: number;
@@ -11702,8 +11892,7 @@ interface components$4 {
11702
11892
  };
11703
11893
  };
11704
11894
  transferLeg?: {
11705
- /** @enum {string} */
11706
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
11895
+ transferMode?: string;
11707
11896
  legStart: {
11708
11897
  stopPointRef?: string;
11709
11898
  stopPlaceRef?: string;
@@ -11799,6 +11988,14 @@ interface components$4 {
11799
11988
  };
11800
11989
  service: {
11801
11990
  individualMode: string;
11991
+ bookingArrangements?: {
11992
+ bookingArrangement: {
11993
+ bookingAgencyName: {
11994
+ text: string;
11995
+ };
11996
+ infoUrl: string;
11997
+ }[];
11998
+ };
11802
11999
  };
11803
12000
  duration: string;
11804
12001
  length?: number;
@@ -12253,8 +12450,7 @@ interface components$4 {
12253
12450
  };
12254
12451
  };
12255
12452
  transferLeg?: {
12256
- /** @enum {string} */
12257
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
12453
+ transferMode?: string;
12258
12454
  legStart: {
12259
12455
  stopPointRef?: string;
12260
12456
  stopPlaceRef?: string;
@@ -12350,6 +12546,14 @@ interface components$4 {
12350
12546
  };
12351
12547
  service: {
12352
12548
  individualMode: string;
12549
+ bookingArrangements?: {
12550
+ bookingArrangement: {
12551
+ bookingAgencyName: {
12552
+ text: string;
12553
+ };
12554
+ infoUrl: string;
12555
+ }[];
12556
+ };
12353
12557
  };
12354
12558
  duration: string;
12355
12559
  length?: number;
@@ -12810,8 +13014,7 @@ interface components$4 {
12810
13014
  };
12811
13015
  };
12812
13016
  transferLeg?: {
12813
- /** @enum {string} */
12814
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
13017
+ transferMode?: string;
12815
13018
  legStart: {
12816
13019
  stopPointRef?: string;
12817
13020
  stopPlaceRef?: string;
@@ -12907,6 +13110,14 @@ interface components$4 {
12907
13110
  };
12908
13111
  service: {
12909
13112
  individualMode: string;
13113
+ bookingArrangements?: {
13114
+ bookingArrangement: {
13115
+ bookingAgencyName: {
13116
+ text: string;
13117
+ };
13118
+ infoUrl: string;
13119
+ }[];
13120
+ };
12910
13121
  };
12911
13122
  duration: string;
12912
13123
  length?: number;
@@ -13366,6 +13577,14 @@ interface components$3 {
13366
13577
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
13367
13578
  waterSubmode?: string;
13368
13579
  };
13580
+ bookingArrangements?: {
13581
+ bookingArrangement: {
13582
+ bookingAgencyName: {
13583
+ text: string;
13584
+ };
13585
+ infoUrl: string;
13586
+ }[];
13587
+ };
13369
13588
  };
13370
13589
  duration: string;
13371
13590
  length?: number;
@@ -13819,6 +14038,14 @@ interface components$3 {
13819
14038
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
13820
14039
  waterSubmode?: string;
13821
14040
  };
14041
+ bookingArrangements?: {
14042
+ bookingArrangement: {
14043
+ bookingAgencyName: {
14044
+ text: string;
14045
+ };
14046
+ infoUrl: string;
14047
+ }[];
14048
+ };
13822
14049
  };
13823
14050
  duration: string;
13824
14051
  length?: number;
@@ -14431,6 +14658,14 @@ interface components$2 {
14431
14658
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
14432
14659
  waterSubmode?: string;
14433
14660
  };
14661
+ bookingArrangements?: {
14662
+ bookingArrangement: {
14663
+ bookingAgencyName: {
14664
+ text: string;
14665
+ };
14666
+ infoUrl: string;
14667
+ }[];
14668
+ };
14434
14669
  };
14435
14670
  duration: string;
14436
14671
  length?: number;
@@ -15035,6 +15270,14 @@ interface components$2 {
15035
15270
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
15036
15271
  waterSubmode?: string;
15037
15272
  };
15273
+ bookingArrangements?: {
15274
+ bookingArrangement: {
15275
+ bookingAgencyName: {
15276
+ text: string;
15277
+ };
15278
+ infoUrl: string;
15279
+ }[];
15280
+ };
15038
15281
  };
15039
15282
  duration: string;
15040
15283
  length?: number;
@@ -15371,8 +15614,7 @@ interface components$1 {
15371
15614
  };
15372
15615
  };
15373
15616
  transferLeg?: {
15374
- /** @enum {string} */
15375
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
15617
+ transferMode?: string;
15376
15618
  legStart: {
15377
15619
  stopPointRef?: string;
15378
15620
  stopPlaceRef?: string;
@@ -15468,6 +15710,14 @@ interface components$1 {
15468
15710
  };
15469
15711
  service: {
15470
15712
  individualMode: string;
15713
+ bookingArrangements?: {
15714
+ bookingArrangement: {
15715
+ bookingAgencyName: {
15716
+ text: string;
15717
+ };
15718
+ infoUrl: string;
15719
+ }[];
15720
+ };
15471
15721
  };
15472
15722
  duration: string;
15473
15723
  length?: number;
@@ -15820,8 +16070,7 @@ interface components$1 {
15820
16070
  };
15821
16071
  };
15822
16072
  transferLeg?: {
15823
- /** @enum {string} */
15824
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
16073
+ transferMode?: string;
15825
16074
  legStart: {
15826
16075
  stopPointRef?: string;
15827
16076
  stopPlaceRef?: string;
@@ -15917,6 +16166,14 @@ interface components$1 {
15917
16166
  };
15918
16167
  service: {
15919
16168
  individualMode: string;
16169
+ bookingArrangements?: {
16170
+ bookingArrangement: {
16171
+ bookingAgencyName: {
16172
+ text: string;
16173
+ };
16174
+ infoUrl: string;
16175
+ }[];
16176
+ };
15920
16177
  };
15921
16178
  duration: string;
15922
16179
  length?: number;
@@ -16252,8 +16509,7 @@ interface components$1 {
16252
16509
  };
16253
16510
  };
16254
16511
  transferLeg?: {
16255
- /** @enum {string} */
16256
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
16512
+ transferMode?: string;
16257
16513
  legStart: {
16258
16514
  stopPointRef?: string;
16259
16515
  stopPlaceRef?: string;
@@ -16349,6 +16605,14 @@ interface components$1 {
16349
16605
  };
16350
16606
  service: {
16351
16607
  individualMode: string;
16608
+ bookingArrangements?: {
16609
+ bookingArrangement: {
16610
+ bookingAgencyName: {
16611
+ text: string;
16612
+ };
16613
+ infoUrl: string;
16614
+ }[];
16615
+ };
16352
16616
  };
16353
16617
  duration: string;
16354
16618
  length?: number;
@@ -16692,8 +16956,7 @@ interface components$1 {
16692
16956
  };
16693
16957
  };
16694
16958
  transferLeg?: {
16695
- /** @enum {string} */
16696
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
16959
+ transferMode?: string;
16697
16960
  legStart: {
16698
16961
  stopPointRef?: string;
16699
16962
  stopPlaceRef?: string;
@@ -16789,6 +17052,14 @@ interface components$1 {
16789
17052
  };
16790
17053
  service: {
16791
17054
  individualMode: string;
17055
+ bookingArrangements?: {
17056
+ bookingArrangement: {
17057
+ bookingAgencyName: {
17058
+ text: string;
17059
+ };
17060
+ infoUrl: string;
17061
+ }[];
17062
+ };
16792
17063
  };
16793
17064
  duration: string;
16794
17065
  length?: number;
@@ -17058,8 +17329,11 @@ type OJPv1_TrackSectionSchema = components$j['schemas']['TrackSectionStructure']
17058
17329
  type ResponseContextSchema = components$k['schemas']['ResponseContextStructure'];
17059
17330
  type OJPv1_ResponseContextSchema = components$j['schemas']['ResponseContextStructure'];
17060
17331
  type IndividualTransportOptionSchema = components$k['schemas']['IndividualTransportOptionStructure'];
17332
+ type OJPv1_IndividualTransportOptionSchema = components$j['schemas']['IndividualTransportOptionsStructure'];
17333
+ type PersonalModesOfOperationEnum = components$k['schemas']['PersonalModesOfOperationEnumeration'];
17061
17334
  type LinkProjectionSchema = components$k['schemas']['LinkProjection'];
17062
17335
  type ContinuousServiceSchema = components$k['schemas']['ContinuousServiceStructure'];
17336
+ type BookingArrangementStructure = components$k['schemas']['BookingArrangementStructure'];
17063
17337
  type PtSituationElement = components$k['schemas']['PtSituationElementStructure'];
17064
17338
  type OJPv1_PtSituationElement = components$j['schemas']['PtSituationElementStructure'];
17065
17339
  type PtSituationFullRefSchema = components$k['schemas']['SituationFullRefStructure'];
@@ -17142,4 +17416,4 @@ declare const OpenAPI_Dependencies: {
17142
17416
  readonly MapStringValues: Record<string, boolean>;
17143
17417
  };
17144
17418
 
17145
- export { type AddressSchema, type CallAtStopSchema, type ContinuousLegSchema, type ContinuousServiceSchema, type DatedJourneySchema, type ExpectedDepartureOccupancySchema, type FareClassEnum, 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 LegTrackSchema, type LinkProjectionSchema, 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_LocationResultSchema, type OJPv1_LocationSchema, type OJPv1_PathGuidanceSectionSchema, type OJPv1_PlaceContextSchema, type OJPv1_PlaceRefSchema, type OJPv1_PointOfInterestSchema, type OJPv1_PtSituationElement, type OJPv1_ResponseContextSchema, type OJPv1_StopEventDeliverySchema, type OJPv1_StopEventRequestOJP, type OJPv1_StopEventRequestSchema, type OJPv1_StopEventResponseOJP, type OJPv1_StopEventResultSchema, type OJPv1_TimedLegSchema, type OJPv1_TrackSectionSchema, type OJPv1_TripDeliverySchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripParamsSchema, type OJPv1_TripRequestOJP, type OJPv1_TripRequestResponseOJP, type OJPv1_TripRequestSchema, type OJPv1_TripResultSchema, type OJPv1_TripSchema, type OJPv1_ViaPointSchema, type OccupancyLevelEnum, OpenAPI_Dependencies, type OptimisationMethodEnum, type PathGuidanceSectionSchema, type PersonalModesEnum, type PlaceContextSchema, type PlaceRefSchema, type PlaceResultSchema, type PlaceSchema, type PlaceTypeEnum, type PointOfInterestSchema, type ProductCategorySchema, type PtSituationElement, type PtSituationFullRefSchema, type RailSubmodeEnum, type ResponseContextSchema, type SER_RequestLocationSchema, type SER_RequestOJP, type SER_RequestParamsSchema, type ServiceArrivalDepartureSchema, 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 TransferTypeEnum, 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 };
17419
+ export { type AddressSchema, type BookingArrangementStructure, type CallAtStopSchema, type ContinuousLegSchema, type ContinuousServiceSchema, type DatedJourneySchema, type ExpectedDepartureOccupancySchema, type FareClassEnum, 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 LegTrackSchema, type LinkProjectionSchema, type LocationInformationDeliverySchema, type LocationInformationRequestOJP, type LocationInformationRequestResponseOJP, type LocationInformationRequestSchema, type ModeFilterSchema, type ModeStructureSchema, type OJPv1_DatedJourneySchema, type OJPv1_GeneralAttributeSchema, type OJPv1_IndividualTransportOptionSchema, type OJPv1_InitialInputSchema, type OJPv1_LocationInformationDeliverySchema, type OJPv1_LocationInformationRequestOJP, type OJPv1_LocationInformationRequestResponseOJP, type OJPv1_LocationInformationRequestSchema, type OJPv1_LocationResultSchema, type OJPv1_LocationSchema, type OJPv1_PathGuidanceSectionSchema, type OJPv1_PlaceContextSchema, type OJPv1_PlaceRefSchema, type OJPv1_PointOfInterestSchema, type OJPv1_PtSituationElement, type OJPv1_ResponseContextSchema, type OJPv1_StopEventDeliverySchema, type OJPv1_StopEventRequestOJP, type OJPv1_StopEventRequestSchema, type OJPv1_StopEventResponseOJP, type OJPv1_StopEventResultSchema, type OJPv1_TimedLegSchema, type OJPv1_TrackSectionSchema, type OJPv1_TripDeliverySchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripParamsSchema, type OJPv1_TripRequestOJP, type OJPv1_TripRequestResponseOJP, type OJPv1_TripRequestSchema, type OJPv1_TripResultSchema, type OJPv1_TripSchema, type OJPv1_ViaPointSchema, type OccupancyLevelEnum, OpenAPI_Dependencies, type OptimisationMethodEnum, type PathGuidanceSectionSchema, type PersonalModesEnum, type PersonalModesOfOperationEnum, type PlaceContextSchema, type PlaceRefSchema, type PlaceResultSchema, type PlaceSchema, type PlaceTypeEnum, type PointOfInterestSchema, type ProductCategorySchema, type PtSituationElement, type PtSituationFullRefSchema, type RailSubmodeEnum, type ResponseContextSchema, type SER_RequestLocationSchema, type SER_RequestOJP, type SER_RequestParamsSchema, type ServiceArrivalDepartureSchema, 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 TransferTypeEnum, 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.1.9";
1
+ declare const VERSION = "0.1.11";
2
2
 
3
3
  interface components$k {
4
4
  schemas: {
@@ -897,6 +897,12 @@ interface components$k {
897
897
  };
898
898
  };
899
899
  };
900
+ BookingArrangementStructure: {
901
+ bookingAgencyName: {
902
+ text: string;
903
+ };
904
+ infoUrl: string;
905
+ };
900
906
  ContinuousServiceStructure: {
901
907
  /** @enum {string} */
902
908
  personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
@@ -917,6 +923,14 @@ interface components$k {
917
923
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
918
924
  waterSubmode?: string;
919
925
  };
926
+ bookingArrangements?: {
927
+ bookingArrangement: {
928
+ bookingAgencyName: {
929
+ text: string;
930
+ };
931
+ infoUrl: string;
932
+ }[];
933
+ };
920
934
  };
921
935
  };
922
936
  responses: never;
@@ -1371,6 +1385,13 @@ interface components$j {
1371
1385
  }[];
1372
1386
  };
1373
1387
  };
1388
+ IndividualTransportOptionsStructure: {
1389
+ mode: string;
1390
+ maxDistance?: number;
1391
+ maxDuration?: string;
1392
+ minDistance?: number;
1393
+ minDuration?: string;
1394
+ };
1374
1395
  PlaceContext: {
1375
1396
  placeRef: {
1376
1397
  stopPointRef?: string;
@@ -1384,6 +1405,13 @@ interface components$j {
1384
1405
  };
1385
1406
  };
1386
1407
  depArrTime?: string;
1408
+ individualTransportOptions?: {
1409
+ mode: string;
1410
+ maxDistance?: number;
1411
+ maxDuration?: string;
1412
+ minDistance?: number;
1413
+ minDuration?: string;
1414
+ }[];
1387
1415
  };
1388
1416
  TrackSectionStructure: {
1389
1417
  trackStart?: {
@@ -3668,6 +3696,13 @@ interface components$c {
3668
3696
  };
3669
3697
  };
3670
3698
  depArrTime?: string;
3699
+ individualTransportOptions?: {
3700
+ mode: string;
3701
+ maxDistance?: number;
3702
+ maxDuration?: string;
3703
+ minDistance?: number;
3704
+ minDuration?: string;
3705
+ }[];
3671
3706
  };
3672
3707
  params?: {
3673
3708
  includeAllRestrictedLines?: boolean;
@@ -3703,6 +3738,13 @@ interface components$c {
3703
3738
  };
3704
3739
  };
3705
3740
  depArrTime?: string;
3741
+ individualTransportOptions?: {
3742
+ mode: string;
3743
+ maxDistance?: number;
3744
+ maxDuration?: string;
3745
+ minDistance?: number;
3746
+ minDuration?: string;
3747
+ }[];
3706
3748
  };
3707
3749
  params?: {
3708
3750
  includeAllRestrictedLines?: boolean;
@@ -7397,6 +7439,14 @@ interface components$6 {
7397
7439
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
7398
7440
  waterSubmode?: string;
7399
7441
  };
7442
+ bookingArrangements?: {
7443
+ bookingArrangement: {
7444
+ bookingAgencyName: {
7445
+ text: string;
7446
+ };
7447
+ infoUrl: string;
7448
+ }[];
7449
+ };
7400
7450
  };
7401
7451
  duration: string;
7402
7452
  length?: number;
@@ -7808,6 +7858,14 @@ interface components$6 {
7808
7858
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
7809
7859
  waterSubmode?: string;
7810
7860
  };
7861
+ bookingArrangements?: {
7862
+ bookingArrangement: {
7863
+ bookingAgencyName: {
7864
+ text: string;
7865
+ };
7866
+ infoUrl: string;
7867
+ }[];
7868
+ };
7811
7869
  };
7812
7870
  duration: string;
7813
7871
  length?: number;
@@ -8232,6 +8290,14 @@ interface components$6 {
8232
8290
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
8233
8291
  waterSubmode?: string;
8234
8292
  };
8293
+ bookingArrangements?: {
8294
+ bookingArrangement: {
8295
+ bookingAgencyName: {
8296
+ text: string;
8297
+ };
8298
+ infoUrl: string;
8299
+ }[];
8300
+ };
8235
8301
  };
8236
8302
  duration: string;
8237
8303
  length?: number;
@@ -8664,6 +8730,14 @@ interface components$6 {
8664
8730
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
8665
8731
  waterSubmode?: string;
8666
8732
  };
8733
+ bookingArrangements?: {
8734
+ bookingArrangement: {
8735
+ bookingAgencyName: {
8736
+ text: string;
8737
+ };
8738
+ infoUrl: string;
8739
+ }[];
8740
+ };
8667
8741
  };
8668
8742
  duration: string;
8669
8743
  length?: number;
@@ -9262,6 +9336,14 @@ interface components$6 {
9262
9336
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
9263
9337
  waterSubmode?: string;
9264
9338
  };
9339
+ bookingArrangements?: {
9340
+ bookingArrangement: {
9341
+ bookingAgencyName: {
9342
+ text: string;
9343
+ };
9344
+ infoUrl: string;
9345
+ }[];
9346
+ };
9265
9347
  };
9266
9348
  duration: string;
9267
9349
  length?: number;
@@ -9866,6 +9948,14 @@ interface components$6 {
9866
9948
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
9867
9949
  waterSubmode?: string;
9868
9950
  };
9951
+ bookingArrangements?: {
9952
+ bookingArrangement: {
9953
+ bookingAgencyName: {
9954
+ text: string;
9955
+ };
9956
+ infoUrl: string;
9957
+ }[];
9958
+ };
9869
9959
  };
9870
9960
  duration: string;
9871
9961
  length?: number;
@@ -10001,6 +10091,23 @@ interface components$5 {
10001
10091
  includeLegProjection?: boolean;
10002
10092
  includeTurnDescription?: boolean;
10003
10093
  includeIntermediateStops?: boolean;
10094
+ extension?: {
10095
+ origin?: {
10096
+ mode: string;
10097
+ maxDistance?: number;
10098
+ maxDuration?: string;
10099
+ minDistance?: number;
10100
+ minDuration?: string;
10101
+ };
10102
+ destination?: {
10103
+ mode: string;
10104
+ maxDistance?: number;
10105
+ maxDuration?: string;
10106
+ minDistance?: number;
10107
+ minDuration?: string;
10108
+ };
10109
+ itModesToCover?: string[];
10110
+ };
10004
10111
  };
10005
10112
  ViaPoint: {
10006
10113
  viaPoint: {
@@ -10031,6 +10138,13 @@ interface components$5 {
10031
10138
  };
10032
10139
  };
10033
10140
  depArrTime?: string;
10141
+ individualTransportOptions?: {
10142
+ mode: string;
10143
+ maxDistance?: number;
10144
+ maxDuration?: string;
10145
+ minDistance?: number;
10146
+ minDuration?: string;
10147
+ }[];
10034
10148
  };
10035
10149
  destination: {
10036
10150
  placeRef: {
@@ -10045,6 +10159,13 @@ interface components$5 {
10045
10159
  };
10046
10160
  };
10047
10161
  depArrTime?: string;
10162
+ individualTransportOptions?: {
10163
+ mode: string;
10164
+ maxDistance?: number;
10165
+ maxDuration?: string;
10166
+ minDistance?: number;
10167
+ minDuration?: string;
10168
+ }[];
10048
10169
  };
10049
10170
  via: {
10050
10171
  viaPoint: {
@@ -10086,6 +10207,23 @@ interface components$5 {
10086
10207
  includeLegProjection?: boolean;
10087
10208
  includeTurnDescription?: boolean;
10088
10209
  includeIntermediateStops?: boolean;
10210
+ extension?: {
10211
+ origin?: {
10212
+ mode: string;
10213
+ maxDistance?: number;
10214
+ maxDuration?: string;
10215
+ minDistance?: number;
10216
+ minDuration?: string;
10217
+ };
10218
+ destination?: {
10219
+ mode: string;
10220
+ maxDistance?: number;
10221
+ maxDuration?: string;
10222
+ minDistance?: number;
10223
+ minDuration?: string;
10224
+ };
10225
+ itModesToCover?: string[];
10226
+ };
10089
10227
  };
10090
10228
  };
10091
10229
  OJP: {
@@ -10111,6 +10249,13 @@ interface components$5 {
10111
10249
  };
10112
10250
  };
10113
10251
  depArrTime?: string;
10252
+ individualTransportOptions?: {
10253
+ mode: string;
10254
+ maxDistance?: number;
10255
+ maxDuration?: string;
10256
+ minDistance?: number;
10257
+ minDuration?: string;
10258
+ }[];
10114
10259
  };
10115
10260
  destination: {
10116
10261
  placeRef: {
@@ -10125,6 +10270,13 @@ interface components$5 {
10125
10270
  };
10126
10271
  };
10127
10272
  depArrTime?: string;
10273
+ individualTransportOptions?: {
10274
+ mode: string;
10275
+ maxDistance?: number;
10276
+ maxDuration?: string;
10277
+ minDistance?: number;
10278
+ minDuration?: string;
10279
+ }[];
10128
10280
  };
10129
10281
  via: {
10130
10282
  viaPoint: {
@@ -10166,6 +10318,23 @@ interface components$5 {
10166
10318
  includeLegProjection?: boolean;
10167
10319
  includeTurnDescription?: boolean;
10168
10320
  includeIntermediateStops?: boolean;
10321
+ extension?: {
10322
+ origin?: {
10323
+ mode: string;
10324
+ maxDistance?: number;
10325
+ maxDuration?: string;
10326
+ minDistance?: number;
10327
+ minDuration?: string;
10328
+ };
10329
+ destination?: {
10330
+ mode: string;
10331
+ maxDistance?: number;
10332
+ maxDuration?: string;
10333
+ minDistance?: number;
10334
+ minDuration?: string;
10335
+ };
10336
+ itModesToCover?: string[];
10337
+ };
10169
10338
  };
10170
10339
  };
10171
10340
  };
@@ -10484,8 +10653,7 @@ interface components$4 {
10484
10653
  };
10485
10654
  };
10486
10655
  TransferLeg: {
10487
- /** @enum {string} */
10488
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
10656
+ transferMode?: string;
10489
10657
  legStart: {
10490
10658
  stopPointRef?: string;
10491
10659
  stopPlaceRef?: string;
@@ -10581,6 +10749,14 @@ interface components$4 {
10581
10749
  };
10582
10750
  service: {
10583
10751
  individualMode: string;
10752
+ bookingArrangements?: {
10753
+ bookingArrangement: {
10754
+ bookingAgencyName: {
10755
+ text: string;
10756
+ };
10757
+ infoUrl: string;
10758
+ }[];
10759
+ };
10584
10760
  };
10585
10761
  duration: string;
10586
10762
  length?: number;
@@ -10883,8 +11059,7 @@ interface components$4 {
10883
11059
  };
10884
11060
  };
10885
11061
  transferLeg?: {
10886
- /** @enum {string} */
10887
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
11062
+ transferMode?: string;
10888
11063
  legStart: {
10889
11064
  stopPointRef?: string;
10890
11065
  stopPlaceRef?: string;
@@ -10980,6 +11155,14 @@ interface components$4 {
10980
11155
  };
10981
11156
  service: {
10982
11157
  individualMode: string;
11158
+ bookingArrangements?: {
11159
+ bookingArrangement: {
11160
+ bookingAgencyName: {
11161
+ text: string;
11162
+ };
11163
+ infoUrl: string;
11164
+ }[];
11165
+ };
10983
11166
  };
10984
11167
  duration: string;
10985
11168
  length?: number;
@@ -11291,8 +11474,7 @@ interface components$4 {
11291
11474
  };
11292
11475
  };
11293
11476
  transferLeg?: {
11294
- /** @enum {string} */
11295
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
11477
+ transferMode?: string;
11296
11478
  legStart: {
11297
11479
  stopPointRef?: string;
11298
11480
  stopPlaceRef?: string;
@@ -11388,6 +11570,14 @@ interface components$4 {
11388
11570
  };
11389
11571
  service: {
11390
11572
  individualMode: string;
11573
+ bookingArrangements?: {
11574
+ bookingArrangement: {
11575
+ bookingAgencyName: {
11576
+ text: string;
11577
+ };
11578
+ infoUrl: string;
11579
+ }[];
11580
+ };
11391
11581
  };
11392
11582
  duration: string;
11393
11583
  length?: number;
@@ -11702,8 +11892,7 @@ interface components$4 {
11702
11892
  };
11703
11893
  };
11704
11894
  transferLeg?: {
11705
- /** @enum {string} */
11706
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
11895
+ transferMode?: string;
11707
11896
  legStart: {
11708
11897
  stopPointRef?: string;
11709
11898
  stopPlaceRef?: string;
@@ -11799,6 +11988,14 @@ interface components$4 {
11799
11988
  };
11800
11989
  service: {
11801
11990
  individualMode: string;
11991
+ bookingArrangements?: {
11992
+ bookingArrangement: {
11993
+ bookingAgencyName: {
11994
+ text: string;
11995
+ };
11996
+ infoUrl: string;
11997
+ }[];
11998
+ };
11802
11999
  };
11803
12000
  duration: string;
11804
12001
  length?: number;
@@ -12253,8 +12450,7 @@ interface components$4 {
12253
12450
  };
12254
12451
  };
12255
12452
  transferLeg?: {
12256
- /** @enum {string} */
12257
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
12453
+ transferMode?: string;
12258
12454
  legStart: {
12259
12455
  stopPointRef?: string;
12260
12456
  stopPlaceRef?: string;
@@ -12350,6 +12546,14 @@ interface components$4 {
12350
12546
  };
12351
12547
  service: {
12352
12548
  individualMode: string;
12549
+ bookingArrangements?: {
12550
+ bookingArrangement: {
12551
+ bookingAgencyName: {
12552
+ text: string;
12553
+ };
12554
+ infoUrl: string;
12555
+ }[];
12556
+ };
12353
12557
  };
12354
12558
  duration: string;
12355
12559
  length?: number;
@@ -12810,8 +13014,7 @@ interface components$4 {
12810
13014
  };
12811
13015
  };
12812
13016
  transferLeg?: {
12813
- /** @enum {string} */
12814
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
13017
+ transferMode?: string;
12815
13018
  legStart: {
12816
13019
  stopPointRef?: string;
12817
13020
  stopPlaceRef?: string;
@@ -12907,6 +13110,14 @@ interface components$4 {
12907
13110
  };
12908
13111
  service: {
12909
13112
  individualMode: string;
13113
+ bookingArrangements?: {
13114
+ bookingArrangement: {
13115
+ bookingAgencyName: {
13116
+ text: string;
13117
+ };
13118
+ infoUrl: string;
13119
+ }[];
13120
+ };
12910
13121
  };
12911
13122
  duration: string;
12912
13123
  length?: number;
@@ -13366,6 +13577,14 @@ interface components$3 {
13366
13577
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
13367
13578
  waterSubmode?: string;
13368
13579
  };
13580
+ bookingArrangements?: {
13581
+ bookingArrangement: {
13582
+ bookingAgencyName: {
13583
+ text: string;
13584
+ };
13585
+ infoUrl: string;
13586
+ }[];
13587
+ };
13369
13588
  };
13370
13589
  duration: string;
13371
13590
  length?: number;
@@ -13819,6 +14038,14 @@ interface components$3 {
13819
14038
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
13820
14039
  waterSubmode?: string;
13821
14040
  };
14041
+ bookingArrangements?: {
14042
+ bookingArrangement: {
14043
+ bookingAgencyName: {
14044
+ text: string;
14045
+ };
14046
+ infoUrl: string;
14047
+ }[];
14048
+ };
13822
14049
  };
13823
14050
  duration: string;
13824
14051
  length?: number;
@@ -14431,6 +14658,14 @@ interface components$2 {
14431
14658
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
14432
14659
  waterSubmode?: string;
14433
14660
  };
14661
+ bookingArrangements?: {
14662
+ bookingArrangement: {
14663
+ bookingAgencyName: {
14664
+ text: string;
14665
+ };
14666
+ infoUrl: string;
14667
+ }[];
14668
+ };
14434
14669
  };
14435
14670
  duration: string;
14436
14671
  length?: number;
@@ -15035,6 +15270,14 @@ interface components$2 {
15035
15270
  railSubmode?: "international" | "highSpeedRail" | "interregionalRail" | "railShuttle" | "local" | "vehicleTunnelTransportRailService";
15036
15271
  waterSubmode?: string;
15037
15272
  };
15273
+ bookingArrangements?: {
15274
+ bookingArrangement: {
15275
+ bookingAgencyName: {
15276
+ text: string;
15277
+ };
15278
+ infoUrl: string;
15279
+ }[];
15280
+ };
15038
15281
  };
15039
15282
  duration: string;
15040
15283
  length?: number;
@@ -15371,8 +15614,7 @@ interface components$1 {
15371
15614
  };
15372
15615
  };
15373
15616
  transferLeg?: {
15374
- /** @enum {string} */
15375
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
15617
+ transferMode?: string;
15376
15618
  legStart: {
15377
15619
  stopPointRef?: string;
15378
15620
  stopPlaceRef?: string;
@@ -15468,6 +15710,14 @@ interface components$1 {
15468
15710
  };
15469
15711
  service: {
15470
15712
  individualMode: string;
15713
+ bookingArrangements?: {
15714
+ bookingArrangement: {
15715
+ bookingAgencyName: {
15716
+ text: string;
15717
+ };
15718
+ infoUrl: string;
15719
+ }[];
15720
+ };
15471
15721
  };
15472
15722
  duration: string;
15473
15723
  length?: number;
@@ -15820,8 +16070,7 @@ interface components$1 {
15820
16070
  };
15821
16071
  };
15822
16072
  transferLeg?: {
15823
- /** @enum {string} */
15824
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
16073
+ transferMode?: string;
15825
16074
  legStart: {
15826
16075
  stopPointRef?: string;
15827
16076
  stopPlaceRef?: string;
@@ -15917,6 +16166,14 @@ interface components$1 {
15917
16166
  };
15918
16167
  service: {
15919
16168
  individualMode: string;
16169
+ bookingArrangements?: {
16170
+ bookingArrangement: {
16171
+ bookingAgencyName: {
16172
+ text: string;
16173
+ };
16174
+ infoUrl: string;
16175
+ }[];
16176
+ };
15920
16177
  };
15921
16178
  duration: string;
15922
16179
  length?: number;
@@ -16252,8 +16509,7 @@ interface components$1 {
16252
16509
  };
16253
16510
  };
16254
16511
  transferLeg?: {
16255
- /** @enum {string} */
16256
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
16512
+ transferMode?: string;
16257
16513
  legStart: {
16258
16514
  stopPointRef?: string;
16259
16515
  stopPlaceRef?: string;
@@ -16349,6 +16605,14 @@ interface components$1 {
16349
16605
  };
16350
16606
  service: {
16351
16607
  individualMode: string;
16608
+ bookingArrangements?: {
16609
+ bookingArrangement: {
16610
+ bookingAgencyName: {
16611
+ text: string;
16612
+ };
16613
+ infoUrl: string;
16614
+ }[];
16615
+ };
16352
16616
  };
16353
16617
  duration: string;
16354
16618
  length?: number;
@@ -16692,8 +16956,7 @@ interface components$1 {
16692
16956
  };
16693
16957
  };
16694
16958
  transferLeg?: {
16695
- /** @enum {string} */
16696
- transferType: "walk" | "remainInVehicle" | "changeWithinVehicle";
16959
+ transferMode?: string;
16697
16960
  legStart: {
16698
16961
  stopPointRef?: string;
16699
16962
  stopPlaceRef?: string;
@@ -16789,6 +17052,14 @@ interface components$1 {
16789
17052
  };
16790
17053
  service: {
16791
17054
  individualMode: string;
17055
+ bookingArrangements?: {
17056
+ bookingArrangement: {
17057
+ bookingAgencyName: {
17058
+ text: string;
17059
+ };
17060
+ infoUrl: string;
17061
+ }[];
17062
+ };
16792
17063
  };
16793
17064
  duration: string;
16794
17065
  length?: number;
@@ -17058,8 +17329,11 @@ type OJPv1_TrackSectionSchema = components$j['schemas']['TrackSectionStructure']
17058
17329
  type ResponseContextSchema = components$k['schemas']['ResponseContextStructure'];
17059
17330
  type OJPv1_ResponseContextSchema = components$j['schemas']['ResponseContextStructure'];
17060
17331
  type IndividualTransportOptionSchema = components$k['schemas']['IndividualTransportOptionStructure'];
17332
+ type OJPv1_IndividualTransportOptionSchema = components$j['schemas']['IndividualTransportOptionsStructure'];
17333
+ type PersonalModesOfOperationEnum = components$k['schemas']['PersonalModesOfOperationEnumeration'];
17061
17334
  type LinkProjectionSchema = components$k['schemas']['LinkProjection'];
17062
17335
  type ContinuousServiceSchema = components$k['schemas']['ContinuousServiceStructure'];
17336
+ type BookingArrangementStructure = components$k['schemas']['BookingArrangementStructure'];
17063
17337
  type PtSituationElement = components$k['schemas']['PtSituationElementStructure'];
17064
17338
  type OJPv1_PtSituationElement = components$j['schemas']['PtSituationElementStructure'];
17065
17339
  type PtSituationFullRefSchema = components$k['schemas']['SituationFullRefStructure'];
@@ -17142,4 +17416,4 @@ declare const OpenAPI_Dependencies: {
17142
17416
  readonly MapStringValues: Record<string, boolean>;
17143
17417
  };
17144
17418
 
17145
- export { type AddressSchema, type CallAtStopSchema, type ContinuousLegSchema, type ContinuousServiceSchema, type DatedJourneySchema, type ExpectedDepartureOccupancySchema, type FareClassEnum, 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 LegTrackSchema, type LinkProjectionSchema, 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_LocationResultSchema, type OJPv1_LocationSchema, type OJPv1_PathGuidanceSectionSchema, type OJPv1_PlaceContextSchema, type OJPv1_PlaceRefSchema, type OJPv1_PointOfInterestSchema, type OJPv1_PtSituationElement, type OJPv1_ResponseContextSchema, type OJPv1_StopEventDeliverySchema, type OJPv1_StopEventRequestOJP, type OJPv1_StopEventRequestSchema, type OJPv1_StopEventResponseOJP, type OJPv1_StopEventResultSchema, type OJPv1_TimedLegSchema, type OJPv1_TrackSectionSchema, type OJPv1_TripDeliverySchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripParamsSchema, type OJPv1_TripRequestOJP, type OJPv1_TripRequestResponseOJP, type OJPv1_TripRequestSchema, type OJPv1_TripResultSchema, type OJPv1_TripSchema, type OJPv1_ViaPointSchema, type OccupancyLevelEnum, OpenAPI_Dependencies, type OptimisationMethodEnum, type PathGuidanceSectionSchema, type PersonalModesEnum, type PlaceContextSchema, type PlaceRefSchema, type PlaceResultSchema, type PlaceSchema, type PlaceTypeEnum, type PointOfInterestSchema, type ProductCategorySchema, type PtSituationElement, type PtSituationFullRefSchema, type RailSubmodeEnum, type ResponseContextSchema, type SER_RequestLocationSchema, type SER_RequestOJP, type SER_RequestParamsSchema, type ServiceArrivalDepartureSchema, 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 TransferTypeEnum, 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 };
17419
+ export { type AddressSchema, type BookingArrangementStructure, type CallAtStopSchema, type ContinuousLegSchema, type ContinuousServiceSchema, type DatedJourneySchema, type ExpectedDepartureOccupancySchema, type FareClassEnum, 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 LegTrackSchema, type LinkProjectionSchema, type LocationInformationDeliverySchema, type LocationInformationRequestOJP, type LocationInformationRequestResponseOJP, type LocationInformationRequestSchema, type ModeFilterSchema, type ModeStructureSchema, type OJPv1_DatedJourneySchema, type OJPv1_GeneralAttributeSchema, type OJPv1_IndividualTransportOptionSchema, type OJPv1_InitialInputSchema, type OJPv1_LocationInformationDeliverySchema, type OJPv1_LocationInformationRequestOJP, type OJPv1_LocationInformationRequestResponseOJP, type OJPv1_LocationInformationRequestSchema, type OJPv1_LocationResultSchema, type OJPv1_LocationSchema, type OJPv1_PathGuidanceSectionSchema, type OJPv1_PlaceContextSchema, type OJPv1_PlaceRefSchema, type OJPv1_PointOfInterestSchema, type OJPv1_PtSituationElement, type OJPv1_ResponseContextSchema, type OJPv1_StopEventDeliverySchema, type OJPv1_StopEventRequestOJP, type OJPv1_StopEventRequestSchema, type OJPv1_StopEventResponseOJP, type OJPv1_StopEventResultSchema, type OJPv1_TimedLegSchema, type OJPv1_TrackSectionSchema, type OJPv1_TripDeliverySchema, type OJPv1_TripInfoDeliverySchema, type OJPv1_TripInfoResponseOJP, type OJPv1_TripInfoResultStructureSchema, type OJPv1_TripLegSchema, type OJPv1_TripParamsSchema, type OJPv1_TripRequestOJP, type OJPv1_TripRequestResponseOJP, type OJPv1_TripRequestSchema, type OJPv1_TripResultSchema, type OJPv1_TripSchema, type OJPv1_ViaPointSchema, type OccupancyLevelEnum, OpenAPI_Dependencies, type OptimisationMethodEnum, type PathGuidanceSectionSchema, type PersonalModesEnum, type PersonalModesOfOperationEnum, type PlaceContextSchema, type PlaceRefSchema, type PlaceResultSchema, type PlaceSchema, type PlaceTypeEnum, type PointOfInterestSchema, type ProductCategorySchema, type PtSituationElement, type PtSituationFullRefSchema, type RailSubmodeEnum, type ResponseContextSchema, type SER_RequestLocationSchema, type SER_RequestOJP, type SER_RequestParamsSchema, type ServiceArrivalDepartureSchema, 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 TransferTypeEnum, 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.1.9";
2
+ var VERSION = "0.1.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.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Shared types for OJP models based on OpenAPI / XSD Schema",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -19,7 +19,16 @@
19
19
  "generate:ts": "bash ./scripts/generate-ts.sh",
20
20
  "prepare": "npm run build"
21
21
  },
22
- "keywords": [],
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git://github.com/openTdataCH/ojp-shared-types.git"
25
+ },
26
+ "keywords": [
27
+ "ojp",
28
+ "transit",
29
+ "mobility",
30
+ "sbb"
31
+ ],
23
32
  "author": "Vasile Cotovanu",
24
33
  "license": "MIT",
25
34
  "devDependencies": {