@headspace/protos-events 1.555.0 → 1.557.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
@@ -7832,7 +7832,8 @@ export namespace subscription {
7832
7832
  enum SubscriptionTaxMode {
7833
7833
  SUBTAXMODE_UNKNOWN = 0,
7834
7834
  SUBTAXMODE_EXCLUSIVE = 1,
7835
- SUBTAXMODE_INCLUSIVE = 2
7835
+ SUBTAXMODE_INCLUSIVE = 2,
7836
+ SUBTAXMODE_EXEMPT = 3
7836
7837
  }
7837
7838
  }
7838
7839
 
@@ -8336,6 +8337,9 @@ export namespace productcatalog {
8336
8337
 
8337
8338
  /** BillingPlan taxExclusive */
8338
8339
  taxExclusive?: (productcatalog.IRatePlan[]|null);
8340
+
8341
+ /** BillingPlan taxExempt */
8342
+ taxExempt?: (productcatalog.IRatePlan[]|null);
8339
8343
  }
8340
8344
 
8341
8345
  /** Represents a BillingPlan. */
@@ -8353,6 +8357,9 @@ export namespace productcatalog {
8353
8357
  /** BillingPlan taxExclusive. */
8354
8358
  public taxExclusive: productcatalog.IRatePlan[];
8355
8359
 
8360
+ /** BillingPlan taxExempt. */
8361
+ public taxExempt: productcatalog.IRatePlan[];
8362
+
8356
8363
  /**
8357
8364
  * Creates a new BillingPlan instance using the specified properties.
8358
8365
  * @param [properties] Properties to set
@@ -8815,7 +8822,8 @@ export namespace gift {
8815
8822
  enum GiftProductSkuTaxMode {
8816
8823
  GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN = 0,
8817
8824
  GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE = 1,
8818
- GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE = 2
8825
+ GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE = 2,
8826
+ GIFT_PRODUCT_SKU_TAX_MODE_EXEMPT = 3
8819
8827
  }
8820
8828
  }
8821
8829
 
@@ -30737,6 +30745,9 @@ export class EligibilityVerified implements IEligibilityVerified {
30737
30745
  /** Properties of an EligibleUserAdded. */
30738
30746
  export interface IEligibleUserAdded {
30739
30747
 
30748
+ /** EligibleUserAdded workId */
30749
+ workId?: (string|null);
30750
+
30740
30751
  /** EligibleUserAdded workEmail */
30741
30752
  workEmail?: (string|null);
30742
30753
 
@@ -30804,6 +30815,9 @@ export class EligibleUserAdded implements IEligibleUserAdded {
30804
30815
  */
30805
30816
  constructor(properties?: IEligibleUserAdded);
30806
30817
 
30818
+ /** EligibleUserAdded workId. */
30819
+ public workId: string;
30820
+
30807
30821
  /** EligibleUserAdded workEmail. */
30808
30822
  public workEmail: string;
30809
30823
 
@@ -30935,6 +30949,9 @@ export class EligibleUserAdded implements IEligibleUserAdded {
30935
30949
  /** Properties of an EligibleUserRemoved. */
30936
30950
  export interface IEligibleUserRemoved {
30937
30951
 
30952
+ /** EligibleUserRemoved workId */
30953
+ workId?: (string|null);
30954
+
30938
30955
  /** EligibleUserRemoved workEmail */
30939
30956
  workEmail?: (string|null);
30940
30957
 
@@ -30954,6 +30971,9 @@ export class EligibleUserRemoved implements IEligibleUserRemoved {
30954
30971
  */
30955
30972
  constructor(properties?: IEligibleUserRemoved);
30956
30973
 
30974
+ /** EligibleUserRemoved workId. */
30975
+ public workId: string;
30976
+
30957
30977
  /** EligibleUserRemoved workEmail. */
30958
30978
  public workEmail: string;
30959
30979
 
@@ -31037,6 +31057,9 @@ export class EligibleUserRemoved implements IEligibleUserRemoved {
31037
31057
  /** Properties of an EligibleUserPurged. */
31038
31058
  export interface IEligibleUserPurged {
31039
31059
 
31060
+ /** EligibleUserPurged workId */
31061
+ workId?: (string|null);
31062
+
31040
31063
  /** EligibleUserPurged workEmail */
31041
31064
  workEmail?: (string|null);
31042
31065
 
@@ -31056,6 +31079,9 @@ export class EligibleUserPurged implements IEligibleUserPurged {
31056
31079
  */
31057
31080
  constructor(properties?: IEligibleUserPurged);
31058
31081
 
31082
+ /** EligibleUserPurged workId. */
31083
+ public workId: string;
31084
+
31059
31085
  /** EligibleUserPurged workEmail. */
31060
31086
  public workEmail: string;
31061
31087
 
@@ -31139,6 +31165,9 @@ export class EligibleUserPurged implements IEligibleUserPurged {
31139
31165
  /** Properties of an EligibleUserAmended. */
31140
31166
  export interface IEligibleUserAmended {
31141
31167
 
31168
+ /** EligibleUserAmended workId */
31169
+ workId?: (string|null);
31170
+
31142
31171
  /** EligibleUserAmended workEmail */
31143
31172
  workEmail?: (string|null);
31144
31173
 
@@ -31203,6 +31232,9 @@ export class EligibleUserAmended implements IEligibleUserAmended {
31203
31232
  */
31204
31233
  constructor(properties?: IEligibleUserAmended);
31205
31234
 
31235
+ /** EligibleUserAmended workId. */
31236
+ public workId: string;
31237
+
31206
31238
  /** EligibleUserAmended workEmail. */
31207
31239
  public workEmail: string;
31208
31240
 
package/lib/index.js CHANGED
@@ -18511,6 +18511,7 @@ $root.subscription = (function() {
18511
18511
  case 0:
18512
18512
  case 1:
18513
18513
  case 2:
18514
+ case 3:
18514
18515
  break;
18515
18516
  }
18516
18517
  return null;
@@ -18545,6 +18546,10 @@ $root.subscription = (function() {
18545
18546
  case 2:
18546
18547
  message.taxMode = 2;
18547
18548
  break;
18549
+ case "SUBTAXMODE_EXEMPT":
18550
+ case 3:
18551
+ message.taxMode = 3;
18552
+ break;
18548
18553
  }
18549
18554
  return message;
18550
18555
  };
@@ -18597,12 +18602,14 @@ $root.subscription = (function() {
18597
18602
  * @property {number} SUBTAXMODE_UNKNOWN=0 SUBTAXMODE_UNKNOWN value
18598
18603
  * @property {number} SUBTAXMODE_EXCLUSIVE=1 SUBTAXMODE_EXCLUSIVE value
18599
18604
  * @property {number} SUBTAXMODE_INCLUSIVE=2 SUBTAXMODE_INCLUSIVE value
18605
+ * @property {number} SUBTAXMODE_EXEMPT=3 SUBTAXMODE_EXEMPT value
18600
18606
  */
18601
18607
  subscription.SubscriptionTaxMode = (function() {
18602
18608
  var valuesById = {}, values = Object.create(valuesById);
18603
18609
  values[valuesById[0] = "SUBTAXMODE_UNKNOWN"] = 0;
18604
18610
  values[valuesById[1] = "SUBTAXMODE_EXCLUSIVE"] = 1;
18605
18611
  values[valuesById[2] = "SUBTAXMODE_INCLUSIVE"] = 2;
18612
+ values[valuesById[3] = "SUBTAXMODE_EXEMPT"] = 3;
18606
18613
  return values;
18607
18614
  })();
18608
18615
 
@@ -20047,6 +20054,7 @@ $root.productcatalog = (function() {
20047
20054
  * @interface IBillingPlan
20048
20055
  * @property {Array.<productcatalog.IRatePlan>|null} [taxInclusive] BillingPlan taxInclusive
20049
20056
  * @property {Array.<productcatalog.IRatePlan>|null} [taxExclusive] BillingPlan taxExclusive
20057
+ * @property {Array.<productcatalog.IRatePlan>|null} [taxExempt] BillingPlan taxExempt
20050
20058
  */
20051
20059
 
20052
20060
  /**
@@ -20060,6 +20068,7 @@ $root.productcatalog = (function() {
20060
20068
  function BillingPlan(properties) {
20061
20069
  this.taxInclusive = [];
20062
20070
  this.taxExclusive = [];
20071
+ this.taxExempt = [];
20063
20072
  if (properties)
20064
20073
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
20065
20074
  if (properties[keys[i]] != null)
@@ -20082,6 +20091,14 @@ $root.productcatalog = (function() {
20082
20091
  */
20083
20092
  BillingPlan.prototype.taxExclusive = $util.emptyArray;
20084
20093
 
20094
+ /**
20095
+ * BillingPlan taxExempt.
20096
+ * @member {Array.<productcatalog.IRatePlan>} taxExempt
20097
+ * @memberof productcatalog.BillingPlan
20098
+ * @instance
20099
+ */
20100
+ BillingPlan.prototype.taxExempt = $util.emptyArray;
20101
+
20085
20102
  /**
20086
20103
  * Creates a new BillingPlan instance using the specified properties.
20087
20104
  * @function create
@@ -20112,6 +20129,9 @@ $root.productcatalog = (function() {
20112
20129
  if (message.taxExclusive != null && message.taxExclusive.length)
20113
20130
  for (var i = 0; i < message.taxExclusive.length; ++i)
20114
20131
  $root.productcatalog.RatePlan.encode(message.taxExclusive[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
20132
+ if (message.taxExempt != null && message.taxExempt.length)
20133
+ for (var i = 0; i < message.taxExempt.length; ++i)
20134
+ $root.productcatalog.RatePlan.encode(message.taxExempt[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
20115
20135
  return writer;
20116
20136
  };
20117
20137
 
@@ -20156,6 +20176,11 @@ $root.productcatalog = (function() {
20156
20176
  message.taxExclusive = [];
20157
20177
  message.taxExclusive.push($root.productcatalog.RatePlan.decode(reader, reader.uint32()));
20158
20178
  break;
20179
+ case 3:
20180
+ if (!(message.taxExempt && message.taxExempt.length))
20181
+ message.taxExempt = [];
20182
+ message.taxExempt.push($root.productcatalog.RatePlan.decode(reader, reader.uint32()));
20183
+ break;
20159
20184
  default:
20160
20185
  reader.skipType(tag & 7);
20161
20186
  break;
@@ -20209,6 +20234,15 @@ $root.productcatalog = (function() {
20209
20234
  return "taxExclusive." + error;
20210
20235
  }
20211
20236
  }
20237
+ if (message.taxExempt != null && message.hasOwnProperty("taxExempt")) {
20238
+ if (!Array.isArray(message.taxExempt))
20239
+ return "taxExempt: array expected";
20240
+ for (var i = 0; i < message.taxExempt.length; ++i) {
20241
+ var error = $root.productcatalog.RatePlan.verify(message.taxExempt[i]);
20242
+ if (error)
20243
+ return "taxExempt." + error;
20244
+ }
20245
+ }
20212
20246
  return null;
20213
20247
  };
20214
20248
 
@@ -20244,6 +20278,16 @@ $root.productcatalog = (function() {
20244
20278
  message.taxExclusive[i] = $root.productcatalog.RatePlan.fromObject(object.taxExclusive[i]);
20245
20279
  }
20246
20280
  }
20281
+ if (object.taxExempt) {
20282
+ if (!Array.isArray(object.taxExempt))
20283
+ throw TypeError(".productcatalog.BillingPlan.taxExempt: array expected");
20284
+ message.taxExempt = [];
20285
+ for (var i = 0; i < object.taxExempt.length; ++i) {
20286
+ if (typeof object.taxExempt[i] !== "object")
20287
+ throw TypeError(".productcatalog.BillingPlan.taxExempt: object expected");
20288
+ message.taxExempt[i] = $root.productcatalog.RatePlan.fromObject(object.taxExempt[i]);
20289
+ }
20290
+ }
20247
20291
  return message;
20248
20292
  };
20249
20293
 
@@ -20263,6 +20307,7 @@ $root.productcatalog = (function() {
20263
20307
  if (options.arrays || options.defaults) {
20264
20308
  object.taxInclusive = [];
20265
20309
  object.taxExclusive = [];
20310
+ object.taxExempt = [];
20266
20311
  }
20267
20312
  if (message.taxInclusive && message.taxInclusive.length) {
20268
20313
  object.taxInclusive = [];
@@ -20274,6 +20319,11 @@ $root.productcatalog = (function() {
20274
20319
  for (var j = 0; j < message.taxExclusive.length; ++j)
20275
20320
  object.taxExclusive[j] = $root.productcatalog.RatePlan.toObject(message.taxExclusive[j], options);
20276
20321
  }
20322
+ if (message.taxExempt && message.taxExempt.length) {
20323
+ object.taxExempt = [];
20324
+ for (var j = 0; j < message.taxExempt.length; ++j)
20325
+ object.taxExempt[j] = $root.productcatalog.RatePlan.toObject(message.taxExempt[j], options);
20326
+ }
20277
20327
  return object;
20278
20328
  };
20279
20329
 
@@ -21339,12 +21389,14 @@ $root.gift = (function() {
21339
21389
  * @property {number} GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN=0 GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN value
21340
21390
  * @property {number} GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE=1 GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE value
21341
21391
  * @property {number} GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE=2 GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE value
21392
+ * @property {number} GIFT_PRODUCT_SKU_TAX_MODE_EXEMPT=3 GIFT_PRODUCT_SKU_TAX_MODE_EXEMPT value
21342
21393
  */
21343
21394
  gift.GiftProductSkuTaxMode = (function() {
21344
21395
  var valuesById = {}, values = Object.create(valuesById);
21345
21396
  values[valuesById[0] = "GIFT_PRODUCT_SKU_TAX_MODE_UNKNOWN"] = 0;
21346
21397
  values[valuesById[1] = "GIFT_PRODUCT_SKU_TAX_MODE_EXCLUSIVE"] = 1;
21347
21398
  values[valuesById[2] = "GIFT_PRODUCT_SKU_TAX_MODE_INCLUSIVE"] = 2;
21399
+ values[valuesById[3] = "GIFT_PRODUCT_SKU_TAX_MODE_EXEMPT"] = 3;
21348
21400
  return values;
21349
21401
  })();
21350
21402
 
@@ -85682,6 +85734,7 @@ $root.EligibleUserAdded = (function() {
85682
85734
  * Properties of an EligibleUserAdded.
85683
85735
  * @name IEligibleUserAdded
85684
85736
  * @interface IEligibleUserAdded
85737
+ * @property {string|null} [workId] EligibleUserAdded workId
85685
85738
  * @property {string|null} [workEmail] EligibleUserAdded workEmail
85686
85739
  * @property {string|null} [firstName] EligibleUserAdded firstName
85687
85740
  * @property {string|null} [lastName] EligibleUserAdded lastName
@@ -85718,6 +85771,14 @@ $root.EligibleUserAdded = (function() {
85718
85771
  this[keys[i]] = properties[keys[i]];
85719
85772
  }
85720
85773
 
85774
+ /**
85775
+ * EligibleUserAdded workId.
85776
+ * @member {string} workId
85777
+ * @memberof EligibleUserAdded
85778
+ * @instance
85779
+ */
85780
+ EligibleUserAdded.prototype.workId = "";
85781
+
85721
85782
  /**
85722
85783
  * EligibleUserAdded workEmail.
85723
85784
  * @member {string} workEmail
@@ -85932,6 +85993,8 @@ $root.EligibleUserAdded = (function() {
85932
85993
  writer.uint32(/* id 18, wireType 2 =*/146).string(message.countryStateCode);
85933
85994
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
85934
85995
  writer.uint32(/* id 19, wireType 2 =*/154).string(message.dependentOf);
85996
+ if (message.workId != null && message.hasOwnProperty("workId"))
85997
+ writer.uint32(/* id 20, wireType 2 =*/162).string(message.workId);
85935
85998
  return writer;
85936
85999
  };
85937
86000
 
@@ -85966,6 +86029,9 @@ $root.EligibleUserAdded = (function() {
85966
86029
  while (reader.pos < end) {
85967
86030
  var tag = reader.uint32();
85968
86031
  switch (tag >>> 3) {
86032
+ case 20:
86033
+ message.workId = reader.string();
86034
+ break;
85969
86035
  case 1:
85970
86036
  message.workEmail = reader.string();
85971
86037
  break;
@@ -86058,6 +86124,9 @@ $root.EligibleUserAdded = (function() {
86058
86124
  EligibleUserAdded.verify = function verify(message) {
86059
86125
  if (typeof message !== "object" || message === null)
86060
86126
  return "object expected";
86127
+ if (message.workId != null && message.hasOwnProperty("workId"))
86128
+ if (!$util.isString(message.workId))
86129
+ return "workId: string expected";
86061
86130
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
86062
86131
  if (!$util.isString(message.workEmail))
86063
86132
  return "workEmail: string expected";
@@ -86155,6 +86224,8 @@ $root.EligibleUserAdded = (function() {
86155
86224
  if (object instanceof $root.EligibleUserAdded)
86156
86225
  return object;
86157
86226
  var message = new $root.EligibleUserAdded();
86227
+ if (object.workId != null)
86228
+ message.workId = String(object.workId);
86158
86229
  if (object.workEmail != null)
86159
86230
  message.workEmail = String(object.workEmail);
86160
86231
  if (object.firstName != null)
@@ -86315,6 +86386,7 @@ $root.EligibleUserAdded = (function() {
86315
86386
  object.b2bLocation = "";
86316
86387
  object.countryStateCode = "";
86317
86388
  object.dependentOf = "";
86389
+ object.workId = "";
86318
86390
  }
86319
86391
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
86320
86392
  object.workEmail = message.workEmail;
@@ -86360,6 +86432,8 @@ $root.EligibleUserAdded = (function() {
86360
86432
  object.countryStateCode = message.countryStateCode;
86361
86433
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
86362
86434
  object.dependentOf = message.dependentOf;
86435
+ if (message.workId != null && message.hasOwnProperty("workId"))
86436
+ object.workId = message.workId;
86363
86437
  return object;
86364
86438
  };
86365
86439
 
@@ -86383,6 +86457,7 @@ $root.EligibleUserRemoved = (function() {
86383
86457
  * Properties of an EligibleUserRemoved.
86384
86458
  * @name IEligibleUserRemoved
86385
86459
  * @interface IEligibleUserRemoved
86460
+ * @property {string|null} [workId] EligibleUserRemoved workId
86386
86461
  * @property {string|null} [workEmail] EligibleUserRemoved workEmail
86387
86462
  * @property {number|null} [b2bOrgId] EligibleUserRemoved b2bOrgId
86388
86463
  * @property {number|Long|null} [timestamp] EligibleUserRemoved timestamp
@@ -86403,6 +86478,14 @@ $root.EligibleUserRemoved = (function() {
86403
86478
  this[keys[i]] = properties[keys[i]];
86404
86479
  }
86405
86480
 
86481
+ /**
86482
+ * EligibleUserRemoved workId.
86483
+ * @member {string} workId
86484
+ * @memberof EligibleUserRemoved
86485
+ * @instance
86486
+ */
86487
+ EligibleUserRemoved.prototype.workId = "";
86488
+
86406
86489
  /**
86407
86490
  * EligibleUserRemoved workEmail.
86408
86491
  * @member {string} workEmail
@@ -86457,6 +86540,8 @@ $root.EligibleUserRemoved = (function() {
86457
86540
  writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.b2bOrgId);
86458
86541
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
86459
86542
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
86543
+ if (message.workId != null && message.hasOwnProperty("workId"))
86544
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.workId);
86460
86545
  return writer;
86461
86546
  };
86462
86547
 
@@ -86491,6 +86576,9 @@ $root.EligibleUserRemoved = (function() {
86491
86576
  while (reader.pos < end) {
86492
86577
  var tag = reader.uint32();
86493
86578
  switch (tag >>> 3) {
86579
+ case 4:
86580
+ message.workId = reader.string();
86581
+ break;
86494
86582
  case 1:
86495
86583
  message.workEmail = reader.string();
86496
86584
  break;
@@ -86535,6 +86623,9 @@ $root.EligibleUserRemoved = (function() {
86535
86623
  EligibleUserRemoved.verify = function verify(message) {
86536
86624
  if (typeof message !== "object" || message === null)
86537
86625
  return "object expected";
86626
+ if (message.workId != null && message.hasOwnProperty("workId"))
86627
+ if (!$util.isString(message.workId))
86628
+ return "workId: string expected";
86538
86629
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
86539
86630
  if (!$util.isString(message.workEmail))
86540
86631
  return "workEmail: string expected";
@@ -86559,6 +86650,8 @@ $root.EligibleUserRemoved = (function() {
86559
86650
  if (object instanceof $root.EligibleUserRemoved)
86560
86651
  return object;
86561
86652
  var message = new $root.EligibleUserRemoved();
86653
+ if (object.workId != null)
86654
+ message.workId = String(object.workId);
86562
86655
  if (object.workEmail != null)
86563
86656
  message.workEmail = String(object.workEmail);
86564
86657
  if (object.b2bOrgId != null)
@@ -86596,6 +86689,7 @@ $root.EligibleUserRemoved = (function() {
86596
86689
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
86597
86690
  } else
86598
86691
  object.timestamp = options.longs === String ? "0" : 0;
86692
+ object.workId = "";
86599
86693
  }
86600
86694
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
86601
86695
  object.workEmail = message.workEmail;
@@ -86606,6 +86700,8 @@ $root.EligibleUserRemoved = (function() {
86606
86700
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
86607
86701
  else
86608
86702
  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;
86703
+ if (message.workId != null && message.hasOwnProperty("workId"))
86704
+ object.workId = message.workId;
86609
86705
  return object;
86610
86706
  };
86611
86707
 
@@ -86629,6 +86725,7 @@ $root.EligibleUserPurged = (function() {
86629
86725
  * Properties of an EligibleUserPurged.
86630
86726
  * @name IEligibleUserPurged
86631
86727
  * @interface IEligibleUserPurged
86728
+ * @property {string|null} [workId] EligibleUserPurged workId
86632
86729
  * @property {string|null} [workEmail] EligibleUserPurged workEmail
86633
86730
  * @property {number|null} [b2bOrgId] EligibleUserPurged b2bOrgId
86634
86731
  * @property {number|Long|null} [timestamp] EligibleUserPurged timestamp
@@ -86649,6 +86746,14 @@ $root.EligibleUserPurged = (function() {
86649
86746
  this[keys[i]] = properties[keys[i]];
86650
86747
  }
86651
86748
 
86749
+ /**
86750
+ * EligibleUserPurged workId.
86751
+ * @member {string} workId
86752
+ * @memberof EligibleUserPurged
86753
+ * @instance
86754
+ */
86755
+ EligibleUserPurged.prototype.workId = "";
86756
+
86652
86757
  /**
86653
86758
  * EligibleUserPurged workEmail.
86654
86759
  * @member {string} workEmail
@@ -86703,6 +86808,8 @@ $root.EligibleUserPurged = (function() {
86703
86808
  writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.b2bOrgId);
86704
86809
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
86705
86810
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
86811
+ if (message.workId != null && message.hasOwnProperty("workId"))
86812
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.workId);
86706
86813
  return writer;
86707
86814
  };
86708
86815
 
@@ -86737,6 +86844,9 @@ $root.EligibleUserPurged = (function() {
86737
86844
  while (reader.pos < end) {
86738
86845
  var tag = reader.uint32();
86739
86846
  switch (tag >>> 3) {
86847
+ case 4:
86848
+ message.workId = reader.string();
86849
+ break;
86740
86850
  case 1:
86741
86851
  message.workEmail = reader.string();
86742
86852
  break;
@@ -86781,6 +86891,9 @@ $root.EligibleUserPurged = (function() {
86781
86891
  EligibleUserPurged.verify = function verify(message) {
86782
86892
  if (typeof message !== "object" || message === null)
86783
86893
  return "object expected";
86894
+ if (message.workId != null && message.hasOwnProperty("workId"))
86895
+ if (!$util.isString(message.workId))
86896
+ return "workId: string expected";
86784
86897
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
86785
86898
  if (!$util.isString(message.workEmail))
86786
86899
  return "workEmail: string expected";
@@ -86805,6 +86918,8 @@ $root.EligibleUserPurged = (function() {
86805
86918
  if (object instanceof $root.EligibleUserPurged)
86806
86919
  return object;
86807
86920
  var message = new $root.EligibleUserPurged();
86921
+ if (object.workId != null)
86922
+ message.workId = String(object.workId);
86808
86923
  if (object.workEmail != null)
86809
86924
  message.workEmail = String(object.workEmail);
86810
86925
  if (object.b2bOrgId != null)
@@ -86842,6 +86957,7 @@ $root.EligibleUserPurged = (function() {
86842
86957
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
86843
86958
  } else
86844
86959
  object.timestamp = options.longs === String ? "0" : 0;
86960
+ object.workId = "";
86845
86961
  }
86846
86962
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
86847
86963
  object.workEmail = message.workEmail;
@@ -86852,6 +86968,8 @@ $root.EligibleUserPurged = (function() {
86852
86968
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
86853
86969
  else
86854
86970
  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;
86971
+ if (message.workId != null && message.hasOwnProperty("workId"))
86972
+ object.workId = message.workId;
86855
86973
  return object;
86856
86974
  };
86857
86975
 
@@ -86875,6 +86993,7 @@ $root.EligibleUserAmended = (function() {
86875
86993
  * Properties of an EligibleUserAmended.
86876
86994
  * @name IEligibleUserAmended
86877
86995
  * @interface IEligibleUserAmended
86996
+ * @property {string|null} [workId] EligibleUserAmended workId
86878
86997
  * @property {string|null} [workEmail] EligibleUserAmended workEmail
86879
86998
  * @property {string|null} [firstName] EligibleUserAmended firstName
86880
86999
  * @property {string|null} [lastName] EligibleUserAmended lastName
@@ -86910,6 +87029,14 @@ $root.EligibleUserAmended = (function() {
86910
87029
  this[keys[i]] = properties[keys[i]];
86911
87030
  }
86912
87031
 
87032
+ /**
87033
+ * EligibleUserAmended workId.
87034
+ * @member {string} workId
87035
+ * @memberof EligibleUserAmended
87036
+ * @instance
87037
+ */
87038
+ EligibleUserAmended.prototype.workId = "";
87039
+
86913
87040
  /**
86914
87041
  * EligibleUserAmended workEmail.
86915
87042
  * @member {string} workEmail
@@ -87114,6 +87241,8 @@ $root.EligibleUserAmended = (function() {
87114
87241
  writer.uint32(/* id 17, wireType 2 =*/138).string(message.b2bLocation);
87115
87242
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
87116
87243
  writer.uint32(/* id 18, wireType 2 =*/146).string(message.dependentOf);
87244
+ if (message.workId != null && message.hasOwnProperty("workId"))
87245
+ writer.uint32(/* id 19, wireType 2 =*/154).string(message.workId);
87117
87246
  return writer;
87118
87247
  };
87119
87248
 
@@ -87148,6 +87277,9 @@ $root.EligibleUserAmended = (function() {
87148
87277
  while (reader.pos < end) {
87149
87278
  var tag = reader.uint32();
87150
87279
  switch (tag >>> 3) {
87280
+ case 19:
87281
+ message.workId = reader.string();
87282
+ break;
87151
87283
  case 1:
87152
87284
  message.workEmail = reader.string();
87153
87285
  break;
@@ -87237,6 +87369,9 @@ $root.EligibleUserAmended = (function() {
87237
87369
  EligibleUserAmended.verify = function verify(message) {
87238
87370
  if (typeof message !== "object" || message === null)
87239
87371
  return "object expected";
87372
+ if (message.workId != null && message.hasOwnProperty("workId"))
87373
+ if (!$util.isString(message.workId))
87374
+ return "workId: string expected";
87240
87375
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
87241
87376
  if (!$util.isString(message.workEmail))
87242
87377
  return "workEmail: string expected";
@@ -87331,6 +87466,8 @@ $root.EligibleUserAmended = (function() {
87331
87466
  if (object instanceof $root.EligibleUserAmended)
87332
87467
  return object;
87333
87468
  var message = new $root.EligibleUserAmended();
87469
+ if (object.workId != null)
87470
+ message.workId = String(object.workId);
87334
87471
  if (object.workEmail != null)
87335
87472
  message.workEmail = String(object.workEmail);
87336
87473
  if (object.firstName != null)
@@ -87488,6 +87625,7 @@ $root.EligibleUserAmended = (function() {
87488
87625
  object.b2bDepartment = "";
87489
87626
  object.b2bLocation = "";
87490
87627
  object.dependentOf = "";
87628
+ object.workId = "";
87491
87629
  }
87492
87630
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
87493
87631
  object.workEmail = message.workEmail;
@@ -87531,6 +87669,8 @@ $root.EligibleUserAmended = (function() {
87531
87669
  object.b2bLocation = message.b2bLocation;
87532
87670
  if (message.dependentOf != null && message.hasOwnProperty("dependentOf"))
87533
87671
  object.dependentOf = message.dependentOf;
87672
+ if (message.workId != null && message.hasOwnProperty("workId"))
87673
+ object.workId = message.workId;
87534
87674
  return object;
87535
87675
  };
87536
87676
 
@@ -110289,6 +110429,7 @@ $root.GiftPurchased = (function() {
110289
110429
  case 0:
110290
110430
  case 1:
110291
110431
  case 2:
110432
+ case 3:
110292
110433
  break;
110293
110434
  }
110294
110435
  if (message.giftRecipientEmailSendOn != null && message.hasOwnProperty("giftRecipientEmailSendOn"))
@@ -110347,6 +110488,10 @@ $root.GiftPurchased = (function() {
110347
110488
  case 2:
110348
110489
  message.productSkuTaxMode = 2;
110349
110490
  break;
110491
+ case "GIFT_PRODUCT_SKU_TAX_MODE_EXEMPT":
110492
+ case 3:
110493
+ message.productSkuTaxMode = 3;
110494
+ break;
110350
110495
  }
110351
110496
  if (object.giftRecipientEmailSendOn != null)
110352
110497
  if ($util.Long)
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.555.0"
19
+ "version": "1.557.0"
20
20
  }