@headspace/protos-events 1.375.0 → 1.377.0
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/lib/index.d.ts +12 -0
- package/lib/index.js +44 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -25398,6 +25398,12 @@ export interface ITranslation {
|
|
|
25398
25398
|
|
|
25399
25399
|
/** Translation teaser */
|
|
25400
25400
|
teaser?: (string|null);
|
|
25401
|
+
|
|
25402
|
+
/** Translation imageMediaId */
|
|
25403
|
+
imageMediaId?: (number|null);
|
|
25404
|
+
|
|
25405
|
+
/** Translation headerImageMediaId */
|
|
25406
|
+
headerImageMediaId?: (number|null);
|
|
25401
25407
|
}
|
|
25402
25408
|
|
|
25403
25409
|
/** Represents a Translation. */
|
|
@@ -25439,6 +25445,12 @@ export class Translation implements ITranslation {
|
|
|
25439
25445
|
/** Translation teaser. */
|
|
25440
25446
|
public teaser: string;
|
|
25441
25447
|
|
|
25448
|
+
/** Translation imageMediaId. */
|
|
25449
|
+
public imageMediaId: number;
|
|
25450
|
+
|
|
25451
|
+
/** Translation headerImageMediaId. */
|
|
25452
|
+
public headerImageMediaId: number;
|
|
25453
|
+
|
|
25442
25454
|
/**
|
|
25443
25455
|
* Creates a new Translation instance using the specified properties.
|
|
25444
25456
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -69714,6 +69714,8 @@ $root.Translation = (function() {
|
|
|
69714
69714
|
* @property {string|null} [description] Translation description
|
|
69715
69715
|
* @property {string|null} [durationRange] Translation durationRange
|
|
69716
69716
|
* @property {string|null} [teaser] Translation teaser
|
|
69717
|
+
* @property {number|null} [imageMediaId] Translation imageMediaId
|
|
69718
|
+
* @property {number|null} [headerImageMediaId] Translation headerImageMediaId
|
|
69717
69719
|
*/
|
|
69718
69720
|
|
|
69719
69721
|
/**
|
|
@@ -69813,6 +69815,22 @@ $root.Translation = (function() {
|
|
|
69813
69815
|
*/
|
|
69814
69816
|
Translation.prototype.teaser = "";
|
|
69815
69817
|
|
|
69818
|
+
/**
|
|
69819
|
+
* Translation imageMediaId.
|
|
69820
|
+
* @member {number} imageMediaId
|
|
69821
|
+
* @memberof Translation
|
|
69822
|
+
* @instance
|
|
69823
|
+
*/
|
|
69824
|
+
Translation.prototype.imageMediaId = 0;
|
|
69825
|
+
|
|
69826
|
+
/**
|
|
69827
|
+
* Translation headerImageMediaId.
|
|
69828
|
+
* @member {number} headerImageMediaId
|
|
69829
|
+
* @memberof Translation
|
|
69830
|
+
* @instance
|
|
69831
|
+
*/
|
|
69832
|
+
Translation.prototype.headerImageMediaId = 0;
|
|
69833
|
+
|
|
69816
69834
|
/**
|
|
69817
69835
|
* Creates a new Translation instance using the specified properties.
|
|
69818
69836
|
* @function create
|
|
@@ -69859,6 +69877,10 @@ $root.Translation = (function() {
|
|
|
69859
69877
|
writer.uint32(/* id 9, wireType 2 =*/74).string(message.durationRange);
|
|
69860
69878
|
if (message.teaser != null && message.hasOwnProperty("teaser"))
|
|
69861
69879
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.teaser);
|
|
69880
|
+
if (message.imageMediaId != null && message.hasOwnProperty("imageMediaId"))
|
|
69881
|
+
writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.imageMediaId);
|
|
69882
|
+
if (message.headerImageMediaId != null && message.hasOwnProperty("headerImageMediaId"))
|
|
69883
|
+
writer.uint32(/* id 12, wireType 0 =*/96).uint32(message.headerImageMediaId);
|
|
69862
69884
|
return writer;
|
|
69863
69885
|
};
|
|
69864
69886
|
|
|
@@ -69927,6 +69949,12 @@ $root.Translation = (function() {
|
|
|
69927
69949
|
case 10:
|
|
69928
69950
|
message.teaser = reader.string();
|
|
69929
69951
|
break;
|
|
69952
|
+
case 11:
|
|
69953
|
+
message.imageMediaId = reader.uint32();
|
|
69954
|
+
break;
|
|
69955
|
+
case 12:
|
|
69956
|
+
message.headerImageMediaId = reader.uint32();
|
|
69957
|
+
break;
|
|
69930
69958
|
default:
|
|
69931
69959
|
reader.skipType(tag & 7);
|
|
69932
69960
|
break;
|
|
@@ -70004,6 +70032,12 @@ $root.Translation = (function() {
|
|
|
70004
70032
|
if (message.teaser != null && message.hasOwnProperty("teaser"))
|
|
70005
70033
|
if (!$util.isString(message.teaser))
|
|
70006
70034
|
return "teaser: string expected";
|
|
70035
|
+
if (message.imageMediaId != null && message.hasOwnProperty("imageMediaId"))
|
|
70036
|
+
if (!$util.isInteger(message.imageMediaId))
|
|
70037
|
+
return "imageMediaId: integer expected";
|
|
70038
|
+
if (message.headerImageMediaId != null && message.hasOwnProperty("headerImageMediaId"))
|
|
70039
|
+
if (!$util.isInteger(message.headerImageMediaId))
|
|
70040
|
+
return "headerImageMediaId: integer expected";
|
|
70007
70041
|
return null;
|
|
70008
70042
|
};
|
|
70009
70043
|
|
|
@@ -70055,6 +70089,10 @@ $root.Translation = (function() {
|
|
|
70055
70089
|
message.durationRange = String(object.durationRange);
|
|
70056
70090
|
if (object.teaser != null)
|
|
70057
70091
|
message.teaser = String(object.teaser);
|
|
70092
|
+
if (object.imageMediaId != null)
|
|
70093
|
+
message.imageMediaId = object.imageMediaId >>> 0;
|
|
70094
|
+
if (object.headerImageMediaId != null)
|
|
70095
|
+
message.headerImageMediaId = object.headerImageMediaId >>> 0;
|
|
70058
70096
|
return message;
|
|
70059
70097
|
};
|
|
70060
70098
|
|
|
@@ -70084,6 +70122,8 @@ $root.Translation = (function() {
|
|
|
70084
70122
|
object.description = "";
|
|
70085
70123
|
object.durationRange = "";
|
|
70086
70124
|
object.teaser = "";
|
|
70125
|
+
object.imageMediaId = 0;
|
|
70126
|
+
object.headerImageMediaId = 0;
|
|
70087
70127
|
}
|
|
70088
70128
|
if (message.formattedContentTypeDisplayValue != null && message.hasOwnProperty("formattedContentTypeDisplayValue"))
|
|
70089
70129
|
object.formattedContentTypeDisplayValue = message.formattedContentTypeDisplayValue;
|
|
@@ -70111,6 +70151,10 @@ $root.Translation = (function() {
|
|
|
70111
70151
|
object.durationRange = message.durationRange;
|
|
70112
70152
|
if (message.teaser != null && message.hasOwnProperty("teaser"))
|
|
70113
70153
|
object.teaser = message.teaser;
|
|
70154
|
+
if (message.imageMediaId != null && message.hasOwnProperty("imageMediaId"))
|
|
70155
|
+
object.imageMediaId = message.imageMediaId;
|
|
70156
|
+
if (message.headerImageMediaId != null && message.hasOwnProperty("headerImageMediaId"))
|
|
70157
|
+
object.headerImageMediaId = message.headerImageMediaId;
|
|
70114
70158
|
return object;
|
|
70115
70159
|
};
|
|
70116
70160
|
|
package/package.json
CHANGED