ojp-shared-types 0.0.18 → 0.0.19
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 +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.d.cts +150 -35
- package/dist/index.d.ts +150 -35
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
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.
|
|
29
|
+
var VERSION = "0.0.19";
|
|
30
30
|
|
|
31
31
|
// src/types/openapi-dependencies.ts
|
|
32
32
|
var MapNS_Tags = {
|
|
@@ -116,8 +116,12 @@ var MapArrayTags = {
|
|
|
116
116
|
"textualContent.recommendationContent": true,
|
|
117
117
|
"textualContent.remarkContent": true,
|
|
118
118
|
"textualContent.infoLink": true,
|
|
119
|
+
"itModeAndModeOfOperation.personalModeOfOperation": true,
|
|
119
120
|
// Service
|
|
120
121
|
"service.attribute": true,
|
|
122
|
+
// TR Request
|
|
123
|
+
"origin.individualTransportOption": true,
|
|
124
|
+
"destination.individualTransportOption": true,
|
|
121
125
|
// TR Response
|
|
122
126
|
"OJPTripDelivery.tripResult": true,
|
|
123
127
|
"trip.leg": true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
declare const VERSION = "0.0.
|
|
1
|
+
declare const VERSION = "0.0.19";
|
|
2
2
|
|
|
3
3
|
interface components$f {
|
|
4
4
|
schemas: {
|
|
5
|
+
/** @enum {string} */
|
|
6
|
+
PersonalModesEnumeration: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
7
|
+
/** @enum {string} */
|
|
8
|
+
PersonalModesOfOperationEnumeration: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
5
9
|
/** @enum {string} */
|
|
6
10
|
VehicleModesOfTransportEnum: "air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown";
|
|
7
11
|
/** @enum {string} */
|
|
@@ -30,6 +34,23 @@ interface components$f {
|
|
|
30
34
|
text: string;
|
|
31
35
|
};
|
|
32
36
|
};
|
|
37
|
+
ItModesStructure: {
|
|
38
|
+
/** @enum {string} */
|
|
39
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
40
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
41
|
+
};
|
|
42
|
+
IndividualTransportOptionStructure: {
|
|
43
|
+
itModeAndModeOfOperation: {
|
|
44
|
+
/** @enum {string} */
|
|
45
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
46
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
47
|
+
};
|
|
48
|
+
maxDistance?: number;
|
|
49
|
+
maxDuration?: string;
|
|
50
|
+
minDistance?: number;
|
|
51
|
+
minDuration?: string;
|
|
52
|
+
speed?: number;
|
|
53
|
+
};
|
|
33
54
|
PlaceContext: {
|
|
34
55
|
placeRef: {
|
|
35
56
|
stopPointRef?: string;
|
|
@@ -43,6 +64,18 @@ interface components$f {
|
|
|
43
64
|
};
|
|
44
65
|
};
|
|
45
66
|
depArrTime?: string;
|
|
67
|
+
individualTransportOption: {
|
|
68
|
+
itModeAndModeOfOperation: {
|
|
69
|
+
/** @enum {string} */
|
|
70
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
71
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
72
|
+
};
|
|
73
|
+
maxDistance?: number;
|
|
74
|
+
maxDuration?: string;
|
|
75
|
+
minDistance?: number;
|
|
76
|
+
minDuration?: string;
|
|
77
|
+
speed?: number;
|
|
78
|
+
}[];
|
|
46
79
|
};
|
|
47
80
|
ServiceRequestContext: {
|
|
48
81
|
language?: string;
|
|
@@ -1312,8 +1345,10 @@ interface components$d {
|
|
|
1312
1345
|
};
|
|
1313
1346
|
};
|
|
1314
1347
|
service: {
|
|
1315
|
-
|
|
1316
|
-
|
|
1348
|
+
/** @enum {string} */
|
|
1349
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
1350
|
+
/** @enum {string} */
|
|
1351
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
1317
1352
|
};
|
|
1318
1353
|
duration: string;
|
|
1319
1354
|
length?: number;
|
|
@@ -1714,8 +1749,10 @@ interface components$d {
|
|
|
1714
1749
|
};
|
|
1715
1750
|
};
|
|
1716
1751
|
service: {
|
|
1717
|
-
|
|
1718
|
-
|
|
1752
|
+
/** @enum {string} */
|
|
1753
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
1754
|
+
/** @enum {string} */
|
|
1755
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
1719
1756
|
};
|
|
1720
1757
|
duration: string;
|
|
1721
1758
|
length?: number;
|
|
@@ -5334,6 +5371,18 @@ interface components$5 {
|
|
|
5334
5371
|
};
|
|
5335
5372
|
};
|
|
5336
5373
|
depArrTime?: string;
|
|
5374
|
+
individualTransportOption: {
|
|
5375
|
+
itModeAndModeOfOperation: {
|
|
5376
|
+
/** @enum {string} */
|
|
5377
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
5378
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
5379
|
+
};
|
|
5380
|
+
maxDistance?: number;
|
|
5381
|
+
maxDuration?: string;
|
|
5382
|
+
minDistance?: number;
|
|
5383
|
+
minDuration?: string;
|
|
5384
|
+
speed?: number;
|
|
5385
|
+
}[];
|
|
5337
5386
|
};
|
|
5338
5387
|
destination: {
|
|
5339
5388
|
placeRef: {
|
|
@@ -5348,6 +5397,18 @@ interface components$5 {
|
|
|
5348
5397
|
};
|
|
5349
5398
|
};
|
|
5350
5399
|
depArrTime?: string;
|
|
5400
|
+
individualTransportOption: {
|
|
5401
|
+
itModeAndModeOfOperation: {
|
|
5402
|
+
/** @enum {string} */
|
|
5403
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
5404
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
5405
|
+
};
|
|
5406
|
+
maxDistance?: number;
|
|
5407
|
+
maxDuration?: string;
|
|
5408
|
+
minDistance?: number;
|
|
5409
|
+
minDuration?: string;
|
|
5410
|
+
speed?: number;
|
|
5411
|
+
}[];
|
|
5351
5412
|
};
|
|
5352
5413
|
via: {
|
|
5353
5414
|
viaPoint: {
|
|
@@ -5429,6 +5490,18 @@ interface components$5 {
|
|
|
5429
5490
|
};
|
|
5430
5491
|
};
|
|
5431
5492
|
depArrTime?: string;
|
|
5493
|
+
individualTransportOption: {
|
|
5494
|
+
itModeAndModeOfOperation: {
|
|
5495
|
+
/** @enum {string} */
|
|
5496
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
5497
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
5498
|
+
};
|
|
5499
|
+
maxDistance?: number;
|
|
5500
|
+
maxDuration?: string;
|
|
5501
|
+
minDistance?: number;
|
|
5502
|
+
minDuration?: string;
|
|
5503
|
+
speed?: number;
|
|
5504
|
+
}[];
|
|
5432
5505
|
};
|
|
5433
5506
|
destination: {
|
|
5434
5507
|
placeRef: {
|
|
@@ -5443,6 +5516,18 @@ interface components$5 {
|
|
|
5443
5516
|
};
|
|
5444
5517
|
};
|
|
5445
5518
|
depArrTime?: string;
|
|
5519
|
+
individualTransportOption: {
|
|
5520
|
+
itModeAndModeOfOperation: {
|
|
5521
|
+
/** @enum {string} */
|
|
5522
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
5523
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
5524
|
+
};
|
|
5525
|
+
maxDistance?: number;
|
|
5526
|
+
maxDuration?: string;
|
|
5527
|
+
minDistance?: number;
|
|
5528
|
+
minDuration?: string;
|
|
5529
|
+
speed?: number;
|
|
5530
|
+
}[];
|
|
5446
5531
|
};
|
|
5447
5532
|
via: {
|
|
5448
5533
|
viaPoint: {
|
|
@@ -5708,8 +5793,10 @@ interface components$4 {
|
|
|
5708
5793
|
}[];
|
|
5709
5794
|
};
|
|
5710
5795
|
ContinuousService: {
|
|
5711
|
-
|
|
5712
|
-
|
|
5796
|
+
/** @enum {string} */
|
|
5797
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
5798
|
+
/** @enum {string} */
|
|
5799
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
5713
5800
|
};
|
|
5714
5801
|
TimedLeg: {
|
|
5715
5802
|
legBoard: {
|
|
@@ -6010,8 +6097,10 @@ interface components$4 {
|
|
|
6010
6097
|
};
|
|
6011
6098
|
};
|
|
6012
6099
|
service: {
|
|
6013
|
-
|
|
6014
|
-
|
|
6100
|
+
/** @enum {string} */
|
|
6101
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
6102
|
+
/** @enum {string} */
|
|
6103
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
6015
6104
|
};
|
|
6016
6105
|
duration: string;
|
|
6017
6106
|
length?: number;
|
|
@@ -6398,8 +6487,10 @@ interface components$4 {
|
|
|
6398
6487
|
};
|
|
6399
6488
|
};
|
|
6400
6489
|
service: {
|
|
6401
|
-
|
|
6402
|
-
|
|
6490
|
+
/** @enum {string} */
|
|
6491
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
6492
|
+
/** @enum {string} */
|
|
6493
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
6403
6494
|
};
|
|
6404
6495
|
duration: string;
|
|
6405
6496
|
length?: number;
|
|
@@ -6796,8 +6887,10 @@ interface components$4 {
|
|
|
6796
6887
|
};
|
|
6797
6888
|
};
|
|
6798
6889
|
service: {
|
|
6799
|
-
|
|
6800
|
-
|
|
6890
|
+
/** @enum {string} */
|
|
6891
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
6892
|
+
/** @enum {string} */
|
|
6893
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
6801
6894
|
};
|
|
6802
6895
|
duration: string;
|
|
6803
6896
|
length?: number;
|
|
@@ -7202,8 +7295,10 @@ interface components$4 {
|
|
|
7202
7295
|
};
|
|
7203
7296
|
};
|
|
7204
7297
|
service: {
|
|
7205
|
-
|
|
7206
|
-
|
|
7298
|
+
/** @enum {string} */
|
|
7299
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
7300
|
+
/** @enum {string} */
|
|
7301
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
7207
7302
|
};
|
|
7208
7303
|
duration: string;
|
|
7209
7304
|
length?: number;
|
|
@@ -7754,8 +7849,10 @@ interface components$4 {
|
|
|
7754
7849
|
};
|
|
7755
7850
|
};
|
|
7756
7851
|
service: {
|
|
7757
|
-
|
|
7758
|
-
|
|
7852
|
+
/** @enum {string} */
|
|
7853
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
7854
|
+
/** @enum {string} */
|
|
7855
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
7759
7856
|
};
|
|
7760
7857
|
duration: string;
|
|
7761
7858
|
length?: number;
|
|
@@ -8312,8 +8409,10 @@ interface components$4 {
|
|
|
8312
8409
|
};
|
|
8313
8410
|
};
|
|
8314
8411
|
service: {
|
|
8315
|
-
|
|
8316
|
-
|
|
8412
|
+
/** @enum {string} */
|
|
8413
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
8414
|
+
/** @enum {string} */
|
|
8415
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
8317
8416
|
};
|
|
8318
8417
|
duration: string;
|
|
8319
8418
|
length?: number;
|
|
@@ -8749,8 +8848,10 @@ interface components$3 {
|
|
|
8749
8848
|
};
|
|
8750
8849
|
};
|
|
8751
8850
|
service: {
|
|
8752
|
-
|
|
8753
|
-
|
|
8851
|
+
/** @enum {string} */
|
|
8852
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
8853
|
+
/** @enum {string} */
|
|
8854
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
8754
8855
|
};
|
|
8755
8856
|
duration: string;
|
|
8756
8857
|
length?: number;
|
|
@@ -9174,8 +9275,10 @@ interface components$3 {
|
|
|
9174
9275
|
};
|
|
9175
9276
|
};
|
|
9176
9277
|
service: {
|
|
9177
|
-
|
|
9178
|
-
|
|
9278
|
+
/** @enum {string} */
|
|
9279
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
9280
|
+
/** @enum {string} */
|
|
9281
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
9179
9282
|
};
|
|
9180
9283
|
duration: string;
|
|
9181
9284
|
length?: number;
|
|
@@ -9600,8 +9703,10 @@ interface components$2 {
|
|
|
9600
9703
|
};
|
|
9601
9704
|
};
|
|
9602
9705
|
service: {
|
|
9603
|
-
|
|
9604
|
-
|
|
9706
|
+
/** @enum {string} */
|
|
9707
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
9708
|
+
/** @enum {string} */
|
|
9709
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
9605
9710
|
};
|
|
9606
9711
|
duration: string;
|
|
9607
9712
|
length?: number;
|
|
@@ -10018,8 +10123,10 @@ interface components$2 {
|
|
|
10018
10123
|
};
|
|
10019
10124
|
};
|
|
10020
10125
|
service: {
|
|
10021
|
-
|
|
10022
|
-
|
|
10126
|
+
/** @enum {string} */
|
|
10127
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
10128
|
+
/** @enum {string} */
|
|
10129
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
10023
10130
|
};
|
|
10024
10131
|
duration: string;
|
|
10025
10132
|
length?: number;
|
|
@@ -10442,8 +10549,10 @@ interface components$1 {
|
|
|
10442
10549
|
};
|
|
10443
10550
|
};
|
|
10444
10551
|
service: {
|
|
10445
|
-
|
|
10446
|
-
|
|
10552
|
+
/** @enum {string} */
|
|
10553
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
10554
|
+
/** @enum {string} */
|
|
10555
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
10447
10556
|
};
|
|
10448
10557
|
duration: string;
|
|
10449
10558
|
length?: number;
|
|
@@ -10885,8 +10994,10 @@ interface components$1 {
|
|
|
10885
10994
|
};
|
|
10886
10995
|
};
|
|
10887
10996
|
service: {
|
|
10888
|
-
|
|
10889
|
-
|
|
10997
|
+
/** @enum {string} */
|
|
10998
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
10999
|
+
/** @enum {string} */
|
|
11000
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
10890
11001
|
};
|
|
10891
11002
|
duration: string;
|
|
10892
11003
|
length?: number;
|
|
@@ -11311,8 +11422,10 @@ interface components$1 {
|
|
|
11311
11422
|
};
|
|
11312
11423
|
};
|
|
11313
11424
|
service: {
|
|
11314
|
-
|
|
11315
|
-
|
|
11425
|
+
/** @enum {string} */
|
|
11426
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
11427
|
+
/** @enum {string} */
|
|
11428
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
11316
11429
|
};
|
|
11317
11430
|
duration: string;
|
|
11318
11431
|
length?: number;
|
|
@@ -11745,8 +11858,10 @@ interface components$1 {
|
|
|
11745
11858
|
};
|
|
11746
11859
|
};
|
|
11747
11860
|
service: {
|
|
11748
|
-
|
|
11749
|
-
|
|
11861
|
+
/** @enum {string} */
|
|
11862
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
11863
|
+
/** @enum {string} */
|
|
11864
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
11750
11865
|
};
|
|
11751
11866
|
duration: string;
|
|
11752
11867
|
length?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
declare const VERSION = "0.0.
|
|
1
|
+
declare const VERSION = "0.0.19";
|
|
2
2
|
|
|
3
3
|
interface components$f {
|
|
4
4
|
schemas: {
|
|
5
|
+
/** @enum {string} */
|
|
6
|
+
PersonalModesEnumeration: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
7
|
+
/** @enum {string} */
|
|
8
|
+
PersonalModesOfOperationEnumeration: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
5
9
|
/** @enum {string} */
|
|
6
10
|
VehicleModesOfTransportEnum: "air" | "bus" | "coach" | "trolleyBus" | "metro" | "rail" | "tram" | "water" | "ferry" | "cableway" | "funicular" | "lift" | "telecabin" | "other" | "unknown";
|
|
7
11
|
/** @enum {string} */
|
|
@@ -30,6 +34,23 @@ interface components$f {
|
|
|
30
34
|
text: string;
|
|
31
35
|
};
|
|
32
36
|
};
|
|
37
|
+
ItModesStructure: {
|
|
38
|
+
/** @enum {string} */
|
|
39
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
40
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
41
|
+
};
|
|
42
|
+
IndividualTransportOptionStructure: {
|
|
43
|
+
itModeAndModeOfOperation: {
|
|
44
|
+
/** @enum {string} */
|
|
45
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
46
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
47
|
+
};
|
|
48
|
+
maxDistance?: number;
|
|
49
|
+
maxDuration?: string;
|
|
50
|
+
minDistance?: number;
|
|
51
|
+
minDuration?: string;
|
|
52
|
+
speed?: number;
|
|
53
|
+
};
|
|
33
54
|
PlaceContext: {
|
|
34
55
|
placeRef: {
|
|
35
56
|
stopPointRef?: string;
|
|
@@ -43,6 +64,18 @@ interface components$f {
|
|
|
43
64
|
};
|
|
44
65
|
};
|
|
45
66
|
depArrTime?: string;
|
|
67
|
+
individualTransportOption: {
|
|
68
|
+
itModeAndModeOfOperation: {
|
|
69
|
+
/** @enum {string} */
|
|
70
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
71
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
72
|
+
};
|
|
73
|
+
maxDistance?: number;
|
|
74
|
+
maxDuration?: string;
|
|
75
|
+
minDistance?: number;
|
|
76
|
+
minDuration?: string;
|
|
77
|
+
speed?: number;
|
|
78
|
+
}[];
|
|
46
79
|
};
|
|
47
80
|
ServiceRequestContext: {
|
|
48
81
|
language?: string;
|
|
@@ -1312,8 +1345,10 @@ interface components$d {
|
|
|
1312
1345
|
};
|
|
1313
1346
|
};
|
|
1314
1347
|
service: {
|
|
1315
|
-
|
|
1316
|
-
|
|
1348
|
+
/** @enum {string} */
|
|
1349
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
1350
|
+
/** @enum {string} */
|
|
1351
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
1317
1352
|
};
|
|
1318
1353
|
duration: string;
|
|
1319
1354
|
length?: number;
|
|
@@ -1714,8 +1749,10 @@ interface components$d {
|
|
|
1714
1749
|
};
|
|
1715
1750
|
};
|
|
1716
1751
|
service: {
|
|
1717
|
-
|
|
1718
|
-
|
|
1752
|
+
/** @enum {string} */
|
|
1753
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
1754
|
+
/** @enum {string} */
|
|
1755
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
1719
1756
|
};
|
|
1720
1757
|
duration: string;
|
|
1721
1758
|
length?: number;
|
|
@@ -5334,6 +5371,18 @@ interface components$5 {
|
|
|
5334
5371
|
};
|
|
5335
5372
|
};
|
|
5336
5373
|
depArrTime?: string;
|
|
5374
|
+
individualTransportOption: {
|
|
5375
|
+
itModeAndModeOfOperation: {
|
|
5376
|
+
/** @enum {string} */
|
|
5377
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
5378
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
5379
|
+
};
|
|
5380
|
+
maxDistance?: number;
|
|
5381
|
+
maxDuration?: string;
|
|
5382
|
+
minDistance?: number;
|
|
5383
|
+
minDuration?: string;
|
|
5384
|
+
speed?: number;
|
|
5385
|
+
}[];
|
|
5337
5386
|
};
|
|
5338
5387
|
destination: {
|
|
5339
5388
|
placeRef: {
|
|
@@ -5348,6 +5397,18 @@ interface components$5 {
|
|
|
5348
5397
|
};
|
|
5349
5398
|
};
|
|
5350
5399
|
depArrTime?: string;
|
|
5400
|
+
individualTransportOption: {
|
|
5401
|
+
itModeAndModeOfOperation: {
|
|
5402
|
+
/** @enum {string} */
|
|
5403
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
5404
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
5405
|
+
};
|
|
5406
|
+
maxDistance?: number;
|
|
5407
|
+
maxDuration?: string;
|
|
5408
|
+
minDistance?: number;
|
|
5409
|
+
minDuration?: string;
|
|
5410
|
+
speed?: number;
|
|
5411
|
+
}[];
|
|
5351
5412
|
};
|
|
5352
5413
|
via: {
|
|
5353
5414
|
viaPoint: {
|
|
@@ -5429,6 +5490,18 @@ interface components$5 {
|
|
|
5429
5490
|
};
|
|
5430
5491
|
};
|
|
5431
5492
|
depArrTime?: string;
|
|
5493
|
+
individualTransportOption: {
|
|
5494
|
+
itModeAndModeOfOperation: {
|
|
5495
|
+
/** @enum {string} */
|
|
5496
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
5497
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
5498
|
+
};
|
|
5499
|
+
maxDistance?: number;
|
|
5500
|
+
maxDuration?: string;
|
|
5501
|
+
minDistance?: number;
|
|
5502
|
+
minDuration?: string;
|
|
5503
|
+
speed?: number;
|
|
5504
|
+
}[];
|
|
5432
5505
|
};
|
|
5433
5506
|
destination: {
|
|
5434
5507
|
placeRef: {
|
|
@@ -5443,6 +5516,18 @@ interface components$5 {
|
|
|
5443
5516
|
};
|
|
5444
5517
|
};
|
|
5445
5518
|
depArrTime?: string;
|
|
5519
|
+
individualTransportOption: {
|
|
5520
|
+
itModeAndModeOfOperation: {
|
|
5521
|
+
/** @enum {string} */
|
|
5522
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
5523
|
+
personalModeOfOperation: ("self" | "own" | "otherOwned" | "privateLift" | "lease")[];
|
|
5524
|
+
};
|
|
5525
|
+
maxDistance?: number;
|
|
5526
|
+
maxDuration?: string;
|
|
5527
|
+
minDistance?: number;
|
|
5528
|
+
minDuration?: string;
|
|
5529
|
+
speed?: number;
|
|
5530
|
+
}[];
|
|
5446
5531
|
};
|
|
5447
5532
|
via: {
|
|
5448
5533
|
viaPoint: {
|
|
@@ -5708,8 +5793,10 @@ interface components$4 {
|
|
|
5708
5793
|
}[];
|
|
5709
5794
|
};
|
|
5710
5795
|
ContinuousService: {
|
|
5711
|
-
|
|
5712
|
-
|
|
5796
|
+
/** @enum {string} */
|
|
5797
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
5798
|
+
/** @enum {string} */
|
|
5799
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
5713
5800
|
};
|
|
5714
5801
|
TimedLeg: {
|
|
5715
5802
|
legBoard: {
|
|
@@ -6010,8 +6097,10 @@ interface components$4 {
|
|
|
6010
6097
|
};
|
|
6011
6098
|
};
|
|
6012
6099
|
service: {
|
|
6013
|
-
|
|
6014
|
-
|
|
6100
|
+
/** @enum {string} */
|
|
6101
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
6102
|
+
/** @enum {string} */
|
|
6103
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
6015
6104
|
};
|
|
6016
6105
|
duration: string;
|
|
6017
6106
|
length?: number;
|
|
@@ -6398,8 +6487,10 @@ interface components$4 {
|
|
|
6398
6487
|
};
|
|
6399
6488
|
};
|
|
6400
6489
|
service: {
|
|
6401
|
-
|
|
6402
|
-
|
|
6490
|
+
/** @enum {string} */
|
|
6491
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
6492
|
+
/** @enum {string} */
|
|
6493
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
6403
6494
|
};
|
|
6404
6495
|
duration: string;
|
|
6405
6496
|
length?: number;
|
|
@@ -6796,8 +6887,10 @@ interface components$4 {
|
|
|
6796
6887
|
};
|
|
6797
6888
|
};
|
|
6798
6889
|
service: {
|
|
6799
|
-
|
|
6800
|
-
|
|
6890
|
+
/** @enum {string} */
|
|
6891
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
6892
|
+
/** @enum {string} */
|
|
6893
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
6801
6894
|
};
|
|
6802
6895
|
duration: string;
|
|
6803
6896
|
length?: number;
|
|
@@ -7202,8 +7295,10 @@ interface components$4 {
|
|
|
7202
7295
|
};
|
|
7203
7296
|
};
|
|
7204
7297
|
service: {
|
|
7205
|
-
|
|
7206
|
-
|
|
7298
|
+
/** @enum {string} */
|
|
7299
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
7300
|
+
/** @enum {string} */
|
|
7301
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
7207
7302
|
};
|
|
7208
7303
|
duration: string;
|
|
7209
7304
|
length?: number;
|
|
@@ -7754,8 +7849,10 @@ interface components$4 {
|
|
|
7754
7849
|
};
|
|
7755
7850
|
};
|
|
7756
7851
|
service: {
|
|
7757
|
-
|
|
7758
|
-
|
|
7852
|
+
/** @enum {string} */
|
|
7853
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
7854
|
+
/** @enum {string} */
|
|
7855
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
7759
7856
|
};
|
|
7760
7857
|
duration: string;
|
|
7761
7858
|
length?: number;
|
|
@@ -8312,8 +8409,10 @@ interface components$4 {
|
|
|
8312
8409
|
};
|
|
8313
8410
|
};
|
|
8314
8411
|
service: {
|
|
8315
|
-
|
|
8316
|
-
|
|
8412
|
+
/** @enum {string} */
|
|
8413
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
8414
|
+
/** @enum {string} */
|
|
8415
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
8317
8416
|
};
|
|
8318
8417
|
duration: string;
|
|
8319
8418
|
length?: number;
|
|
@@ -8749,8 +8848,10 @@ interface components$3 {
|
|
|
8749
8848
|
};
|
|
8750
8849
|
};
|
|
8751
8850
|
service: {
|
|
8752
|
-
|
|
8753
|
-
|
|
8851
|
+
/** @enum {string} */
|
|
8852
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
8853
|
+
/** @enum {string} */
|
|
8854
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
8754
8855
|
};
|
|
8755
8856
|
duration: string;
|
|
8756
8857
|
length?: number;
|
|
@@ -9174,8 +9275,10 @@ interface components$3 {
|
|
|
9174
9275
|
};
|
|
9175
9276
|
};
|
|
9176
9277
|
service: {
|
|
9177
|
-
|
|
9178
|
-
|
|
9278
|
+
/** @enum {string} */
|
|
9279
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
9280
|
+
/** @enum {string} */
|
|
9281
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
9179
9282
|
};
|
|
9180
9283
|
duration: string;
|
|
9181
9284
|
length?: number;
|
|
@@ -9600,8 +9703,10 @@ interface components$2 {
|
|
|
9600
9703
|
};
|
|
9601
9704
|
};
|
|
9602
9705
|
service: {
|
|
9603
|
-
|
|
9604
|
-
|
|
9706
|
+
/** @enum {string} */
|
|
9707
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
9708
|
+
/** @enum {string} */
|
|
9709
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
9605
9710
|
};
|
|
9606
9711
|
duration: string;
|
|
9607
9712
|
length?: number;
|
|
@@ -10018,8 +10123,10 @@ interface components$2 {
|
|
|
10018
10123
|
};
|
|
10019
10124
|
};
|
|
10020
10125
|
service: {
|
|
10021
|
-
|
|
10022
|
-
|
|
10126
|
+
/** @enum {string} */
|
|
10127
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
10128
|
+
/** @enum {string} */
|
|
10129
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
10023
10130
|
};
|
|
10024
10131
|
duration: string;
|
|
10025
10132
|
length?: number;
|
|
@@ -10442,8 +10549,10 @@ interface components$1 {
|
|
|
10442
10549
|
};
|
|
10443
10550
|
};
|
|
10444
10551
|
service: {
|
|
10445
|
-
|
|
10446
|
-
|
|
10552
|
+
/** @enum {string} */
|
|
10553
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
10554
|
+
/** @enum {string} */
|
|
10555
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
10447
10556
|
};
|
|
10448
10557
|
duration: string;
|
|
10449
10558
|
length?: number;
|
|
@@ -10885,8 +10994,10 @@ interface components$1 {
|
|
|
10885
10994
|
};
|
|
10886
10995
|
};
|
|
10887
10996
|
service: {
|
|
10888
|
-
|
|
10889
|
-
|
|
10997
|
+
/** @enum {string} */
|
|
10998
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
10999
|
+
/** @enum {string} */
|
|
11000
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
10890
11001
|
};
|
|
10891
11002
|
duration: string;
|
|
10892
11003
|
length?: number;
|
|
@@ -11311,8 +11422,10 @@ interface components$1 {
|
|
|
11311
11422
|
};
|
|
11312
11423
|
};
|
|
11313
11424
|
service: {
|
|
11314
|
-
|
|
11315
|
-
|
|
11425
|
+
/** @enum {string} */
|
|
11426
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
11427
|
+
/** @enum {string} */
|
|
11428
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
11316
11429
|
};
|
|
11317
11430
|
duration: string;
|
|
11318
11431
|
length?: number;
|
|
@@ -11745,8 +11858,10 @@ interface components$1 {
|
|
|
11745
11858
|
};
|
|
11746
11859
|
};
|
|
11747
11860
|
service: {
|
|
11748
|
-
|
|
11749
|
-
|
|
11861
|
+
/** @enum {string} */
|
|
11862
|
+
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
11863
|
+
/** @enum {string} */
|
|
11864
|
+
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
11750
11865
|
};
|
|
11751
11866
|
duration: string;
|
|
11752
11867
|
length?: number;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/constants.ts
|
|
2
|
-
var VERSION = "0.0.
|
|
2
|
+
var VERSION = "0.0.19";
|
|
3
3
|
|
|
4
4
|
// src/types/openapi-dependencies.ts
|
|
5
5
|
var MapNS_Tags = {
|
|
@@ -89,8 +89,12 @@ var MapArrayTags = {
|
|
|
89
89
|
"textualContent.recommendationContent": true,
|
|
90
90
|
"textualContent.remarkContent": true,
|
|
91
91
|
"textualContent.infoLink": true,
|
|
92
|
+
"itModeAndModeOfOperation.personalModeOfOperation": true,
|
|
92
93
|
// Service
|
|
93
94
|
"service.attribute": true,
|
|
95
|
+
// TR Request
|
|
96
|
+
"origin.individualTransportOption": true,
|
|
97
|
+
"destination.individualTransportOption": true,
|
|
94
98
|
// TR Response
|
|
95
99
|
"OJPTripDelivery.tripResult": true,
|
|
96
100
|
"trip.leg": true,
|