@headspace/protos-events 1.247.0 → 1.248.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +22 -22
  2. package/lib/index.js +146 -104
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -21155,9 +21155,6 @@ export interface IContentEntityCreated {
21155
21155
  /** ContentEntityCreated contentInfoScreenTheme */
21156
21156
  contentInfoScreenTheme?: (ColorTheme|null);
21157
21157
 
21158
- /** ContentEntityCreated categoryId */
21159
- categoryId?: (number|null);
21160
-
21161
21158
  /** ContentEntityCreated tileMediaId */
21162
21159
  tileMediaId?: (number|null);
21163
21160
 
@@ -21169,6 +21166,9 @@ export interface IContentEntityCreated {
21169
21166
 
21170
21167
  /** ContentEntityCreated createdAt */
21171
21168
  createdAt?: (number|Long|null);
21169
+
21170
+ /** ContentEntityCreated updatedAt */
21171
+ updatedAt?: (number|Long|null);
21172
21172
  }
21173
21173
 
21174
21174
  /** Represents a ContentEntityCreated. */
@@ -21204,9 +21204,6 @@ export class ContentEntityCreated implements IContentEntityCreated {
21204
21204
  /** ContentEntityCreated contentInfoScreenTheme. */
21205
21205
  public contentInfoScreenTheme: ColorTheme;
21206
21206
 
21207
- /** ContentEntityCreated categoryId. */
21208
- public categoryId: number;
21209
-
21210
21207
  /** ContentEntityCreated tileMediaId. */
21211
21208
  public tileMediaId: number;
21212
21209
 
@@ -21219,6 +21216,9 @@ export class ContentEntityCreated implements IContentEntityCreated {
21219
21216
  /** ContentEntityCreated createdAt. */
21220
21217
  public createdAt: (number|Long);
21221
21218
 
21219
+ /** ContentEntityCreated updatedAt. */
21220
+ public updatedAt: (number|Long);
21221
+
21222
21222
  /**
21223
21223
  * Creates a new ContentEntityCreated instance using the specified properties.
21224
21224
  * @param [properties] Properties to set
@@ -21317,9 +21317,6 @@ export interface IContentEntityUpdated {
21317
21317
  /** ContentEntityUpdated contentInfoScreenTheme */
21318
21318
  contentInfoScreenTheme?: (ColorTheme|null);
21319
21319
 
21320
- /** ContentEntityUpdated categoryId */
21321
- categoryId?: (number|null);
21322
-
21323
21320
  /** ContentEntityUpdated tileMediaId */
21324
21321
  tileMediaId?: (number|null);
21325
21322
 
@@ -21329,6 +21326,9 @@ export interface IContentEntityUpdated {
21329
21326
  /** ContentEntityUpdated ordinalNumber */
21330
21327
  ordinalNumber?: (number|null);
21331
21328
 
21329
+ /** ContentEntityUpdated createdAt */
21330
+ createdAt?: (number|Long|null);
21331
+
21332
21332
  /** ContentEntityUpdated updatedAt */
21333
21333
  updatedAt?: (number|Long|null);
21334
21334
  }
@@ -21366,9 +21366,6 @@ export class ContentEntityUpdated implements IContentEntityUpdated {
21366
21366
  /** ContentEntityUpdated contentInfoScreenTheme. */
21367
21367
  public contentInfoScreenTheme: ColorTheme;
21368
21368
 
21369
- /** ContentEntityUpdated categoryId. */
21370
- public categoryId: number;
21371
-
21372
21369
  /** ContentEntityUpdated tileMediaId. */
21373
21370
  public tileMediaId: number;
21374
21371
 
@@ -21378,6 +21375,9 @@ export class ContentEntityUpdated implements IContentEntityUpdated {
21378
21375
  /** ContentEntityUpdated ordinalNumber. */
21379
21376
  public ordinalNumber: number;
21380
21377
 
21378
+ /** ContentEntityUpdated createdAt. */
21379
+ public createdAt: (number|Long);
21380
+
21381
21381
  /** ContentEntityUpdated updatedAt. */
21382
21382
  public updatedAt: (number|Long);
21383
21383
 
@@ -21479,9 +21479,6 @@ export interface IContentEntityDeleted {
21479
21479
  /** ContentEntityDeleted contentInfoScreenTheme */
21480
21480
  contentInfoScreenTheme?: (ColorTheme|null);
21481
21481
 
21482
- /** ContentEntityDeleted categoryId */
21483
- categoryId?: (number|null);
21484
-
21485
21482
  /** ContentEntityDeleted tileMediaId */
21486
21483
  tileMediaId?: (number|null);
21487
21484
 
@@ -21491,8 +21488,11 @@ export interface IContentEntityDeleted {
21491
21488
  /** ContentEntityDeleted ordinalNumber */
21492
21489
  ordinalNumber?: (number|null);
21493
21490
 
21494
- /** ContentEntityDeleted deletedAt */
21495
- deletedAt?: (number|Long|null);
21491
+ /** ContentEntityDeleted createdAt */
21492
+ createdAt?: (number|Long|null);
21493
+
21494
+ /** ContentEntityDeleted updatedAt */
21495
+ updatedAt?: (number|Long|null);
21496
21496
  }
21497
21497
 
21498
21498
  /** Represents a ContentEntityDeleted. */
@@ -21528,9 +21528,6 @@ export class ContentEntityDeleted implements IContentEntityDeleted {
21528
21528
  /** ContentEntityDeleted contentInfoScreenTheme. */
21529
21529
  public contentInfoScreenTheme: ColorTheme;
21530
21530
 
21531
- /** ContentEntityDeleted categoryId. */
21532
- public categoryId: number;
21533
-
21534
21531
  /** ContentEntityDeleted tileMediaId. */
21535
21532
  public tileMediaId: number;
21536
21533
 
@@ -21540,8 +21537,11 @@ export class ContentEntityDeleted implements IContentEntityDeleted {
21540
21537
  /** ContentEntityDeleted ordinalNumber. */
21541
21538
  public ordinalNumber: number;
21542
21539
 
21543
- /** ContentEntityDeleted deletedAt. */
21544
- public deletedAt: (number|Long);
21540
+ /** ContentEntityDeleted createdAt. */
21541
+ public createdAt: (number|Long);
21542
+
21543
+ /** ContentEntityDeleted updatedAt. */
21544
+ public updatedAt: (number|Long);
21545
21545
 
21546
21546
  /**
21547
21547
  * Creates a new ContentEntityDeleted instance using the specified properties.
package/lib/index.js CHANGED
@@ -57139,11 +57139,11 @@ $root.ContentEntityCreated = (function() {
57139
57139
  * @property {boolean|null} [isInternationalOnly] ContentEntityCreated isInternationalOnly
57140
57140
  * @property {ContentTypeDisplayValue|null} [contentTypeDisplayValue] ContentEntityCreated contentTypeDisplayValue
57141
57141
  * @property {ColorTheme|null} [contentInfoScreenTheme] ContentEntityCreated contentInfoScreenTheme
57142
- * @property {number|null} [categoryId] ContentEntityCreated categoryId
57143
57142
  * @property {number|null} [tileMediaId] ContentEntityCreated tileMediaId
57144
57143
  * @property {number|null} [headerImageMediaId] ContentEntityCreated headerImageMediaId
57145
57144
  * @property {number|null} [ordinalNumber] ContentEntityCreated ordinalNumber
57146
57145
  * @property {number|Long|null} [createdAt] ContentEntityCreated createdAt
57146
+ * @property {number|Long|null} [updatedAt] ContentEntityCreated updatedAt
57147
57147
  */
57148
57148
 
57149
57149
  /**
@@ -57225,14 +57225,6 @@ $root.ContentEntityCreated = (function() {
57225
57225
  */
57226
57226
  ContentEntityCreated.prototype.contentInfoScreenTheme = 0;
57227
57227
 
57228
- /**
57229
- * ContentEntityCreated categoryId.
57230
- * @member {number} categoryId
57231
- * @memberof ContentEntityCreated
57232
- * @instance
57233
- */
57234
- ContentEntityCreated.prototype.categoryId = 0;
57235
-
57236
57228
  /**
57237
57229
  * ContentEntityCreated tileMediaId.
57238
57230
  * @member {number} tileMediaId
@@ -57265,6 +57257,14 @@ $root.ContentEntityCreated = (function() {
57265
57257
  */
57266
57258
  ContentEntityCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
57267
57259
 
57260
+ /**
57261
+ * ContentEntityCreated updatedAt.
57262
+ * @member {number|Long} updatedAt
57263
+ * @memberof ContentEntityCreated
57264
+ * @instance
57265
+ */
57266
+ ContentEntityCreated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
57267
+
57268
57268
  /**
57269
57269
  * Creates a new ContentEntityCreated instance using the specified properties.
57270
57270
  * @function create
@@ -57305,16 +57305,16 @@ $root.ContentEntityCreated = (function() {
57305
57305
  writer.uint32(/* id 7, wireType 0 =*/56).int32(message.contentTypeDisplayValue);
57306
57306
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
57307
57307
  writer.uint32(/* id 8, wireType 0 =*/64).int32(message.contentInfoScreenTheme);
57308
- if (message.categoryId != null && message.hasOwnProperty("categoryId"))
57309
- writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.categoryId);
57310
57308
  if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
57311
- writer.uint32(/* id 10, wireType 0 =*/80).uint32(message.tileMediaId);
57309
+ writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.tileMediaId);
57312
57310
  if (message.headerImageMediaId != null && message.hasOwnProperty("headerImageMediaId"))
57313
- writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.headerImageMediaId);
57311
+ writer.uint32(/* id 10, wireType 0 =*/80).uint32(message.headerImageMediaId);
57314
57312
  if (message.ordinalNumber != null && message.hasOwnProperty("ordinalNumber"))
57315
- writer.uint32(/* id 12, wireType 0 =*/96).uint32(message.ordinalNumber);
57313
+ writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.ordinalNumber);
57316
57314
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
57317
- writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.createdAt);
57315
+ writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.createdAt);
57316
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
57317
+ writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.updatedAt);
57318
57318
  return writer;
57319
57319
  };
57320
57320
 
@@ -57374,19 +57374,19 @@ $root.ContentEntityCreated = (function() {
57374
57374
  message.contentInfoScreenTheme = reader.int32();
57375
57375
  break;
57376
57376
  case 9:
57377
- message.categoryId = reader.uint32();
57377
+ message.tileMediaId = reader.uint32();
57378
57378
  break;
57379
57379
  case 10:
57380
- message.tileMediaId = reader.uint32();
57380
+ message.headerImageMediaId = reader.uint32();
57381
57381
  break;
57382
57382
  case 11:
57383
- message.headerImageMediaId = reader.uint32();
57383
+ message.ordinalNumber = reader.uint32();
57384
57384
  break;
57385
57385
  case 12:
57386
- message.ordinalNumber = reader.uint32();
57386
+ message.createdAt = reader.uint64();
57387
57387
  break;
57388
57388
  case 13:
57389
- message.createdAt = reader.uint64();
57389
+ message.updatedAt = reader.uint64();
57390
57390
  break;
57391
57391
  default:
57392
57392
  reader.skipType(tag & 7);
@@ -57506,9 +57506,6 @@ $root.ContentEntityCreated = (function() {
57506
57506
  case 2:
57507
57507
  break;
57508
57508
  }
57509
- if (message.categoryId != null && message.hasOwnProperty("categoryId"))
57510
- if (!$util.isInteger(message.categoryId))
57511
- return "categoryId: integer expected";
57512
57509
  if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
57513
57510
  if (!$util.isInteger(message.tileMediaId))
57514
57511
  return "tileMediaId: integer expected";
@@ -57521,6 +57518,9 @@ $root.ContentEntityCreated = (function() {
57521
57518
  if (message.createdAt != null && message.hasOwnProperty("createdAt"))
57522
57519
  if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
57523
57520
  return "createdAt: integer|Long expected";
57521
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
57522
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
57523
+ return "updatedAt: integer|Long expected";
57524
57524
  return null;
57525
57525
  };
57526
57526
 
@@ -57740,8 +57740,6 @@ $root.ContentEntityCreated = (function() {
57740
57740
  message.contentInfoScreenTheme = 2;
57741
57741
  break;
57742
57742
  }
57743
- if (object.categoryId != null)
57744
- message.categoryId = object.categoryId >>> 0;
57745
57743
  if (object.tileMediaId != null)
57746
57744
  message.tileMediaId = object.tileMediaId >>> 0;
57747
57745
  if (object.headerImageMediaId != null)
@@ -57757,6 +57755,15 @@ $root.ContentEntityCreated = (function() {
57757
57755
  message.createdAt = object.createdAt;
57758
57756
  else if (typeof object.createdAt === "object")
57759
57757
  message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
57758
+ if (object.updatedAt != null)
57759
+ if ($util.Long)
57760
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
57761
+ else if (typeof object.updatedAt === "string")
57762
+ message.updatedAt = parseInt(object.updatedAt, 10);
57763
+ else if (typeof object.updatedAt === "number")
57764
+ message.updatedAt = object.updatedAt;
57765
+ else if (typeof object.updatedAt === "object")
57766
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
57760
57767
  return message;
57761
57768
  };
57762
57769
 
@@ -57782,7 +57789,6 @@ $root.ContentEntityCreated = (function() {
57782
57789
  object.isInternationalOnly = false;
57783
57790
  object.contentTypeDisplayValue = options.enums === String ? "CONTENT_TYPE_DISPLAY_VALUE_UNRECOGNIZED" : 0;
57784
57791
  object.contentInfoScreenTheme = options.enums === String ? "COLOR_THEME_UNRECOGNIZED" : 0;
57785
- object.categoryId = 0;
57786
57792
  object.tileMediaId = 0;
57787
57793
  object.headerImageMediaId = 0;
57788
57794
  object.ordinalNumber = 0;
@@ -57791,6 +57797,11 @@ $root.ContentEntityCreated = (function() {
57791
57797
  object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
57792
57798
  } else
57793
57799
  object.createdAt = options.longs === String ? "0" : 0;
57800
+ if ($util.Long) {
57801
+ var long = new $util.Long(0, 0, true);
57802
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
57803
+ } else
57804
+ object.updatedAt = options.longs === String ? "0" : 0;
57794
57805
  }
57795
57806
  if (message.id != null && message.hasOwnProperty("id"))
57796
57807
  object.id = message.id;
@@ -57808,8 +57819,6 @@ $root.ContentEntityCreated = (function() {
57808
57819
  object.contentTypeDisplayValue = options.enums === String ? $root.ContentTypeDisplayValue[message.contentTypeDisplayValue] : message.contentTypeDisplayValue;
57809
57820
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
57810
57821
  object.contentInfoScreenTheme = options.enums === String ? $root.ColorTheme[message.contentInfoScreenTheme] : message.contentInfoScreenTheme;
57811
- if (message.categoryId != null && message.hasOwnProperty("categoryId"))
57812
- object.categoryId = message.categoryId;
57813
57822
  if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
57814
57823
  object.tileMediaId = message.tileMediaId;
57815
57824
  if (message.headerImageMediaId != null && message.hasOwnProperty("headerImageMediaId"))
@@ -57821,6 +57830,11 @@ $root.ContentEntityCreated = (function() {
57821
57830
  object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
57822
57831
  else
57823
57832
  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;
57833
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
57834
+ if (typeof message.updatedAt === "number")
57835
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
57836
+ else
57837
+ 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;
57824
57838
  return object;
57825
57839
  };
57826
57840
 
@@ -57852,10 +57866,10 @@ $root.ContentEntityUpdated = (function() {
57852
57866
  * @property {boolean|null} [isInternationalOnly] ContentEntityUpdated isInternationalOnly
57853
57867
  * @property {ContentTypeDisplayValue|null} [contentTypeDisplayValue] ContentEntityUpdated contentTypeDisplayValue
57854
57868
  * @property {ColorTheme|null} [contentInfoScreenTheme] ContentEntityUpdated contentInfoScreenTheme
57855
- * @property {number|null} [categoryId] ContentEntityUpdated categoryId
57856
57869
  * @property {number|null} [tileMediaId] ContentEntityUpdated tileMediaId
57857
57870
  * @property {number|null} [headerImageMediaId] ContentEntityUpdated headerImageMediaId
57858
57871
  * @property {number|null} [ordinalNumber] ContentEntityUpdated ordinalNumber
57872
+ * @property {number|Long|null} [createdAt] ContentEntityUpdated createdAt
57859
57873
  * @property {number|Long|null} [updatedAt] ContentEntityUpdated updatedAt
57860
57874
  */
57861
57875
 
@@ -57938,14 +57952,6 @@ $root.ContentEntityUpdated = (function() {
57938
57952
  */
57939
57953
  ContentEntityUpdated.prototype.contentInfoScreenTheme = 0;
57940
57954
 
57941
- /**
57942
- * ContentEntityUpdated categoryId.
57943
- * @member {number} categoryId
57944
- * @memberof ContentEntityUpdated
57945
- * @instance
57946
- */
57947
- ContentEntityUpdated.prototype.categoryId = 0;
57948
-
57949
57955
  /**
57950
57956
  * ContentEntityUpdated tileMediaId.
57951
57957
  * @member {number} tileMediaId
@@ -57970,6 +57976,14 @@ $root.ContentEntityUpdated = (function() {
57970
57976
  */
57971
57977
  ContentEntityUpdated.prototype.ordinalNumber = 0;
57972
57978
 
57979
+ /**
57980
+ * ContentEntityUpdated createdAt.
57981
+ * @member {number|Long} createdAt
57982
+ * @memberof ContentEntityUpdated
57983
+ * @instance
57984
+ */
57985
+ ContentEntityUpdated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
57986
+
57973
57987
  /**
57974
57988
  * ContentEntityUpdated updatedAt.
57975
57989
  * @member {number|Long} updatedAt
@@ -58018,14 +58032,14 @@ $root.ContentEntityUpdated = (function() {
58018
58032
  writer.uint32(/* id 7, wireType 0 =*/56).int32(message.contentTypeDisplayValue);
58019
58033
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
58020
58034
  writer.uint32(/* id 8, wireType 0 =*/64).int32(message.contentInfoScreenTheme);
58021
- if (message.categoryId != null && message.hasOwnProperty("categoryId"))
58022
- writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.categoryId);
58023
58035
  if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
58024
- writer.uint32(/* id 10, wireType 0 =*/80).uint32(message.tileMediaId);
58036
+ writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.tileMediaId);
58025
58037
  if (message.headerImageMediaId != null && message.hasOwnProperty("headerImageMediaId"))
58026
- writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.headerImageMediaId);
58038
+ writer.uint32(/* id 10, wireType 0 =*/80).uint32(message.headerImageMediaId);
58027
58039
  if (message.ordinalNumber != null && message.hasOwnProperty("ordinalNumber"))
58028
- writer.uint32(/* id 12, wireType 0 =*/96).uint32(message.ordinalNumber);
58040
+ writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.ordinalNumber);
58041
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
58042
+ writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.createdAt);
58029
58043
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
58030
58044
  writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.updatedAt);
58031
58045
  return writer;
@@ -58087,16 +58101,16 @@ $root.ContentEntityUpdated = (function() {
58087
58101
  message.contentInfoScreenTheme = reader.int32();
58088
58102
  break;
58089
58103
  case 9:
58090
- message.categoryId = reader.uint32();
58104
+ message.tileMediaId = reader.uint32();
58091
58105
  break;
58092
58106
  case 10:
58093
- message.tileMediaId = reader.uint32();
58107
+ message.headerImageMediaId = reader.uint32();
58094
58108
  break;
58095
58109
  case 11:
58096
- message.headerImageMediaId = reader.uint32();
58110
+ message.ordinalNumber = reader.uint32();
58097
58111
  break;
58098
58112
  case 12:
58099
- message.ordinalNumber = reader.uint32();
58113
+ message.createdAt = reader.uint64();
58100
58114
  break;
58101
58115
  case 13:
58102
58116
  message.updatedAt = reader.uint64();
@@ -58219,9 +58233,6 @@ $root.ContentEntityUpdated = (function() {
58219
58233
  case 2:
58220
58234
  break;
58221
58235
  }
58222
- if (message.categoryId != null && message.hasOwnProperty("categoryId"))
58223
- if (!$util.isInteger(message.categoryId))
58224
- return "categoryId: integer expected";
58225
58236
  if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
58226
58237
  if (!$util.isInteger(message.tileMediaId))
58227
58238
  return "tileMediaId: integer expected";
@@ -58231,6 +58242,9 @@ $root.ContentEntityUpdated = (function() {
58231
58242
  if (message.ordinalNumber != null && message.hasOwnProperty("ordinalNumber"))
58232
58243
  if (!$util.isInteger(message.ordinalNumber))
58233
58244
  return "ordinalNumber: integer expected";
58245
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
58246
+ if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
58247
+ return "createdAt: integer|Long expected";
58234
58248
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
58235
58249
  if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
58236
58250
  return "updatedAt: integer|Long expected";
@@ -58453,14 +58467,21 @@ $root.ContentEntityUpdated = (function() {
58453
58467
  message.contentInfoScreenTheme = 2;
58454
58468
  break;
58455
58469
  }
58456
- if (object.categoryId != null)
58457
- message.categoryId = object.categoryId >>> 0;
58458
58470
  if (object.tileMediaId != null)
58459
58471
  message.tileMediaId = object.tileMediaId >>> 0;
58460
58472
  if (object.headerImageMediaId != null)
58461
58473
  message.headerImageMediaId = object.headerImageMediaId >>> 0;
58462
58474
  if (object.ordinalNumber != null)
58463
58475
  message.ordinalNumber = object.ordinalNumber >>> 0;
58476
+ if (object.createdAt != null)
58477
+ if ($util.Long)
58478
+ (message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
58479
+ else if (typeof object.createdAt === "string")
58480
+ message.createdAt = parseInt(object.createdAt, 10);
58481
+ else if (typeof object.createdAt === "number")
58482
+ message.createdAt = object.createdAt;
58483
+ else if (typeof object.createdAt === "object")
58484
+ message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
58464
58485
  if (object.updatedAt != null)
58465
58486
  if ($util.Long)
58466
58487
  (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
@@ -58495,10 +58516,14 @@ $root.ContentEntityUpdated = (function() {
58495
58516
  object.isInternationalOnly = false;
58496
58517
  object.contentTypeDisplayValue = options.enums === String ? "CONTENT_TYPE_DISPLAY_VALUE_UNRECOGNIZED" : 0;
58497
58518
  object.contentInfoScreenTheme = options.enums === String ? "COLOR_THEME_UNRECOGNIZED" : 0;
58498
- object.categoryId = 0;
58499
58519
  object.tileMediaId = 0;
58500
58520
  object.headerImageMediaId = 0;
58501
58521
  object.ordinalNumber = 0;
58522
+ if ($util.Long) {
58523
+ var long = new $util.Long(0, 0, true);
58524
+ object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
58525
+ } else
58526
+ object.createdAt = options.longs === String ? "0" : 0;
58502
58527
  if ($util.Long) {
58503
58528
  var long = new $util.Long(0, 0, true);
58504
58529
  object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -58521,14 +58546,17 @@ $root.ContentEntityUpdated = (function() {
58521
58546
  object.contentTypeDisplayValue = options.enums === String ? $root.ContentTypeDisplayValue[message.contentTypeDisplayValue] : message.contentTypeDisplayValue;
58522
58547
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
58523
58548
  object.contentInfoScreenTheme = options.enums === String ? $root.ColorTheme[message.contentInfoScreenTheme] : message.contentInfoScreenTheme;
58524
- if (message.categoryId != null && message.hasOwnProperty("categoryId"))
58525
- object.categoryId = message.categoryId;
58526
58549
  if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
58527
58550
  object.tileMediaId = message.tileMediaId;
58528
58551
  if (message.headerImageMediaId != null && message.hasOwnProperty("headerImageMediaId"))
58529
58552
  object.headerImageMediaId = message.headerImageMediaId;
58530
58553
  if (message.ordinalNumber != null && message.hasOwnProperty("ordinalNumber"))
58531
58554
  object.ordinalNumber = message.ordinalNumber;
58555
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
58556
+ if (typeof message.createdAt === "number")
58557
+ object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
58558
+ else
58559
+ 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;
58532
58560
  if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
58533
58561
  if (typeof message.updatedAt === "number")
58534
58562
  object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
@@ -58565,11 +58593,11 @@ $root.ContentEntityDeleted = (function() {
58565
58593
  * @property {boolean|null} [isInternationalOnly] ContentEntityDeleted isInternationalOnly
58566
58594
  * @property {ContentTypeDisplayValue|null} [contentTypeDisplayValue] ContentEntityDeleted contentTypeDisplayValue
58567
58595
  * @property {ColorTheme|null} [contentInfoScreenTheme] ContentEntityDeleted contentInfoScreenTheme
58568
- * @property {number|null} [categoryId] ContentEntityDeleted categoryId
58569
58596
  * @property {number|null} [tileMediaId] ContentEntityDeleted tileMediaId
58570
58597
  * @property {number|null} [headerImageMediaId] ContentEntityDeleted headerImageMediaId
58571
58598
  * @property {number|null} [ordinalNumber] ContentEntityDeleted ordinalNumber
58572
- * @property {number|Long|null} [deletedAt] ContentEntityDeleted deletedAt
58599
+ * @property {number|Long|null} [createdAt] ContentEntityDeleted createdAt
58600
+ * @property {number|Long|null} [updatedAt] ContentEntityDeleted updatedAt
58573
58601
  */
58574
58602
 
58575
58603
  /**
@@ -58651,14 +58679,6 @@ $root.ContentEntityDeleted = (function() {
58651
58679
  */
58652
58680
  ContentEntityDeleted.prototype.contentInfoScreenTheme = 0;
58653
58681
 
58654
- /**
58655
- * ContentEntityDeleted categoryId.
58656
- * @member {number} categoryId
58657
- * @memberof ContentEntityDeleted
58658
- * @instance
58659
- */
58660
- ContentEntityDeleted.prototype.categoryId = 0;
58661
-
58662
58682
  /**
58663
58683
  * ContentEntityDeleted tileMediaId.
58664
58684
  * @member {number} tileMediaId
@@ -58684,12 +58704,20 @@ $root.ContentEntityDeleted = (function() {
58684
58704
  ContentEntityDeleted.prototype.ordinalNumber = 0;
58685
58705
 
58686
58706
  /**
58687
- * ContentEntityDeleted deletedAt.
58688
- * @member {number|Long} deletedAt
58707
+ * ContentEntityDeleted createdAt.
58708
+ * @member {number|Long} createdAt
58709
+ * @memberof ContentEntityDeleted
58710
+ * @instance
58711
+ */
58712
+ ContentEntityDeleted.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
58713
+
58714
+ /**
58715
+ * ContentEntityDeleted updatedAt.
58716
+ * @member {number|Long} updatedAt
58689
58717
  * @memberof ContentEntityDeleted
58690
58718
  * @instance
58691
58719
  */
58692
- ContentEntityDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
58720
+ ContentEntityDeleted.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
58693
58721
 
58694
58722
  /**
58695
58723
  * Creates a new ContentEntityDeleted instance using the specified properties.
@@ -58731,16 +58759,16 @@ $root.ContentEntityDeleted = (function() {
58731
58759
  writer.uint32(/* id 7, wireType 0 =*/56).int32(message.contentTypeDisplayValue);
58732
58760
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
58733
58761
  writer.uint32(/* id 8, wireType 0 =*/64).int32(message.contentInfoScreenTheme);
58734
- if (message.categoryId != null && message.hasOwnProperty("categoryId"))
58735
- writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.categoryId);
58736
58762
  if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
58737
- writer.uint32(/* id 10, wireType 0 =*/80).uint32(message.tileMediaId);
58763
+ writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.tileMediaId);
58738
58764
  if (message.headerImageMediaId != null && message.hasOwnProperty("headerImageMediaId"))
58739
- writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.headerImageMediaId);
58765
+ writer.uint32(/* id 10, wireType 0 =*/80).uint32(message.headerImageMediaId);
58740
58766
  if (message.ordinalNumber != null && message.hasOwnProperty("ordinalNumber"))
58741
- writer.uint32(/* id 12, wireType 0 =*/96).uint32(message.ordinalNumber);
58742
- if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
58743
- writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.deletedAt);
58767
+ writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.ordinalNumber);
58768
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
58769
+ writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.createdAt);
58770
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
58771
+ writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.updatedAt);
58744
58772
  return writer;
58745
58773
  };
58746
58774
 
@@ -58800,19 +58828,19 @@ $root.ContentEntityDeleted = (function() {
58800
58828
  message.contentInfoScreenTheme = reader.int32();
58801
58829
  break;
58802
58830
  case 9:
58803
- message.categoryId = reader.uint32();
58831
+ message.tileMediaId = reader.uint32();
58804
58832
  break;
58805
58833
  case 10:
58806
- message.tileMediaId = reader.uint32();
58834
+ message.headerImageMediaId = reader.uint32();
58807
58835
  break;
58808
58836
  case 11:
58809
- message.headerImageMediaId = reader.uint32();
58837
+ message.ordinalNumber = reader.uint32();
58810
58838
  break;
58811
58839
  case 12:
58812
- message.ordinalNumber = reader.uint32();
58840
+ message.createdAt = reader.uint64();
58813
58841
  break;
58814
58842
  case 13:
58815
- message.deletedAt = reader.uint64();
58843
+ message.updatedAt = reader.uint64();
58816
58844
  break;
58817
58845
  default:
58818
58846
  reader.skipType(tag & 7);
@@ -58932,9 +58960,6 @@ $root.ContentEntityDeleted = (function() {
58932
58960
  case 2:
58933
58961
  break;
58934
58962
  }
58935
- if (message.categoryId != null && message.hasOwnProperty("categoryId"))
58936
- if (!$util.isInteger(message.categoryId))
58937
- return "categoryId: integer expected";
58938
58963
  if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
58939
58964
  if (!$util.isInteger(message.tileMediaId))
58940
58965
  return "tileMediaId: integer expected";
@@ -58944,9 +58969,12 @@ $root.ContentEntityDeleted = (function() {
58944
58969
  if (message.ordinalNumber != null && message.hasOwnProperty("ordinalNumber"))
58945
58970
  if (!$util.isInteger(message.ordinalNumber))
58946
58971
  return "ordinalNumber: integer expected";
58947
- if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
58948
- if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
58949
- return "deletedAt: integer|Long expected";
58972
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
58973
+ if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
58974
+ return "createdAt: integer|Long expected";
58975
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
58976
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
58977
+ return "updatedAt: integer|Long expected";
58950
58978
  return null;
58951
58979
  };
58952
58980
 
@@ -59166,23 +59194,30 @@ $root.ContentEntityDeleted = (function() {
59166
59194
  message.contentInfoScreenTheme = 2;
59167
59195
  break;
59168
59196
  }
59169
- if (object.categoryId != null)
59170
- message.categoryId = object.categoryId >>> 0;
59171
59197
  if (object.tileMediaId != null)
59172
59198
  message.tileMediaId = object.tileMediaId >>> 0;
59173
59199
  if (object.headerImageMediaId != null)
59174
59200
  message.headerImageMediaId = object.headerImageMediaId >>> 0;
59175
59201
  if (object.ordinalNumber != null)
59176
59202
  message.ordinalNumber = object.ordinalNumber >>> 0;
59177
- if (object.deletedAt != null)
59203
+ if (object.createdAt != null)
59178
59204
  if ($util.Long)
59179
- (message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
59180
- else if (typeof object.deletedAt === "string")
59181
- message.deletedAt = parseInt(object.deletedAt, 10);
59182
- else if (typeof object.deletedAt === "number")
59183
- message.deletedAt = object.deletedAt;
59184
- else if (typeof object.deletedAt === "object")
59185
- message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
59205
+ (message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
59206
+ else if (typeof object.createdAt === "string")
59207
+ message.createdAt = parseInt(object.createdAt, 10);
59208
+ else if (typeof object.createdAt === "number")
59209
+ message.createdAt = object.createdAt;
59210
+ else if (typeof object.createdAt === "object")
59211
+ message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
59212
+ if (object.updatedAt != null)
59213
+ if ($util.Long)
59214
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
59215
+ else if (typeof object.updatedAt === "string")
59216
+ message.updatedAt = parseInt(object.updatedAt, 10);
59217
+ else if (typeof object.updatedAt === "number")
59218
+ message.updatedAt = object.updatedAt;
59219
+ else if (typeof object.updatedAt === "object")
59220
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
59186
59221
  return message;
59187
59222
  };
59188
59223
 
@@ -59208,15 +59243,19 @@ $root.ContentEntityDeleted = (function() {
59208
59243
  object.isInternationalOnly = false;
59209
59244
  object.contentTypeDisplayValue = options.enums === String ? "CONTENT_TYPE_DISPLAY_VALUE_UNRECOGNIZED" : 0;
59210
59245
  object.contentInfoScreenTheme = options.enums === String ? "COLOR_THEME_UNRECOGNIZED" : 0;
59211
- object.categoryId = 0;
59212
59246
  object.tileMediaId = 0;
59213
59247
  object.headerImageMediaId = 0;
59214
59248
  object.ordinalNumber = 0;
59215
59249
  if ($util.Long) {
59216
59250
  var long = new $util.Long(0, 0, true);
59217
- object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
59251
+ object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
59218
59252
  } else
59219
- object.deletedAt = options.longs === String ? "0" : 0;
59253
+ object.createdAt = options.longs === String ? "0" : 0;
59254
+ if ($util.Long) {
59255
+ var long = new $util.Long(0, 0, true);
59256
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
59257
+ } else
59258
+ object.updatedAt = options.longs === String ? "0" : 0;
59220
59259
  }
59221
59260
  if (message.id != null && message.hasOwnProperty("id"))
59222
59261
  object.id = message.id;
@@ -59234,19 +59273,22 @@ $root.ContentEntityDeleted = (function() {
59234
59273
  object.contentTypeDisplayValue = options.enums === String ? $root.ContentTypeDisplayValue[message.contentTypeDisplayValue] : message.contentTypeDisplayValue;
59235
59274
  if (message.contentInfoScreenTheme != null && message.hasOwnProperty("contentInfoScreenTheme"))
59236
59275
  object.contentInfoScreenTheme = options.enums === String ? $root.ColorTheme[message.contentInfoScreenTheme] : message.contentInfoScreenTheme;
59237
- if (message.categoryId != null && message.hasOwnProperty("categoryId"))
59238
- object.categoryId = message.categoryId;
59239
59276
  if (message.tileMediaId != null && message.hasOwnProperty("tileMediaId"))
59240
59277
  object.tileMediaId = message.tileMediaId;
59241
59278
  if (message.headerImageMediaId != null && message.hasOwnProperty("headerImageMediaId"))
59242
59279
  object.headerImageMediaId = message.headerImageMediaId;
59243
59280
  if (message.ordinalNumber != null && message.hasOwnProperty("ordinalNumber"))
59244
59281
  object.ordinalNumber = message.ordinalNumber;
59245
- if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
59246
- if (typeof message.deletedAt === "number")
59247
- object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
59282
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
59283
+ if (typeof message.createdAt === "number")
59284
+ object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
59248
59285
  else
59249
- object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
59286
+ 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;
59287
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
59288
+ if (typeof message.updatedAt === "number")
59289
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
59290
+ else
59291
+ 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;
59250
59292
  return object;
59251
59293
  };
59252
59294
 
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.247.0"
19
+ "version": "1.248.0"
20
20
  }