@headspace/protos-events 1.408.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 +6 -0
- package/lib/index.js +36 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -33755,6 +33755,9 @@ export interface IGiftPurchased {
|
|
|
33755
33755
|
|
|
33756
33756
|
/** GiftPurchased productSkuTaxMode */
|
|
33757
33757
|
productSkuTaxMode?: (gift.GiftProductSkuTaxMode|null);
|
|
33758
|
+
|
|
33759
|
+
/** GiftPurchased giftRecipientEmailSendOn */
|
|
33760
|
+
giftRecipientEmailSendOn?: (number|Long|null);
|
|
33758
33761
|
}
|
|
33759
33762
|
|
|
33760
33763
|
/** Represents a GiftPurchased. */
|
|
@@ -33796,6 +33799,9 @@ export class GiftPurchased implements IGiftPurchased {
|
|
|
33796
33799
|
/** GiftPurchased productSkuTaxMode. */
|
|
33797
33800
|
public productSkuTaxMode: gift.GiftProductSkuTaxMode;
|
|
33798
33801
|
|
|
33802
|
+
/** GiftPurchased giftRecipientEmailSendOn. */
|
|
33803
|
+
public giftRecipientEmailSendOn: (number|Long);
|
|
33804
|
+
|
|
33799
33805
|
/**
|
|
33800
33806
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
33801
33807
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -94759,6 +94759,7 @@ $root.GiftPurchased = (function() {
|
|
|
94759
94759
|
* @property {string|null} [productSkuId] GiftPurchased productSkuId
|
|
94760
94760
|
* @property {string|null} [productSkuSlug] GiftPurchased productSkuSlug
|
|
94761
94761
|
* @property {gift.GiftProductSkuTaxMode|null} [productSkuTaxMode] GiftPurchased productSkuTaxMode
|
|
94762
|
+
* @property {number|Long|null} [giftRecipientEmailSendOn] GiftPurchased giftRecipientEmailSendOn
|
|
94762
94763
|
*/
|
|
94763
94764
|
|
|
94764
94765
|
/**
|
|
@@ -94856,6 +94857,14 @@ $root.GiftPurchased = (function() {
|
|
|
94856
94857
|
*/
|
|
94857
94858
|
GiftPurchased.prototype.productSkuTaxMode = 0;
|
|
94858
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
|
+
|
|
94859
94868
|
/**
|
|
94860
94869
|
* Creates a new GiftPurchased instance using the specified properties.
|
|
94861
94870
|
* @function create
|
|
@@ -94900,6 +94909,8 @@ $root.GiftPurchased = (function() {
|
|
|
94900
94909
|
writer.uint32(/* id 9, wireType 2 =*/74).string(message.productSkuSlug);
|
|
94901
94910
|
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
94902
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);
|
|
94903
94914
|
return writer;
|
|
94904
94915
|
};
|
|
94905
94916
|
|
|
@@ -94964,6 +94975,9 @@ $root.GiftPurchased = (function() {
|
|
|
94964
94975
|
case 10:
|
|
94965
94976
|
message.productSkuTaxMode = reader.int32();
|
|
94966
94977
|
break;
|
|
94978
|
+
case 11:
|
|
94979
|
+
message.giftRecipientEmailSendOn = reader.uint64();
|
|
94980
|
+
break;
|
|
94967
94981
|
default:
|
|
94968
94982
|
reader.skipType(tag & 7);
|
|
94969
94983
|
break;
|
|
@@ -95035,6 +95049,9 @@ $root.GiftPurchased = (function() {
|
|
|
95035
95049
|
case 2:
|
|
95036
95050
|
break;
|
|
95037
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";
|
|
95038
95055
|
return null;
|
|
95039
95056
|
};
|
|
95040
95057
|
|
|
@@ -95089,6 +95106,15 @@ $root.GiftPurchased = (function() {
|
|
|
95089
95106
|
message.productSkuTaxMode = 2;
|
|
95090
95107
|
break;
|
|
95091
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);
|
|
95092
95118
|
return message;
|
|
95093
95119
|
};
|
|
95094
95120
|
|
|
@@ -95120,6 +95146,11 @@ $root.GiftPurchased = (function() {
|
|
|
95120
95146
|
object.productSkuId = "";
|
|
95121
95147
|
object.productSkuSlug = "";
|
|
95122
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;
|
|
95123
95154
|
}
|
|
95124
95155
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
95125
95156
|
object.hsUserId = message.hsUserId;
|
|
@@ -95144,6 +95175,11 @@ $root.GiftPurchased = (function() {
|
|
|
95144
95175
|
object.productSkuSlug = message.productSkuSlug;
|
|
95145
95176
|
if (message.productSkuTaxMode != null && message.hasOwnProperty("productSkuTaxMode"))
|
|
95146
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;
|
|
95147
95183
|
return object;
|
|
95148
95184
|
};
|
|
95149
95185
|
|
package/package.json
CHANGED