@headspace/protos-events 1.221.0 → 1.223.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
@@ -6055,9 +6055,6 @@ export interface IContentfulPlaylistCreated {
6055
6055
 
6056
6056
  /** ContentfulPlaylistCreated variationContainer */
6057
6057
  variationContainer?: (contentful.ISlugReference|null);
6058
-
6059
- /** ContentfulPlaylistCreated tags */
6060
- tags?: ({ [k: string]: contentful.ITags }|null);
6061
6058
  }
6062
6059
 
6063
6060
  /** Represents a ContentfulPlaylistCreated. */
@@ -6108,9 +6105,6 @@ export class ContentfulPlaylistCreated implements IContentfulPlaylistCreated {
6108
6105
  /** ContentfulPlaylistCreated variationContainer. */
6109
6106
  public variationContainer?: (contentful.ISlugReference|null);
6110
6107
 
6111
- /** ContentfulPlaylistCreated tags. */
6112
- public tags: { [k: string]: contentful.ITags };
6113
-
6114
6108
  /**
6115
6109
  * Creates a new ContentfulPlaylistCreated instance using the specified properties.
6116
6110
  * @param [properties] Properties to set
@@ -6223,9 +6217,6 @@ export interface IContentfulPlaylistUpdated {
6223
6217
 
6224
6218
  /** ContentfulPlaylistUpdated variationContainer */
6225
6219
  variationContainer?: (contentful.ISlugReference|null);
6226
-
6227
- /** ContentfulPlaylistUpdated tags */
6228
- tags?: ({ [k: string]: contentful.ITags }|null);
6229
6220
  }
6230
6221
 
6231
6222
  /** Represents a ContentfulPlaylistUpdated. */
@@ -6276,9 +6267,6 @@ export class ContentfulPlaylistUpdated implements IContentfulPlaylistUpdated {
6276
6267
  /** ContentfulPlaylistUpdated variationContainer. */
6277
6268
  public variationContainer?: (contentful.ISlugReference|null);
6278
6269
 
6279
- /** ContentfulPlaylistUpdated tags. */
6280
- public tags: { [k: string]: contentful.ITags };
6281
-
6282
6270
  /**
6283
6271
  * Creates a new ContentfulPlaylistUpdated instance using the specified properties.
6284
6272
  * @param [properties] Properties to set
@@ -6487,6 +6475,9 @@ export interface IContentfulWorkoutPlaylistCreated {
6487
6475
 
6488
6476
  /** ContentfulWorkoutPlaylistCreated createdAt */
6489
6477
  createdAt?: (number|Long|null);
6478
+
6479
+ /** ContentfulWorkoutPlaylistCreated tags */
6480
+ tags?: ({ [k: string]: contentful.ITags }|null);
6490
6481
  }
6491
6482
 
6492
6483
  /** Represents a ContentfulWorkoutPlaylistCreated. */
@@ -6537,6 +6528,9 @@ export class ContentfulWorkoutPlaylistCreated implements IContentfulWorkoutPlayl
6537
6528
  /** ContentfulWorkoutPlaylistCreated createdAt. */
6538
6529
  public createdAt: (number|Long);
6539
6530
 
6531
+ /** ContentfulWorkoutPlaylistCreated tags. */
6532
+ public tags: { [k: string]: contentful.ITags };
6533
+
6540
6534
  /**
6541
6535
  * Creates a new ContentfulWorkoutPlaylistCreated instance using the specified properties.
6542
6536
  * @param [properties] Properties to set
@@ -6649,6 +6643,9 @@ export interface IContentfulWorkoutPlaylistUpdated {
6649
6643
 
6650
6644
  /** ContentfulWorkoutPlaylistUpdated updatedAt */
6651
6645
  updatedAt?: (number|Long|null);
6646
+
6647
+ /** ContentfulWorkoutPlaylistUpdated tags */
6648
+ tags?: ({ [k: string]: contentful.ITags }|null);
6652
6649
  }
6653
6650
 
6654
6651
  /** Represents a ContentfulWorkoutPlaylistUpdated. */
@@ -6699,6 +6696,9 @@ export class ContentfulWorkoutPlaylistUpdated implements IContentfulWorkoutPlayl
6699
6696
  /** ContentfulWorkoutPlaylistUpdated updatedAt. */
6700
6697
  public updatedAt: (number|Long);
6701
6698
 
6699
+ /** ContentfulWorkoutPlaylistUpdated tags. */
6700
+ public tags: { [k: string]: contentful.ITags };
6701
+
6702
6702
  /**
6703
6703
  * Creates a new ContentfulWorkoutPlaylistUpdated instance using the specified properties.
6704
6704
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -14791,7 +14791,6 @@ $root.ContentfulPlaylistCreated = (function() {
14791
14791
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulPlaylistCreated accessGroups
14792
14792
  * @property {number|Long|null} [createdAt] ContentfulPlaylistCreated createdAt
14793
14793
  * @property {contentful.ISlugReference|null} [variationContainer] ContentfulPlaylistCreated variationContainer
14794
- * @property {Object.<string,contentful.ITags>|null} [tags] ContentfulPlaylistCreated tags
14795
14794
  */
14796
14795
 
14797
14796
  /**
@@ -14812,7 +14811,6 @@ $root.ContentfulPlaylistCreated = (function() {
14812
14811
  this.videoSegments = {};
14813
14812
  this.schedule = {};
14814
14813
  this.accessGroups = [];
14815
- this.tags = {};
14816
14814
  if (properties)
14817
14815
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
14818
14816
  if (properties[keys[i]] != null)
@@ -14923,14 +14921,6 @@ $root.ContentfulPlaylistCreated = (function() {
14923
14921
  */
14924
14922
  ContentfulPlaylistCreated.prototype.variationContainer = null;
14925
14923
 
14926
- /**
14927
- * ContentfulPlaylistCreated tags.
14928
- * @member {Object.<string,contentful.ITags>} tags
14929
- * @memberof ContentfulPlaylistCreated
14930
- * @instance
14931
- */
14932
- ContentfulPlaylistCreated.prototype.tags = $util.emptyObject;
14933
-
14934
14924
  /**
14935
14925
  * Creates a new ContentfulPlaylistCreated instance using the specified properties.
14936
14926
  * @function create
@@ -14994,11 +14984,6 @@ $root.ContentfulPlaylistCreated = (function() {
14994
14984
  writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.createdAt);
14995
14985
  if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
14996
14986
  $root.contentful.SlugReference.encode(message.variationContainer, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
14997
- if (message.tags != null && message.hasOwnProperty("tags"))
14998
- for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) {
14999
- writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
15000
- $root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
15001
- }
15002
14987
  return writer;
15003
14988
  };
15004
14989
 
@@ -15114,14 +15099,6 @@ $root.ContentfulPlaylistCreated = (function() {
15114
15099
  case 13:
15115
15100
  message.variationContainer = $root.contentful.SlugReference.decode(reader, reader.uint32());
15116
15101
  break;
15117
- case 14:
15118
- reader.skip().pos++;
15119
- if (message.tags === $util.emptyObject)
15120
- message.tags = {};
15121
- key = reader.string();
15122
- reader.pos++;
15123
- message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
15124
- break;
15125
15102
  default:
15126
15103
  reader.skipType(tag & 7);
15127
15104
  break;
@@ -15248,16 +15225,6 @@ $root.ContentfulPlaylistCreated = (function() {
15248
15225
  if (error)
15249
15226
  return "variationContainer." + error;
15250
15227
  }
15251
- if (message.tags != null && message.hasOwnProperty("tags")) {
15252
- if (!$util.isObject(message.tags))
15253
- return "tags: object expected";
15254
- var key = Object.keys(message.tags);
15255
- for (var i = 0; i < key.length; ++i) {
15256
- var error = $root.contentful.Tags.verify(message.tags[key[i]]);
15257
- if (error)
15258
- return "tags." + error;
15259
- }
15260
- }
15261
15228
  return null;
15262
15229
  };
15263
15230
 
@@ -15363,16 +15330,6 @@ $root.ContentfulPlaylistCreated = (function() {
15363
15330
  throw TypeError(".ContentfulPlaylistCreated.variationContainer: object expected");
15364
15331
  message.variationContainer = $root.contentful.SlugReference.fromObject(object.variationContainer);
15365
15332
  }
15366
- if (object.tags) {
15367
- if (typeof object.tags !== "object")
15368
- throw TypeError(".ContentfulPlaylistCreated.tags: object expected");
15369
- message.tags = {};
15370
- for (var keys = Object.keys(object.tags), i = 0; i < keys.length; ++i) {
15371
- if (typeof object.tags[keys[i]] !== "object")
15372
- throw TypeError(".ContentfulPlaylistCreated.tags: object expected");
15373
- message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
15374
- }
15375
- }
15376
15333
  return message;
15377
15334
  };
15378
15335
 
@@ -15400,7 +15357,6 @@ $root.ContentfulPlaylistCreated = (function() {
15400
15357
  object.previewMedia = {};
15401
15358
  object.videoSegments = {};
15402
15359
  object.schedule = {};
15403
- object.tags = {};
15404
15360
  }
15405
15361
  if (options.defaults) {
15406
15362
  object.slug = "";
@@ -15469,11 +15425,6 @@ $root.ContentfulPlaylistCreated = (function() {
15469
15425
  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;
15470
15426
  if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
15471
15427
  object.variationContainer = $root.contentful.SlugReference.toObject(message.variationContainer, options);
15472
- if (message.tags && (keys2 = Object.keys(message.tags)).length) {
15473
- object.tags = {};
15474
- for (var j = 0; j < keys2.length; ++j)
15475
- object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
15476
- }
15477
15428
  return object;
15478
15429
  };
15479
15430
 
@@ -15510,7 +15461,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15510
15461
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulPlaylistUpdated accessGroups
15511
15462
  * @property {number|Long|null} [updatedAt] ContentfulPlaylistUpdated updatedAt
15512
15463
  * @property {contentful.ISlugReference|null} [variationContainer] ContentfulPlaylistUpdated variationContainer
15513
- * @property {Object.<string,contentful.ITags>|null} [tags] ContentfulPlaylistUpdated tags
15514
15464
  */
15515
15465
 
15516
15466
  /**
@@ -15531,7 +15481,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15531
15481
  this.videoSegments = {};
15532
15482
  this.schedule = {};
15533
15483
  this.accessGroups = [];
15534
- this.tags = {};
15535
15484
  if (properties)
15536
15485
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
15537
15486
  if (properties[keys[i]] != null)
@@ -15642,14 +15591,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15642
15591
  */
15643
15592
  ContentfulPlaylistUpdated.prototype.variationContainer = null;
15644
15593
 
15645
- /**
15646
- * ContentfulPlaylistUpdated tags.
15647
- * @member {Object.<string,contentful.ITags>} tags
15648
- * @memberof ContentfulPlaylistUpdated
15649
- * @instance
15650
- */
15651
- ContentfulPlaylistUpdated.prototype.tags = $util.emptyObject;
15652
-
15653
15594
  /**
15654
15595
  * Creates a new ContentfulPlaylistUpdated instance using the specified properties.
15655
15596
  * @function create
@@ -15713,11 +15654,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15713
15654
  writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.updatedAt);
15714
15655
  if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
15715
15656
  $root.contentful.SlugReference.encode(message.variationContainer, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
15716
- if (message.tags != null && message.hasOwnProperty("tags"))
15717
- for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) {
15718
- writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
15719
- $root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
15720
- }
15721
15657
  return writer;
15722
15658
  };
15723
15659
 
@@ -15833,14 +15769,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15833
15769
  case 13:
15834
15770
  message.variationContainer = $root.contentful.SlugReference.decode(reader, reader.uint32());
15835
15771
  break;
15836
- case 14:
15837
- reader.skip().pos++;
15838
- if (message.tags === $util.emptyObject)
15839
- message.tags = {};
15840
- key = reader.string();
15841
- reader.pos++;
15842
- message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
15843
- break;
15844
15772
  default:
15845
15773
  reader.skipType(tag & 7);
15846
15774
  break;
@@ -15967,16 +15895,6 @@ $root.ContentfulPlaylistUpdated = (function() {
15967
15895
  if (error)
15968
15896
  return "variationContainer." + error;
15969
15897
  }
15970
- if (message.tags != null && message.hasOwnProperty("tags")) {
15971
- if (!$util.isObject(message.tags))
15972
- return "tags: object expected";
15973
- var key = Object.keys(message.tags);
15974
- for (var i = 0; i < key.length; ++i) {
15975
- var error = $root.contentful.Tags.verify(message.tags[key[i]]);
15976
- if (error)
15977
- return "tags." + error;
15978
- }
15979
- }
15980
15898
  return null;
15981
15899
  };
15982
15900
 
@@ -16082,16 +16000,6 @@ $root.ContentfulPlaylistUpdated = (function() {
16082
16000
  throw TypeError(".ContentfulPlaylistUpdated.variationContainer: object expected");
16083
16001
  message.variationContainer = $root.contentful.SlugReference.fromObject(object.variationContainer);
16084
16002
  }
16085
- if (object.tags) {
16086
- if (typeof object.tags !== "object")
16087
- throw TypeError(".ContentfulPlaylistUpdated.tags: object expected");
16088
- message.tags = {};
16089
- for (var keys = Object.keys(object.tags), i = 0; i < keys.length; ++i) {
16090
- if (typeof object.tags[keys[i]] !== "object")
16091
- throw TypeError(".ContentfulPlaylistUpdated.tags: object expected");
16092
- message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
16093
- }
16094
- }
16095
16003
  return message;
16096
16004
  };
16097
16005
 
@@ -16119,7 +16027,6 @@ $root.ContentfulPlaylistUpdated = (function() {
16119
16027
  object.previewMedia = {};
16120
16028
  object.videoSegments = {};
16121
16029
  object.schedule = {};
16122
- object.tags = {};
16123
16030
  }
16124
16031
  if (options.defaults) {
16125
16032
  object.slug = "";
@@ -16188,11 +16095,6 @@ $root.ContentfulPlaylistUpdated = (function() {
16188
16095
  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;
16189
16096
  if (message.variationContainer != null && message.hasOwnProperty("variationContainer"))
16190
16097
  object.variationContainer = $root.contentful.SlugReference.toObject(message.variationContainer, options);
16191
- if (message.tags && (keys2 = Object.keys(message.tags)).length) {
16192
- object.tags = {};
16193
- for (var j = 0; j < keys2.length; ++j)
16194
- object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
16195
- }
16196
16098
  return object;
16197
16099
  };
16198
16100
 
@@ -16453,6 +16355,7 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
16453
16355
  * @property {Object.<string,contentful.IIdReference>|null} [headerImageMedia] ContentfulWorkoutPlaylistCreated headerImageMedia
16454
16356
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulWorkoutPlaylistCreated accessGroups
16455
16357
  * @property {number|Long|null} [createdAt] ContentfulWorkoutPlaylistCreated createdAt
16358
+ * @property {Object.<string,contentful.ITags>|null} [tags] ContentfulWorkoutPlaylistCreated tags
16456
16359
  */
16457
16360
 
16458
16361
  /**
@@ -16474,6 +16377,7 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
16474
16377
  this.tileMedia = {};
16475
16378
  this.headerImageMedia = {};
16476
16379
  this.accessGroups = [];
16380
+ this.tags = {};
16477
16381
  if (properties)
16478
16382
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
16479
16383
  if (properties[keys[i]] != null)
@@ -16584,6 +16488,14 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
16584
16488
  */
16585
16489
  ContentfulWorkoutPlaylistCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
16586
16490
 
16491
+ /**
16492
+ * ContentfulWorkoutPlaylistCreated tags.
16493
+ * @member {Object.<string,contentful.ITags>} tags
16494
+ * @memberof ContentfulWorkoutPlaylistCreated
16495
+ * @instance
16496
+ */
16497
+ ContentfulWorkoutPlaylistCreated.prototype.tags = $util.emptyObject;
16498
+
16587
16499
  /**
16588
16500
  * Creates a new ContentfulWorkoutPlaylistCreated instance using the specified properties.
16589
16501
  * @function create
@@ -16650,6 +16562,11 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
16650
16562
  $root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
16651
16563
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
16652
16564
  writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.createdAt);
16565
+ if (message.tags != null && message.hasOwnProperty("tags"))
16566
+ for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) {
16567
+ writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
16568
+ $root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
16569
+ }
16653
16570
  return writer;
16654
16571
  };
16655
16572
 
@@ -16770,6 +16687,14 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
16770
16687
  case 13:
16771
16688
  message.createdAt = reader.uint64();
16772
16689
  break;
16690
+ case 14:
16691
+ reader.skip().pos++;
16692
+ if (message.tags === $util.emptyObject)
16693
+ message.tags = {};
16694
+ key = reader.string();
16695
+ reader.pos++;
16696
+ message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
16697
+ break;
16773
16698
  default:
16774
16699
  reader.skipType(tag & 7);
16775
16700
  break;
@@ -16901,6 +16826,16 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
16901
16826
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
16902
16827
  if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
16903
16828
  return "createdAt: integer|Long expected";
16829
+ if (message.tags != null && message.hasOwnProperty("tags")) {
16830
+ if (!$util.isObject(message.tags))
16831
+ return "tags: object expected";
16832
+ var key = Object.keys(message.tags);
16833
+ for (var i = 0; i < key.length; ++i) {
16834
+ var error = $root.contentful.Tags.verify(message.tags[key[i]]);
16835
+ if (error)
16836
+ return "tags." + error;
16837
+ }
16838
+ }
16904
16839
  return null;
16905
16840
  };
16906
16841
 
@@ -17011,6 +16946,16 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
17011
16946
  message.createdAt = object.createdAt;
17012
16947
  else if (typeof object.createdAt === "object")
17013
16948
  message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
16949
+ if (object.tags) {
16950
+ if (typeof object.tags !== "object")
16951
+ throw TypeError(".ContentfulWorkoutPlaylistCreated.tags: object expected");
16952
+ message.tags = {};
16953
+ for (var keys = Object.keys(object.tags), i = 0; i < keys.length; ++i) {
16954
+ if (typeof object.tags[keys[i]] !== "object")
16955
+ throw TypeError(".ContentfulWorkoutPlaylistCreated.tags: object expected");
16956
+ message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
16957
+ }
16958
+ }
17014
16959
  return message;
17015
16960
  };
17016
16961
 
@@ -17039,6 +16984,7 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
17039
16984
  object.duration = {};
17040
16985
  object.tileMedia = {};
17041
16986
  object.headerImageMedia = {};
16987
+ object.tags = {};
17042
16988
  }
17043
16989
  if (options.defaults) {
17044
16990
  object.slug = "";
@@ -17109,6 +17055,11 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
17109
17055
  object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
17110
17056
  else
17111
17057
  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;
17058
+ if (message.tags && (keys2 = Object.keys(message.tags)).length) {
17059
+ object.tags = {};
17060
+ for (var j = 0; j < keys2.length; ++j)
17061
+ object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
17062
+ }
17112
17063
  return object;
17113
17064
  };
17114
17065
 
@@ -17145,6 +17096,7 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
17145
17096
  * @property {Object.<string,contentful.IIdReference>|null} [headerImageMedia] ContentfulWorkoutPlaylistUpdated headerImageMedia
17146
17097
  * @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulWorkoutPlaylistUpdated accessGroups
17147
17098
  * @property {number|Long|null} [updatedAt] ContentfulWorkoutPlaylistUpdated updatedAt
17099
+ * @property {Object.<string,contentful.ITags>|null} [tags] ContentfulWorkoutPlaylistUpdated tags
17148
17100
  */
17149
17101
 
17150
17102
  /**
@@ -17166,6 +17118,7 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
17166
17118
  this.tileMedia = {};
17167
17119
  this.headerImageMedia = {};
17168
17120
  this.accessGroups = [];
17121
+ this.tags = {};
17169
17122
  if (properties)
17170
17123
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
17171
17124
  if (properties[keys[i]] != null)
@@ -17276,6 +17229,14 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
17276
17229
  */
17277
17230
  ContentfulWorkoutPlaylistUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
17278
17231
 
17232
+ /**
17233
+ * ContentfulWorkoutPlaylistUpdated tags.
17234
+ * @member {Object.<string,contentful.ITags>} tags
17235
+ * @memberof ContentfulWorkoutPlaylistUpdated
17236
+ * @instance
17237
+ */
17238
+ ContentfulWorkoutPlaylistUpdated.prototype.tags = $util.emptyObject;
17239
+
17279
17240
  /**
17280
17241
  * Creates a new ContentfulWorkoutPlaylistUpdated instance using the specified properties.
17281
17242
  * @function create
@@ -17342,6 +17303,11 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
17342
17303
  $root.contentful.SlugReference.encode(message.accessGroups[i], writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
17343
17304
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
17344
17305
  writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.updatedAt);
17306
+ if (message.tags != null && message.hasOwnProperty("tags"))
17307
+ for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) {
17308
+ writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
17309
+ $root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
17310
+ }
17345
17311
  return writer;
17346
17312
  };
17347
17313
 
@@ -17462,6 +17428,14 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
17462
17428
  case 13:
17463
17429
  message.updatedAt = reader.uint64();
17464
17430
  break;
17431
+ case 14:
17432
+ reader.skip().pos++;
17433
+ if (message.tags === $util.emptyObject)
17434
+ message.tags = {};
17435
+ key = reader.string();
17436
+ reader.pos++;
17437
+ message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
17438
+ break;
17465
17439
  default:
17466
17440
  reader.skipType(tag & 7);
17467
17441
  break;
@@ -17593,6 +17567,16 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
17593
17567
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
17594
17568
  if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
17595
17569
  return "updatedAt: integer|Long expected";
17570
+ if (message.tags != null && message.hasOwnProperty("tags")) {
17571
+ if (!$util.isObject(message.tags))
17572
+ return "tags: object expected";
17573
+ var key = Object.keys(message.tags);
17574
+ for (var i = 0; i < key.length; ++i) {
17575
+ var error = $root.contentful.Tags.verify(message.tags[key[i]]);
17576
+ if (error)
17577
+ return "tags." + error;
17578
+ }
17579
+ }
17596
17580
  return null;
17597
17581
  };
17598
17582
 
@@ -17703,6 +17687,16 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
17703
17687
  message.updatedAt = object.updatedAt;
17704
17688
  else if (typeof object.updatedAt === "object")
17705
17689
  message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
17690
+ if (object.tags) {
17691
+ if (typeof object.tags !== "object")
17692
+ throw TypeError(".ContentfulWorkoutPlaylistUpdated.tags: object expected");
17693
+ message.tags = {};
17694
+ for (var keys = Object.keys(object.tags), i = 0; i < keys.length; ++i) {
17695
+ if (typeof object.tags[keys[i]] !== "object")
17696
+ throw TypeError(".ContentfulWorkoutPlaylistUpdated.tags: object expected");
17697
+ message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
17698
+ }
17699
+ }
17706
17700
  return message;
17707
17701
  };
17708
17702
 
@@ -17731,6 +17725,7 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
17731
17725
  object.duration = {};
17732
17726
  object.tileMedia = {};
17733
17727
  object.headerImageMedia = {};
17728
+ object.tags = {};
17734
17729
  }
17735
17730
  if (options.defaults) {
17736
17731
  object.slug = "";
@@ -17801,6 +17796,11 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
17801
17796
  object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
17802
17797
  else
17803
17798
  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;
17799
+ if (message.tags && (keys2 = Object.keys(message.tags)).length) {
17800
+ object.tags = {};
17801
+ for (var j = 0; j < keys2.length; ++j)
17802
+ object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
17803
+ }
17804
17804
  return object;
17805
17805
  };
17806
17806
 
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.221.0"
19
+ "version": "1.223.0"
20
20
  }