ojp-shared-types 0.1.12 → 0.1.14

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/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- declare const VERSION = "0.1.12";
1
+ declare const VERSION = "0.1.14";
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
  }[];
@@ -4880,6 +4880,9 @@ interface components$a {
4880
4880
  includeTrackProjection?: boolean;
4881
4881
  includePlacesContext?: boolean;
4882
4882
  includeSituationsContext?: boolean;
4883
+ extension?: {
4884
+ useExternalCoordinates?: boolean;
4885
+ };
4883
4886
  };
4884
4887
  OJPTripInfoRequest: {
4885
4888
  requestTimestamp: string;
@@ -4891,6 +4894,9 @@ interface components$a {
4891
4894
  includeTrackProjection?: boolean;
4892
4895
  includePlacesContext?: boolean;
4893
4896
  includeSituationsContext?: boolean;
4897
+ extension?: {
4898
+ useExternalCoordinates?: boolean;
4899
+ };
4894
4900
  };
4895
4901
  };
4896
4902
  OJP: {
@@ -4911,6 +4917,9 @@ interface components$a {
4911
4917
  includeTrackProjection?: boolean;
4912
4918
  includePlacesContext?: boolean;
4913
4919
  includeSituationsContext?: boolean;
4920
+ extension?: {
4921
+ useExternalCoordinates?: boolean;
4922
+ };
4914
4923
  };
4915
4924
  };
4916
4925
  };
@@ -5233,27 +5242,27 @@ interface components$9 {
5233
5242
  perspective: "general" | "stopPoint" | "vehicleJourney";
5234
5243
  textualContent: {
5235
5244
  summaryContent: {
5236
- summaryText: string;
5245
+ summaryText: string[];
5237
5246
  };
5238
5247
  reasonContent?: {
5239
- reasonText: string;
5248
+ reasonText: string[];
5240
5249
  };
5241
- descriptionContent: {
5242
- descriptionText: string;
5250
+ descriptionContent?: {
5251
+ descriptionText: string[];
5243
5252
  }[];
5244
- consequenceContent: {
5245
- consequenceText: string;
5253
+ consequenceContent?: {
5254
+ consequenceText: string[];
5246
5255
  }[];
5247
- recommendationContent: {
5248
- recommendationText: string;
5256
+ recommendationContent?: {
5257
+ recommendationText: string[];
5249
5258
  }[];
5250
5259
  durationContent?: {
5251
- durationText: string;
5260
+ durationText: string[];
5252
5261
  };
5253
- remarkContent: {
5254
- remark: string;
5262
+ remarkContent?: {
5263
+ remark: string[];
5255
5264
  }[];
5256
- infoLink: {
5265
+ infoLink?: {
5257
5266
  uri: string;
5258
5267
  label?: string[];
5259
5268
  }[];
@@ -5577,27 +5586,27 @@ interface components$9 {
5577
5586
  perspective: "general" | "stopPoint" | "vehicleJourney";
5578
5587
  textualContent: {
5579
5588
  summaryContent: {
5580
- summaryText: string;
5589
+ summaryText: string[];
5581
5590
  };
5582
5591
  reasonContent?: {
5583
- reasonText: string;
5592
+ reasonText: string[];
5584
5593
  };
5585
- descriptionContent: {
5586
- descriptionText: string;
5594
+ descriptionContent?: {
5595
+ descriptionText: string[];
5587
5596
  }[];
5588
- consequenceContent: {
5589
- consequenceText: string;
5597
+ consequenceContent?: {
5598
+ consequenceText: string[];
5590
5599
  }[];
5591
- recommendationContent: {
5592
- recommendationText: string;
5600
+ recommendationContent?: {
5601
+ recommendationText: string[];
5593
5602
  }[];
5594
5603
  durationContent?: {
5595
- durationText: string;
5604
+ durationText: string[];
5596
5605
  };
5597
- remarkContent: {
5598
- remark: string;
5606
+ remarkContent?: {
5607
+ remark: string[];
5599
5608
  }[];
5600
- infoLink: {
5609
+ infoLink?: {
5601
5610
  uri: string;
5602
5611
  label?: string[];
5603
5612
  }[];
@@ -6662,6 +6671,11 @@ interface components$7 {
6662
6671
  vehicleRef: string[];
6663
6672
  trainNumber: string[];
6664
6673
  };
6674
+ noSingleStep?: boolean;
6675
+ noStairs?: boolean;
6676
+ noEscalator?: boolean;
6677
+ noElevator?: boolean;
6678
+ noRamp?: boolean;
6665
6679
  bikeTransport?: boolean;
6666
6680
  walkSpeed?: number;
6667
6681
  numberOfResults?: number;
@@ -6796,6 +6810,11 @@ interface components$7 {
6796
6810
  vehicleRef: string[];
6797
6811
  trainNumber: string[];
6798
6812
  };
6813
+ noSingleStep?: boolean;
6814
+ noStairs?: boolean;
6815
+ noEscalator?: boolean;
6816
+ noElevator?: boolean;
6817
+ noRamp?: boolean;
6799
6818
  bikeTransport?: boolean;
6800
6819
  walkSpeed?: number;
6801
6820
  numberOfResults?: number;
@@ -6925,6 +6944,11 @@ interface components$7 {
6925
6944
  vehicleRef: string[];
6926
6945
  trainNumber: string[];
6927
6946
  };
6947
+ noSingleStep?: boolean;
6948
+ noStairs?: boolean;
6949
+ noEscalator?: boolean;
6950
+ noElevator?: boolean;
6951
+ noRamp?: boolean;
6928
6952
  bikeTransport?: boolean;
6929
6953
  walkSpeed?: number;
6930
6954
  numberOfResults?: number;
@@ -9004,27 +9028,27 @@ interface components$6 {
9004
9028
  perspective: "general" | "stopPoint" | "vehicleJourney";
9005
9029
  textualContent: {
9006
9030
  summaryContent: {
9007
- summaryText: string;
9031
+ summaryText: string[];
9008
9032
  };
9009
9033
  reasonContent?: {
9010
- reasonText: string;
9034
+ reasonText: string[];
9011
9035
  };
9012
- descriptionContent: {
9013
- descriptionText: string;
9036
+ descriptionContent?: {
9037
+ descriptionText: string[];
9014
9038
  }[];
9015
- consequenceContent: {
9016
- consequenceText: string;
9039
+ consequenceContent?: {
9040
+ consequenceText: string[];
9017
9041
  }[];
9018
- recommendationContent: {
9019
- recommendationText: string;
9042
+ recommendationContent?: {
9043
+ recommendationText: string[];
9020
9044
  }[];
9021
9045
  durationContent?: {
9022
- durationText: string;
9046
+ durationText: string[];
9023
9047
  };
9024
- remarkContent: {
9025
- remark: string;
9048
+ remarkContent?: {
9049
+ remark: string[];
9026
9050
  }[];
9027
- infoLink: {
9051
+ infoLink?: {
9028
9052
  uri: string;
9029
9053
  label?: string[];
9030
9054
  }[];
@@ -9616,27 +9640,27 @@ interface components$6 {
9616
9640
  perspective: "general" | "stopPoint" | "vehicleJourney";
9617
9641
  textualContent: {
9618
9642
  summaryContent: {
9619
- summaryText: string;
9643
+ summaryText: string[];
9620
9644
  };
9621
9645
  reasonContent?: {
9622
- reasonText: string;
9646
+ reasonText: string[];
9623
9647
  };
9624
- descriptionContent: {
9625
- descriptionText: string;
9648
+ descriptionContent?: {
9649
+ descriptionText: string[];
9626
9650
  }[];
9627
- consequenceContent: {
9628
- consequenceText: string;
9651
+ consequenceContent?: {
9652
+ consequenceText: string[];
9629
9653
  }[];
9630
- recommendationContent: {
9631
- recommendationText: string;
9654
+ recommendationContent?: {
9655
+ recommendationText: string[];
9632
9656
  }[];
9633
9657
  durationContent?: {
9634
- durationText: string;
9658
+ durationText: string[];
9635
9659
  };
9636
- remarkContent: {
9637
- remark: string;
9660
+ remarkContent?: {
9661
+ remark: string[];
9638
9662
  }[];
9639
- infoLink: {
9663
+ infoLink?: {
9640
9664
  uri: string;
9641
9665
  label?: string[];
9642
9666
  }[];
@@ -13257,6 +13281,11 @@ interface components$4 {
13257
13281
  interface components$3 {
13258
13282
  schemas: {
13259
13283
  TripRefineParam: {
13284
+ noSingleStep?: boolean;
13285
+ noStairs?: boolean;
13286
+ noEscalator?: boolean;
13287
+ noElevator?: boolean;
13288
+ noRamp?: boolean;
13260
13289
  numberOfResults?: number;
13261
13290
  /** @enum {string} */
13262
13291
  useRealtimeData?: "full" | "explanatory" | "none";
@@ -13264,10 +13293,18 @@ interface components$3 {
13264
13293
  includeLegProjection?: boolean;
13265
13294
  includeTurnDescription?: boolean;
13266
13295
  includeIntermediateStops?: boolean;
13296
+ extension?: {
13297
+ useExternalCoordinates?: boolean;
13298
+ };
13267
13299
  };
13268
13300
  OJPTripRefineRequest: {
13269
13301
  requestTimestamp: string;
13270
13302
  refineParams?: {
13303
+ noSingleStep?: boolean;
13304
+ noStairs?: boolean;
13305
+ noEscalator?: boolean;
13306
+ noElevator?: boolean;
13307
+ noRamp?: boolean;
13271
13308
  numberOfResults?: number;
13272
13309
  /** @enum {string} */
13273
13310
  useRealtimeData?: "full" | "explanatory" | "none";
@@ -13275,6 +13312,9 @@ interface components$3 {
13275
13312
  includeLegProjection?: boolean;
13276
13313
  includeTurnDescription?: boolean;
13277
13314
  includeIntermediateStops?: boolean;
13315
+ extension?: {
13316
+ useExternalCoordinates?: boolean;
13317
+ };
13278
13318
  };
13279
13319
  tripResult: {
13280
13320
  id: string;
@@ -13729,6 +13769,11 @@ interface components$3 {
13729
13769
  OJPTripRefineRequest: {
13730
13770
  requestTimestamp: string;
13731
13771
  refineParams?: {
13772
+ noSingleStep?: boolean;
13773
+ noStairs?: boolean;
13774
+ noEscalator?: boolean;
13775
+ noElevator?: boolean;
13776
+ noRamp?: boolean;
13732
13777
  numberOfResults?: number;
13733
13778
  /** @enum {string} */
13734
13779
  useRealtimeData?: "full" | "explanatory" | "none";
@@ -13736,6 +13781,9 @@ interface components$3 {
13736
13781
  includeLegProjection?: boolean;
13737
13782
  includeTurnDescription?: boolean;
13738
13783
  includeIntermediateStops?: boolean;
13784
+ extension?: {
13785
+ useExternalCoordinates?: boolean;
13786
+ };
13739
13787
  };
13740
13788
  tripResult: {
13741
13789
  id: string;
@@ -14326,27 +14374,27 @@ interface components$2 {
14326
14374
  perspective: "general" | "stopPoint" | "vehicleJourney";
14327
14375
  textualContent: {
14328
14376
  summaryContent: {
14329
- summaryText: string;
14377
+ summaryText: string[];
14330
14378
  };
14331
14379
  reasonContent?: {
14332
- reasonText: string;
14380
+ reasonText: string[];
14333
14381
  };
14334
- descriptionContent: {
14335
- descriptionText: string;
14382
+ descriptionContent?: {
14383
+ descriptionText: string[];
14336
14384
  }[];
14337
- consequenceContent: {
14338
- consequenceText: string;
14385
+ consequenceContent?: {
14386
+ consequenceText: string[];
14339
14387
  }[];
14340
- recommendationContent: {
14341
- recommendationText: string;
14388
+ recommendationContent?: {
14389
+ recommendationText: string[];
14342
14390
  }[];
14343
14391
  durationContent?: {
14344
- durationText: string;
14392
+ durationText: string[];
14345
14393
  };
14346
- remarkContent: {
14347
- remark: string;
14394
+ remarkContent?: {
14395
+ remark: string[];
14348
14396
  }[];
14349
- infoLink: {
14397
+ infoLink?: {
14350
14398
  uri: string;
14351
14399
  label?: string[];
14352
14400
  }[];
@@ -14938,27 +14986,27 @@ interface components$2 {
14938
14986
  perspective: "general" | "stopPoint" | "vehicleJourney";
14939
14987
  textualContent: {
14940
14988
  summaryContent: {
14941
- summaryText: string;
14989
+ summaryText: string[];
14942
14990
  };
14943
14991
  reasonContent?: {
14944
- reasonText: string;
14992
+ reasonText: string[];
14945
14993
  };
14946
- descriptionContent: {
14947
- descriptionText: string;
14994
+ descriptionContent?: {
14995
+ descriptionText: string[];
14948
14996
  }[];
14949
- consequenceContent: {
14950
- consequenceText: string;
14997
+ consequenceContent?: {
14998
+ consequenceText: string[];
14951
14999
  }[];
14952
- recommendationContent: {
14953
- recommendationText: string;
15000
+ recommendationContent?: {
15001
+ recommendationText: string[];
14954
15002
  }[];
14955
15003
  durationContent?: {
14956
- durationText: string;
15004
+ durationText: string[];
14957
15005
  };
14958
- remarkContent: {
14959
- remark: string;
15006
+ remarkContent?: {
15007
+ remark: string[];
14960
15008
  }[];
14961
- infoLink: {
15009
+ infoLink?: {
14962
15010
  uri: string;
14963
15011
  label?: string[];
14964
15012
  }[];