@headspace/protos-events 1.586.0 → 1.587.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
@@ -36386,9 +36386,6 @@ export class B2BMemberPartnerConsentRequested implements IB2BMemberPartnerConsen
36386
36386
  /** Properties of a B2BMemberPartnerConsentRemovalRequested. */
36387
36387
  export interface IB2BMemberPartnerConsentRemovalRequested {
36388
36388
 
36389
- /** B2BMemberPartnerConsentRemovalRequested partnerConsent */
36390
- partnerConsent?: (b2b.IPartnerConsent|null);
36391
-
36392
36389
  /** B2BMemberPartnerConsentRemovalRequested hsUserId */
36393
36390
  hsUserId?: (string|null);
36394
36391
 
@@ -36405,9 +36402,6 @@ export class B2BMemberPartnerConsentRemovalRequested implements IB2BMemberPartne
36405
36402
  */
36406
36403
  constructor(properties?: IB2BMemberPartnerConsentRemovalRequested);
36407
36404
 
36408
- /** B2BMemberPartnerConsentRemovalRequested partnerConsent. */
36409
- public partnerConsent?: (b2b.IPartnerConsent|null);
36410
-
36411
36405
  /** B2BMemberPartnerConsentRemovalRequested hsUserId. */
36412
36406
  public hsUserId: string;
36413
36407
 
package/lib/index.js CHANGED
@@ -103605,7 +103605,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
103605
103605
  * Properties of a B2BMemberPartnerConsentRemovalRequested.
103606
103606
  * @name IB2BMemberPartnerConsentRemovalRequested
103607
103607
  * @interface IB2BMemberPartnerConsentRemovalRequested
103608
- * @property {b2b.IPartnerConsent|null} [partnerConsent] B2BMemberPartnerConsentRemovalRequested partnerConsent
103609
103608
  * @property {string|null} [hsUserId] B2BMemberPartnerConsentRemovalRequested hsUserId
103610
103609
  * @property {number|Long|null} [timestamp] B2BMemberPartnerConsentRemovalRequested timestamp
103611
103610
  */
@@ -103625,14 +103624,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
103625
103624
  this[keys[i]] = properties[keys[i]];
103626
103625
  }
103627
103626
 
103628
- /**
103629
- * B2BMemberPartnerConsentRemovalRequested partnerConsent.
103630
- * @member {b2b.IPartnerConsent|null|undefined} partnerConsent
103631
- * @memberof B2BMemberPartnerConsentRemovalRequested
103632
- * @instance
103633
- */
103634
- B2BMemberPartnerConsentRemovalRequested.prototype.partnerConsent = null;
103635
-
103636
103627
  /**
103637
103628
  * B2BMemberPartnerConsentRemovalRequested hsUserId.
103638
103629
  * @member {string} hsUserId
@@ -103673,12 +103664,10 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
103673
103664
  B2BMemberPartnerConsentRemovalRequested.encode = function encode(message, writer) {
103674
103665
  if (!writer)
103675
103666
  writer = $Writer.create();
103676
- if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent"))
103677
- $root.b2b.PartnerConsent.encode(message.partnerConsent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
103678
103667
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
103679
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
103668
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
103680
103669
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
103681
- writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
103670
+ writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
103682
103671
  return writer;
103683
103672
  };
103684
103673
 
@@ -103714,12 +103703,9 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
103714
103703
  var tag = reader.uint32();
103715
103704
  switch (tag >>> 3) {
103716
103705
  case 1:
103717
- message.partnerConsent = $root.b2b.PartnerConsent.decode(reader, reader.uint32());
103718
- break;
103719
- case 2:
103720
103706
  message.hsUserId = reader.string();
103721
103707
  break;
103722
- case 3:
103708
+ case 2:
103723
103709
  message.timestamp = reader.uint64();
103724
103710
  break;
103725
103711
  default:
@@ -103757,11 +103743,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
103757
103743
  B2BMemberPartnerConsentRemovalRequested.verify = function verify(message) {
103758
103744
  if (typeof message !== "object" || message === null)
103759
103745
  return "object expected";
103760
- if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent")) {
103761
- var error = $root.b2b.PartnerConsent.verify(message.partnerConsent);
103762
- if (error)
103763
- return "partnerConsent." + error;
103764
- }
103765
103746
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
103766
103747
  if (!$util.isString(message.hsUserId))
103767
103748
  return "hsUserId: string expected";
@@ -103783,11 +103764,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
103783
103764
  if (object instanceof $root.B2BMemberPartnerConsentRemovalRequested)
103784
103765
  return object;
103785
103766
  var message = new $root.B2BMemberPartnerConsentRemovalRequested();
103786
- if (object.partnerConsent != null) {
103787
- if (typeof object.partnerConsent !== "object")
103788
- throw TypeError(".B2BMemberPartnerConsentRemovalRequested.partnerConsent: object expected");
103789
- message.partnerConsent = $root.b2b.PartnerConsent.fromObject(object.partnerConsent);
103790
- }
103791
103767
  if (object.hsUserId != null)
103792
103768
  message.hsUserId = String(object.hsUserId);
103793
103769
  if (object.timestamp != null)
@@ -103816,7 +103792,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
103816
103792
  options = {};
103817
103793
  var object = {};
103818
103794
  if (options.defaults) {
103819
- object.partnerConsent = null;
103820
103795
  object.hsUserId = "";
103821
103796
  if ($util.Long) {
103822
103797
  var long = new $util.Long(0, 0, true);
@@ -103824,8 +103799,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
103824
103799
  } else
103825
103800
  object.timestamp = options.longs === String ? "0" : 0;
103826
103801
  }
103827
- if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent"))
103828
- object.partnerConsent = $root.b2b.PartnerConsent.toObject(message.partnerConsent, options);
103829
103802
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
103830
103803
  object.hsUserId = message.hsUserId;
103831
103804
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
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.586.0"
19
+ "version": "1.587.0"
20
20
  }