@headspace/protos-events 1.306.0 → 1.307.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
@@ -23929,6 +23929,12 @@ export interface INarrator {
23929
23929
 
23930
23930
  /** Narrator deletedAt */
23931
23931
  deletedAt?: (number|Long|null);
23932
+
23933
+ /** Narrator createdAt */
23934
+ createdAt?: (number|Long|null);
23935
+
23936
+ /** Narrator updatedAt */
23937
+ updatedAt?: (number|Long|null);
23932
23938
  }
23933
23939
 
23934
23940
  /** Represents a Narrator. */
@@ -23970,6 +23976,12 @@ export class Narrator implements INarrator {
23970
23976
  /** Narrator deletedAt. */
23971
23977
  public deletedAt: (number|Long);
23972
23978
 
23979
+ /** Narrator createdAt. */
23980
+ public createdAt: (number|Long);
23981
+
23982
+ /** Narrator updatedAt. */
23983
+ public updatedAt: (number|Long);
23984
+
23973
23985
  /**
23974
23986
  * Creates a new Narrator instance using the specified properties.
23975
23987
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -65483,6 +65483,8 @@ $root.Narrator = (function() {
65483
65483
  * @property {string|null} [authorCategory] Narrator authorCategory
65484
65484
  * @property {number|null} [gender] Narrator gender
65485
65485
  * @property {number|Long|null} [deletedAt] Narrator deletedAt
65486
+ * @property {number|Long|null} [createdAt] Narrator createdAt
65487
+ * @property {number|Long|null} [updatedAt] Narrator updatedAt
65486
65488
  */
65487
65489
 
65488
65490
  /**
@@ -65580,6 +65582,22 @@ $root.Narrator = (function() {
65580
65582
  */
65581
65583
  Narrator.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
65582
65584
 
65585
+ /**
65586
+ * Narrator createdAt.
65587
+ * @member {number|Long} createdAt
65588
+ * @memberof Narrator
65589
+ * @instance
65590
+ */
65591
+ Narrator.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
65592
+
65593
+ /**
65594
+ * Narrator updatedAt.
65595
+ * @member {number|Long} updatedAt
65596
+ * @memberof Narrator
65597
+ * @instance
65598
+ */
65599
+ Narrator.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
65600
+
65583
65601
  /**
65584
65602
  * Creates a new Narrator instance using the specified properties.
65585
65603
  * @function create
@@ -65624,6 +65642,10 @@ $root.Narrator = (function() {
65624
65642
  writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.gender);
65625
65643
  if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
65626
65644
  writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.deletedAt);
65645
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
65646
+ writer.uint32(/* id 11, wireType 0 =*/88).uint64(message.createdAt);
65647
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
65648
+ writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.updatedAt);
65627
65649
  return writer;
65628
65650
  };
65629
65651
 
@@ -65688,6 +65710,12 @@ $root.Narrator = (function() {
65688
65710
  case 10:
65689
65711
  message.deletedAt = reader.uint64();
65690
65712
  break;
65713
+ case 11:
65714
+ message.createdAt = reader.uint64();
65715
+ break;
65716
+ case 12:
65717
+ message.updatedAt = reader.uint64();
65718
+ break;
65691
65719
  default:
65692
65720
  reader.skipType(tag & 7);
65693
65721
  break;
@@ -65753,6 +65781,12 @@ $root.Narrator = (function() {
65753
65781
  if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
65754
65782
  if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
65755
65783
  return "deletedAt: integer|Long expected";
65784
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
65785
+ if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
65786
+ return "createdAt: integer|Long expected";
65787
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
65788
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
65789
+ return "updatedAt: integer|Long expected";
65756
65790
  return null;
65757
65791
  };
65758
65792
 
@@ -65795,6 +65829,24 @@ $root.Narrator = (function() {
65795
65829
  message.deletedAt = object.deletedAt;
65796
65830
  else if (typeof object.deletedAt === "object")
65797
65831
  message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
65832
+ if (object.createdAt != null)
65833
+ if ($util.Long)
65834
+ (message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
65835
+ else if (typeof object.createdAt === "string")
65836
+ message.createdAt = parseInt(object.createdAt, 10);
65837
+ else if (typeof object.createdAt === "number")
65838
+ message.createdAt = object.createdAt;
65839
+ else if (typeof object.createdAt === "object")
65840
+ message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
65841
+ if (object.updatedAt != null)
65842
+ if ($util.Long)
65843
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
65844
+ else if (typeof object.updatedAt === "string")
65845
+ message.updatedAt = parseInt(object.updatedAt, 10);
65846
+ else if (typeof object.updatedAt === "number")
65847
+ message.updatedAt = object.updatedAt;
65848
+ else if (typeof object.updatedAt === "object")
65849
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
65798
65850
  return message;
65799
65851
  };
65800
65852
 
@@ -65826,6 +65878,16 @@ $root.Narrator = (function() {
65826
65878
  object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
65827
65879
  } else
65828
65880
  object.deletedAt = options.longs === String ? "0" : 0;
65881
+ if ($util.Long) {
65882
+ var long = new $util.Long(0, 0, true);
65883
+ object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
65884
+ } else
65885
+ object.createdAt = options.longs === String ? "0" : 0;
65886
+ if ($util.Long) {
65887
+ var long = new $util.Long(0, 0, true);
65888
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
65889
+ } else
65890
+ object.updatedAt = options.longs === String ? "0" : 0;
65829
65891
  }
65830
65892
  if (message.id != null && message.hasOwnProperty("id"))
65831
65893
  object.id = message.id;
@@ -65850,6 +65912,16 @@ $root.Narrator = (function() {
65850
65912
  object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
65851
65913
  else
65852
65914
  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;
65915
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
65916
+ if (typeof message.createdAt === "number")
65917
+ object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
65918
+ else
65919
+ 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;
65920
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
65921
+ if (typeof message.updatedAt === "number")
65922
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
65923
+ else
65924
+ 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;
65853
65925
  return object;
65854
65926
  };
65855
65927
 
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.306.0"
19
+ "version": "1.307.0"
20
20
  }