@headspace/protos-events 1.670.0 → 1.672.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 +12 -0
- package/lib/index.js +58 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -43325,6 +43325,9 @@ export interface IB2BAdminCreated {
|
|
|
43325
43325
|
|
|
43326
43326
|
/** B2BAdminCreated timestampEpochMs */
|
|
43327
43327
|
timestampEpochMs?: (number|Long|null);
|
|
43328
|
+
|
|
43329
|
+
/** B2BAdminCreated isSmb */
|
|
43330
|
+
isSmb?: (boolean|null);
|
|
43328
43331
|
}
|
|
43329
43332
|
|
|
43330
43333
|
/** Represents a B2BAdminCreated. */
|
|
@@ -43357,6 +43360,9 @@ export class B2BAdminCreated implements IB2BAdminCreated {
|
|
|
43357
43360
|
/** B2BAdminCreated timestampEpochMs. */
|
|
43358
43361
|
public timestampEpochMs: (number|Long);
|
|
43359
43362
|
|
|
43363
|
+
/** B2BAdminCreated isSmb. */
|
|
43364
|
+
public isSmb: boolean;
|
|
43365
|
+
|
|
43360
43366
|
/**
|
|
43361
43367
|
* Creates a new B2BAdminCreated instance using the specified properties.
|
|
43362
43368
|
* @param [properties] Properties to set
|
|
@@ -56714,6 +56720,9 @@ export interface IGingerEligibilityRecordReactivated {
|
|
|
56714
56720
|
|
|
56715
56721
|
/** GingerEligibilityRecordReactivated hsEligibilityRecordUuid */
|
|
56716
56722
|
hsEligibilityRecordUuid?: (string|null);
|
|
56723
|
+
|
|
56724
|
+
/** GingerEligibilityRecordReactivated timestamp */
|
|
56725
|
+
timestamp?: (number|Long|null);
|
|
56717
56726
|
}
|
|
56718
56727
|
|
|
56719
56728
|
/** A terminated member has re-enrolled, their EligibilityRecord is set to active and coupon code reactivated */
|
|
@@ -56734,6 +56743,9 @@ export class GingerEligibilityRecordReactivated implements IGingerEligibilityRec
|
|
|
56734
56743
|
/** GingerEligibilityRecordReactivated hsEligibilityRecordUuid. */
|
|
56735
56744
|
public hsEligibilityRecordUuid: string;
|
|
56736
56745
|
|
|
56746
|
+
/** GingerEligibilityRecordReactivated timestamp. */
|
|
56747
|
+
public timestamp: (number|Long);
|
|
56748
|
+
|
|
56737
56749
|
/**
|
|
56738
56750
|
* Creates a new GingerEligibilityRecordReactivated instance using the specified properties.
|
|
56739
56751
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -118477,6 +118477,7 @@ $root.B2BAdminCreated = (function() {
|
|
|
118477
118477
|
* @property {string|null} [resetPasswordLink] B2BAdminCreated resetPasswordLink
|
|
118478
118478
|
* @property {boolean|null} [shouldSendEmail] B2BAdminCreated shouldSendEmail
|
|
118479
118479
|
* @property {number|Long|null} [timestampEpochMs] B2BAdminCreated timestampEpochMs
|
|
118480
|
+
* @property {boolean|null} [isSmb] B2BAdminCreated isSmb
|
|
118480
118481
|
*/
|
|
118481
118482
|
|
|
118482
118483
|
/**
|
|
@@ -118550,6 +118551,14 @@ $root.B2BAdminCreated = (function() {
|
|
|
118550
118551
|
*/
|
|
118551
118552
|
B2BAdminCreated.prototype.timestampEpochMs = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
118552
118553
|
|
|
118554
|
+
/**
|
|
118555
|
+
* B2BAdminCreated isSmb.
|
|
118556
|
+
* @member {boolean} isSmb
|
|
118557
|
+
* @memberof B2BAdminCreated
|
|
118558
|
+
* @instance
|
|
118559
|
+
*/
|
|
118560
|
+
B2BAdminCreated.prototype.isSmb = false;
|
|
118561
|
+
|
|
118553
118562
|
/**
|
|
118554
118563
|
* Creates a new B2BAdminCreated instance using the specified properties.
|
|
118555
118564
|
* @function create
|
|
@@ -118588,6 +118597,8 @@ $root.B2BAdminCreated = (function() {
|
|
|
118588
118597
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.shouldSendEmail);
|
|
118589
118598
|
if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
|
|
118590
118599
|
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.timestampEpochMs);
|
|
118600
|
+
if (message.isSmb != null && message.hasOwnProperty("isSmb"))
|
|
118601
|
+
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.isSmb);
|
|
118591
118602
|
return writer;
|
|
118592
118603
|
};
|
|
118593
118604
|
|
|
@@ -118643,6 +118654,9 @@ $root.B2BAdminCreated = (function() {
|
|
|
118643
118654
|
case 7:
|
|
118644
118655
|
message.timestampEpochMs = reader.uint64();
|
|
118645
118656
|
break;
|
|
118657
|
+
case 8:
|
|
118658
|
+
message.isSmb = reader.bool();
|
|
118659
|
+
break;
|
|
118646
118660
|
default:
|
|
118647
118661
|
reader.skipType(tag & 7);
|
|
118648
118662
|
break;
|
|
@@ -118699,6 +118713,9 @@ $root.B2BAdminCreated = (function() {
|
|
|
118699
118713
|
if (message.timestampEpochMs != null && message.hasOwnProperty("timestampEpochMs"))
|
|
118700
118714
|
if (!$util.isInteger(message.timestampEpochMs) && !(message.timestampEpochMs && $util.isInteger(message.timestampEpochMs.low) && $util.isInteger(message.timestampEpochMs.high)))
|
|
118701
118715
|
return "timestampEpochMs: integer|Long expected";
|
|
118716
|
+
if (message.isSmb != null && message.hasOwnProperty("isSmb"))
|
|
118717
|
+
if (typeof message.isSmb !== "boolean")
|
|
118718
|
+
return "isSmb: boolean expected";
|
|
118702
118719
|
return null;
|
|
118703
118720
|
};
|
|
118704
118721
|
|
|
@@ -118735,6 +118752,8 @@ $root.B2BAdminCreated = (function() {
|
|
|
118735
118752
|
message.timestampEpochMs = object.timestampEpochMs;
|
|
118736
118753
|
else if (typeof object.timestampEpochMs === "object")
|
|
118737
118754
|
message.timestampEpochMs = new $util.LongBits(object.timestampEpochMs.low >>> 0, object.timestampEpochMs.high >>> 0).toNumber(true);
|
|
118755
|
+
if (object.isSmb != null)
|
|
118756
|
+
message.isSmb = Boolean(object.isSmb);
|
|
118738
118757
|
return message;
|
|
118739
118758
|
};
|
|
118740
118759
|
|
|
@@ -118763,6 +118782,7 @@ $root.B2BAdminCreated = (function() {
|
|
|
118763
118782
|
object.timestampEpochMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
118764
118783
|
} else
|
|
118765
118784
|
object.timestampEpochMs = options.longs === String ? "0" : 0;
|
|
118785
|
+
object.isSmb = false;
|
|
118766
118786
|
}
|
|
118767
118787
|
if (message.adminId != null && message.hasOwnProperty("adminId"))
|
|
118768
118788
|
object.adminId = message.adminId;
|
|
@@ -118781,6 +118801,8 @@ $root.B2BAdminCreated = (function() {
|
|
|
118781
118801
|
object.timestampEpochMs = options.longs === String ? String(message.timestampEpochMs) : message.timestampEpochMs;
|
|
118782
118802
|
else
|
|
118783
118803
|
object.timestampEpochMs = options.longs === String ? $util.Long.prototype.toString.call(message.timestampEpochMs) : options.longs === Number ? new $util.LongBits(message.timestampEpochMs.low >>> 0, message.timestampEpochMs.high >>> 0).toNumber(true) : message.timestampEpochMs;
|
|
118804
|
+
if (message.isSmb != null && message.hasOwnProperty("isSmb"))
|
|
118805
|
+
object.isSmb = message.isSmb;
|
|
118784
118806
|
return object;
|
|
118785
118807
|
};
|
|
118786
118808
|
|
|
@@ -158572,6 +158594,7 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158572
158594
|
* @property {string|null} [hsUserId] GingerEligibilityRecordReactivated hsUserId
|
|
158573
158595
|
* @property {number|null} [gingerEligibilityRecordId] GingerEligibilityRecordReactivated gingerEligibilityRecordId
|
|
158574
158596
|
* @property {string|null} [hsEligibilityRecordUuid] GingerEligibilityRecordReactivated hsEligibilityRecordUuid
|
|
158597
|
+
* @property {number|Long|null} [timestamp] GingerEligibilityRecordReactivated timestamp
|
|
158575
158598
|
*/
|
|
158576
158599
|
|
|
158577
158600
|
/**
|
|
@@ -158613,6 +158636,14 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158613
158636
|
*/
|
|
158614
158637
|
GingerEligibilityRecordReactivated.prototype.hsEligibilityRecordUuid = "";
|
|
158615
158638
|
|
|
158639
|
+
/**
|
|
158640
|
+
* GingerEligibilityRecordReactivated timestamp.
|
|
158641
|
+
* @member {number|Long} timestamp
|
|
158642
|
+
* @memberof GingerEligibilityRecordReactivated
|
|
158643
|
+
* @instance
|
|
158644
|
+
*/
|
|
158645
|
+
GingerEligibilityRecordReactivated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
158646
|
+
|
|
158616
158647
|
/**
|
|
158617
158648
|
* Creates a new GingerEligibilityRecordReactivated instance using the specified properties.
|
|
158618
158649
|
* @function create
|
|
@@ -158643,6 +158674,8 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158643
158674
|
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerEligibilityRecordId);
|
|
158644
158675
|
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
158645
158676
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.hsEligibilityRecordUuid);
|
|
158677
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
158678
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
|
|
158646
158679
|
return writer;
|
|
158647
158680
|
};
|
|
158648
158681
|
|
|
@@ -158686,6 +158719,9 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158686
158719
|
case 3:
|
|
158687
158720
|
message.hsEligibilityRecordUuid = reader.string();
|
|
158688
158721
|
break;
|
|
158722
|
+
case 4:
|
|
158723
|
+
message.timestamp = reader.uint64();
|
|
158724
|
+
break;
|
|
158689
158725
|
default:
|
|
158690
158726
|
reader.skipType(tag & 7);
|
|
158691
158727
|
break;
|
|
@@ -158730,6 +158766,9 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158730
158766
|
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
158731
158767
|
if (!$util.isString(message.hsEligibilityRecordUuid))
|
|
158732
158768
|
return "hsEligibilityRecordUuid: string expected";
|
|
158769
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
158770
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
158771
|
+
return "timestamp: integer|Long expected";
|
|
158733
158772
|
return null;
|
|
158734
158773
|
};
|
|
158735
158774
|
|
|
@@ -158751,6 +158790,15 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158751
158790
|
message.gingerEligibilityRecordId = object.gingerEligibilityRecordId >>> 0;
|
|
158752
158791
|
if (object.hsEligibilityRecordUuid != null)
|
|
158753
158792
|
message.hsEligibilityRecordUuid = String(object.hsEligibilityRecordUuid);
|
|
158793
|
+
if (object.timestamp != null)
|
|
158794
|
+
if ($util.Long)
|
|
158795
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
158796
|
+
else if (typeof object.timestamp === "string")
|
|
158797
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
158798
|
+
else if (typeof object.timestamp === "number")
|
|
158799
|
+
message.timestamp = object.timestamp;
|
|
158800
|
+
else if (typeof object.timestamp === "object")
|
|
158801
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
158754
158802
|
return message;
|
|
158755
158803
|
};
|
|
158756
158804
|
|
|
@@ -158771,6 +158819,11 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158771
158819
|
object.hsUserId = "";
|
|
158772
158820
|
object.gingerEligibilityRecordId = 0;
|
|
158773
158821
|
object.hsEligibilityRecordUuid = "";
|
|
158822
|
+
if ($util.Long) {
|
|
158823
|
+
var long = new $util.Long(0, 0, true);
|
|
158824
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
158825
|
+
} else
|
|
158826
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
158774
158827
|
}
|
|
158775
158828
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
158776
158829
|
object.hsUserId = message.hsUserId;
|
|
@@ -158778,6 +158831,11 @@ $root.GingerEligibilityRecordReactivated = (function() {
|
|
|
158778
158831
|
object.gingerEligibilityRecordId = message.gingerEligibilityRecordId;
|
|
158779
158832
|
if (message.hsEligibilityRecordUuid != null && message.hasOwnProperty("hsEligibilityRecordUuid"))
|
|
158780
158833
|
object.hsEligibilityRecordUuid = message.hsEligibilityRecordUuid;
|
|
158834
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
158835
|
+
if (typeof message.timestamp === "number")
|
|
158836
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
158837
|
+
else
|
|
158838
|
+
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
158839
|
return object;
|
|
158782
158840
|
};
|
|
158783
158841
|
|
package/package.json
CHANGED