ojp-shared-types 0.1.4 → 0.1.6
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 +15 -41
- package/dist/index.d.ts +15 -41
- 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.1.
|
|
29
|
+
var VERSION = "0.1.6";
|
|
30
30
|
|
|
31
31
|
// src/types/openapi-dependencies.ts
|
|
32
32
|
var MapNS_Tags = {
|
|
@@ -102,6 +102,9 @@ var MapNS_Tags = {
|
|
|
102
102
|
"OJPStopEventRequest.RequestTimestamp": "siri",
|
|
103
103
|
"PlaceRef.StopPointRef": "siri"
|
|
104
104
|
};
|
|
105
|
+
var MapLegacyOverrideNS_Tags = {
|
|
106
|
+
"Service.OperatorRef": "ojp"
|
|
107
|
+
};
|
|
105
108
|
var MapArrayTags = {
|
|
106
109
|
// Shared
|
|
107
110
|
"places.place": true,
|
|
@@ -189,6 +192,7 @@ var MapStringValues = {
|
|
|
189
192
|
};
|
|
190
193
|
var OpenAPI_Dependencies = {
|
|
191
194
|
MapNS_Tags,
|
|
195
|
+
MapLegacyOverrideNS_Tags,
|
|
192
196
|
MapArrayTags,
|
|
193
197
|
MapLegacyArrayTags,
|
|
194
198
|
MapStringValues
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const VERSION = "0.1.
|
|
1
|
+
declare const VERSION = "0.1.6";
|
|
2
2
|
|
|
3
3
|
interface components$k {
|
|
4
4
|
schemas: {
|
|
@@ -9873,6 +9873,7 @@ interface components$5 {
|
|
|
9873
9873
|
numberOfResultsBefore?: number;
|
|
9874
9874
|
numberOfResultsAfter?: number;
|
|
9875
9875
|
includeAllRestrictedLines?: boolean;
|
|
9876
|
+
itModesToCover?: string[];
|
|
9876
9877
|
includeTrackSections?: boolean;
|
|
9877
9878
|
includeLegProjection?: boolean;
|
|
9878
9879
|
includeTurnDescription?: boolean;
|
|
@@ -9957,6 +9958,7 @@ interface components$5 {
|
|
|
9957
9958
|
numberOfResultsBefore?: number;
|
|
9958
9959
|
numberOfResultsAfter?: number;
|
|
9959
9960
|
includeAllRestrictedLines?: boolean;
|
|
9961
|
+
itModesToCover?: string[];
|
|
9960
9962
|
includeTrackSections?: boolean;
|
|
9961
9963
|
includeLegProjection?: boolean;
|
|
9962
9964
|
includeTurnDescription?: boolean;
|
|
@@ -10036,6 +10038,7 @@ interface components$5 {
|
|
|
10036
10038
|
numberOfResultsBefore?: number;
|
|
10037
10039
|
numberOfResultsAfter?: number;
|
|
10038
10040
|
includeAllRestrictedLines?: boolean;
|
|
10041
|
+
itModesToCover?: string[];
|
|
10039
10042
|
includeTrackSections?: boolean;
|
|
10040
10043
|
includeLegProjection?: boolean;
|
|
10041
10044
|
includeTurnDescription?: boolean;
|
|
@@ -10454,10 +10457,7 @@ interface components$4 {
|
|
|
10454
10457
|
};
|
|
10455
10458
|
};
|
|
10456
10459
|
service: {
|
|
10457
|
-
|
|
10458
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
10459
|
-
/** @enum {string} */
|
|
10460
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
10460
|
+
individualMode: string;
|
|
10461
10461
|
};
|
|
10462
10462
|
duration: string;
|
|
10463
10463
|
length?: number;
|
|
@@ -10856,10 +10856,7 @@ interface components$4 {
|
|
|
10856
10856
|
};
|
|
10857
10857
|
};
|
|
10858
10858
|
service: {
|
|
10859
|
-
|
|
10860
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
10861
|
-
/** @enum {string} */
|
|
10862
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
10859
|
+
individualMode: string;
|
|
10863
10860
|
};
|
|
10864
10861
|
duration: string;
|
|
10865
10862
|
length?: number;
|
|
@@ -11267,10 +11264,7 @@ interface components$4 {
|
|
|
11267
11264
|
};
|
|
11268
11265
|
};
|
|
11269
11266
|
service: {
|
|
11270
|
-
|
|
11271
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
11272
|
-
/** @enum {string} */
|
|
11273
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
11267
|
+
individualMode: string;
|
|
11274
11268
|
};
|
|
11275
11269
|
duration: string;
|
|
11276
11270
|
length?: number;
|
|
@@ -11681,10 +11675,7 @@ interface components$4 {
|
|
|
11681
11675
|
};
|
|
11682
11676
|
};
|
|
11683
11677
|
service: {
|
|
11684
|
-
|
|
11685
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
11686
|
-
/** @enum {string} */
|
|
11687
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
11678
|
+
individualMode: string;
|
|
11688
11679
|
};
|
|
11689
11680
|
duration: string;
|
|
11690
11681
|
length?: number;
|
|
@@ -12235,10 +12226,7 @@ interface components$4 {
|
|
|
12235
12226
|
};
|
|
12236
12227
|
};
|
|
12237
12228
|
service: {
|
|
12238
|
-
|
|
12239
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
12240
|
-
/** @enum {string} */
|
|
12241
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
12229
|
+
individualMode: string;
|
|
12242
12230
|
};
|
|
12243
12231
|
duration: string;
|
|
12244
12232
|
length?: number;
|
|
@@ -12795,10 +12783,7 @@ interface components$4 {
|
|
|
12795
12783
|
};
|
|
12796
12784
|
};
|
|
12797
12785
|
service: {
|
|
12798
|
-
|
|
12799
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
12800
|
-
/** @enum {string} */
|
|
12801
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
12786
|
+
individualMode: string;
|
|
12802
12787
|
};
|
|
12803
12788
|
duration: string;
|
|
12804
12789
|
length?: number;
|
|
@@ -15299,10 +15284,7 @@ interface components$1 {
|
|
|
15299
15284
|
};
|
|
15300
15285
|
};
|
|
15301
15286
|
service: {
|
|
15302
|
-
|
|
15303
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
15304
|
-
/** @enum {string} */
|
|
15305
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
15287
|
+
individualMode: string;
|
|
15306
15288
|
};
|
|
15307
15289
|
duration: string;
|
|
15308
15290
|
length?: number;
|
|
@@ -15751,10 +15733,7 @@ interface components$1 {
|
|
|
15751
15733
|
};
|
|
15752
15734
|
};
|
|
15753
15735
|
service: {
|
|
15754
|
-
|
|
15755
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
15756
|
-
/** @enum {string} */
|
|
15757
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
15736
|
+
individualMode: string;
|
|
15758
15737
|
};
|
|
15759
15738
|
duration: string;
|
|
15760
15739
|
length?: number;
|
|
@@ -16186,10 +16165,7 @@ interface components$1 {
|
|
|
16186
16165
|
};
|
|
16187
16166
|
};
|
|
16188
16167
|
service: {
|
|
16189
|
-
|
|
16190
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
16191
|
-
/** @enum {string} */
|
|
16192
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
16168
|
+
individualMode: string;
|
|
16193
16169
|
};
|
|
16194
16170
|
duration: string;
|
|
16195
16171
|
length?: number;
|
|
@@ -16629,10 +16605,7 @@ interface components$1 {
|
|
|
16629
16605
|
};
|
|
16630
16606
|
};
|
|
16631
16607
|
service: {
|
|
16632
|
-
|
|
16633
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
16634
|
-
/** @enum {string} */
|
|
16635
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
16608
|
+
individualMode: string;
|
|
16636
16609
|
};
|
|
16637
16610
|
duration: string;
|
|
16638
16611
|
length?: number;
|
|
@@ -16980,6 +16953,7 @@ type OJPv1_TripResultSchema = components$4['schemas']['TripResult'];
|
|
|
16980
16953
|
|
|
16981
16954
|
declare const OpenAPI_Dependencies: {
|
|
16982
16955
|
readonly MapNS_Tags: Record<string, string>;
|
|
16956
|
+
readonly MapLegacyOverrideNS_Tags: Record<string, string>;
|
|
16983
16957
|
readonly MapArrayTags: Record<string, boolean>;
|
|
16984
16958
|
readonly MapLegacyArrayTags: Record<string, boolean>;
|
|
16985
16959
|
readonly MapStringValues: Record<string, boolean>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const VERSION = "0.1.
|
|
1
|
+
declare const VERSION = "0.1.6";
|
|
2
2
|
|
|
3
3
|
interface components$k {
|
|
4
4
|
schemas: {
|
|
@@ -9873,6 +9873,7 @@ interface components$5 {
|
|
|
9873
9873
|
numberOfResultsBefore?: number;
|
|
9874
9874
|
numberOfResultsAfter?: number;
|
|
9875
9875
|
includeAllRestrictedLines?: boolean;
|
|
9876
|
+
itModesToCover?: string[];
|
|
9876
9877
|
includeTrackSections?: boolean;
|
|
9877
9878
|
includeLegProjection?: boolean;
|
|
9878
9879
|
includeTurnDescription?: boolean;
|
|
@@ -9957,6 +9958,7 @@ interface components$5 {
|
|
|
9957
9958
|
numberOfResultsBefore?: number;
|
|
9958
9959
|
numberOfResultsAfter?: number;
|
|
9959
9960
|
includeAllRestrictedLines?: boolean;
|
|
9961
|
+
itModesToCover?: string[];
|
|
9960
9962
|
includeTrackSections?: boolean;
|
|
9961
9963
|
includeLegProjection?: boolean;
|
|
9962
9964
|
includeTurnDescription?: boolean;
|
|
@@ -10036,6 +10038,7 @@ interface components$5 {
|
|
|
10036
10038
|
numberOfResultsBefore?: number;
|
|
10037
10039
|
numberOfResultsAfter?: number;
|
|
10038
10040
|
includeAllRestrictedLines?: boolean;
|
|
10041
|
+
itModesToCover?: string[];
|
|
10039
10042
|
includeTrackSections?: boolean;
|
|
10040
10043
|
includeLegProjection?: boolean;
|
|
10041
10044
|
includeTurnDescription?: boolean;
|
|
@@ -10454,10 +10457,7 @@ interface components$4 {
|
|
|
10454
10457
|
};
|
|
10455
10458
|
};
|
|
10456
10459
|
service: {
|
|
10457
|
-
|
|
10458
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
10459
|
-
/** @enum {string} */
|
|
10460
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
10460
|
+
individualMode: string;
|
|
10461
10461
|
};
|
|
10462
10462
|
duration: string;
|
|
10463
10463
|
length?: number;
|
|
@@ -10856,10 +10856,7 @@ interface components$4 {
|
|
|
10856
10856
|
};
|
|
10857
10857
|
};
|
|
10858
10858
|
service: {
|
|
10859
|
-
|
|
10860
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
10861
|
-
/** @enum {string} */
|
|
10862
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
10859
|
+
individualMode: string;
|
|
10863
10860
|
};
|
|
10864
10861
|
duration: string;
|
|
10865
10862
|
length?: number;
|
|
@@ -11267,10 +11264,7 @@ interface components$4 {
|
|
|
11267
11264
|
};
|
|
11268
11265
|
};
|
|
11269
11266
|
service: {
|
|
11270
|
-
|
|
11271
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
11272
|
-
/** @enum {string} */
|
|
11273
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
11267
|
+
individualMode: string;
|
|
11274
11268
|
};
|
|
11275
11269
|
duration: string;
|
|
11276
11270
|
length?: number;
|
|
@@ -11681,10 +11675,7 @@ interface components$4 {
|
|
|
11681
11675
|
};
|
|
11682
11676
|
};
|
|
11683
11677
|
service: {
|
|
11684
|
-
|
|
11685
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
11686
|
-
/** @enum {string} */
|
|
11687
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
11678
|
+
individualMode: string;
|
|
11688
11679
|
};
|
|
11689
11680
|
duration: string;
|
|
11690
11681
|
length?: number;
|
|
@@ -12235,10 +12226,7 @@ interface components$4 {
|
|
|
12235
12226
|
};
|
|
12236
12227
|
};
|
|
12237
12228
|
service: {
|
|
12238
|
-
|
|
12239
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
12240
|
-
/** @enum {string} */
|
|
12241
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
12229
|
+
individualMode: string;
|
|
12242
12230
|
};
|
|
12243
12231
|
duration: string;
|
|
12244
12232
|
length?: number;
|
|
@@ -12795,10 +12783,7 @@ interface components$4 {
|
|
|
12795
12783
|
};
|
|
12796
12784
|
};
|
|
12797
12785
|
service: {
|
|
12798
|
-
|
|
12799
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
12800
|
-
/** @enum {string} */
|
|
12801
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
12786
|
+
individualMode: string;
|
|
12802
12787
|
};
|
|
12803
12788
|
duration: string;
|
|
12804
12789
|
length?: number;
|
|
@@ -15299,10 +15284,7 @@ interface components$1 {
|
|
|
15299
15284
|
};
|
|
15300
15285
|
};
|
|
15301
15286
|
service: {
|
|
15302
|
-
|
|
15303
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
15304
|
-
/** @enum {string} */
|
|
15305
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
15287
|
+
individualMode: string;
|
|
15306
15288
|
};
|
|
15307
15289
|
duration: string;
|
|
15308
15290
|
length?: number;
|
|
@@ -15751,10 +15733,7 @@ interface components$1 {
|
|
|
15751
15733
|
};
|
|
15752
15734
|
};
|
|
15753
15735
|
service: {
|
|
15754
|
-
|
|
15755
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
15756
|
-
/** @enum {string} */
|
|
15757
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
15736
|
+
individualMode: string;
|
|
15758
15737
|
};
|
|
15759
15738
|
duration: string;
|
|
15760
15739
|
length?: number;
|
|
@@ -16186,10 +16165,7 @@ interface components$1 {
|
|
|
16186
16165
|
};
|
|
16187
16166
|
};
|
|
16188
16167
|
service: {
|
|
16189
|
-
|
|
16190
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
16191
|
-
/** @enum {string} */
|
|
16192
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
16168
|
+
individualMode: string;
|
|
16193
16169
|
};
|
|
16194
16170
|
duration: string;
|
|
16195
16171
|
length?: number;
|
|
@@ -16629,10 +16605,7 @@ interface components$1 {
|
|
|
16629
16605
|
};
|
|
16630
16606
|
};
|
|
16631
16607
|
service: {
|
|
16632
|
-
|
|
16633
|
-
personalModeOfOperation: "self" | "own" | "otherOwned" | "privateLift" | "lease";
|
|
16634
|
-
/** @enum {string} */
|
|
16635
|
-
personalMode: "foot" | "bicycle" | "car" | "motorcycle" | "truck" | "scooter" | "other";
|
|
16608
|
+
individualMode: string;
|
|
16636
16609
|
};
|
|
16637
16610
|
duration: string;
|
|
16638
16611
|
length?: number;
|
|
@@ -16980,6 +16953,7 @@ type OJPv1_TripResultSchema = components$4['schemas']['TripResult'];
|
|
|
16980
16953
|
|
|
16981
16954
|
declare const OpenAPI_Dependencies: {
|
|
16982
16955
|
readonly MapNS_Tags: Record<string, string>;
|
|
16956
|
+
readonly MapLegacyOverrideNS_Tags: Record<string, string>;
|
|
16983
16957
|
readonly MapArrayTags: Record<string, boolean>;
|
|
16984
16958
|
readonly MapLegacyArrayTags: Record<string, boolean>;
|
|
16985
16959
|
readonly MapStringValues: Record<string, boolean>;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/constants.ts
|
|
2
|
-
var VERSION = "0.1.
|
|
2
|
+
var VERSION = "0.1.6";
|
|
3
3
|
|
|
4
4
|
// src/types/openapi-dependencies.ts
|
|
5
5
|
var MapNS_Tags = {
|
|
@@ -75,6 +75,9 @@ var MapNS_Tags = {
|
|
|
75
75
|
"OJPStopEventRequest.RequestTimestamp": "siri",
|
|
76
76
|
"PlaceRef.StopPointRef": "siri"
|
|
77
77
|
};
|
|
78
|
+
var MapLegacyOverrideNS_Tags = {
|
|
79
|
+
"Service.OperatorRef": "ojp"
|
|
80
|
+
};
|
|
78
81
|
var MapArrayTags = {
|
|
79
82
|
// Shared
|
|
80
83
|
"places.place": true,
|
|
@@ -162,6 +165,7 @@ var MapStringValues = {
|
|
|
162
165
|
};
|
|
163
166
|
var OpenAPI_Dependencies = {
|
|
164
167
|
MapNS_Tags,
|
|
168
|
+
MapLegacyOverrideNS_Tags,
|
|
165
169
|
MapArrayTags,
|
|
166
170
|
MapLegacyArrayTags,
|
|
167
171
|
MapStringValues
|