@headspace/protos-events 1.374.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
@@ -15770,7 +15770,8 @@ export class ContentfulCategoryDeleted implements IContentfulCategoryDeleted {
15770
15770
  /** ContentCollectionType enum. */
15771
15771
  export enum ContentCollectionType {
15772
15772
  CONTENT_COLLECTION_TYPE_UNRECOGNIZED = 0,
15773
- CONTENT_COLLECTION_TYPE_GENERIC = 1
15773
+ CONTENT_COLLECTION_TYPE_GENERIC = 1,
15774
+ CONTENT_COLLECTION_TYPE_PODCAST = 2
15774
15775
  }
15775
15776
 
15776
15777
  /** Properties of a ContentfulCollectionCreated. */
@@ -25397,6 +25398,9 @@ export interface ITranslation {
25397
25398
 
25398
25399
  /** Translation teaser */
25399
25400
  teaser?: (string|null);
25401
+
25402
+ /** Translation imageMediaId */
25403
+ imageMediaId?: (number|null);
25400
25404
  }
25401
25405
 
25402
25406
  /** Represents a Translation. */
@@ -25438,6 +25442,9 @@ export class Translation implements ITranslation {
25438
25442
  /** Translation teaser. */
25439
25443
  public teaser: string;
25440
25444
 
25445
+ /** Translation imageMediaId. */
25446
+ public imageMediaId: number;
25447
+
25441
25448
  /**
25442
25449
  * Creates a new Translation instance using the specified properties.
25443
25450
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -40565,11 +40565,13 @@ $root.ContentfulCategoryDeleted = (function() {
40565
40565
  * @enum {string}
40566
40566
  * @property {number} CONTENT_COLLECTION_TYPE_UNRECOGNIZED=0 CONTENT_COLLECTION_TYPE_UNRECOGNIZED value
40567
40567
  * @property {number} CONTENT_COLLECTION_TYPE_GENERIC=1 CONTENT_COLLECTION_TYPE_GENERIC value
40568
+ * @property {number} CONTENT_COLLECTION_TYPE_PODCAST=2 CONTENT_COLLECTION_TYPE_PODCAST value
40568
40569
  */
40569
40570
  $root.ContentCollectionType = (function() {
40570
40571
  var valuesById = {}, values = Object.create(valuesById);
40571
40572
  values[valuesById[0] = "CONTENT_COLLECTION_TYPE_UNRECOGNIZED"] = 0;
40572
40573
  values[valuesById[1] = "CONTENT_COLLECTION_TYPE_GENERIC"] = 1;
40574
+ values[valuesById[2] = "CONTENT_COLLECTION_TYPE_PODCAST"] = 2;
40573
40575
  return values;
40574
40576
  })();
40575
40577
 
@@ -40976,6 +40978,7 @@ $root.ContentfulCollectionCreated = (function() {
40976
40978
  return "collectionType: enum value expected";
40977
40979
  case 0:
40978
40980
  case 1:
40981
+ case 2:
40979
40982
  break;
40980
40983
  }
40981
40984
  if (message.tileMedia != null && message.hasOwnProperty("tileMedia")) {
@@ -41096,6 +41099,10 @@ $root.ContentfulCollectionCreated = (function() {
41096
41099
  case 1:
41097
41100
  message.collectionType = 1;
41098
41101
  break;
41102
+ case "CONTENT_COLLECTION_TYPE_PODCAST":
41103
+ case 2:
41104
+ message.collectionType = 2;
41105
+ break;
41099
41106
  }
41100
41107
  if (object.tileMedia) {
41101
41108
  if (typeof object.tileMedia !== "object")
@@ -41680,6 +41687,7 @@ $root.ContentfulCollectionUpdated = (function() {
41680
41687
  return "collectionType: enum value expected";
41681
41688
  case 0:
41682
41689
  case 1:
41690
+ case 2:
41683
41691
  break;
41684
41692
  }
41685
41693
  if (message.tileMedia != null && message.hasOwnProperty("tileMedia")) {
@@ -41800,6 +41808,10 @@ $root.ContentfulCollectionUpdated = (function() {
41800
41808
  case 1:
41801
41809
  message.collectionType = 1;
41802
41810
  break;
41811
+ case "CONTENT_COLLECTION_TYPE_PODCAST":
41812
+ case 2:
41813
+ message.collectionType = 2;
41814
+ break;
41803
41815
  }
41804
41816
  if (object.tileMedia) {
41805
41817
  if (typeof object.tileMedia !== "object")
@@ -66398,6 +66410,7 @@ $root.CollectionCreated = (function() {
66398
66410
  return "collectionType: enum value expected";
66399
66411
  case 0:
66400
66412
  case 1:
66413
+ case 2:
66401
66414
  break;
66402
66415
  }
66403
66416
  if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
@@ -66520,6 +66533,10 @@ $root.CollectionCreated = (function() {
66520
66533
  case 1:
66521
66534
  message.collectionType = 1;
66522
66535
  break;
66536
+ case "CONTENT_COLLECTION_TYPE_PODCAST":
66537
+ case 2:
66538
+ message.collectionType = 2;
66539
+ break;
66523
66540
  }
66524
66541
  if (object.accessGroup) {
66525
66542
  if (!Array.isArray(object.accessGroup))
@@ -67160,6 +67177,7 @@ $root.CollectionUpdated = (function() {
67160
67177
  return "collectionType: enum value expected";
67161
67178
  case 0:
67162
67179
  case 1:
67180
+ case 2:
67163
67181
  break;
67164
67182
  }
67165
67183
  if (message.accessGroup != null && message.hasOwnProperty("accessGroup")) {
@@ -67282,6 +67300,10 @@ $root.CollectionUpdated = (function() {
67282
67300
  case 1:
67283
67301
  message.collectionType = 1;
67284
67302
  break;
67303
+ case "CONTENT_COLLECTION_TYPE_PODCAST":
67304
+ case 2:
67305
+ message.collectionType = 2;
67306
+ break;
67285
67307
  }
67286
67308
  if (object.accessGroup) {
67287
67309
  if (!Array.isArray(object.accessGroup))
@@ -69692,6 +69714,7 @@ $root.Translation = (function() {
69692
69714
  * @property {string|null} [description] Translation description
69693
69715
  * @property {string|null} [durationRange] Translation durationRange
69694
69716
  * @property {string|null} [teaser] Translation teaser
69717
+ * @property {number|null} [imageMediaId] Translation imageMediaId
69695
69718
  */
69696
69719
 
69697
69720
  /**
@@ -69791,6 +69814,14 @@ $root.Translation = (function() {
69791
69814
  */
69792
69815
  Translation.prototype.teaser = "";
69793
69816
 
69817
+ /**
69818
+ * Translation imageMediaId.
69819
+ * @member {number} imageMediaId
69820
+ * @memberof Translation
69821
+ * @instance
69822
+ */
69823
+ Translation.prototype.imageMediaId = 0;
69824
+
69794
69825
  /**
69795
69826
  * Creates a new Translation instance using the specified properties.
69796
69827
  * @function create
@@ -69837,6 +69868,8 @@ $root.Translation = (function() {
69837
69868
  writer.uint32(/* id 9, wireType 2 =*/74).string(message.durationRange);
69838
69869
  if (message.teaser != null && message.hasOwnProperty("teaser"))
69839
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);
69840
69873
  return writer;
69841
69874
  };
69842
69875
 
@@ -69905,6 +69938,9 @@ $root.Translation = (function() {
69905
69938
  case 10:
69906
69939
  message.teaser = reader.string();
69907
69940
  break;
69941
+ case 11:
69942
+ message.imageMediaId = reader.uint32();
69943
+ break;
69908
69944
  default:
69909
69945
  reader.skipType(tag & 7);
69910
69946
  break;
@@ -69982,6 +70018,9 @@ $root.Translation = (function() {
69982
70018
  if (message.teaser != null && message.hasOwnProperty("teaser"))
69983
70019
  if (!$util.isString(message.teaser))
69984
70020
  return "teaser: string expected";
70021
+ if (message.imageMediaId != null && message.hasOwnProperty("imageMediaId"))
70022
+ if (!$util.isInteger(message.imageMediaId))
70023
+ return "imageMediaId: integer expected";
69985
70024
  return null;
69986
70025
  };
69987
70026
 
@@ -70033,6 +70072,8 @@ $root.Translation = (function() {
70033
70072
  message.durationRange = String(object.durationRange);
70034
70073
  if (object.teaser != null)
70035
70074
  message.teaser = String(object.teaser);
70075
+ if (object.imageMediaId != null)
70076
+ message.imageMediaId = object.imageMediaId >>> 0;
70036
70077
  return message;
70037
70078
  };
70038
70079
 
@@ -70062,6 +70103,7 @@ $root.Translation = (function() {
70062
70103
  object.description = "";
70063
70104
  object.durationRange = "";
70064
70105
  object.teaser = "";
70106
+ object.imageMediaId = 0;
70065
70107
  }
70066
70108
  if (message.formattedContentTypeDisplayValue != null && message.hasOwnProperty("formattedContentTypeDisplayValue"))
70067
70109
  object.formattedContentTypeDisplayValue = message.formattedContentTypeDisplayValue;
@@ -70089,6 +70131,8 @@ $root.Translation = (function() {
70089
70131
  object.durationRange = message.durationRange;
70090
70132
  if (message.teaser != null && message.hasOwnProperty("teaser"))
70091
70133
  object.teaser = message.teaser;
70134
+ if (message.imageMediaId != null && message.hasOwnProperty("imageMediaId"))
70135
+ object.imageMediaId = message.imageMediaId;
70092
70136
  return object;
70093
70137
  };
70094
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.374.0"
19
+ "version": "1.376.0"
20
20
  }