@headspace/protos-events 1.64.0 → 1.65.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
@@ -3604,6 +3604,9 @@ export interface IExperimentContentMapCreated {
3604
3604
 
3605
3605
  /** ExperimentContentMapCreated contentIdList */
3606
3606
  contentIdList?: (string|null);
3607
+
3608
+ /** ExperimentContentMapCreated createdAt */
3609
+ createdAt?: (number|Long|null);
3607
3610
  }
3608
3611
 
3609
3612
  /** Represents an ExperimentContentMapCreated. */
@@ -3624,6 +3627,9 @@ export class ExperimentContentMapCreated implements IExperimentContentMapCreated
3624
3627
  /** ExperimentContentMapCreated contentIdList. */
3625
3628
  public contentIdList: string;
3626
3629
 
3630
+ /** ExperimentContentMapCreated createdAt. */
3631
+ public createdAt: (number|Long);
3632
+
3627
3633
  /**
3628
3634
  * Creates a new ExperimentContentMapCreated instance using the specified properties.
3629
3635
  * @param [properties] Properties to set
@@ -3706,6 +3712,9 @@ export interface IExperimentContentMapUpdated {
3706
3712
 
3707
3713
  /** ExperimentContentMapUpdated contentIdList */
3708
3714
  contentIdList?: (string|null);
3715
+
3716
+ /** ExperimentContentMapUpdated updatedAt */
3717
+ updatedAt?: (number|Long|null);
3709
3718
  }
3710
3719
 
3711
3720
  /** Represents an ExperimentContentMapUpdated. */
@@ -3726,6 +3735,9 @@ export class ExperimentContentMapUpdated implements IExperimentContentMapUpdated
3726
3735
  /** ExperimentContentMapUpdated contentIdList. */
3727
3736
  public contentIdList: string;
3728
3737
 
3738
+ /** ExperimentContentMapUpdated updatedAt. */
3739
+ public updatedAt: (number|Long);
3740
+
3729
3741
  /**
3730
3742
  * Creates a new ExperimentContentMapUpdated instance using the specified properties.
3731
3743
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -8684,6 +8684,7 @@ $root.ExperimentContentMapCreated = (function() {
8684
8684
  * @property {string|null} [experimentName] ExperimentContentMapCreated experimentName
8685
8685
  * @property {string|null} [variationName] ExperimentContentMapCreated variationName
8686
8686
  * @property {string|null} [contentIdList] ExperimentContentMapCreated contentIdList
8687
+ * @property {number|Long|null} [createdAt] ExperimentContentMapCreated createdAt
8687
8688
  */
8688
8689
 
8689
8690
  /**
@@ -8725,6 +8726,14 @@ $root.ExperimentContentMapCreated = (function() {
8725
8726
  */
8726
8727
  ExperimentContentMapCreated.prototype.contentIdList = "";
8727
8728
 
8729
+ /**
8730
+ * ExperimentContentMapCreated createdAt.
8731
+ * @member {number|Long} createdAt
8732
+ * @memberof ExperimentContentMapCreated
8733
+ * @instance
8734
+ */
8735
+ ExperimentContentMapCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
8736
+
8728
8737
  /**
8729
8738
  * Creates a new ExperimentContentMapCreated instance using the specified properties.
8730
8739
  * @function create
@@ -8755,6 +8764,8 @@ $root.ExperimentContentMapCreated = (function() {
8755
8764
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.variationName);
8756
8765
  if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
8757
8766
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.contentIdList);
8767
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
8768
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.createdAt);
8758
8769
  return writer;
8759
8770
  };
8760
8771
 
@@ -8798,6 +8809,9 @@ $root.ExperimentContentMapCreated = (function() {
8798
8809
  case 3:
8799
8810
  message.contentIdList = reader.string();
8800
8811
  break;
8812
+ case 4:
8813
+ message.createdAt = reader.uint64();
8814
+ break;
8801
8815
  default:
8802
8816
  reader.skipType(tag & 7);
8803
8817
  break;
@@ -8842,6 +8856,9 @@ $root.ExperimentContentMapCreated = (function() {
8842
8856
  if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
8843
8857
  if (!$util.isString(message.contentIdList))
8844
8858
  return "contentIdList: string expected";
8859
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
8860
+ if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
8861
+ return "createdAt: integer|Long expected";
8845
8862
  return null;
8846
8863
  };
8847
8864
 
@@ -8863,6 +8880,15 @@ $root.ExperimentContentMapCreated = (function() {
8863
8880
  message.variationName = String(object.variationName);
8864
8881
  if (object.contentIdList != null)
8865
8882
  message.contentIdList = String(object.contentIdList);
8883
+ if (object.createdAt != null)
8884
+ if ($util.Long)
8885
+ (message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
8886
+ else if (typeof object.createdAt === "string")
8887
+ message.createdAt = parseInt(object.createdAt, 10);
8888
+ else if (typeof object.createdAt === "number")
8889
+ message.createdAt = object.createdAt;
8890
+ else if (typeof object.createdAt === "object")
8891
+ message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
8866
8892
  return message;
8867
8893
  };
8868
8894
 
@@ -8883,6 +8909,11 @@ $root.ExperimentContentMapCreated = (function() {
8883
8909
  object.experimentName = "";
8884
8910
  object.variationName = "";
8885
8911
  object.contentIdList = "";
8912
+ if ($util.Long) {
8913
+ var long = new $util.Long(0, 0, true);
8914
+ object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
8915
+ } else
8916
+ object.createdAt = options.longs === String ? "0" : 0;
8886
8917
  }
8887
8918
  if (message.experimentName != null && message.hasOwnProperty("experimentName"))
8888
8919
  object.experimentName = message.experimentName;
@@ -8890,6 +8921,11 @@ $root.ExperimentContentMapCreated = (function() {
8890
8921
  object.variationName = message.variationName;
8891
8922
  if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
8892
8923
  object.contentIdList = message.contentIdList;
8924
+ if (message.createdAt != null && message.hasOwnProperty("createdAt"))
8925
+ if (typeof message.createdAt === "number")
8926
+ object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
8927
+ else
8928
+ 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;
8893
8929
  return object;
8894
8930
  };
8895
8931
 
@@ -8916,6 +8952,7 @@ $root.ExperimentContentMapUpdated = (function() {
8916
8952
  * @property {string|null} [experimentName] ExperimentContentMapUpdated experimentName
8917
8953
  * @property {string|null} [variationName] ExperimentContentMapUpdated variationName
8918
8954
  * @property {string|null} [contentIdList] ExperimentContentMapUpdated contentIdList
8955
+ * @property {number|Long|null} [updatedAt] ExperimentContentMapUpdated updatedAt
8919
8956
  */
8920
8957
 
8921
8958
  /**
@@ -8957,6 +8994,14 @@ $root.ExperimentContentMapUpdated = (function() {
8957
8994
  */
8958
8995
  ExperimentContentMapUpdated.prototype.contentIdList = "";
8959
8996
 
8997
+ /**
8998
+ * ExperimentContentMapUpdated updatedAt.
8999
+ * @member {number|Long} updatedAt
9000
+ * @memberof ExperimentContentMapUpdated
9001
+ * @instance
9002
+ */
9003
+ ExperimentContentMapUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
9004
+
8960
9005
  /**
8961
9006
  * Creates a new ExperimentContentMapUpdated instance using the specified properties.
8962
9007
  * @function create
@@ -8987,6 +9032,8 @@ $root.ExperimentContentMapUpdated = (function() {
8987
9032
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.variationName);
8988
9033
  if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
8989
9034
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.contentIdList);
9035
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
9036
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.updatedAt);
8990
9037
  return writer;
8991
9038
  };
8992
9039
 
@@ -9030,6 +9077,9 @@ $root.ExperimentContentMapUpdated = (function() {
9030
9077
  case 3:
9031
9078
  message.contentIdList = reader.string();
9032
9079
  break;
9080
+ case 4:
9081
+ message.updatedAt = reader.uint64();
9082
+ break;
9033
9083
  default:
9034
9084
  reader.skipType(tag & 7);
9035
9085
  break;
@@ -9074,6 +9124,9 @@ $root.ExperimentContentMapUpdated = (function() {
9074
9124
  if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
9075
9125
  if (!$util.isString(message.contentIdList))
9076
9126
  return "contentIdList: string expected";
9127
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
9128
+ if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
9129
+ return "updatedAt: integer|Long expected";
9077
9130
  return null;
9078
9131
  };
9079
9132
 
@@ -9095,6 +9148,15 @@ $root.ExperimentContentMapUpdated = (function() {
9095
9148
  message.variationName = String(object.variationName);
9096
9149
  if (object.contentIdList != null)
9097
9150
  message.contentIdList = String(object.contentIdList);
9151
+ if (object.updatedAt != null)
9152
+ if ($util.Long)
9153
+ (message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
9154
+ else if (typeof object.updatedAt === "string")
9155
+ message.updatedAt = parseInt(object.updatedAt, 10);
9156
+ else if (typeof object.updatedAt === "number")
9157
+ message.updatedAt = object.updatedAt;
9158
+ else if (typeof object.updatedAt === "object")
9159
+ message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
9098
9160
  return message;
9099
9161
  };
9100
9162
 
@@ -9115,6 +9177,11 @@ $root.ExperimentContentMapUpdated = (function() {
9115
9177
  object.experimentName = "";
9116
9178
  object.variationName = "";
9117
9179
  object.contentIdList = "";
9180
+ if ($util.Long) {
9181
+ var long = new $util.Long(0, 0, true);
9182
+ object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
9183
+ } else
9184
+ object.updatedAt = options.longs === String ? "0" : 0;
9118
9185
  }
9119
9186
  if (message.experimentName != null && message.hasOwnProperty("experimentName"))
9120
9187
  object.experimentName = message.experimentName;
@@ -9122,6 +9189,11 @@ $root.ExperimentContentMapUpdated = (function() {
9122
9189
  object.variationName = message.variationName;
9123
9190
  if (message.contentIdList != null && message.hasOwnProperty("contentIdList"))
9124
9191
  object.contentIdList = message.contentIdList;
9192
+ if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
9193
+ if (typeof message.updatedAt === "number")
9194
+ object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
9195
+ else
9196
+ 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;
9125
9197
  return object;
9126
9198
  };
9127
9199
 
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.64.0"
19
+ "version": "1.65.0"
20
20
  }