@headspace/protos-events 1.375.0 → 1.376.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 CHANGED
@@ -25398,6 +25398,9 @@ export interface ITranslation {
25398
25398
 
25399
25399
  /** Translation teaser */
25400
25400
  teaser?: (string|null);
25401
+
25402
+ /** Translation imageMediaId */
25403
+ imageMediaId?: (number|null);
25401
25404
  }
25402
25405
 
25403
25406
  /** Represents a Translation. */
@@ -25439,6 +25442,9 @@ export class Translation implements ITranslation {
25439
25442
  /** Translation teaser. */
25440
25443
  public teaser: string;
25441
25444
 
25445
+ /** Translation imageMediaId. */
25446
+ public imageMediaId: number;
25447
+
25442
25448
  /**
25443
25449
  * Creates a new Translation instance using the specified properties.
25444
25450
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -69714,6 +69714,7 @@ $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
69717
69718
  */
69718
69719
 
69719
69720
  /**
@@ -69813,6 +69814,14 @@ $root.Translation = (function() {
69813
69814
  */
69814
69815
  Translation.prototype.teaser = "";
69815
69816
 
69817
+ /**
69818
+ * Translation imageMediaId.
69819
+ * @member {number} imageMediaId
69820
+ * @memberof Translation
69821
+ * @instance
69822
+ */
69823
+ Translation.prototype.imageMediaId = 0;
69824
+
69816
69825
  /**
69817
69826
  * Creates a new Translation instance using the specified properties.
69818
69827
  * @function create
@@ -69859,6 +69868,8 @@ $root.Translation = (function() {
69859
69868
  writer.uint32(/* id 9, wireType 2 =*/74).string(message.durationRange);
69860
69869
  if (message.teaser != null && message.hasOwnProperty("teaser"))
69861
69870
  writer.uint32(/* id 10, wireType 2 =*/82).string(message.teaser);
69871
+ if (message.imageMediaId != null && message.hasOwnProperty("imageMediaId"))
69872
+ writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.imageMediaId);
69862
69873
  return writer;
69863
69874
  };
69864
69875
 
@@ -69927,6 +69938,9 @@ $root.Translation = (function() {
69927
69938
  case 10:
69928
69939
  message.teaser = reader.string();
69929
69940
  break;
69941
+ case 11:
69942
+ message.imageMediaId = reader.uint32();
69943
+ break;
69930
69944
  default:
69931
69945
  reader.skipType(tag & 7);
69932
69946
  break;
@@ -70004,6 +70018,9 @@ $root.Translation = (function() {
70004
70018
  if (message.teaser != null && message.hasOwnProperty("teaser"))
70005
70019
  if (!$util.isString(message.teaser))
70006
70020
  return "teaser: string expected";
70021
+ if (message.imageMediaId != null && message.hasOwnProperty("imageMediaId"))
70022
+ if (!$util.isInteger(message.imageMediaId))
70023
+ return "imageMediaId: integer expected";
70007
70024
  return null;
70008
70025
  };
70009
70026
 
@@ -70055,6 +70072,8 @@ $root.Translation = (function() {
70055
70072
  message.durationRange = String(object.durationRange);
70056
70073
  if (object.teaser != null)
70057
70074
  message.teaser = String(object.teaser);
70075
+ if (object.imageMediaId != null)
70076
+ message.imageMediaId = object.imageMediaId >>> 0;
70058
70077
  return message;
70059
70078
  };
70060
70079
 
@@ -70084,6 +70103,7 @@ $root.Translation = (function() {
70084
70103
  object.description = "";
70085
70104
  object.durationRange = "";
70086
70105
  object.teaser = "";
70106
+ object.imageMediaId = 0;
70087
70107
  }
70088
70108
  if (message.formattedContentTypeDisplayValue != null && message.hasOwnProperty("formattedContentTypeDisplayValue"))
70089
70109
  object.formattedContentTypeDisplayValue = message.formattedContentTypeDisplayValue;
@@ -70111,6 +70131,8 @@ $root.Translation = (function() {
70111
70131
  object.durationRange = message.durationRange;
70112
70132
  if (message.teaser != null && message.hasOwnProperty("teaser"))
70113
70133
  object.teaser = message.teaser;
70134
+ if (message.imageMediaId != null && message.hasOwnProperty("imageMediaId"))
70135
+ object.imageMediaId = message.imageMediaId;
70114
70136
  return object;
70115
70137
  };
70116
70138
 
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.375.0"
19
+ "version": "1.376.0"
20
20
  }