@golemio/ovapi-gtfs-realtime-bindings 1.2.4-dev.1288219308 → 1.2.5-dev.2203966589
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/gtfs-realtime.d.ts +6 -0
- package/dist/gtfs-realtime.js +28 -0
- package/package.json +1 -1
package/dist/gtfs-realtime.d.ts
CHANGED
|
@@ -1830,6 +1830,9 @@ export namespace transit_realtime {
|
|
|
1830
1830
|
|
|
1831
1831
|
/** Alert imageAlternativeText */
|
|
1832
1832
|
imageAlternativeText?: (transit_realtime.ITranslatedString|null);
|
|
1833
|
+
|
|
1834
|
+
/** Alert causeDetail */
|
|
1835
|
+
causeDetail?: (transit_realtime.ITranslatedString|null);
|
|
1833
1836
|
}
|
|
1834
1837
|
|
|
1835
1838
|
/** Represents an Alert. */
|
|
@@ -1877,6 +1880,9 @@ export namespace transit_realtime {
|
|
|
1877
1880
|
/** Alert imageAlternativeText. */
|
|
1878
1881
|
public imageAlternativeText?: (transit_realtime.ITranslatedString|null);
|
|
1879
1882
|
|
|
1883
|
+
/** Alert causeDetail. */
|
|
1884
|
+
public causeDetail?: (transit_realtime.ITranslatedString|null);
|
|
1885
|
+
|
|
1880
1886
|
/**
|
|
1881
1887
|
* Creates a new Alert instance using the specified properties.
|
|
1882
1888
|
* @param [properties] Properties to set
|
package/dist/gtfs-realtime.js
CHANGED
|
@@ -4769,6 +4769,7 @@ $root.transit_realtime = (function() {
|
|
|
4769
4769
|
* @property {transit_realtime.Alert.SeverityLevel|null} [severityLevel] Alert severityLevel
|
|
4770
4770
|
* @property {transit_realtime.ITranslatedImage|null} [image] Alert image
|
|
4771
4771
|
* @property {transit_realtime.ITranslatedString|null} [imageAlternativeText] Alert imageAlternativeText
|
|
4772
|
+
* @property {transit_realtime.ITranslatedString|null} [causeDetail] Alert causeDetail
|
|
4772
4773
|
*/
|
|
4773
4774
|
|
|
4774
4775
|
/**
|
|
@@ -4884,6 +4885,14 @@ $root.transit_realtime = (function() {
|
|
|
4884
4885
|
*/
|
|
4885
4886
|
Alert.prototype.imageAlternativeText = null;
|
|
4886
4887
|
|
|
4888
|
+
/**
|
|
4889
|
+
* Alert causeDetail.
|
|
4890
|
+
* @member {transit_realtime.ITranslatedString|null|undefined} causeDetail
|
|
4891
|
+
* @memberof transit_realtime.Alert
|
|
4892
|
+
* @instance
|
|
4893
|
+
*/
|
|
4894
|
+
Alert.prototype.causeDetail = null;
|
|
4895
|
+
|
|
4887
4896
|
/**
|
|
4888
4897
|
* Creates a new Alert instance using the specified properties.
|
|
4889
4898
|
* @function create
|
|
@@ -4934,6 +4943,8 @@ $root.transit_realtime = (function() {
|
|
|
4934
4943
|
$root.transit_realtime.TranslatedImage.encode(message.image, writer.uint32(/* id 15, wireType 2 =*/122).fork()).ldelim();
|
|
4935
4944
|
if (message.imageAlternativeText != null && Object.hasOwnProperty.call(message, "imageAlternativeText"))
|
|
4936
4945
|
$root.transit_realtime.TranslatedString.encode(message.imageAlternativeText, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
4946
|
+
if (message.causeDetail != null && Object.hasOwnProperty.call(message, "causeDetail"))
|
|
4947
|
+
$root.transit_realtime.TranslatedString.encode(message.causeDetail, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
4937
4948
|
return writer;
|
|
4938
4949
|
};
|
|
4939
4950
|
|
|
@@ -5020,6 +5031,10 @@ $root.transit_realtime = (function() {
|
|
|
5020
5031
|
message.imageAlternativeText = $root.transit_realtime.TranslatedString.decode(reader, reader.uint32());
|
|
5021
5032
|
break;
|
|
5022
5033
|
}
|
|
5034
|
+
case 17: {
|
|
5035
|
+
message.causeDetail = $root.transit_realtime.TranslatedString.decode(reader, reader.uint32());
|
|
5036
|
+
break;
|
|
5037
|
+
}
|
|
5023
5038
|
default:
|
|
5024
5039
|
reader.skipType(tag & 7);
|
|
5025
5040
|
break;
|
|
@@ -5153,6 +5168,11 @@ $root.transit_realtime = (function() {
|
|
|
5153
5168
|
if (error)
|
|
5154
5169
|
return "imageAlternativeText." + error;
|
|
5155
5170
|
}
|
|
5171
|
+
if (message.causeDetail != null && message.hasOwnProperty("causeDetail")) {
|
|
5172
|
+
var error = $root.transit_realtime.TranslatedString.verify(message.causeDetail);
|
|
5173
|
+
if (error)
|
|
5174
|
+
return "causeDetail." + error;
|
|
5175
|
+
}
|
|
5156
5176
|
return null;
|
|
5157
5177
|
};
|
|
5158
5178
|
|
|
@@ -5355,6 +5375,11 @@ $root.transit_realtime = (function() {
|
|
|
5355
5375
|
throw TypeError(".transit_realtime.Alert.imageAlternativeText: object expected");
|
|
5356
5376
|
message.imageAlternativeText = $root.transit_realtime.TranslatedString.fromObject(object.imageAlternativeText);
|
|
5357
5377
|
}
|
|
5378
|
+
if (object.causeDetail != null) {
|
|
5379
|
+
if (typeof object.causeDetail !== "object")
|
|
5380
|
+
throw TypeError(".transit_realtime.Alert.causeDetail: object expected");
|
|
5381
|
+
message.causeDetail = $root.transit_realtime.TranslatedString.fromObject(object.causeDetail);
|
|
5382
|
+
}
|
|
5358
5383
|
return message;
|
|
5359
5384
|
};
|
|
5360
5385
|
|
|
@@ -5386,6 +5411,7 @@ $root.transit_realtime = (function() {
|
|
|
5386
5411
|
object.severityLevel = options.enums === String ? "UNKNOWN_SEVERITY" : 1;
|
|
5387
5412
|
object.image = null;
|
|
5388
5413
|
object.imageAlternativeText = null;
|
|
5414
|
+
object.causeDetail = null;
|
|
5389
5415
|
}
|
|
5390
5416
|
if (message.activePeriod && message.activePeriod.length) {
|
|
5391
5417
|
object.activePeriod = [];
|
|
@@ -5417,6 +5443,8 @@ $root.transit_realtime = (function() {
|
|
|
5417
5443
|
object.image = $root.transit_realtime.TranslatedImage.toObject(message.image, options);
|
|
5418
5444
|
if (message.imageAlternativeText != null && message.hasOwnProperty("imageAlternativeText"))
|
|
5419
5445
|
object.imageAlternativeText = $root.transit_realtime.TranslatedString.toObject(message.imageAlternativeText, options);
|
|
5446
|
+
if (message.causeDetail != null && message.hasOwnProperty("causeDetail"))
|
|
5447
|
+
object.causeDetail = $root.transit_realtime.TranslatedString.toObject(message.causeDetail, options);
|
|
5420
5448
|
return object;
|
|
5421
5449
|
};
|
|
5422
5450
|
|
package/package.json
CHANGED