@golemio/ovapi-gtfs-realtime-bindings 1.1.1-dev.849152839 → 1.1.2-dev.930147050
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 +5 -6
- package/dist/gtfs-realtime.d.ts +183 -0
- package/dist/gtfs-realtime.js +918 -354
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -9,12 +9,11 @@
|
|
|
9
9
|
</p>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
|
-
# OVapi GTFS Realtime Bindings
|
|
12
|
+
# Golemio OVapi GTFS Realtime Bindings
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
GTFS Realtime bindings with OVapi extension compiled to JS format.
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Přehled extenzí GTFS RT: https://developers.google.com/transit/gtfs-realtime/guides/extensions
|
|
16
|
+
Based on [gtfs-realtime-bindings](https://github.com/MobilityData/gtfs-realtime-bindings/)
|
|
17
|
+
with the addition of OVApi extension (1003).
|
|
20
18
|
|
|
19
|
+
GTFS RT Extension Registry: https://developers.google.com/transit/gtfs-realtime/guides/extensions
|
package/dist/gtfs-realtime.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as $protobuf from "protobufjs";
|
|
2
|
+
import Long = require("long");
|
|
2
3
|
/** Namespace transit_realtime. */
|
|
3
4
|
export namespace transit_realtime {
|
|
4
5
|
|
|
@@ -102,6 +103,13 @@ export namespace transit_realtime {
|
|
|
102
103
|
* @returns JSON object
|
|
103
104
|
*/
|
|
104
105
|
public toJSON(): { [k: string]: any };
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Gets the default type url for OVapiTripDescriptor
|
|
109
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
110
|
+
* @returns The default type url
|
|
111
|
+
*/
|
|
112
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
105
113
|
}
|
|
106
114
|
|
|
107
115
|
/** Properties of a OVapiVehiclePosition. */
|
|
@@ -192,6 +200,13 @@ export namespace transit_realtime {
|
|
|
192
200
|
* @returns JSON object
|
|
193
201
|
*/
|
|
194
202
|
public toJSON(): { [k: string]: any };
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Gets the default type url for OVapiVehiclePosition
|
|
206
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
207
|
+
* @returns The default type url
|
|
208
|
+
*/
|
|
209
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
195
210
|
}
|
|
196
211
|
|
|
197
212
|
/** Properties of a OVapiTripUpdate. */
|
|
@@ -282,6 +297,13 @@ export namespace transit_realtime {
|
|
|
282
297
|
* @returns JSON object
|
|
283
298
|
*/
|
|
284
299
|
public toJSON(): { [k: string]: any };
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Gets the default type url for OVapiTripUpdate
|
|
303
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
304
|
+
* @returns The default type url
|
|
305
|
+
*/
|
|
306
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
285
307
|
}
|
|
286
308
|
|
|
287
309
|
/** Properties of a OVapiStopTimeUpdate. */
|
|
@@ -390,6 +412,13 @@ export namespace transit_realtime {
|
|
|
390
412
|
* @returns JSON object
|
|
391
413
|
*/
|
|
392
414
|
public toJSON(): { [k: string]: any };
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Gets the default type url for OVapiStopTimeUpdate
|
|
418
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
419
|
+
* @returns The default type url
|
|
420
|
+
*/
|
|
421
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
393
422
|
}
|
|
394
423
|
|
|
395
424
|
/** Properties of a OVapiVehicleDescriptor. */
|
|
@@ -492,6 +521,13 @@ export namespace transit_realtime {
|
|
|
492
521
|
* @returns JSON object
|
|
493
522
|
*/
|
|
494
523
|
public toJSON(): { [k: string]: any };
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Gets the default type url for OVapiVehicleDescriptor
|
|
527
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
528
|
+
* @returns The default type url
|
|
529
|
+
*/
|
|
530
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
495
531
|
}
|
|
496
532
|
|
|
497
533
|
/** Properties of a FeedMessage. */
|
|
@@ -588,6 +624,13 @@ export namespace transit_realtime {
|
|
|
588
624
|
* @returns JSON object
|
|
589
625
|
*/
|
|
590
626
|
public toJSON(): { [k: string]: any };
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Gets the default type url for FeedMessage
|
|
630
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
631
|
+
* @returns The default type url
|
|
632
|
+
*/
|
|
633
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
591
634
|
}
|
|
592
635
|
|
|
593
636
|
/** Properties of a FeedHeader. */
|
|
@@ -690,6 +733,13 @@ export namespace transit_realtime {
|
|
|
690
733
|
* @returns JSON object
|
|
691
734
|
*/
|
|
692
735
|
public toJSON(): { [k: string]: any };
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Gets the default type url for FeedHeader
|
|
739
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
740
|
+
* @returns The default type url
|
|
741
|
+
*/
|
|
742
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
693
743
|
}
|
|
694
744
|
|
|
695
745
|
namespace FeedHeader {
|
|
@@ -819,6 +869,13 @@ export namespace transit_realtime {
|
|
|
819
869
|
* @returns JSON object
|
|
820
870
|
*/
|
|
821
871
|
public toJSON(): { [k: string]: any };
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* Gets the default type url for FeedEntity
|
|
875
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
876
|
+
* @returns The default type url
|
|
877
|
+
*/
|
|
878
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
822
879
|
}
|
|
823
880
|
|
|
824
881
|
/** Properties of a TripUpdate. */
|
|
@@ -942,6 +999,13 @@ export namespace transit_realtime {
|
|
|
942
999
|
* @returns JSON object
|
|
943
1000
|
*/
|
|
944
1001
|
public toJSON(): { [k: string]: any };
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Gets the default type url for TripUpdate
|
|
1005
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1006
|
+
* @returns The default type url
|
|
1007
|
+
*/
|
|
1008
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
945
1009
|
}
|
|
946
1010
|
|
|
947
1011
|
namespace TripUpdate {
|
|
@@ -1046,6 +1110,13 @@ export namespace transit_realtime {
|
|
|
1046
1110
|
* @returns JSON object
|
|
1047
1111
|
*/
|
|
1048
1112
|
public toJSON(): { [k: string]: any };
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* Gets the default type url for StopTimeEvent
|
|
1116
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1117
|
+
* @returns The default type url
|
|
1118
|
+
*/
|
|
1119
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1049
1120
|
}
|
|
1050
1121
|
|
|
1051
1122
|
/** Properties of a StopTimeUpdate. */
|
|
@@ -1175,6 +1246,13 @@ export namespace transit_realtime {
|
|
|
1175
1246
|
* @returns JSON object
|
|
1176
1247
|
*/
|
|
1177
1248
|
public toJSON(): { [k: string]: any };
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* Gets the default type url for StopTimeUpdate
|
|
1252
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1253
|
+
* @returns The default type url
|
|
1254
|
+
*/
|
|
1255
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1178
1256
|
}
|
|
1179
1257
|
|
|
1180
1258
|
namespace StopTimeUpdate {
|
|
@@ -1275,6 +1353,13 @@ export namespace transit_realtime {
|
|
|
1275
1353
|
* @returns JSON object
|
|
1276
1354
|
*/
|
|
1277
1355
|
public toJSON(): { [k: string]: any };
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* Gets the default type url for StopTimeProperties
|
|
1359
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1360
|
+
* @returns The default type url
|
|
1361
|
+
*/
|
|
1362
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1278
1363
|
}
|
|
1279
1364
|
}
|
|
1280
1365
|
|
|
@@ -1384,6 +1469,13 @@ export namespace transit_realtime {
|
|
|
1384
1469
|
* @returns JSON object
|
|
1385
1470
|
*/
|
|
1386
1471
|
public toJSON(): { [k: string]: any };
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* Gets the default type url for TripProperties
|
|
1475
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1476
|
+
* @returns The default type url
|
|
1477
|
+
*/
|
|
1478
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1387
1479
|
}
|
|
1388
1480
|
}
|
|
1389
1481
|
|
|
@@ -1538,6 +1630,13 @@ export namespace transit_realtime {
|
|
|
1538
1630
|
* @returns JSON object
|
|
1539
1631
|
*/
|
|
1540
1632
|
public toJSON(): { [k: string]: any };
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* Gets the default type url for VehiclePosition
|
|
1636
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1637
|
+
* @returns The default type url
|
|
1638
|
+
*/
|
|
1639
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1541
1640
|
}
|
|
1542
1641
|
|
|
1543
1642
|
namespace VehiclePosition {
|
|
@@ -1683,6 +1782,13 @@ export namespace transit_realtime {
|
|
|
1683
1782
|
* @returns JSON object
|
|
1684
1783
|
*/
|
|
1685
1784
|
public toJSON(): { [k: string]: any };
|
|
1785
|
+
|
|
1786
|
+
/**
|
|
1787
|
+
* Gets the default type url for CarriageDetails
|
|
1788
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1789
|
+
* @returns The default type url
|
|
1790
|
+
*/
|
|
1791
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1686
1792
|
}
|
|
1687
1793
|
}
|
|
1688
1794
|
|
|
@@ -1840,6 +1946,13 @@ export namespace transit_realtime {
|
|
|
1840
1946
|
* @returns JSON object
|
|
1841
1947
|
*/
|
|
1842
1948
|
public toJSON(): { [k: string]: any };
|
|
1949
|
+
|
|
1950
|
+
/**
|
|
1951
|
+
* Gets the default type url for Alert
|
|
1952
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1953
|
+
* @returns The default type url
|
|
1954
|
+
*/
|
|
1955
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1843
1956
|
}
|
|
1844
1957
|
|
|
1845
1958
|
namespace Alert {
|
|
@@ -1978,6 +2091,13 @@ export namespace transit_realtime {
|
|
|
1978
2091
|
* @returns JSON object
|
|
1979
2092
|
*/
|
|
1980
2093
|
public toJSON(): { [k: string]: any };
|
|
2094
|
+
|
|
2095
|
+
/**
|
|
2096
|
+
* Gets the default type url for TimeRange
|
|
2097
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2098
|
+
* @returns The default type url
|
|
2099
|
+
*/
|
|
2100
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1981
2101
|
}
|
|
1982
2102
|
|
|
1983
2103
|
/** Properties of a Position. */
|
|
@@ -2092,6 +2212,13 @@ export namespace transit_realtime {
|
|
|
2092
2212
|
* @returns JSON object
|
|
2093
2213
|
*/
|
|
2094
2214
|
public toJSON(): { [k: string]: any };
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* Gets the default type url for Position
|
|
2218
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2219
|
+
* @returns The default type url
|
|
2220
|
+
*/
|
|
2221
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2095
2222
|
}
|
|
2096
2223
|
|
|
2097
2224
|
/** Properties of a TripDescriptor. */
|
|
@@ -2215,6 +2342,13 @@ export namespace transit_realtime {
|
|
|
2215
2342
|
* @returns JSON object
|
|
2216
2343
|
*/
|
|
2217
2344
|
public toJSON(): { [k: string]: any };
|
|
2345
|
+
|
|
2346
|
+
/**
|
|
2347
|
+
* Gets the default type url for TripDescriptor
|
|
2348
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2349
|
+
* @returns The default type url
|
|
2350
|
+
*/
|
|
2351
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2218
2352
|
}
|
|
2219
2353
|
|
|
2220
2354
|
namespace TripDescriptor {
|
|
@@ -2333,6 +2467,13 @@ export namespace transit_realtime {
|
|
|
2333
2467
|
* @returns JSON object
|
|
2334
2468
|
*/
|
|
2335
2469
|
public toJSON(): { [k: string]: any };
|
|
2470
|
+
|
|
2471
|
+
/**
|
|
2472
|
+
* Gets the default type url for VehicleDescriptor
|
|
2473
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2474
|
+
* @returns The default type url
|
|
2475
|
+
*/
|
|
2476
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2336
2477
|
}
|
|
2337
2478
|
|
|
2338
2479
|
/** Properties of an EntitySelector. */
|
|
@@ -2453,6 +2594,13 @@ export namespace transit_realtime {
|
|
|
2453
2594
|
* @returns JSON object
|
|
2454
2595
|
*/
|
|
2455
2596
|
public toJSON(): { [k: string]: any };
|
|
2597
|
+
|
|
2598
|
+
/**
|
|
2599
|
+
* Gets the default type url for EntitySelector
|
|
2600
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2601
|
+
* @returns The default type url
|
|
2602
|
+
*/
|
|
2603
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2456
2604
|
}
|
|
2457
2605
|
|
|
2458
2606
|
/** Properties of a TranslatedString. */
|
|
@@ -2543,6 +2691,13 @@ export namespace transit_realtime {
|
|
|
2543
2691
|
* @returns JSON object
|
|
2544
2692
|
*/
|
|
2545
2693
|
public toJSON(): { [k: string]: any };
|
|
2694
|
+
|
|
2695
|
+
/**
|
|
2696
|
+
* Gets the default type url for TranslatedString
|
|
2697
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2698
|
+
* @returns The default type url
|
|
2699
|
+
*/
|
|
2700
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2546
2701
|
}
|
|
2547
2702
|
|
|
2548
2703
|
namespace TranslatedString {
|
|
@@ -2641,6 +2796,13 @@ export namespace transit_realtime {
|
|
|
2641
2796
|
* @returns JSON object
|
|
2642
2797
|
*/
|
|
2643
2798
|
public toJSON(): { [k: string]: any };
|
|
2799
|
+
|
|
2800
|
+
/**
|
|
2801
|
+
* Gets the default type url for Translation
|
|
2802
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2803
|
+
* @returns The default type url
|
|
2804
|
+
*/
|
|
2805
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2644
2806
|
}
|
|
2645
2807
|
}
|
|
2646
2808
|
|
|
@@ -2732,6 +2894,13 @@ export namespace transit_realtime {
|
|
|
2732
2894
|
* @returns JSON object
|
|
2733
2895
|
*/
|
|
2734
2896
|
public toJSON(): { [k: string]: any };
|
|
2897
|
+
|
|
2898
|
+
/**
|
|
2899
|
+
* Gets the default type url for TranslatedImage
|
|
2900
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2901
|
+
* @returns The default type url
|
|
2902
|
+
*/
|
|
2903
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2735
2904
|
}
|
|
2736
2905
|
|
|
2737
2906
|
namespace TranslatedImage {
|
|
@@ -2836,6 +3005,13 @@ export namespace transit_realtime {
|
|
|
2836
3005
|
* @returns JSON object
|
|
2837
3006
|
*/
|
|
2838
3007
|
public toJSON(): { [k: string]: any };
|
|
3008
|
+
|
|
3009
|
+
/**
|
|
3010
|
+
* Gets the default type url for LocalizedImage
|
|
3011
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3012
|
+
* @returns The default type url
|
|
3013
|
+
*/
|
|
3014
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2839
3015
|
}
|
|
2840
3016
|
}
|
|
2841
3017
|
|
|
@@ -2933,5 +3109,12 @@ export namespace transit_realtime {
|
|
|
2933
3109
|
* @returns JSON object
|
|
2934
3110
|
*/
|
|
2935
3111
|
public toJSON(): { [k: string]: any };
|
|
3112
|
+
|
|
3113
|
+
/**
|
|
3114
|
+
* Gets the default type url for Shape
|
|
3115
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3116
|
+
* @returns The default type url
|
|
3117
|
+
*/
|
|
3118
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2936
3119
|
}
|
|
2937
3120
|
}
|