ojp-shared-types 0.1.12 → 0.1.13

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.12"
17
+ "ojp-shared-types": "0.1.13"
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.12";
29
+ var VERSION = "0.1.13";
30
30
 
31
31
  // src/types/openapi-dependencies.ts
32
32
  var MapNS_Tags = {
@@ -121,12 +121,15 @@ var MapArrayTags = {
121
121
  "textualContent.consequenceContent": true,
122
122
  "textualContent.recommendationContent": true,
123
123
  "textualContent.remarkContent": true,
124
+ "summaryContent.summaryText": true,
125
+ "reasonContent.reasonText": true,
126
+ "descriptionContent.descriptionText": true,
127
+ "consequenceContent.consequenceText": true,
128
+ "recommendationContent.recommendationText": true,
129
+ "durationContent.durationText": true,
130
+ "remarkContent.remark": true,
124
131
  "textualContent.infoLink": true,
125
- // technically these are also arrays - but the OJP repsonse never returned it as such
126
- // 'descriptionContent.descriptionText': true,
127
- // 'consequenceContent.consequenceText': true,
128
- // 'recommendationContent.recommendationText': true,
129
- // 'remarkContent.remark': true,
132
+ "infoLink.label": true,
130
133
  "itModeAndModeOfOperation.personalModeOfOperation": true,
131
134
  // Service
132
135
  "service.attribute": true,
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- declare const VERSION = "0.1.12";
1
+ declare const VERSION = "0.1.13";
2
2
 
3
3
  interface components$k {
4
4
  schemas: {
@@ -284,27 +284,27 @@ interface components$k {
284
284
  };
285
285
  TextualContentStructure: {
286
286
  summaryContent: {
287
- summaryText: string;
287
+ summaryText: string[];
288
288
  };
289
289
  reasonContent?: {
290
- reasonText: string;
290
+ reasonText: string[];
291
291
  };
292
- descriptionContent: {
293
- descriptionText: string;
292
+ descriptionContent?: {
293
+ descriptionText: string[];
294
294
  }[];
295
- consequenceContent: {
296
- consequenceText: string;
295
+ consequenceContent?: {
296
+ consequenceText: string[];
297
297
  }[];
298
- recommendationContent: {
299
- recommendationText: string;
298
+ recommendationContent?: {
299
+ recommendationText: string[];
300
300
  }[];
301
301
  durationContent?: {
302
- durationText: string;
302
+ durationText: string[];
303
303
  };
304
- remarkContent: {
305
- remark: string;
304
+ remarkContent?: {
305
+ remark: string[];
306
306
  }[];
307
- infoLink: {
307
+ infoLink?: {
308
308
  uri: string;
309
309
  label?: string[];
310
310
  }[];
@@ -316,27 +316,27 @@ interface components$k {
316
316
  perspective: "general" | "stopPoint" | "vehicleJourney";
317
317
  textualContent: {
318
318
  summaryContent: {
319
- summaryText: string;
319
+ summaryText: string[];
320
320
  };
321
321
  reasonContent?: {
322
- reasonText: string;
322
+ reasonText: string[];
323
323
  };
324
- descriptionContent: {
325
- descriptionText: string;
324
+ descriptionContent?: {
325
+ descriptionText: string[];
326
326
  }[];
327
- consequenceContent: {
328
- consequenceText: string;
327
+ consequenceContent?: {
328
+ consequenceText: string[];
329
329
  }[];
330
- recommendationContent: {
331
- recommendationText: string;
330
+ recommendationContent?: {
331
+ recommendationText: string[];
332
332
  }[];
333
333
  durationContent?: {
334
- durationText: string;
334
+ durationText: string[];
335
335
  };
336
- remarkContent: {
337
- remark: string;
336
+ remarkContent?: {
337
+ remark: string[];
338
338
  }[];
339
- infoLink: {
339
+ infoLink?: {
340
340
  uri: string;
341
341
  label?: string[];
342
342
  }[];
@@ -353,27 +353,27 @@ interface components$k {
353
353
  perspective: "general" | "stopPoint" | "vehicleJourney";
354
354
  textualContent: {
355
355
  summaryContent: {
356
- summaryText: string;
356
+ summaryText: string[];
357
357
  };
358
358
  reasonContent?: {
359
- reasonText: string;
359
+ reasonText: string[];
360
360
  };
361
- descriptionContent: {
362
- descriptionText: string;
361
+ descriptionContent?: {
362
+ descriptionText: string[];
363
363
  }[];
364
- consequenceContent: {
365
- consequenceText: string;
364
+ consequenceContent?: {
365
+ consequenceText: string[];
366
366
  }[];
367
- recommendationContent: {
368
- recommendationText: string;
367
+ recommendationContent?: {
368
+ recommendationText: string[];
369
369
  }[];
370
370
  durationContent?: {
371
- durationText: string;
371
+ durationText: string[];
372
372
  };
373
- remarkContent: {
374
- remark: string;
373
+ remarkContent?: {
374
+ remark: string[];
375
375
  }[];
376
- infoLink: {
376
+ infoLink?: {
377
377
  uri: string;
378
378
  label?: string[];
379
379
  }[];
@@ -408,27 +408,27 @@ interface components$k {
408
408
  perspective: "general" | "stopPoint" | "vehicleJourney";
409
409
  textualContent: {
410
410
  summaryContent: {
411
- summaryText: string;
411
+ summaryText: string[];
412
412
  };
413
413
  reasonContent?: {
414
- reasonText: string;
414
+ reasonText: string[];
415
415
  };
416
- descriptionContent: {
417
- descriptionText: string;
416
+ descriptionContent?: {
417
+ descriptionText: string[];
418
418
  }[];
419
- consequenceContent: {
420
- consequenceText: string;
419
+ consequenceContent?: {
420
+ consequenceText: string[];
421
421
  }[];
422
- recommendationContent: {
423
- recommendationText: string;
422
+ recommendationContent?: {
423
+ recommendationText: string[];
424
424
  }[];
425
425
  durationContent?: {
426
- durationText: string;
426
+ durationText: string[];
427
427
  };
428
- remarkContent: {
429
- remark: string;
428
+ remarkContent?: {
429
+ remark: string[];
430
430
  }[];
431
- infoLink: {
431
+ infoLink?: {
432
432
  uri: string;
433
433
  label?: string[];
434
434
  }[];
@@ -735,27 +735,27 @@ interface components$k {
735
735
  perspective: "general" | "stopPoint" | "vehicleJourney";
736
736
  textualContent: {
737
737
  summaryContent: {
738
- summaryText: string;
738
+ summaryText: string[];
739
739
  };
740
740
  reasonContent?: {
741
- reasonText: string;
741
+ reasonText: string[];
742
742
  };
743
- descriptionContent: {
744
- descriptionText: string;
743
+ descriptionContent?: {
744
+ descriptionText: string[];
745
745
  }[];
746
- consequenceContent: {
747
- consequenceText: string;
746
+ consequenceContent?: {
747
+ consequenceText: string[];
748
748
  }[];
749
- recommendationContent: {
750
- recommendationText: string;
749
+ recommendationContent?: {
750
+ recommendationText: string[];
751
751
  }[];
752
752
  durationContent?: {
753
- durationText: string;
753
+ durationText: string[];
754
754
  };
755
- remarkContent: {
756
- remark: string;
755
+ remarkContent?: {
756
+ remark: string[];
757
757
  }[];
758
- infoLink: {
758
+ infoLink?: {
759
759
  uri: string;
760
760
  label?: string[];
761
761
  }[];
@@ -3128,27 +3128,27 @@ interface components$d {
3128
3128
  perspective: "general" | "stopPoint" | "vehicleJourney";
3129
3129
  textualContent: {
3130
3130
  summaryContent: {
3131
- summaryText: string;
3131
+ summaryText: string[];
3132
3132
  };
3133
3133
  reasonContent?: {
3134
- reasonText: string;
3134
+ reasonText: string[];
3135
3135
  };
3136
- descriptionContent: {
3137
- descriptionText: string;
3136
+ descriptionContent?: {
3137
+ descriptionText: string[];
3138
3138
  }[];
3139
- consequenceContent: {
3140
- consequenceText: string;
3139
+ consequenceContent?: {
3140
+ consequenceText: string[];
3141
3141
  }[];
3142
- recommendationContent: {
3143
- recommendationText: string;
3142
+ recommendationContent?: {
3143
+ recommendationText: string[];
3144
3144
  }[];
3145
3145
  durationContent?: {
3146
- durationText: string;
3146
+ durationText: string[];
3147
3147
  };
3148
- remarkContent: {
3149
- remark: string;
3148
+ remarkContent?: {
3149
+ remark: string[];
3150
3150
  }[];
3151
- infoLink: {
3151
+ infoLink?: {
3152
3152
  uri: string;
3153
3153
  label?: string[];
3154
3154
  }[];
@@ -3486,27 +3486,27 @@ interface components$d {
3486
3486
  perspective: "general" | "stopPoint" | "vehicleJourney";
3487
3487
  textualContent: {
3488
3488
  summaryContent: {
3489
- summaryText: string;
3489
+ summaryText: string[];
3490
3490
  };
3491
3491
  reasonContent?: {
3492
- reasonText: string;
3492
+ reasonText: string[];
3493
3493
  };
3494
- descriptionContent: {
3495
- descriptionText: string;
3494
+ descriptionContent?: {
3495
+ descriptionText: string[];
3496
3496
  }[];
3497
- consequenceContent: {
3498
- consequenceText: string;
3497
+ consequenceContent?: {
3498
+ consequenceText: string[];
3499
3499
  }[];
3500
- recommendationContent: {
3501
- recommendationText: string;
3500
+ recommendationContent?: {
3501
+ recommendationText: string[];
3502
3502
  }[];
3503
3503
  durationContent?: {
3504
- durationText: string;
3504
+ durationText: string[];
3505
3505
  };
3506
- remarkContent: {
3507
- remark: string;
3506
+ remarkContent?: {
3507
+ remark: string[];
3508
3508
  }[];
3509
- infoLink: {
3509
+ infoLink?: {
3510
3510
  uri: string;
3511
3511
  label?: string[];
3512
3512
  }[];
@@ -5233,27 +5233,27 @@ interface components$9 {
5233
5233
  perspective: "general" | "stopPoint" | "vehicleJourney";
5234
5234
  textualContent: {
5235
5235
  summaryContent: {
5236
- summaryText: string;
5236
+ summaryText: string[];
5237
5237
  };
5238
5238
  reasonContent?: {
5239
- reasonText: string;
5239
+ reasonText: string[];
5240
5240
  };
5241
- descriptionContent: {
5242
- descriptionText: string;
5241
+ descriptionContent?: {
5242
+ descriptionText: string[];
5243
5243
  }[];
5244
- consequenceContent: {
5245
- consequenceText: string;
5244
+ consequenceContent?: {
5245
+ consequenceText: string[];
5246
5246
  }[];
5247
- recommendationContent: {
5248
- recommendationText: string;
5247
+ recommendationContent?: {
5248
+ recommendationText: string[];
5249
5249
  }[];
5250
5250
  durationContent?: {
5251
- durationText: string;
5251
+ durationText: string[];
5252
5252
  };
5253
- remarkContent: {
5254
- remark: string;
5253
+ remarkContent?: {
5254
+ remark: string[];
5255
5255
  }[];
5256
- infoLink: {
5256
+ infoLink?: {
5257
5257
  uri: string;
5258
5258
  label?: string[];
5259
5259
  }[];
@@ -5577,27 +5577,27 @@ interface components$9 {
5577
5577
  perspective: "general" | "stopPoint" | "vehicleJourney";
5578
5578
  textualContent: {
5579
5579
  summaryContent: {
5580
- summaryText: string;
5580
+ summaryText: string[];
5581
5581
  };
5582
5582
  reasonContent?: {
5583
- reasonText: string;
5583
+ reasonText: string[];
5584
5584
  };
5585
- descriptionContent: {
5586
- descriptionText: string;
5585
+ descriptionContent?: {
5586
+ descriptionText: string[];
5587
5587
  }[];
5588
- consequenceContent: {
5589
- consequenceText: string;
5588
+ consequenceContent?: {
5589
+ consequenceText: string[];
5590
5590
  }[];
5591
- recommendationContent: {
5592
- recommendationText: string;
5591
+ recommendationContent?: {
5592
+ recommendationText: string[];
5593
5593
  }[];
5594
5594
  durationContent?: {
5595
- durationText: string;
5595
+ durationText: string[];
5596
5596
  };
5597
- remarkContent: {
5598
- remark: string;
5597
+ remarkContent?: {
5598
+ remark: string[];
5599
5599
  }[];
5600
- infoLink: {
5600
+ infoLink?: {
5601
5601
  uri: string;
5602
5602
  label?: string[];
5603
5603
  }[];
@@ -6662,6 +6662,11 @@ interface components$7 {
6662
6662
  vehicleRef: string[];
6663
6663
  trainNumber: string[];
6664
6664
  };
6665
+ noSingleStep?: boolean;
6666
+ noStairs?: boolean;
6667
+ noEscalator?: boolean;
6668
+ noElevator?: boolean;
6669
+ noRamp?: boolean;
6665
6670
  bikeTransport?: boolean;
6666
6671
  walkSpeed?: number;
6667
6672
  numberOfResults?: number;
@@ -6796,6 +6801,11 @@ interface components$7 {
6796
6801
  vehicleRef: string[];
6797
6802
  trainNumber: string[];
6798
6803
  };
6804
+ noSingleStep?: boolean;
6805
+ noStairs?: boolean;
6806
+ noEscalator?: boolean;
6807
+ noElevator?: boolean;
6808
+ noRamp?: boolean;
6799
6809
  bikeTransport?: boolean;
6800
6810
  walkSpeed?: number;
6801
6811
  numberOfResults?: number;
@@ -6925,6 +6935,11 @@ interface components$7 {
6925
6935
  vehicleRef: string[];
6926
6936
  trainNumber: string[];
6927
6937
  };
6938
+ noSingleStep?: boolean;
6939
+ noStairs?: boolean;
6940
+ noEscalator?: boolean;
6941
+ noElevator?: boolean;
6942
+ noRamp?: boolean;
6928
6943
  bikeTransport?: boolean;
6929
6944
  walkSpeed?: number;
6930
6945
  numberOfResults?: number;
@@ -9004,27 +9019,27 @@ interface components$6 {
9004
9019
  perspective: "general" | "stopPoint" | "vehicleJourney";
9005
9020
  textualContent: {
9006
9021
  summaryContent: {
9007
- summaryText: string;
9022
+ summaryText: string[];
9008
9023
  };
9009
9024
  reasonContent?: {
9010
- reasonText: string;
9025
+ reasonText: string[];
9011
9026
  };
9012
- descriptionContent: {
9013
- descriptionText: string;
9027
+ descriptionContent?: {
9028
+ descriptionText: string[];
9014
9029
  }[];
9015
- consequenceContent: {
9016
- consequenceText: string;
9030
+ consequenceContent?: {
9031
+ consequenceText: string[];
9017
9032
  }[];
9018
- recommendationContent: {
9019
- recommendationText: string;
9033
+ recommendationContent?: {
9034
+ recommendationText: string[];
9020
9035
  }[];
9021
9036
  durationContent?: {
9022
- durationText: string;
9037
+ durationText: string[];
9023
9038
  };
9024
- remarkContent: {
9025
- remark: string;
9039
+ remarkContent?: {
9040
+ remark: string[];
9026
9041
  }[];
9027
- infoLink: {
9042
+ infoLink?: {
9028
9043
  uri: string;
9029
9044
  label?: string[];
9030
9045
  }[];
@@ -9616,27 +9631,27 @@ interface components$6 {
9616
9631
  perspective: "general" | "stopPoint" | "vehicleJourney";
9617
9632
  textualContent: {
9618
9633
  summaryContent: {
9619
- summaryText: string;
9634
+ summaryText: string[];
9620
9635
  };
9621
9636
  reasonContent?: {
9622
- reasonText: string;
9637
+ reasonText: string[];
9623
9638
  };
9624
- descriptionContent: {
9625
- descriptionText: string;
9639
+ descriptionContent?: {
9640
+ descriptionText: string[];
9626
9641
  }[];
9627
- consequenceContent: {
9628
- consequenceText: string;
9642
+ consequenceContent?: {
9643
+ consequenceText: string[];
9629
9644
  }[];
9630
- recommendationContent: {
9631
- recommendationText: string;
9645
+ recommendationContent?: {
9646
+ recommendationText: string[];
9632
9647
  }[];
9633
9648
  durationContent?: {
9634
- durationText: string;
9649
+ durationText: string[];
9635
9650
  };
9636
- remarkContent: {
9637
- remark: string;
9651
+ remarkContent?: {
9652
+ remark: string[];
9638
9653
  }[];
9639
- infoLink: {
9654
+ infoLink?: {
9640
9655
  uri: string;
9641
9656
  label?: string[];
9642
9657
  }[];
@@ -13257,6 +13272,11 @@ interface components$4 {
13257
13272
  interface components$3 {
13258
13273
  schemas: {
13259
13274
  TripRefineParam: {
13275
+ noSingleStep?: boolean;
13276
+ noStairs?: boolean;
13277
+ noEscalator?: boolean;
13278
+ noElevator?: boolean;
13279
+ noRamp?: boolean;
13260
13280
  numberOfResults?: number;
13261
13281
  /** @enum {string} */
13262
13282
  useRealtimeData?: "full" | "explanatory" | "none";
@@ -13268,6 +13288,11 @@ interface components$3 {
13268
13288
  OJPTripRefineRequest: {
13269
13289
  requestTimestamp: string;
13270
13290
  refineParams?: {
13291
+ noSingleStep?: boolean;
13292
+ noStairs?: boolean;
13293
+ noEscalator?: boolean;
13294
+ noElevator?: boolean;
13295
+ noRamp?: boolean;
13271
13296
  numberOfResults?: number;
13272
13297
  /** @enum {string} */
13273
13298
  useRealtimeData?: "full" | "explanatory" | "none";
@@ -13729,6 +13754,11 @@ interface components$3 {
13729
13754
  OJPTripRefineRequest: {
13730
13755
  requestTimestamp: string;
13731
13756
  refineParams?: {
13757
+ noSingleStep?: boolean;
13758
+ noStairs?: boolean;
13759
+ noEscalator?: boolean;
13760
+ noElevator?: boolean;
13761
+ noRamp?: boolean;
13732
13762
  numberOfResults?: number;
13733
13763
  /** @enum {string} */
13734
13764
  useRealtimeData?: "full" | "explanatory" | "none";
@@ -14326,27 +14356,27 @@ interface components$2 {
14326
14356
  perspective: "general" | "stopPoint" | "vehicleJourney";
14327
14357
  textualContent: {
14328
14358
  summaryContent: {
14329
- summaryText: string;
14359
+ summaryText: string[];
14330
14360
  };
14331
14361
  reasonContent?: {
14332
- reasonText: string;
14362
+ reasonText: string[];
14333
14363
  };
14334
- descriptionContent: {
14335
- descriptionText: string;
14364
+ descriptionContent?: {
14365
+ descriptionText: string[];
14336
14366
  }[];
14337
- consequenceContent: {
14338
- consequenceText: string;
14367
+ consequenceContent?: {
14368
+ consequenceText: string[];
14339
14369
  }[];
14340
- recommendationContent: {
14341
- recommendationText: string;
14370
+ recommendationContent?: {
14371
+ recommendationText: string[];
14342
14372
  }[];
14343
14373
  durationContent?: {
14344
- durationText: string;
14374
+ durationText: string[];
14345
14375
  };
14346
- remarkContent: {
14347
- remark: string;
14376
+ remarkContent?: {
14377
+ remark: string[];
14348
14378
  }[];
14349
- infoLink: {
14379
+ infoLink?: {
14350
14380
  uri: string;
14351
14381
  label?: string[];
14352
14382
  }[];
@@ -14938,27 +14968,27 @@ interface components$2 {
14938
14968
  perspective: "general" | "stopPoint" | "vehicleJourney";
14939
14969
  textualContent: {
14940
14970
  summaryContent: {
14941
- summaryText: string;
14971
+ summaryText: string[];
14942
14972
  };
14943
14973
  reasonContent?: {
14944
- reasonText: string;
14974
+ reasonText: string[];
14945
14975
  };
14946
- descriptionContent: {
14947
- descriptionText: string;
14976
+ descriptionContent?: {
14977
+ descriptionText: string[];
14948
14978
  }[];
14949
- consequenceContent: {
14950
- consequenceText: string;
14979
+ consequenceContent?: {
14980
+ consequenceText: string[];
14951
14981
  }[];
14952
- recommendationContent: {
14953
- recommendationText: string;
14982
+ recommendationContent?: {
14983
+ recommendationText: string[];
14954
14984
  }[];
14955
14985
  durationContent?: {
14956
- durationText: string;
14986
+ durationText: string[];
14957
14987
  };
14958
- remarkContent: {
14959
- remark: string;
14988
+ remarkContent?: {
14989
+ remark: string[];
14960
14990
  }[];
14961
- infoLink: {
14991
+ infoLink?: {
14962
14992
  uri: string;
14963
14993
  label?: string[];
14964
14994
  }[];
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const VERSION = "0.1.12";
1
+ declare const VERSION = "0.1.13";
2
2
 
3
3
  interface components$k {
4
4
  schemas: {
@@ -284,27 +284,27 @@ interface components$k {
284
284
  };
285
285
  TextualContentStructure: {
286
286
  summaryContent: {
287
- summaryText: string;
287
+ summaryText: string[];
288
288
  };
289
289
  reasonContent?: {
290
- reasonText: string;
290
+ reasonText: string[];
291
291
  };
292
- descriptionContent: {
293
- descriptionText: string;
292
+ descriptionContent?: {
293
+ descriptionText: string[];
294
294
  }[];
295
- consequenceContent: {
296
- consequenceText: string;
295
+ consequenceContent?: {
296
+ consequenceText: string[];
297
297
  }[];
298
- recommendationContent: {
299
- recommendationText: string;
298
+ recommendationContent?: {
299
+ recommendationText: string[];
300
300
  }[];
301
301
  durationContent?: {
302
- durationText: string;
302
+ durationText: string[];
303
303
  };
304
- remarkContent: {
305
- remark: string;
304
+ remarkContent?: {
305
+ remark: string[];
306
306
  }[];
307
- infoLink: {
307
+ infoLink?: {
308
308
  uri: string;
309
309
  label?: string[];
310
310
  }[];
@@ -316,27 +316,27 @@ interface components$k {
316
316
  perspective: "general" | "stopPoint" | "vehicleJourney";
317
317
  textualContent: {
318
318
  summaryContent: {
319
- summaryText: string;
319
+ summaryText: string[];
320
320
  };
321
321
  reasonContent?: {
322
- reasonText: string;
322
+ reasonText: string[];
323
323
  };
324
- descriptionContent: {
325
- descriptionText: string;
324
+ descriptionContent?: {
325
+ descriptionText: string[];
326
326
  }[];
327
- consequenceContent: {
328
- consequenceText: string;
327
+ consequenceContent?: {
328
+ consequenceText: string[];
329
329
  }[];
330
- recommendationContent: {
331
- recommendationText: string;
330
+ recommendationContent?: {
331
+ recommendationText: string[];
332
332
  }[];
333
333
  durationContent?: {
334
- durationText: string;
334
+ durationText: string[];
335
335
  };
336
- remarkContent: {
337
- remark: string;
336
+ remarkContent?: {
337
+ remark: string[];
338
338
  }[];
339
- infoLink: {
339
+ infoLink?: {
340
340
  uri: string;
341
341
  label?: string[];
342
342
  }[];
@@ -353,27 +353,27 @@ interface components$k {
353
353
  perspective: "general" | "stopPoint" | "vehicleJourney";
354
354
  textualContent: {
355
355
  summaryContent: {
356
- summaryText: string;
356
+ summaryText: string[];
357
357
  };
358
358
  reasonContent?: {
359
- reasonText: string;
359
+ reasonText: string[];
360
360
  };
361
- descriptionContent: {
362
- descriptionText: string;
361
+ descriptionContent?: {
362
+ descriptionText: string[];
363
363
  }[];
364
- consequenceContent: {
365
- consequenceText: string;
364
+ consequenceContent?: {
365
+ consequenceText: string[];
366
366
  }[];
367
- recommendationContent: {
368
- recommendationText: string;
367
+ recommendationContent?: {
368
+ recommendationText: string[];
369
369
  }[];
370
370
  durationContent?: {
371
- durationText: string;
371
+ durationText: string[];
372
372
  };
373
- remarkContent: {
374
- remark: string;
373
+ remarkContent?: {
374
+ remark: string[];
375
375
  }[];
376
- infoLink: {
376
+ infoLink?: {
377
377
  uri: string;
378
378
  label?: string[];
379
379
  }[];
@@ -408,27 +408,27 @@ interface components$k {
408
408
  perspective: "general" | "stopPoint" | "vehicleJourney";
409
409
  textualContent: {
410
410
  summaryContent: {
411
- summaryText: string;
411
+ summaryText: string[];
412
412
  };
413
413
  reasonContent?: {
414
- reasonText: string;
414
+ reasonText: string[];
415
415
  };
416
- descriptionContent: {
417
- descriptionText: string;
416
+ descriptionContent?: {
417
+ descriptionText: string[];
418
418
  }[];
419
- consequenceContent: {
420
- consequenceText: string;
419
+ consequenceContent?: {
420
+ consequenceText: string[];
421
421
  }[];
422
- recommendationContent: {
423
- recommendationText: string;
422
+ recommendationContent?: {
423
+ recommendationText: string[];
424
424
  }[];
425
425
  durationContent?: {
426
- durationText: string;
426
+ durationText: string[];
427
427
  };
428
- remarkContent: {
429
- remark: string;
428
+ remarkContent?: {
429
+ remark: string[];
430
430
  }[];
431
- infoLink: {
431
+ infoLink?: {
432
432
  uri: string;
433
433
  label?: string[];
434
434
  }[];
@@ -735,27 +735,27 @@ interface components$k {
735
735
  perspective: "general" | "stopPoint" | "vehicleJourney";
736
736
  textualContent: {
737
737
  summaryContent: {
738
- summaryText: string;
738
+ summaryText: string[];
739
739
  };
740
740
  reasonContent?: {
741
- reasonText: string;
741
+ reasonText: string[];
742
742
  };
743
- descriptionContent: {
744
- descriptionText: string;
743
+ descriptionContent?: {
744
+ descriptionText: string[];
745
745
  }[];
746
- consequenceContent: {
747
- consequenceText: string;
746
+ consequenceContent?: {
747
+ consequenceText: string[];
748
748
  }[];
749
- recommendationContent: {
750
- recommendationText: string;
749
+ recommendationContent?: {
750
+ recommendationText: string[];
751
751
  }[];
752
752
  durationContent?: {
753
- durationText: string;
753
+ durationText: string[];
754
754
  };
755
- remarkContent: {
756
- remark: string;
755
+ remarkContent?: {
756
+ remark: string[];
757
757
  }[];
758
- infoLink: {
758
+ infoLink?: {
759
759
  uri: string;
760
760
  label?: string[];
761
761
  }[];
@@ -3128,27 +3128,27 @@ interface components$d {
3128
3128
  perspective: "general" | "stopPoint" | "vehicleJourney";
3129
3129
  textualContent: {
3130
3130
  summaryContent: {
3131
- summaryText: string;
3131
+ summaryText: string[];
3132
3132
  };
3133
3133
  reasonContent?: {
3134
- reasonText: string;
3134
+ reasonText: string[];
3135
3135
  };
3136
- descriptionContent: {
3137
- descriptionText: string;
3136
+ descriptionContent?: {
3137
+ descriptionText: string[];
3138
3138
  }[];
3139
- consequenceContent: {
3140
- consequenceText: string;
3139
+ consequenceContent?: {
3140
+ consequenceText: string[];
3141
3141
  }[];
3142
- recommendationContent: {
3143
- recommendationText: string;
3142
+ recommendationContent?: {
3143
+ recommendationText: string[];
3144
3144
  }[];
3145
3145
  durationContent?: {
3146
- durationText: string;
3146
+ durationText: string[];
3147
3147
  };
3148
- remarkContent: {
3149
- remark: string;
3148
+ remarkContent?: {
3149
+ remark: string[];
3150
3150
  }[];
3151
- infoLink: {
3151
+ infoLink?: {
3152
3152
  uri: string;
3153
3153
  label?: string[];
3154
3154
  }[];
@@ -3486,27 +3486,27 @@ interface components$d {
3486
3486
  perspective: "general" | "stopPoint" | "vehicleJourney";
3487
3487
  textualContent: {
3488
3488
  summaryContent: {
3489
- summaryText: string;
3489
+ summaryText: string[];
3490
3490
  };
3491
3491
  reasonContent?: {
3492
- reasonText: string;
3492
+ reasonText: string[];
3493
3493
  };
3494
- descriptionContent: {
3495
- descriptionText: string;
3494
+ descriptionContent?: {
3495
+ descriptionText: string[];
3496
3496
  }[];
3497
- consequenceContent: {
3498
- consequenceText: string;
3497
+ consequenceContent?: {
3498
+ consequenceText: string[];
3499
3499
  }[];
3500
- recommendationContent: {
3501
- recommendationText: string;
3500
+ recommendationContent?: {
3501
+ recommendationText: string[];
3502
3502
  }[];
3503
3503
  durationContent?: {
3504
- durationText: string;
3504
+ durationText: string[];
3505
3505
  };
3506
- remarkContent: {
3507
- remark: string;
3506
+ remarkContent?: {
3507
+ remark: string[];
3508
3508
  }[];
3509
- infoLink: {
3509
+ infoLink?: {
3510
3510
  uri: string;
3511
3511
  label?: string[];
3512
3512
  }[];
@@ -5233,27 +5233,27 @@ interface components$9 {
5233
5233
  perspective: "general" | "stopPoint" | "vehicleJourney";
5234
5234
  textualContent: {
5235
5235
  summaryContent: {
5236
- summaryText: string;
5236
+ summaryText: string[];
5237
5237
  };
5238
5238
  reasonContent?: {
5239
- reasonText: string;
5239
+ reasonText: string[];
5240
5240
  };
5241
- descriptionContent: {
5242
- descriptionText: string;
5241
+ descriptionContent?: {
5242
+ descriptionText: string[];
5243
5243
  }[];
5244
- consequenceContent: {
5245
- consequenceText: string;
5244
+ consequenceContent?: {
5245
+ consequenceText: string[];
5246
5246
  }[];
5247
- recommendationContent: {
5248
- recommendationText: string;
5247
+ recommendationContent?: {
5248
+ recommendationText: string[];
5249
5249
  }[];
5250
5250
  durationContent?: {
5251
- durationText: string;
5251
+ durationText: string[];
5252
5252
  };
5253
- remarkContent: {
5254
- remark: string;
5253
+ remarkContent?: {
5254
+ remark: string[];
5255
5255
  }[];
5256
- infoLink: {
5256
+ infoLink?: {
5257
5257
  uri: string;
5258
5258
  label?: string[];
5259
5259
  }[];
@@ -5577,27 +5577,27 @@ interface components$9 {
5577
5577
  perspective: "general" | "stopPoint" | "vehicleJourney";
5578
5578
  textualContent: {
5579
5579
  summaryContent: {
5580
- summaryText: string;
5580
+ summaryText: string[];
5581
5581
  };
5582
5582
  reasonContent?: {
5583
- reasonText: string;
5583
+ reasonText: string[];
5584
5584
  };
5585
- descriptionContent: {
5586
- descriptionText: string;
5585
+ descriptionContent?: {
5586
+ descriptionText: string[];
5587
5587
  }[];
5588
- consequenceContent: {
5589
- consequenceText: string;
5588
+ consequenceContent?: {
5589
+ consequenceText: string[];
5590
5590
  }[];
5591
- recommendationContent: {
5592
- recommendationText: string;
5591
+ recommendationContent?: {
5592
+ recommendationText: string[];
5593
5593
  }[];
5594
5594
  durationContent?: {
5595
- durationText: string;
5595
+ durationText: string[];
5596
5596
  };
5597
- remarkContent: {
5598
- remark: string;
5597
+ remarkContent?: {
5598
+ remark: string[];
5599
5599
  }[];
5600
- infoLink: {
5600
+ infoLink?: {
5601
5601
  uri: string;
5602
5602
  label?: string[];
5603
5603
  }[];
@@ -6662,6 +6662,11 @@ interface components$7 {
6662
6662
  vehicleRef: string[];
6663
6663
  trainNumber: string[];
6664
6664
  };
6665
+ noSingleStep?: boolean;
6666
+ noStairs?: boolean;
6667
+ noEscalator?: boolean;
6668
+ noElevator?: boolean;
6669
+ noRamp?: boolean;
6665
6670
  bikeTransport?: boolean;
6666
6671
  walkSpeed?: number;
6667
6672
  numberOfResults?: number;
@@ -6796,6 +6801,11 @@ interface components$7 {
6796
6801
  vehicleRef: string[];
6797
6802
  trainNumber: string[];
6798
6803
  };
6804
+ noSingleStep?: boolean;
6805
+ noStairs?: boolean;
6806
+ noEscalator?: boolean;
6807
+ noElevator?: boolean;
6808
+ noRamp?: boolean;
6799
6809
  bikeTransport?: boolean;
6800
6810
  walkSpeed?: number;
6801
6811
  numberOfResults?: number;
@@ -6925,6 +6935,11 @@ interface components$7 {
6925
6935
  vehicleRef: string[];
6926
6936
  trainNumber: string[];
6927
6937
  };
6938
+ noSingleStep?: boolean;
6939
+ noStairs?: boolean;
6940
+ noEscalator?: boolean;
6941
+ noElevator?: boolean;
6942
+ noRamp?: boolean;
6928
6943
  bikeTransport?: boolean;
6929
6944
  walkSpeed?: number;
6930
6945
  numberOfResults?: number;
@@ -9004,27 +9019,27 @@ interface components$6 {
9004
9019
  perspective: "general" | "stopPoint" | "vehicleJourney";
9005
9020
  textualContent: {
9006
9021
  summaryContent: {
9007
- summaryText: string;
9022
+ summaryText: string[];
9008
9023
  };
9009
9024
  reasonContent?: {
9010
- reasonText: string;
9025
+ reasonText: string[];
9011
9026
  };
9012
- descriptionContent: {
9013
- descriptionText: string;
9027
+ descriptionContent?: {
9028
+ descriptionText: string[];
9014
9029
  }[];
9015
- consequenceContent: {
9016
- consequenceText: string;
9030
+ consequenceContent?: {
9031
+ consequenceText: string[];
9017
9032
  }[];
9018
- recommendationContent: {
9019
- recommendationText: string;
9033
+ recommendationContent?: {
9034
+ recommendationText: string[];
9020
9035
  }[];
9021
9036
  durationContent?: {
9022
- durationText: string;
9037
+ durationText: string[];
9023
9038
  };
9024
- remarkContent: {
9025
- remark: string;
9039
+ remarkContent?: {
9040
+ remark: string[];
9026
9041
  }[];
9027
- infoLink: {
9042
+ infoLink?: {
9028
9043
  uri: string;
9029
9044
  label?: string[];
9030
9045
  }[];
@@ -9616,27 +9631,27 @@ interface components$6 {
9616
9631
  perspective: "general" | "stopPoint" | "vehicleJourney";
9617
9632
  textualContent: {
9618
9633
  summaryContent: {
9619
- summaryText: string;
9634
+ summaryText: string[];
9620
9635
  };
9621
9636
  reasonContent?: {
9622
- reasonText: string;
9637
+ reasonText: string[];
9623
9638
  };
9624
- descriptionContent: {
9625
- descriptionText: string;
9639
+ descriptionContent?: {
9640
+ descriptionText: string[];
9626
9641
  }[];
9627
- consequenceContent: {
9628
- consequenceText: string;
9642
+ consequenceContent?: {
9643
+ consequenceText: string[];
9629
9644
  }[];
9630
- recommendationContent: {
9631
- recommendationText: string;
9645
+ recommendationContent?: {
9646
+ recommendationText: string[];
9632
9647
  }[];
9633
9648
  durationContent?: {
9634
- durationText: string;
9649
+ durationText: string[];
9635
9650
  };
9636
- remarkContent: {
9637
- remark: string;
9651
+ remarkContent?: {
9652
+ remark: string[];
9638
9653
  }[];
9639
- infoLink: {
9654
+ infoLink?: {
9640
9655
  uri: string;
9641
9656
  label?: string[];
9642
9657
  }[];
@@ -13257,6 +13272,11 @@ interface components$4 {
13257
13272
  interface components$3 {
13258
13273
  schemas: {
13259
13274
  TripRefineParam: {
13275
+ noSingleStep?: boolean;
13276
+ noStairs?: boolean;
13277
+ noEscalator?: boolean;
13278
+ noElevator?: boolean;
13279
+ noRamp?: boolean;
13260
13280
  numberOfResults?: number;
13261
13281
  /** @enum {string} */
13262
13282
  useRealtimeData?: "full" | "explanatory" | "none";
@@ -13268,6 +13288,11 @@ interface components$3 {
13268
13288
  OJPTripRefineRequest: {
13269
13289
  requestTimestamp: string;
13270
13290
  refineParams?: {
13291
+ noSingleStep?: boolean;
13292
+ noStairs?: boolean;
13293
+ noEscalator?: boolean;
13294
+ noElevator?: boolean;
13295
+ noRamp?: boolean;
13271
13296
  numberOfResults?: number;
13272
13297
  /** @enum {string} */
13273
13298
  useRealtimeData?: "full" | "explanatory" | "none";
@@ -13729,6 +13754,11 @@ interface components$3 {
13729
13754
  OJPTripRefineRequest: {
13730
13755
  requestTimestamp: string;
13731
13756
  refineParams?: {
13757
+ noSingleStep?: boolean;
13758
+ noStairs?: boolean;
13759
+ noEscalator?: boolean;
13760
+ noElevator?: boolean;
13761
+ noRamp?: boolean;
13732
13762
  numberOfResults?: number;
13733
13763
  /** @enum {string} */
13734
13764
  useRealtimeData?: "full" | "explanatory" | "none";
@@ -14326,27 +14356,27 @@ interface components$2 {
14326
14356
  perspective: "general" | "stopPoint" | "vehicleJourney";
14327
14357
  textualContent: {
14328
14358
  summaryContent: {
14329
- summaryText: string;
14359
+ summaryText: string[];
14330
14360
  };
14331
14361
  reasonContent?: {
14332
- reasonText: string;
14362
+ reasonText: string[];
14333
14363
  };
14334
- descriptionContent: {
14335
- descriptionText: string;
14364
+ descriptionContent?: {
14365
+ descriptionText: string[];
14336
14366
  }[];
14337
- consequenceContent: {
14338
- consequenceText: string;
14367
+ consequenceContent?: {
14368
+ consequenceText: string[];
14339
14369
  }[];
14340
- recommendationContent: {
14341
- recommendationText: string;
14370
+ recommendationContent?: {
14371
+ recommendationText: string[];
14342
14372
  }[];
14343
14373
  durationContent?: {
14344
- durationText: string;
14374
+ durationText: string[];
14345
14375
  };
14346
- remarkContent: {
14347
- remark: string;
14376
+ remarkContent?: {
14377
+ remark: string[];
14348
14378
  }[];
14349
- infoLink: {
14379
+ infoLink?: {
14350
14380
  uri: string;
14351
14381
  label?: string[];
14352
14382
  }[];
@@ -14938,27 +14968,27 @@ interface components$2 {
14938
14968
  perspective: "general" | "stopPoint" | "vehicleJourney";
14939
14969
  textualContent: {
14940
14970
  summaryContent: {
14941
- summaryText: string;
14971
+ summaryText: string[];
14942
14972
  };
14943
14973
  reasonContent?: {
14944
- reasonText: string;
14974
+ reasonText: string[];
14945
14975
  };
14946
- descriptionContent: {
14947
- descriptionText: string;
14976
+ descriptionContent?: {
14977
+ descriptionText: string[];
14948
14978
  }[];
14949
- consequenceContent: {
14950
- consequenceText: string;
14979
+ consequenceContent?: {
14980
+ consequenceText: string[];
14951
14981
  }[];
14952
- recommendationContent: {
14953
- recommendationText: string;
14982
+ recommendationContent?: {
14983
+ recommendationText: string[];
14954
14984
  }[];
14955
14985
  durationContent?: {
14956
- durationText: string;
14986
+ durationText: string[];
14957
14987
  };
14958
- remarkContent: {
14959
- remark: string;
14988
+ remarkContent?: {
14989
+ remark: string[];
14960
14990
  }[];
14961
- infoLink: {
14991
+ infoLink?: {
14962
14992
  uri: string;
14963
14993
  label?: string[];
14964
14994
  }[];
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/constants.ts
2
- var VERSION = "0.1.12";
2
+ var VERSION = "0.1.13";
3
3
 
4
4
  // src/types/openapi-dependencies.ts
5
5
  var MapNS_Tags = {
@@ -94,12 +94,15 @@ var MapArrayTags = {
94
94
  "textualContent.consequenceContent": true,
95
95
  "textualContent.recommendationContent": true,
96
96
  "textualContent.remarkContent": true,
97
+ "summaryContent.summaryText": true,
98
+ "reasonContent.reasonText": true,
99
+ "descriptionContent.descriptionText": true,
100
+ "consequenceContent.consequenceText": true,
101
+ "recommendationContent.recommendationText": true,
102
+ "durationContent.durationText": true,
103
+ "remarkContent.remark": true,
97
104
  "textualContent.infoLink": true,
98
- // technically these are also arrays - but the OJP repsonse never returned it as such
99
- // 'descriptionContent.descriptionText': true,
100
- // 'consequenceContent.consequenceText': true,
101
- // 'recommendationContent.recommendationText': true,
102
- // 'remarkContent.remark': true,
105
+ "infoLink.label": true,
103
106
  "itModeAndModeOfOperation.personalModeOfOperation": true,
104
107
  // Service
105
108
  "service.attribute": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ojp-shared-types",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Shared types for OJP models based on OpenAPI / XSD Schema",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",