@headspace/protos-events 1.670.0 → 1.671.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 +6 -0
- package/lib/index.js +36 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -56714,6 +56714,9 @@ export interface IGingerEligibilityRecordReactivated {
|
|
|
56714
56714
|
|
|
56715
56715
|
/** GingerEligibilityRecordReactivated hsEligibilityRecordUuid */
|
|
56716
56716
|
hsEligibilityRecordUuid?: (string|null);
|
|
56717
|
+
|
|
56718
|
+
/** GingerEligibilityRecordReactivated timestamp */
|
|
56719
|
+
timestamp?: (number|Long|null);
|
|
56717
56720
|
}
|
|
56718
56721
|
|
|
56719
56722
|
/** A terminated member has re-enrolled, their EligibilityRecord is set to active and coupon code reactivated */
|
|
@@ -56734,6 +56737,9 @@ export class GingerEligibilityRecordReactivated implements IGingerEligibilityRec
|
|
|
56734
56737
|
/** GingerEligibilityRecordReactivated hsEligibilityRecordUuid. */
|
|
56735
56738
|
public hsEligibilityRecordUuid: string;
|
|
56736
56739
|
|
|
56740
|
+
/** GingerEligibilityRecordReactivated timestamp. */
|
|
56741
|
+
public timestamp: (number|Long);
|
|
56742
|
+
|
|
56737
56743
|
/**
|
|
56738
56744
|
* Creates a new GingerEligibilityRecordReactivated instance using the specified properties.
|
|
56739
56745
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -158572,6 +158572,7 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158572
158572
|
* @property {string|null} [hsUserId] GingerEligibilityRecordReactivated hsUserId
|
|
158573
158573
|
* @property {number|null} [gingerEligibilityRecordId] GingerEligibilityRecordReactivated gingerEligibilityRecordId
|
|
158574
158574
|
* @property {string|null} [hsEligibilityRecordUuid] GingerEligibilityRecordReactivated hsEligibilityRecordUuid
|
|
158575
|
+
* @property {number|Long|null} [timestamp] GingerEligibilityRecordReactivated timestamp
|
|
158575
158576
|
*/
|
|
158576
158577
|
|
|
158577
158578
|
/**
|
|
@@ -158613,6 +158614,14 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158613
158614
|
*/
|
|
158614
158615
|
GingerEligibilityRecordReactivated.prototype.hsEligibilityRecordUuid = "";
|
|
158615
158616
|
|
|
158617
|
+
/**
|
|
158618
|
+
* GingerEligibilityRecordReactivated timestamp.
|
|
158619
|
+
* @member {number|Long} timestamp
|
|
158620
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158621
|
+
* @instance
|
|
158622
|
+
*/
|
|
158623
|
+
GingerEligibilityRecordReactivated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
158624
|
+
|
|
158616
158625
|
/**
|
|
158617
158626
|
* Creates a new GingerEligibilityRecordReactivated instance using the specified properties.
|
|
158618
158627
|
* @function create
|
|
@@ -158643,6 +158652,8 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158643
158652
|
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerEligibilityRecordId);
|
|
158644
158653
|
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
158645
158654
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.hsEligibilityRecordUuid);
|
|
158655
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
158656
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
|
|
158646
158657
|
return writer;
|
|
158647
158658
|
};
|
|
158648
158659
|
|
|
@@ -158686,6 +158697,9 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158686
158697
|
case 3:
|
|
158687
158698
|
message.hsEligibilityRecordUuid = reader.string();
|
|
158688
158699
|
break;
|
|
158700
|
+
case 4:
|
|
158701
|
+
message.timestamp = reader.uint64();
|
|
158702
|
+
break;
|
|
158689
158703
|
default:
|
|
158690
158704
|
reader.skipType(tag & 7);
|
|
158691
158705
|
break;
|
|
@@ -158730,6 +158744,9 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158730
158744
|
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
158731
158745
|
if (!$util.isString(message.hsEligibilityRecordUuid))
|
|
158732
158746
|
return "hsEligibilityRecordUuid: string expected";
|
|
158747
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
158748
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
158749
|
+
return "timestamp: integer|Long expected";
|
|
158733
158750
|
return null;
|
|
158734
158751
|
};
|
|
158735
158752
|
|
|
@@ -158751,6 +158768,15 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158751
158768
|
message.gingerEligibilityRecordId = object.gingerEligibilityRecordId >>> 0;
|
|
158752
158769
|
if (object.hsEligibilityRecordUuid != null)
|
|
158753
158770
|
message.hsEligibilityRecordUuid = String(object.hsEligibilityRecordUuid);
|
|
158771
|
+
if (object.timestamp != null)
|
|
158772
|
+
if ($util.Long)
|
|
158773
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
158774
|
+
else if (typeof object.timestamp === "string")
|
|
158775
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
158776
|
+
else if (typeof object.timestamp === "number")
|
|
158777
|
+
message.timestamp = object.timestamp;
|
|
158778
|
+
else if (typeof object.timestamp === "object")
|
|
158779
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
158754
158780
|
return message;
|
|
158755
158781
|
};
|
|
158756
158782
|
|
|
@@ -158771,6 +158797,11 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158771
158797
|
object.hsUserId = "";
|
|
158772
158798
|
object.gingerEligibilityRecordId = 0;
|
|
158773
158799
|
object.hsEligibilityRecordUuid = "";
|
|
158800
|
+
if ($util.Long) {
|
|
158801
|
+
var long = new $util.Long(0, 0, true);
|
|
158802
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
158803
|
+
} else
|
|
158804
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
158774
158805
|
}
|
|
158775
158806
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
158776
158807
|
object.hsUserId = message.hsUserId;
|
|
@@ -158778,6 +158809,11 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158778
158809
|
object.gingerEligibilityRecordId = message.gingerEligibilityRecordId;
|
|
158779
158810
|
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
158780
158811
|
object.hsEligibilityRecordUuid = message.hsEligibilityRecordUuid;
|
|
158812
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
158813
|
+
if (typeof message.timestamp === "number")
|
|
158814
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
158815
|
+
else
|
|
158816
|
+
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
158781
158817
|
return object;
|
|
158782
158818
|
};
|
|
158783
158819
|
|
package/package.json
CHANGED