@headspace/protos-events 1.322.0 → 1.323.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
@@ -24660,6 +24660,12 @@ export interface INarrator {
24660
24660
 
24661
24661
  /** Narrator deletedAt */
24662
24662
  deletedAt?: (number|Long|null);
24663
+
24664
+ /** Narrator createdAt */
24665
+ createdAt?: (number|Long|null);
24666
+
24667
+ /** Narrator updatedAt */
24668
+ updatedAt?: (number|Long|null);
24663
24669
  }
24664
24670
 
24665
24671
  /** Represents a Narrator. */
@@ -24701,6 +24707,12 @@ export class Narrator implements INarrator {
24701
24707
  /** Narrator deletedAt. */
24702
24708
  public deletedAt: (number|Long);
24703
24709
 
24710
+ /** Narrator createdAt. */
24711
+ public createdAt: (number|Long);
24712
+
24713
+ /** Narrator updatedAt. */
24714
+ public updatedAt: (number|Long);
24715
+
24704
24716
  /**
24705
24717
  * Creates a new Narrator instance using the specified properties.
24706
24718
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -67612,6 +67612,8 @@ $root.Narrator = (function() {
67612
67612
  * @property {string|null} [authorCategory] Narrator authorCategory
67613
67613
  * @property {number|null} [gender] Narrator gender
67614
67614
  * @property {number|Long|null} [deletedAt] Narrator deletedAt
67615
+ * @property {number|Long|null} [createdAt] Narrator createdAt
67616
+ * @property {number|Long|null} [updatedAt] Narrator updatedAt
67615
67617
  */
67616
67618
 
67617
67619
  /**
@@ -67709,6 +67711,22 @@ $root.Narrator = (function() {
67709
67711
  */
67710
67712
  Narrator.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
67711
67713
 
67714
+ /**
67715
+ * Narrator createdAt.
67716
+ * @member {number|Long} createdAt
67717
+ * @memberof Narrator
67718
+ * @instance
67719
+ */
67720
+ Narrator.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
67721
+
67722
+ /**
67723
+ * Narrator updatedAt.
67724
+ * @member {number|Long} updatedAt
67725
+ * @memberof Narrator
67726
+ * @instance
67727
+ */
67728
+ Narrator.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
67729
+
67712
67730
  /**
67713
67731
  * Creates a new Narrator instance using the specified properties.
67714
67732
  * @function create
@@ -67753,6 +67771,10 @@ $root.Narrator = (function() {
67753
67771
  writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.gender);
67754
67772
  if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
67755
67773
  writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.deletedAt);
67774
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
67775
+ writer.uint32(/* id 11, wireType 0 =*/88).uint64(message.createdAt);
67776
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
67777
+ writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.updatedAt);
67756
67778
  return writer;
67757
67779
  };
67758
67780
 
@@ -67817,6 +67839,12 @@ $root.Narrator = (function() {
67817
67839
  case 10:
67818
67840
  message.deletedAt = reader.uint64();
67819
67841
  break;
67842
+ case 11:
67843
+ message.createdAt = reader.uint64();
67844
+ break;
67845
+ case 12:
67846
+ message.updatedAt = reader.uint64();
67847
+ break;
67820
67848
  default:
67821
67849
  reader.skipType(tag & 7);
67822
67850
  break;
@@ -67882,6 +67910,12 @@ $root.Narrator = (function() {
67882
67910
  if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
67883
67911
  if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
67884
67912
  return "deletedAt: integer|Long expected";
67913
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
67914
+ if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
67915
+ return "createdAt: integer|Long expected";
67916
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
67917
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
67918
+ return "updatedAt: integer|Long expected";
67885
67919
  return null;
67886
67920
  };
67887
67921
 
@@ -67924,6 +67958,24 @@ $root.Narrator = (function() {
67924
67958
  message.deletedAt = object.deletedAt;
67925
67959
  else if (typeof object.deletedAt === "object")
67926
67960
  message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
67961
+ if (object.createdAt != null)
67962
+ if ($util.Long)
67963
+ (message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
67964
+ else if (typeof object.createdAt === "string")
67965
+ message.createdAt = parseInt(object.createdAt, 10);
67966
+ else if (typeof object.createdAt === "number")
67967
+ message.createdAt = object.createdAt;
67968
+ else if (typeof object.createdAt === "object")
67969
+ message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
67970
+ if (object.updatedAt != null)
67971
+ if ($util.Long)
67972
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
67973
+ else if (typeof object.updatedAt === "string")
67974
+ message.updatedAt = parseInt(object.updatedAt, 10);
67975
+ else if (typeof object.updatedAt === "number")
67976
+ message.updatedAt = object.updatedAt;
67977
+ else if (typeof object.updatedAt === "object")
67978
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
67927
67979
  return message;
67928
67980
  };
67929
67981
 
@@ -67955,6 +68007,16 @@ $root.Narrator = (function() {
67955
68007
  object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
67956
68008
  } else
67957
68009
  object.deletedAt = options.longs === String ? "0" : 0;
68010
+ if ($util.Long) {
68011
+ var long = new $util.Long(0, 0, true);
68012
+ object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
68013
+ } else
68014
+ object.createdAt = options.longs === String ? "0" : 0;
68015
+ if ($util.Long) {
68016
+ var long = new $util.Long(0, 0, true);
68017
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
68018
+ } else
68019
+ object.updatedAt = options.longs === String ? "0" : 0;
67958
68020
  }
67959
68021
  if (message.id != null && message.hasOwnProperty("id"))
67960
68022
  object.id = message.id;
@@ -67979,6 +68041,16 @@ $root.Narrator = (function() {
67979
68041
  object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
67980
68042
  else
67981
68043
  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;
68044
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
68045
+ if (typeof message.createdAt === "number")
68046
+ object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
68047
+ else
68048
+ 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;
68049
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
68050
+ if (typeof message.updatedAt === "number")
68051
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
68052
+ else
68053
+ 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;
67982
68054
  return object;
67983
68055
  };
67984
68056
 
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.322.0"
19
+ "version": "1.323.0"
20
20
  }