@headspace/protos-events 1.286.0 → 1.287.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
@@ -14257,7 +14257,8 @@ export class ContentfulCategoryDeleted implements IContentfulCategoryDeleted {
14257
14257
 
14258
14258
  /** ContentCollectionType enum. */
14259
14259
  export enum ContentCollectionType {
14260
- CONTENT_COLLECTION_TYPE_GENERIC = 0
14260
+ CONTENT_COLLECTION_TYPE_UNRECOGNIZED = 0,
14261
+ CONTENT_COLLECTION_TYPE_GENERIC = 1
14261
14262
  }
14262
14263
 
14263
14264
  /** Properties of a ContentfulCollectionCreated. */
package/lib/index.js CHANGED
@@ -36331,11 +36331,13 @@ $root.ContentfulCategoryDeleted = (function() {
36331
36331
  * ContentCollectionType enum.
36332
36332
  * @exports ContentCollectionType
36333
36333
  * @enum {string}
36334
- * @property {number} CONTENT_COLLECTION_TYPE_GENERIC=0 CONTENT_COLLECTION_TYPE_GENERIC value
36334
+ * @property {number} CONTENT_COLLECTION_TYPE_UNRECOGNIZED=0 CONTENT_COLLECTION_TYPE_UNRECOGNIZED value
36335
+ * @property {number} CONTENT_COLLECTION_TYPE_GENERIC=1 CONTENT_COLLECTION_TYPE_GENERIC value
36335
36336
  */
36336
36337
  $root.ContentCollectionType = (function() {
36337
36338
  var valuesById = {}, values = Object.create(valuesById);
36338
- values[valuesById[0] = "CONTENT_COLLECTION_TYPE_GENERIC"] = 0;
36339
+ values[valuesById[0] = "CONTENT_COLLECTION_TYPE_UNRECOGNIZED"] = 0;
36340
+ values[valuesById[1] = "CONTENT_COLLECTION_TYPE_GENERIC"] = 1;
36339
36341
  return values;
36340
36342
  })();
36341
36343
 
@@ -36627,6 +36629,7 @@ $root.ContentfulCollectionCreated = (function() {
36627
36629
  default:
36628
36630
  return "collectionType: enum value expected";
36629
36631
  case 0:
36632
+ case 1:
36630
36633
  break;
36631
36634
  }
36632
36635
  if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
@@ -36689,10 +36692,14 @@ $root.ContentfulCollectionCreated = (function() {
36689
36692
  else if (typeof object.createdAt === "object")
36690
36693
  message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
36691
36694
  switch (object.collectionType) {
36692
- case "CONTENT_COLLECTION_TYPE_GENERIC":
36695
+ case "CONTENT_COLLECTION_TYPE_UNRECOGNIZED":
36693
36696
  case 0:
36694
36697
  message.collectionType = 0;
36695
36698
  break;
36699
+ case "CONTENT_COLLECTION_TYPE_GENERIC":
36700
+ case 1:
36701
+ message.collectionType = 1;
36702
+ break;
36696
36703
  }
36697
36704
  if (object.tileMediaId != null)
36698
36705
  message.tileMediaId = object.tileMediaId >>> 0;
@@ -36736,7 +36743,7 @@ $root.ContentfulCollectionCreated = (function() {
36736
36743
  object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
36737
36744
  } else
36738
36745
  object.createdAt = options.longs === String ? "0" : 0;
36739
- object.collectionType = options.enums === String ? "CONTENT_COLLECTION_TYPE_GENERIC" : 0;
36746
+ object.collectionType = options.enums === String ? "CONTENT_COLLECTION_TYPE_UNRECOGNIZED" : 0;
36740
36747
  object.tileMediaId = 0;
36741
36748
  }
36742
36749
  var keys2;
@@ -37076,6 +37083,7 @@ $root.ContentfulCollectionUpdated = (function() {
37076
37083
  default:
37077
37084
  return "collectionType: enum value expected";
37078
37085
  case 0:
37086
+ case 1:
37079
37087
  break;
37080
37088
  }
37081
37089
  if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
@@ -37138,10 +37146,14 @@ $root.ContentfulCollectionUpdated = (function() {
37138
37146
  else if (typeof object.updatedAt === "object")
37139
37147
  message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
37140
37148
  switch (object.collectionType) {
37141
- case "CONTENT_COLLECTION_TYPE_GENERIC":
37149
+ case "CONTENT_COLLECTION_TYPE_UNRECOGNIZED":
37142
37150
  case 0:
37143
37151
  message.collectionType = 0;
37144
37152
  break;
37153
+ case "CONTENT_COLLECTION_TYPE_GENERIC":
37154
+ case 1:
37155
+ message.collectionType = 1;
37156
+ break;
37145
37157
  }
37146
37158
  if (object.tileMediaId != null)
37147
37159
  message.tileMediaId = object.tileMediaId >>> 0;
@@ -37185,7 +37197,7 @@ $root.ContentfulCollectionUpdated = (function() {
37185
37197
  object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
37186
37198
  } else
37187
37199
  object.updatedAt = options.longs === String ? "0" : 0;
37188
- object.collectionType = options.enums === String ? "CONTENT_COLLECTION_TYPE_GENERIC" : 0;
37200
+ object.collectionType = options.enums === String ? "CONTENT_COLLECTION_TYPE_UNRECOGNIZED" : 0;
37189
37201
  object.tileMediaId = 0;
37190
37202
  }
37191
37203
  var keys2;
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.286.0"
19
+ "version": "1.287.0"
20
20
  }