@headspace/protos-events 1.222.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
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
 
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.222.0"
19
+ "version": "1.223.0"
20
20
  }