@headspace/protos-events 1.407.0 → 1.409.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 +67 -9
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -27351,6 +27351,9 @@ export interface IHealthPartnershipMemberEligibilityVerified {
|
|
|
27351
27351
|
/** HealthPartnershipMemberEligibilityVerified emailAddress */
|
|
27352
27352
|
emailAddress?: (string|null);
|
|
27353
27353
|
|
|
27354
|
+
/** HealthPartnershipMemberEligibilityVerified gender */
|
|
27355
|
+
gender?: (string|null);
|
|
27356
|
+
|
|
27354
27357
|
/** HealthPartnershipMemberEligibilityVerified phoneNumber */
|
|
27355
27358
|
phoneNumber?: (string|null);
|
|
27356
27359
|
|
|
@@ -27394,6 +27397,9 @@ export class HealthPartnershipMemberEligibilityVerified implements IHealthPartne
|
|
|
27394
27397
|
/** HealthPartnershipMemberEligibilityVerified emailAddress. */
|
|
27395
27398
|
public emailAddress: string;
|
|
27396
27399
|
|
|
27400
|
+
/** HealthPartnershipMemberEligibilityVerified gender. */
|
|
27401
|
+
public gender: string;
|
|
27402
|
+
|
|
27397
27403
|
/** HealthPartnershipMemberEligibilityVerified phoneNumber. */
|
|
27398
27404
|
public phoneNumber: string;
|
|
27399
27405
|
|
|
@@ -33749,6 +33755,9 @@ export interface IGiftPurchased {
|
|
|
33749
33755
|
|
|
33750
33756
|
/** GiftPurchased productSkuTaxMode */
|
|
33751
33757
|
productSkuTaxMode?: (gift.GiftProductSkuTaxMode|null);
|
|
33758
|
+
|
|
33759
|
+
/** GiftPurchased giftRecipientEmailSendOn */
|
|
33760
|
+
giftRecipientEmailSendOn?: (number|Long|null);
|
|
33752
33761
|
}
|
|
33753
33762
|
|
|
33754
33763
|
/** Represents a GiftPurchased. */
|
|
@@ -33790,6 +33799,9 @@ export class GiftPurchased implements IGiftPurchased {
|
|
|
33790
33799
|
/** GiftPurchased productSkuTaxMode. */
|
|
33791
33800
|
public productSkuTaxMode: gift.GiftProductSkuTaxMode;
|
|
33792
33801
|
|
|
33802
|
+
/** GiftPurchased giftRecipientEmailSendOn. */
|
|
33803
|
+
public giftRecipientEmailSendOn: (number|Long);
|
|
33804
|
+
|
|
33793
33805
|
/**
|
|
33794
33806
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
33795
33807
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -76357,6 +76357,7 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76357
76357
|
* @property {string|null} [lastName] HealthPartnershipMemberEligibilityVerified lastName
|
|
76358
76358
|
* @property {string|null} [dateOfBirth] HealthPartnershipMemberEligibilityVerified dateOfBirth
|
|
76359
76359
|
* @property {string|null} [emailAddress] HealthPartnershipMemberEligibilityVerified emailAddress
|
|
76360
|
+
* @property {string|null} [gender] HealthPartnershipMemberEligibilityVerified gender
|
|
76360
76361
|
* @property {string|null} [phoneNumber] HealthPartnershipMemberEligibilityVerified phoneNumber
|
|
76361
76362
|
* @property {string|null} [medicalRecordNumber] HealthPartnershipMemberEligibilityVerified medicalRecordNumber
|
|
76362
76363
|
* @property {string|null} [referralPartner] HealthPartnershipMemberEligibilityVerified referralPartner
|
|
@@ -76427,6 +76428,14 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76427
76428
|
*/
|
|
76428
76429
|
HealthPartnershipMemberEligibilityVerified.prototype.emailAddress = "";
|
|
76429
76430
|
|
|
76431
|
+
/**
|
|
76432
|
+
* HealthPartnershipMemberEligibilityVerified gender.
|
|
76433
|
+
* @member {string} gender
|
|
76434
|
+
* @memberof HealthPartnershipMemberEligibilityVerified
|
|
76435
|
+
* @instance
|
|
76436
|
+
*/
|
|
76437
|
+
HealthPartnershipMemberEligibilityVerified.prototype.gender = "";
|
|
76438
|
+
|
|
76430
76439
|
/**
|
|
76431
76440
|
* HealthPartnershipMemberEligibilityVerified phoneNumber.
|
|
76432
76441
|
* @member {string} phoneNumber
|
|
@@ -76503,16 +76512,18 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76503
76512
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.dateOfBirth);
|
|
76504
76513
|
if (message.emailAddress != null && message.hasOwnProperty("emailAddress"))
|
|
76505
76514
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.emailAddress);
|
|
76515
|
+
if (message.gender != null && message.hasOwnProperty("gender"))
|
|
76516
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.gender);
|
|
76506
76517
|
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
76507
|
-
writer.uint32(/* id
|
|
76518
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.phoneNumber);
|
|
76508
76519
|
if (message.medicalRecordNumber != null && message.hasOwnProperty("medicalRecordNumber"))
|
|
76509
|
-
writer.uint32(/* id
|
|
76520
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.medicalRecordNumber);
|
|
76510
76521
|
if (message.referralPartner != null && message.hasOwnProperty("referralPartner"))
|
|
76511
|
-
writer.uint32(/* id
|
|
76522
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.referralPartner);
|
|
76512
76523
|
if (message.referralPartnerBranch != null && message.hasOwnProperty("referralPartnerBranch"))
|
|
76513
|
-
writer.uint32(/* id
|
|
76524
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.referralPartnerBranch);
|
|
76514
76525
|
if (message.uniqueCode != null && message.hasOwnProperty("uniqueCode"))
|
|
76515
|
-
writer.uint32(/* id
|
|
76526
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.uniqueCode);
|
|
76516
76527
|
return writer;
|
|
76517
76528
|
};
|
|
76518
76529
|
|
|
@@ -76566,18 +76577,21 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76566
76577
|
message.emailAddress = reader.string();
|
|
76567
76578
|
break;
|
|
76568
76579
|
case 7:
|
|
76569
|
-
message.
|
|
76580
|
+
message.gender = reader.string();
|
|
76570
76581
|
break;
|
|
76571
76582
|
case 8:
|
|
76572
|
-
message.
|
|
76583
|
+
message.phoneNumber = reader.string();
|
|
76573
76584
|
break;
|
|
76574
76585
|
case 9:
|
|
76575
|
-
message.
|
|
76586
|
+
message.medicalRecordNumber = reader.string();
|
|
76576
76587
|
break;
|
|
76577
76588
|
case 10:
|
|
76578
|
-
message.
|
|
76589
|
+
message.referralPartner = reader.string();
|
|
76579
76590
|
break;
|
|
76580
76591
|
case 11:
|
|
76592
|
+
message.referralPartnerBranch = reader.string();
|
|
76593
|
+
break;
|
|
76594
|
+
case 12:
|
|
76581
76595
|
message.uniqueCode = reader.string();
|
|
76582
76596
|
break;
|
|
76583
76597
|
default:
|
|
@@ -76633,6 +76647,9 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76633
76647
|
if (message.emailAddress != null && message.hasOwnProperty("emailAddress"))
|
|
76634
76648
|
if (!$util.isString(message.emailAddress))
|
|
76635
76649
|
return "emailAddress: string expected";
|
|
76650
|
+
if (message.gender != null && message.hasOwnProperty("gender"))
|
|
76651
|
+
if (!$util.isString(message.gender))
|
|
76652
|
+
return "gender: string expected";
|
|
76636
76653
|
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
76637
76654
|
if (!$util.isString(message.phoneNumber))
|
|
76638
76655
|
return "phoneNumber: string expected";
|
|
@@ -76675,6 +76692,8 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76675
76692
|
message.dateOfBirth = String(object.dateOfBirth);
|
|
76676
76693
|
if (object.emailAddress != null)
|
|
76677
76694
|
message.emailAddress = String(object.emailAddress);
|
|
76695
|
+
if (object.gender != null)
|
|
76696
|
+
message.gender = String(object.gender);
|
|
76678
76697
|
if (object.phoneNumber != null)
|
|
76679
76698
|
message.phoneNumber = String(object.phoneNumber);
|
|
76680
76699
|
if (object.medicalRecordNumber != null)
|
|
@@ -76708,6 +76727,7 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76708
76727
|
object.lastName = "";
|
|
76709
76728
|
object.dateOfBirth = "";
|
|
76710
76729
|
object.emailAddress = "";
|
|
76730
|
+
object.gender = "";
|
|
76711
76731
|
object.phoneNumber = "";
|
|
76712
76732
|
object.medicalRecordNumber = "";
|
|
76713
76733
|
object.referralPartner = "";
|
|
@@ -76726,6 +76746,8 @@ $root.HealthPartnershipMemberEligibilityVerified = (function() {
|
|
|
76726
76746
|
object.dateOfBirth = message.dateOfBirth;
|
|
76727
76747
|
if (message.emailAddress != null && message.hasOwnProperty("emailAddress"))
|
|
76728
76748
|
object.emailAddress = message.emailAddress;
|
|
76749
|
+
if (message.gender != null && message.hasOwnProperty("gender"))
|
|
76750
|
+
object.gender = message.gender;
|
|
76729
76751
|
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
76730
76752
|
object.phoneNumber = message.phoneNumber;
|
|
76731
76753
|
if (message.medicalRecordNumber != null && message.hasOwnProperty("medicalRecordNumber"))
|
|
@@ -94737,6 +94759,7 @@ $root.GiftPurchased = (function() {
|
|
|
94737
94759
|
* @property {string|null} [productSkuId] GiftPurchased productSkuId
|
|
94738
94760
|
* @property {string|null} [productSkuSlug] GiftPurchased productSkuSlug
|
|
94739
94761
|
* @property {gift.GiftProductSkuTaxMode|null} [productSkuTaxMode] GiftPurchased productSkuTaxMode
|
|
94762
|
+
* @property {number|Long|null} [giftRecipientEmailSendOn] GiftPurchased giftRecipientEmailSendOn
|
|
94740
94763
|
*/
|
|
94741
94764
|
|
|
94742
94765
|
/**
|
|
@@ -94834,6 +94857,14 @@ $root.GiftPurchased = (function() {
|
|
|
94834
94857
|
*/
|
|
94835
94858
|
GiftPurchased.prototype.productSkuTaxMode = 0;
|
|
94836
94859
|
|
|
94860
|
+
/**
|
|
94861
|
+
* GiftPurchased giftRecipientEmailSendOn.
|
|
94862
|
+
* @member {number|Long} giftRecipientEmailSendOn
|
|
94863
|
+
* @memberof GiftPurchased
|
|
94864
|
+
* @instance
|
|
94865
|
+
*/
|
|
94866
|
+
GiftPurchased.prototype.giftRecipientEmailSendOn = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
94867
|
+
|
|
94837
94868
|
/**
|
|
94838
94869
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
94839
94870
|
* @function create
|
|
@@ -94878,6 +94909,8 @@ $root.GiftPurchased = (function() {
|
|
|
94878
94909
|
writer.uint32(/* id 9, wireType 2 =*/74).string(message.productSkuSlug);
|
|
94879
94910
|
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
94880
94911
|
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.productSkuTaxMode);
|
|
94912
|
+
if (message.giftRecipientEmailSendOn != null && message.hasOwnProperty("giftRecipientEmailSendOn"))
|
|
94913
|
+
writer.uint32(/* id 11, wireType 0 =*/88).uint64(message.giftRecipientEmailSendOn);
|
|
94881
94914
|
return writer;
|
|
94882
94915
|
};
|
|
94883
94916
|
|
|
@@ -94942,6 +94975,9 @@ $root.GiftPurchased = (function() {
|
|
|
94942
94975
|
case 10:
|
|
94943
94976
|
message.productSkuTaxMode = reader.int32();
|
|
94944
94977
|
break;
|
|
94978
|
+
case 11:
|
|
94979
|
+
message.giftRecipientEmailSendOn = reader.uint64();
|
|
94980
|
+
break;
|
|
94945
94981
|
default:
|
|
94946
94982
|
reader.skipType(tag & 7);
|
|
94947
94983
|
break;
|
|
@@ -95013,6 +95049,9 @@ $root.GiftPurchased = (function() {
|
|
|
95013
95049
|
case 2:
|
|
95014
95050
|
break;
|
|
95015
95051
|
}
|
|
95052
|
+
if (message.giftRecipientEmailSendOn != null && message.hasOwnProperty("giftRecipientEmailSendOn"))
|
|
95053
|
+
if (!$util.isInteger(message.giftRecipientEmailSendOn) && !(message.giftRecipientEmailSendOn && $util.isInteger(message.giftRecipientEmailSendOn.low) && $util.isInteger(message.giftRecipientEmailSendOn.high)))
|
|
95054
|
+
return "giftRecipientEmailSendOn: integer|Long expected";
|
|
95016
95055
|
return null;
|
|
95017
95056
|
};
|
|
95018
95057
|
|
|
@@ -95067,6 +95106,15 @@ $root.GiftPurchased = (function() {
|
|
|
95067
95106
|
message.productSkuTaxMode = 2;
|
|
95068
95107
|
break;
|
|
95069
95108
|
}
|
|
95109
|
+
if (object.giftRecipientEmailSendOn != null)
|
|
95110
|
+
if ($util.Long)
|
|
95111
|
+
(message.giftRecipientEmailSendOn = $util.Long.fromValue(object.giftRecipientEmailSendOn)).unsigned = true;
|
|
95112
|
+
else if (typeof object.giftRecipientEmailSendOn === "string")
|
|
95113
|
+
message.giftRecipientEmailSendOn = parseInt(object.giftRecipientEmailSendOn, 10);
|
|
95114
|
+
else if (typeof object.giftRecipientEmailSendOn === "number")
|
|
95115
|
+
message.giftRecipientEmailSendOn = object.giftRecipientEmailSendOn;
|
|
95116
|
+
else if (typeof object.giftRecipientEmailSendOn === "object")
|
|
95117
|
+
message.giftRecipientEmailSendOn = new $util.LongBits(object.giftRecipientEmailSendOn.low >>> 0, object.giftRecipientEmailSendOn.high >>> 0).toNumber(true);
|
|
95070
95118
|
return message;
|
|
95071
95119
|
};
|
|
95072
95120
|
|
|
@@ -95098,6 +95146,11 @@ $root.GiftPurchased = (function() {
|
|
|
95098
95146
|
object.productSkuId = "";
|
|
95099
95147
|
object.productSkuSlug = "";
|
|
95100
95148
|
object.productSkuTaxMode = options.enums === String ? "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN" : 0;
|
|
95149
|
+
if ($util.Long) {
|
|
95150
|
+
var long = new $util.Long(0, 0, true);
|
|
95151
|
+
object.giftRecipientEmailSendOn = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
95152
|
+
} else
|
|
95153
|
+
object.giftRecipientEmailSendOn = options.longs === String ? "0" : 0;
|
|
95101
95154
|
}
|
|
95102
95155
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
95103
95156
|
object.hsUserId = message.hsUserId;
|
|
@@ -95122,6 +95175,11 @@ $root.GiftPurchased = (function() {
|
|
|
95122
95175
|
object.productSkuSlug = message.productSkuSlug;
|
|
95123
95176
|
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
95124
95177
|
object.productSkuTaxMode = options.enums === String ? $root.gift.GiftProductSkuTaxMode[message.productSkuTaxMode] : message.productSkuTaxMode;
|
|
95178
|
+
if (message.giftRecipientEmailSendOn != null && message.hasOwnProperty("giftRecipientEmailSendOn"))
|
|
95179
|
+
if (typeof message.giftRecipientEmailSendOn === "number")
|
|
95180
|
+
object.giftRecipientEmailSendOn = options.longs === String ? String(message.giftRecipientEmailSendOn) : message.giftRecipientEmailSendOn;
|
|
95181
|
+
else
|
|
95182
|
+
object.giftRecipientEmailSendOn = options.longs === String ? $util.Long.prototype.toString.call(message.giftRecipientEmailSendOn) : options.longs === Number ? new $util.LongBits(message.giftRecipientEmailSendOn.low >>> 0, message.giftRecipientEmailSendOn.high >>> 0).toNumber(true) : message.giftRecipientEmailSendOn;
|
|
95125
95183
|
return object;
|
|
95126
95184
|
};
|
|
95127
95185
|
|
package/package.json
CHANGED