@headspace/protos-events 1.285.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
@@ -14255,6 +14255,12 @@ export class ContentfulCategoryDeleted implements IContentfulCategoryDeleted {
14255
14255
  public toJSON(): { [k: string]: any };
14256
14256
  }
14257
14257
 
14258
+ /** ContentCollectionType enum. */
14259
+ export enum ContentCollectionType {
14260
+ CONTENT_COLLECTION_TYPE_UNRECOGNIZED = 0,
14261
+ CONTENT_COLLECTION_TYPE_GENERIC = 1
14262
+ }
14263
+
14258
14264
  /** Properties of a ContentfulCollectionCreated. */
14259
14265
  export interface IContentfulCollectionCreated {
14260
14266
 
@@ -14272,6 +14278,15 @@ export interface IContentfulCollectionCreated {
14272
14278
 
14273
14279
  /** ContentfulCollectionCreated createdAt */
14274
14280
  createdAt?: (number|Long|null);
14281
+
14282
+ /** ContentfulCollectionCreated collectionType */
14283
+ collectionType?: (ContentCollectionType|null);
14284
+
14285
+ /** ContentfulCollectionCreated tileMediaId */
14286
+ tileMediaId?: (number|null);
14287
+
14288
+ /** ContentfulCollectionCreated collectionContent */
14289
+ collectionContent?: (contentful.ISlugReference[]|null);
14275
14290
  }
14276
14291
 
14277
14292
  /** Represents a ContentfulCollectionCreated. */
@@ -14298,6 +14313,15 @@ export class ContentfulCollectionCreated implements IContentfulCollectionCreated
14298
14313
  /** ContentfulCollectionCreated createdAt. */
14299
14314
  public createdAt: (number|Long);
14300
14315
 
14316
+ /** ContentfulCollectionCreated collectionType. */
14317
+ public collectionType: ContentCollectionType;
14318
+
14319
+ /** ContentfulCollectionCreated tileMediaId. */
14320
+ public tileMediaId: number;
14321
+
14322
+ /** ContentfulCollectionCreated collectionContent. */
14323
+ public collectionContent: contentful.ISlugReference[];
14324
+
14301
14325
  /**
14302
14326
  * Creates a new ContentfulCollectionCreated instance using the specified properties.
14303
14327
  * @param [properties] Properties to set
@@ -14386,6 +14410,15 @@ export interface IContentfulCollectionUpdated {
14386
14410
 
14387
14411
  /** ContentfulCollectionUpdated updatedAt */
14388
14412
  updatedAt?: (number|Long|null);
14413
+
14414
+ /** ContentfulCollectionUpdated collectionType */
14415
+ collectionType?: (ContentCollectionType|null);
14416
+
14417
+ /** ContentfulCollectionUpdated tileMediaId */
14418
+ tileMediaId?: (number|null);
14419
+
14420
+ /** ContentfulCollectionUpdated collectionContent */
14421
+ collectionContent?: (contentful.ISlugReference[]|null);
14389
14422
  }
14390
14423
 
14391
14424
  /** Represents a ContentfulCollectionUpdated. */
@@ -14412,6 +14445,15 @@ export class ContentfulCollectionUpdated implements IContentfulCollectionUpdated
14412
14445
  /** ContentfulCollectionUpdated updatedAt. */
14413
14446
  public updatedAt: (number|Long);
14414
14447
 
14448
+ /** ContentfulCollectionUpdated collectionType. */
14449
+ public collectionType: ContentCollectionType;
14450
+
14451
+ /** ContentfulCollectionUpdated tileMediaId. */
14452
+ public tileMediaId: number;
14453
+
14454
+ /** ContentfulCollectionUpdated collectionContent. */
14455
+ public collectionContent: contentful.ISlugReference[];
14456
+
14415
14457
  /**
14416
14458
  * Creates a new ContentfulCollectionUpdated instance using the specified properties.
14417
14459
  * @param [properties] Properties to set
@@ -22800,7 +22842,8 @@ export enum ContentType {
22800
22842
  CONTENT_TYPE_TECHNIQUE = 14,
22801
22843
  CONTENT_TYPE_COURSE_ACTIVITY = 15,
22802
22844
  CONTENT_TYPE_INTEGRATED_AUDIO = 16,
22803
- CONTENT_TYPE_ACTIVITY = 17
22845
+ CONTENT_TYPE_ACTIVITY = 17,
22846
+ CONTENT_TYPE_COLLECTION = 18
22804
22847
  }
22805
22848
 
22806
22849
  /** Mode enum. */
@@ -22846,7 +22889,8 @@ export enum ContentTypeDisplayValue {
22846
22889
  CONTENT_TYPE_DISPLAY_VALUE_JOURNAL = 21,
22847
22890
  CONTENT_TYPE_DISPLAY_VALUE_STRETCH = 22,
22848
22891
  CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN = 23,
22849
- CONTENT_TYPE_DISPLAY_VALUE_SESSION = 24
22892
+ CONTENT_TYPE_DISPLAY_VALUE_SESSION = 24,
22893
+ CONTENT_TYPE_DISPLAY_VALUE_COLLECTION = 25
22850
22894
  }
22851
22895
 
22852
22896
  /** Properties of a ContentPlayedMetadata. */
package/lib/index.js CHANGED
@@ -36327,6 +36327,20 @@ $root.ContentfulCategoryDeleted = (function() {
36327
36327
  return ContentfulCategoryDeleted;
36328
36328
  })();
36329
36329
 
36330
+ /**
36331
+ * ContentCollectionType enum.
36332
+ * @exports ContentCollectionType
36333
+ * @enum {string}
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
36336
+ */
36337
+ $root.ContentCollectionType = (function() {
36338
+ var valuesById = {}, values = Object.create(valuesById);
36339
+ values[valuesById[0] = "CONTENT_COLLECTION_TYPE_UNRECOGNIZED"] = 0;
36340
+ values[valuesById[1] = "CONTENT_COLLECTION_TYPE_GENERIC"] = 1;
36341
+ return values;
36342
+ })();
36343
+
36330
36344
  $root.ContentfulCollectionCreated = (function() {
36331
36345
 
36332
36346
  /**
@@ -36338,6 +36352,9 @@ $root.ContentfulCollectionCreated = (function() {
36338
36352
  * @property {Object.<string,string>|null} [teaser] ContentfulCollectionCreated teaser
36339
36353
  * @property {Object.<string,string>|null} [description] ContentfulCollectionCreated description
36340
36354
  * @property {number|Long|null} [createdAt] ContentfulCollectionCreated createdAt
36355
+ * @property {ContentCollectionType|null} [collectionType] ContentfulCollectionCreated collectionType
36356
+ * @property {number|null} [tileMediaId] ContentfulCollectionCreated tileMediaId
36357
+ * @property {Array.<contentful.ISlugReference>|null} [collectionContent] ContentfulCollectionCreated collectionContent
36341
36358
  */
36342
36359
 
36343
36360
  /**
@@ -36352,6 +36369,7 @@ $root.ContentfulCollectionCreated = (function() {
36352
36369
  this.name = {};
36353
36370
  this.teaser = {};
36354
36371
  this.description = {};
36372
+ this.collectionContent = [];
36355
36373
  if (properties)
36356
36374
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
36357
36375
  if (properties[keys[i]] != null)
@@ -36398,6 +36416,30 @@ $root.ContentfulCollectionCreated = (function() {
36398
36416
  */
36399
36417
  ContentfulCollectionCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
36400
36418
 
36419
+ /**
36420
+ * ContentfulCollectionCreated collectionType.
36421
+ * @member {ContentCollectionType} collectionType
36422
+ * @memberof ContentfulCollectionCreated
36423
+ * @instance
36424
+ */
36425
+ ContentfulCollectionCreated.prototype.collectionType = 0;
36426
+
36427
+ /**
36428
+ * ContentfulCollectionCreated tileMediaId.
36429
+ * @member {number} tileMediaId
36430
+ * @memberof ContentfulCollectionCreated
36431
+ * @instance
36432
+ */
36433
+ ContentfulCollectionCreated.prototype.tileMediaId = 0;
36434
+
36435
+ /**
36436
+ * ContentfulCollectionCreated collectionContent.
36437
+ * @member {Array.<contentful.ISlugReference>} collectionContent
36438
+ * @memberof ContentfulCollectionCreated
36439
+ * @instance
36440
+ */
36441
+ ContentfulCollectionCreated.prototype.collectionContent = $util.emptyArray;
36442
+
36401
36443
  /**
36402
36444
  * Creates a new ContentfulCollectionCreated instance using the specified properties.
36403
36445
  * @function create
@@ -36435,6 +36477,13 @@ $root.ContentfulCollectionCreated = (function() {
36435
36477
  writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.description[keys[i]]).ldelim();
36436
36478
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
36437
36479
  writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.createdAt);
36480
+ if (message.collectionType != null && message.hasOwnProperty("collectionType"))
36481
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.collectionType);
36482
+ if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
36483
+ writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.tileMediaId);
36484
+ if (message.collectionContent != null && message.collectionContent.length)
36485
+ for (var i = 0; i < message.collectionContent.length; ++i)
36486
+ $root.contentful.SlugReference.encode(message.collectionContent[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
36438
36487
  return writer;
36439
36488
  };
36440
36489
 
@@ -36499,6 +36548,17 @@ $root.ContentfulCollectionCreated = (function() {
36499
36548
  case 5:
36500
36549
  message.createdAt = reader.uint64();
36501
36550
  break;
36551
+ case 6:
36552
+ message.collectionType = reader.int32();
36553
+ break;
36554
+ case 7:
36555
+ message.tileMediaId = reader.uint32();
36556
+ break;
36557
+ case 8:
36558
+ if (!(message.collectionContent && message.collectionContent.length))
36559
+ message.collectionContent = [];
36560
+ message.collectionContent.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
36561
+ break;
36502
36562
  default:
36503
36563
  reader.skipType(tag & 7);
36504
36564
  break;
@@ -36564,6 +36624,26 @@ $root.ContentfulCollectionCreated = (function() {
36564
36624
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
36565
36625
  if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
36566
36626
  return "createdAt: integer|Long expected";
36627
+ if (message.collectionType != null && message.hasOwnProperty("collectionType"))
36628
+ switch (message.collectionType) {
36629
+ default:
36630
+ return "collectionType: enum value expected";
36631
+ case 0:
36632
+ case 1:
36633
+ break;
36634
+ }
36635
+ if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
36636
+ if (!$util.isInteger(message.tileMediaId))
36637
+ return "tileMediaId: integer expected";
36638
+ if (message.collectionContent != null && message.hasOwnProperty("collectionContent")) {
36639
+ if (!Array.isArray(message.collectionContent))
36640
+ return "collectionContent: array expected";
36641
+ for (var i = 0; i < message.collectionContent.length; ++i) {
36642
+ var error = $root.contentful.SlugReference.verify(message.collectionContent[i]);
36643
+ if (error)
36644
+ return "collectionContent." + error;
36645
+ }
36646
+ }
36567
36647
  return null;
36568
36648
  };
36569
36649
 
@@ -36611,6 +36691,28 @@ $root.ContentfulCollectionCreated = (function() {
36611
36691
  message.createdAt = object.createdAt;
36612
36692
  else if (typeof object.createdAt === "object")
36613
36693
  message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
36694
+ switch (object.collectionType) {
36695
+ case "CONTENT_COLLECTION_TYPE_UNRECOGNIZED":
36696
+ case 0:
36697
+ message.collectionType = 0;
36698
+ break;
36699
+ case "CONTENT_COLLECTION_TYPE_GENERIC":
36700
+ case 1:
36701
+ message.collectionType = 1;
36702
+ break;
36703
+ }
36704
+ if (object.tileMediaId != null)
36705
+ message.tileMediaId = object.tileMediaId >>> 0;
36706
+ if (object.collectionContent) {
36707
+ if (!Array.isArray(object.collectionContent))
36708
+ throw TypeError(".ContentfulCollectionCreated.collectionContent: array expected");
36709
+ message.collectionContent = [];
36710
+ for (var i = 0; i < object.collectionContent.length; ++i) {
36711
+ if (typeof object.collectionContent[i] !== "object")
36712
+ throw TypeError(".ContentfulCollectionCreated.collectionContent: object expected");
36713
+ message.collectionContent[i] = $root.contentful.SlugReference.fromObject(object.collectionContent[i]);
36714
+ }
36715
+ }
36614
36716
  return message;
36615
36717
  };
36616
36718
 
@@ -36627,6 +36729,8 @@ $root.ContentfulCollectionCreated = (function() {
36627
36729
  if (!options)
36628
36730
  options = {};
36629
36731
  var object = {};
36732
+ if (options.arrays || options.defaults)
36733
+ object.collectionContent = [];
36630
36734
  if (options.objects || options.defaults) {
36631
36735
  object.name = {};
36632
36736
  object.teaser = {};
@@ -36639,6 +36743,8 @@ $root.ContentfulCollectionCreated = (function() {
36639
36743
  object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
36640
36744
  } else
36641
36745
  object.createdAt = options.longs === String ? "0" : 0;
36746
+ object.collectionType = options.enums === String ? "CONTENT_COLLECTION_TYPE_UNRECOGNIZED" : 0;
36747
+ object.tileMediaId = 0;
36642
36748
  }
36643
36749
  var keys2;
36644
36750
  if (message.name && (keys2 = Object.keys(message.name)).length) {
@@ -36663,6 +36769,15 @@ $root.ContentfulCollectionCreated = (function() {
36663
36769
  object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
36664
36770
  else
36665
36771
  object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
36772
+ if (message.collectionType != null && message.hasOwnProperty("collectionType"))
36773
+ object.collectionType = options.enums === String ? $root.ContentCollectionType[message.collectionType] : message.collectionType;
36774
+ if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
36775
+ object.tileMediaId = message.tileMediaId;
36776
+ if (message.collectionContent && message.collectionContent.length) {
36777
+ object.collectionContent = [];
36778
+ for (var j = 0; j < message.collectionContent.length; ++j)
36779
+ object.collectionContent[j] = $root.contentful.SlugReference.toObject(message.collectionContent[j], options);
36780
+ }
36666
36781
  return object;
36667
36782
  };
36668
36783
 
@@ -36691,6 +36806,9 @@ $root.ContentfulCollectionUpdated = (function() {
36691
36806
  * @property {Object.<string,string>|null} [teaser] ContentfulCollectionUpdated teaser
36692
36807
  * @property {Object.<string,string>|null} [description] ContentfulCollectionUpdated description
36693
36808
  * @property {number|Long|null} [updatedAt] ContentfulCollectionUpdated updatedAt
36809
+ * @property {ContentCollectionType|null} [collectionType] ContentfulCollectionUpdated collectionType
36810
+ * @property {number|null} [tileMediaId] ContentfulCollectionUpdated tileMediaId
36811
+ * @property {Array.<contentful.ISlugReference>|null} [collectionContent] ContentfulCollectionUpdated collectionContent
36694
36812
  */
36695
36813
 
36696
36814
  /**
@@ -36705,6 +36823,7 @@ $root.ContentfulCollectionUpdated = (function() {
36705
36823
  this.name = {};
36706
36824
  this.teaser = {};
36707
36825
  this.description = {};
36826
+ this.collectionContent = [];
36708
36827
  if (properties)
36709
36828
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
36710
36829
  if (properties[keys[i]] != null)
@@ -36751,6 +36870,30 @@ $root.ContentfulCollectionUpdated = (function() {
36751
36870
  */
36752
36871
  ContentfulCollectionUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
36753
36872
 
36873
+ /**
36874
+ * ContentfulCollectionUpdated collectionType.
36875
+ * @member {ContentCollectionType} collectionType
36876
+ * @memberof ContentfulCollectionUpdated
36877
+ * @instance
36878
+ */
36879
+ ContentfulCollectionUpdated.prototype.collectionType = 0;
36880
+
36881
+ /**
36882
+ * ContentfulCollectionUpdated tileMediaId.
36883
+ * @member {number} tileMediaId
36884
+ * @memberof ContentfulCollectionUpdated
36885
+ * @instance
36886
+ */
36887
+ ContentfulCollectionUpdated.prototype.tileMediaId = 0;
36888
+
36889
+ /**
36890
+ * ContentfulCollectionUpdated collectionContent.
36891
+ * @member {Array.<contentful.ISlugReference>} collectionContent
36892
+ * @memberof ContentfulCollectionUpdated
36893
+ * @instance
36894
+ */
36895
+ ContentfulCollectionUpdated.prototype.collectionContent = $util.emptyArray;
36896
+
36754
36897
  /**
36755
36898
  * Creates a new ContentfulCollectionUpdated instance using the specified properties.
36756
36899
  * @function create
@@ -36788,6 +36931,13 @@ $root.ContentfulCollectionUpdated = (function() {
36788
36931
  writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.description[keys[i]]).ldelim();
36789
36932
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
36790
36933
  writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.updatedAt);
36934
+ if (message.collectionType != null && message.hasOwnProperty("collectionType"))
36935
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.collectionType);
36936
+ if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
36937
+ writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.tileMediaId);
36938
+ if (message.collectionContent != null && message.collectionContent.length)
36939
+ for (var i = 0; i < message.collectionContent.length; ++i)
36940
+ $root.contentful.SlugReference.encode(message.collectionContent[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
36791
36941
  return writer;
36792
36942
  };
36793
36943
 
@@ -36852,6 +37002,17 @@ $root.ContentfulCollectionUpdated = (function() {
36852
37002
  case 5:
36853
37003
  message.updatedAt = reader.uint64();
36854
37004
  break;
37005
+ case 6:
37006
+ message.collectionType = reader.int32();
37007
+ break;
37008
+ case 7:
37009
+ message.tileMediaId = reader.uint32();
37010
+ break;
37011
+ case 8:
37012
+ if (!(message.collectionContent && message.collectionContent.length))
37013
+ message.collectionContent = [];
37014
+ message.collectionContent.push($root.contentful.SlugReference.decode(reader, reader.uint32()));
37015
+ break;
36855
37016
  default:
36856
37017
  reader.skipType(tag & 7);
36857
37018
  break;
@@ -36917,6 +37078,26 @@ $root.ContentfulCollectionUpdated = (function() {
36917
37078
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
36918
37079
  if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
36919
37080
  return "updatedAt: integer|Long expected";
37081
+ if (message.collectionType != null && message.hasOwnProperty("collectionType"))
37082
+ switch (message.collectionType) {
37083
+ default:
37084
+ return "collectionType: enum value expected";
37085
+ case 0:
37086
+ case 1:
37087
+ break;
37088
+ }
37089
+ if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
37090
+ if (!$util.isInteger(message.tileMediaId))
37091
+ return "tileMediaId: integer expected";
37092
+ if (message.collectionContent != null && message.hasOwnProperty("collectionContent")) {
37093
+ if (!Array.isArray(message.collectionContent))
37094
+ return "collectionContent: array expected";
37095
+ for (var i = 0; i < message.collectionContent.length; ++i) {
37096
+ var error = $root.contentful.SlugReference.verify(message.collectionContent[i]);
37097
+ if (error)
37098
+ return "collectionContent." + error;
37099
+ }
37100
+ }
36920
37101
  return null;
36921
37102
  };
36922
37103
 
@@ -36964,6 +37145,28 @@ $root.ContentfulCollectionUpdated = (function() {
36964
37145
  message.updatedAt = object.updatedAt;
36965
37146
  else if (typeof object.updatedAt === "object")
36966
37147
  message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
37148
+ switch (object.collectionType) {
37149
+ case "CONTENT_COLLECTION_TYPE_UNRECOGNIZED":
37150
+ case 0:
37151
+ message.collectionType = 0;
37152
+ break;
37153
+ case "CONTENT_COLLECTION_TYPE_GENERIC":
37154
+ case 1:
37155
+ message.collectionType = 1;
37156
+ break;
37157
+ }
37158
+ if (object.tileMediaId != null)
37159
+ message.tileMediaId = object.tileMediaId >>> 0;
37160
+ if (object.collectionContent) {
37161
+ if (!Array.isArray(object.collectionContent))
37162
+ throw TypeError(".ContentfulCollectionUpdated.collectionContent: array expected");
37163
+ message.collectionContent = [];
37164
+ for (var i = 0; i < object.collectionContent.length; ++i) {
37165
+ if (typeof object.collectionContent[i] !== "object")
37166
+ throw TypeError(".ContentfulCollectionUpdated.collectionContent: object expected");
37167
+ message.collectionContent[i] = $root.contentful.SlugReference.fromObject(object.collectionContent[i]);
37168
+ }
37169
+ }
36967
37170
  return message;
36968
37171
  };
36969
37172
 
@@ -36980,6 +37183,8 @@ $root.ContentfulCollectionUpdated = (function() {
36980
37183
  if (!options)
36981
37184
  options = {};
36982
37185
  var object = {};
37186
+ if (options.arrays || options.defaults)
37187
+ object.collectionContent = [];
36983
37188
  if (options.objects || options.defaults) {
36984
37189
  object.name = {};
36985
37190
  object.teaser = {};
@@ -36992,6 +37197,8 @@ $root.ContentfulCollectionUpdated = (function() {
36992
37197
  object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
36993
37198
  } else
36994
37199
  object.updatedAt = options.longs === String ? "0" : 0;
37200
+ object.collectionType = options.enums === String ? "CONTENT_COLLECTION_TYPE_UNRECOGNIZED" : 0;
37201
+ object.tileMediaId = 0;
36995
37202
  }
36996
37203
  var keys2;
36997
37204
  if (message.name && (keys2 = Object.keys(message.name)).length) {
@@ -37016,6 +37223,15 @@ $root.ContentfulCollectionUpdated = (function() {
37016
37223
  object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
37017
37224
  else
37018
37225
  object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
37226
+ if (message.collectionType != null && message.hasOwnProperty("collectionType"))
37227
+ object.collectionType = options.enums === String ? $root.ContentCollectionType[message.collectionType] : message.collectionType;
37228
+ if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
37229
+ object.tileMediaId = message.tileMediaId;
37230
+ if (message.collectionContent && message.collectionContent.length) {
37231
+ object.collectionContent = [];
37232
+ for (var j = 0; j < message.collectionContent.length; ++j)
37233
+ object.collectionContent[j] = $root.contentful.SlugReference.toObject(message.collectionContent[j], options);
37234
+ }
37019
37235
  return object;
37020
37236
  };
37021
37237
 
@@ -61088,6 +61304,7 @@ $root.ContentPlayed = (function() {
61088
61304
  case 15:
61089
61305
  case 16:
61090
61306
  case 17:
61307
+ case 18:
61091
61308
  break;
61092
61309
  }
61093
61310
  if (message.mode != null && message.hasOwnProperty("mode"))
@@ -61208,6 +61425,10 @@ $root.ContentPlayed = (function() {
61208
61425
  case 17:
61209
61426
  message.contentType = 17;
61210
61427
  break;
61428
+ case "CONTENT_TYPE_COLLECTION":
61429
+ case 18:
61430
+ message.contentType = 18;
61431
+ break;
61211
61432
  }
61212
61433
  switch (object.mode) {
61213
61434
  case "MODE_UNRECOGNIZED":
@@ -61553,6 +61774,7 @@ $root.ContentPlayedBatch = (function() {
61553
61774
  * @property {number} CONTENT_TYPE_COURSE_ACTIVITY=15 CONTENT_TYPE_COURSE_ACTIVITY value
61554
61775
  * @property {number} CONTENT_TYPE_INTEGRATED_AUDIO=16 CONTENT_TYPE_INTEGRATED_AUDIO value
61555
61776
  * @property {number} CONTENT_TYPE_ACTIVITY=17 CONTENT_TYPE_ACTIVITY value
61777
+ * @property {number} CONTENT_TYPE_COLLECTION=18 CONTENT_TYPE_COLLECTION value
61556
61778
  */
61557
61779
  $root.ContentType = (function() {
61558
61780
  var valuesById = {}, values = Object.create(valuesById);
@@ -61574,6 +61796,7 @@ $root.ContentType = (function() {
61574
61796
  values[valuesById[15] = "CONTENT_TYPE_COURSE_ACTIVITY"] = 15;
61575
61797
  values[valuesById[16] = "CONTENT_TYPE_INTEGRATED_AUDIO"] = 16;
61576
61798
  values[valuesById[17] = "CONTENT_TYPE_ACTIVITY"] = 17;
61799
+ values[valuesById[18] = "CONTENT_TYPE_COLLECTION"] = 18;
61577
61800
  return values;
61578
61801
  })();
61579
61802
 
@@ -61644,6 +61867,7 @@ $root.ColorTheme = (function() {
61644
61867
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_STRETCH=22 CONTENT_TYPE_DISPLAY_VALUE_STRETCH value
61645
61868
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN=23 CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN value
61646
61869
  * @property {number} CONTENT_TYPE_DISPLAY_VALUE_SESSION=24 CONTENT_TYPE_DISPLAY_VALUE_SESSION value
61870
+ * @property {number} CONTENT_TYPE_DISPLAY_VALUE_COLLECTION=25 CONTENT_TYPE_DISPLAY_VALUE_COLLECTION value
61647
61871
  */
61648
61872
  $root.ContentTypeDisplayValue = (function() {
61649
61873
  var valuesById = {}, values = Object.create(valuesById);
@@ -61672,6 +61896,7 @@ $root.ContentTypeDisplayValue = (function() {
61672
61896
  values[valuesById[22] = "CONTENT_TYPE_DISPLAY_VALUE_STRETCH"] = 22;
61673
61897
  values[valuesById[23] = "CONTENT_TYPE_DISPLAY_VALUE_THE_WIND_DOWN"] = 23;
61674
61898
  values[valuesById[24] = "CONTENT_TYPE_DISPLAY_VALUE_SESSION"] = 24;
61899
+ values[valuesById[25] = "CONTENT_TYPE_DISPLAY_VALUE_COLLECTION"] = 25;
61675
61900
  return values;
61676
61901
  })();
61677
61902
 
@@ -62252,6 +62477,7 @@ $root.ContentEntityCreated = (function() {
62252
62477
  case 15:
62253
62478
  case 16:
62254
62479
  case 17:
62480
+ case 18:
62255
62481
  break;
62256
62482
  }
62257
62483
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -62301,6 +62527,7 @@ $root.ContentEntityCreated = (function() {
62301
62527
  case 22:
62302
62528
  case 23:
62303
62529
  case 24:
62530
+ case 25:
62304
62531
  break;
62305
62532
  }
62306
62533
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -62417,6 +62644,10 @@ $root.ContentEntityCreated = (function() {
62417
62644
  case 17:
62418
62645
  message.contentType = 17;
62419
62646
  break;
62647
+ case "CONTENT_TYPE_COLLECTION":
62648
+ case 18:
62649
+ message.contentType = 18;
62650
+ break;
62420
62651
  }
62421
62652
  switch (object.colorTheme) {
62422
62653
  case "COLOR_THEME_UNRECOGNIZED":
@@ -62539,6 +62770,10 @@ $root.ContentEntityCreated = (function() {
62539
62770
  case 24:
62540
62771
  message.contentTypeDisplayValue = 24;
62541
62772
  break;
62773
+ case "CONTENT_TYPE_DISPLAY_VALUE_COLLECTION":
62774
+ case 25:
62775
+ message.contentTypeDisplayValue = 25;
62776
+ break;
62542
62777
  }
62543
62778
  switch (object.contentInfoScreenTheme) {
62544
62779
  case "COLOR_THEME_UNRECOGNIZED":
@@ -62989,6 +63224,7 @@ $root.ContentEntityUpdated = (function() {
62989
63224
  case 15:
62990
63225
  case 16:
62991
63226
  case 17:
63227
+ case 18:
62992
63228
  break;
62993
63229
  }
62994
63230
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -63038,6 +63274,7 @@ $root.ContentEntityUpdated = (function() {
63038
63274
  case 22:
63039
63275
  case 23:
63040
63276
  case 24:
63277
+ case 25:
63041
63278
  break;
63042
63279
  }
63043
63280
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -63154,6 +63391,10 @@ $root.ContentEntityUpdated = (function() {
63154
63391
  case 17:
63155
63392
  message.contentType = 17;
63156
63393
  break;
63394
+ case "CONTENT_TYPE_COLLECTION":
63395
+ case 18:
63396
+ message.contentType = 18;
63397
+ break;
63157
63398
  }
63158
63399
  switch (object.colorTheme) {
63159
63400
  case "COLOR_THEME_UNRECOGNIZED":
@@ -63276,6 +63517,10 @@ $root.ContentEntityUpdated = (function() {
63276
63517
  case 24:
63277
63518
  message.contentTypeDisplayValue = 24;
63278
63519
  break;
63520
+ case "CONTENT_TYPE_DISPLAY_VALUE_COLLECTION":
63521
+ case 25:
63522
+ message.contentTypeDisplayValue = 25;
63523
+ break;
63279
63524
  }
63280
63525
  switch (object.contentInfoScreenTheme) {
63281
63526
  case "COLOR_THEME_UNRECOGNIZED":
@@ -63726,6 +63971,7 @@ $root.ContentEntityDeleted = (function() {
63726
63971
  case 15:
63727
63972
  case 16:
63728
63973
  case 17:
63974
+ case 18:
63729
63975
  break;
63730
63976
  }
63731
63977
  if (message.colorTheme != null && message.hasOwnProperty("colorTheme"))
@@ -63775,6 +64021,7 @@ $root.ContentEntityDeleted = (function() {
63775
64021
  case 22:
63776
64022
  case 23:
63777
64023
  case 24:
64024
+ case 25:
63778
64025
  break;
63779
64026
  }
63780
64027
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
@@ -63891,6 +64138,10 @@ $root.ContentEntityDeleted = (function() {
63891
64138
  case 17:
63892
64139
  message.contentType = 17;
63893
64140
  break;
64141
+ case "CONTENT_TYPE_COLLECTION":
64142
+ case 18:
64143
+ message.contentType = 18;
64144
+ break;
63894
64145
  }
63895
64146
  switch (object.colorTheme) {
63896
64147
  case "COLOR_THEME_UNRECOGNIZED":
@@ -64013,6 +64264,10 @@ $root.ContentEntityDeleted = (function() {
64013
64264
  case 24:
64014
64265
  message.contentTypeDisplayValue = 24;
64015
64266
  break;
64267
+ case "CONTENT_TYPE_DISPLAY_VALUE_COLLECTION":
64268
+ case 25:
64269
+ message.contentTypeDisplayValue = 25;
64270
+ break;
64016
64271
  }
64017
64272
  switch (object.contentInfoScreenTheme) {
64018
64273
  case "COLOR_THEME_UNRECOGNIZED":
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.285.0"
19
+ "version": "1.287.0"
20
20
  }