@headspace/protos-events 1.269.0 → 1.270.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
@@ -27719,6 +27719,9 @@ export interface IGiftEmailScheduled {
27719
27719
 
27720
27720
  /** GiftEmailScheduled timestamp */
27721
27721
  timestamp?: (number|Long|null);
27722
+
27723
+ /** GiftEmailScheduled giftRedemptionCode */
27724
+ giftRedemptionCode?: (string|null);
27722
27725
  }
27723
27726
 
27724
27727
  /** Represents a GiftEmailScheduled. */
@@ -27754,6 +27757,9 @@ export class GiftEmailScheduled implements IGiftEmailScheduled {
27754
27757
  /** GiftEmailScheduled timestamp. */
27755
27758
  public timestamp: (number|Long);
27756
27759
 
27760
+ /** GiftEmailScheduled giftRedemptionCode. */
27761
+ public giftRedemptionCode: string;
27762
+
27757
27763
  /**
27758
27764
  * Creates a new GiftEmailScheduled instance using the specified properties.
27759
27765
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -75841,6 +75841,7 @@ $root.GiftEmailScheduled = (function() {
75841
75841
  * @property {string|null} [giftTemplateId] GiftEmailScheduled giftTemplateId
75842
75842
  * @property {number|null} [giftNumMonths] GiftEmailScheduled giftNumMonths
75843
75843
  * @property {number|Long|null} [timestamp] GiftEmailScheduled timestamp
75844
+ * @property {string|null} [giftRedemptionCode] GiftEmailScheduled giftRedemptionCode
75844
75845
  */
75845
75846
 
75846
75847
  /**
@@ -75922,6 +75923,14 @@ $root.GiftEmailScheduled = (function() {
75922
75923
  */
75923
75924
  GiftEmailScheduled.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
75924
75925
 
75926
+ /**
75927
+ * GiftEmailScheduled giftRedemptionCode.
75928
+ * @member {string} giftRedemptionCode
75929
+ * @memberof GiftEmailScheduled
75930
+ * @instance
75931
+ */
75932
+ GiftEmailScheduled.prototype.giftRedemptionCode = "";
75933
+
75925
75934
  /**
75926
75935
  * Creates a new GiftEmailScheduled instance using the specified properties.
75927
75936
  * @function create
@@ -75962,6 +75971,8 @@ $root.GiftEmailScheduled = (function() {
75962
75971
  writer.uint32(/* id 7, wireType 0 =*/56).int32(message.giftNumMonths);
75963
75972
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
75964
75973
  writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.timestamp);
75974
+ if (message.giftRedemptionCode != null && message.hasOwnProperty("giftRedemptionCode"))
75975
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.giftRedemptionCode);
75965
75976
  return writer;
75966
75977
  };
75967
75978
 
@@ -76020,6 +76031,9 @@ $root.GiftEmailScheduled = (function() {
76020
76031
  case 8:
76021
76032
  message.timestamp = reader.uint64();
76022
76033
  break;
76034
+ case 9:
76035
+ message.giftRedemptionCode = reader.string();
76036
+ break;
76023
76037
  default:
76024
76038
  reader.skipType(tag & 7);
76025
76039
  break;
@@ -76079,6 +76093,9 @@ $root.GiftEmailScheduled = (function() {
76079
76093
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
76080
76094
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
76081
76095
  return "timestamp: integer|Long expected";
76096
+ if (message.giftRedemptionCode != null && message.hasOwnProperty("giftRedemptionCode"))
76097
+ if (!$util.isString(message.giftRedemptionCode))
76098
+ return "giftRedemptionCode: string expected";
76082
76099
  return null;
76083
76100
  };
76084
76101
 
@@ -76117,6 +76134,8 @@ $root.GiftEmailScheduled = (function() {
76117
76134
  message.timestamp = object.timestamp;
76118
76135
  else if (typeof object.timestamp === "object")
76119
76136
  message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
76137
+ if (object.giftRedemptionCode != null)
76138
+ message.giftRedemptionCode = String(object.giftRedemptionCode);
76120
76139
  return message;
76121
76140
  };
76122
76141
 
@@ -76146,6 +76165,7 @@ $root.GiftEmailScheduled = (function() {
76146
76165
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
76147
76166
  } else
76148
76167
  object.timestamp = options.longs === String ? "0" : 0;
76168
+ object.giftRedemptionCode = "";
76149
76169
  }
76150
76170
  if (message.giftPurchaserHsUserId != null && message.hasOwnProperty("giftPurchaserHsUserId"))
76151
76171
  object.giftPurchaserHsUserId = message.giftPurchaserHsUserId;
@@ -76166,6 +76186,8 @@ $root.GiftEmailScheduled = (function() {
76166
76186
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
76167
76187
  else
76168
76188
  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;
76189
+ if (message.giftRedemptionCode != null && message.hasOwnProperty("giftRedemptionCode"))
76190
+ object.giftRedemptionCode = message.giftRedemptionCode;
76169
76191
  return object;
76170
76192
  };
76171
76193
 
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.269.0"
19
+ "version": "1.270.0"
20
20
  }