@headspace/protos-events 1.796.0 → 1.797.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
@@ -59633,11 +59633,14 @@ export class GingerTherapySchedulerStatusUpdated implements IGingerTherapySchedu
59633
59633
  /** Properties of a UserDoubleOptInEmailRequested. */
59634
59634
  export interface IUserDoubleOptInEmailRequested {
59635
59635
 
59636
- /** UserDoubleOptInEmailRequested userId */
59637
- userId?: (string|null);
59636
+ /** UserDoubleOptInEmailRequested hsUserId */
59637
+ hsUserId?: (string|null);
59638
+
59639
+ /** UserDoubleOptInEmailRequested verificationToken */
59640
+ verificationToken?: (string|null);
59638
59641
  }
59639
59642
 
59640
- /** Represents a UserDoubleOptInEmailRequested. */
59643
+ /** Sent when a user requests to double opt in to their email. */
59641
59644
  export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailRequested {
59642
59645
 
59643
59646
  /**
@@ -59646,8 +59649,11 @@ export class UserDoubleOptInEmailRequested implements IUserDoubleOptInEmailReque
59646
59649
  */
59647
59650
  constructor(properties?: IUserDoubleOptInEmailRequested);
59648
59651
 
59649
- /** UserDoubleOptInEmailRequested userId. */
59650
- public userId: string;
59652
+ /** UserDoubleOptInEmailRequested hsUserId. */
59653
+ public hsUserId: string;
59654
+
59655
+ /** UserDoubleOptInEmailRequested verificationToken. */
59656
+ public verificationToken: string;
59651
59657
 
59652
59658
  /**
59653
59659
  * Creates a new UserDoubleOptInEmailRequested instance using the specified properties.
package/lib/index.js CHANGED
@@ -170771,13 +170771,14 @@ $root.UserDoubleOptInEmailRequested = (function() {
170771
170771
  * Properties of a UserDoubleOptInEmailRequested.
170772
170772
  * @name IUserDoubleOptInEmailRequested
170773
170773
  * @interface IUserDoubleOptInEmailRequested
170774
- * @property {string|null} [userId] UserDoubleOptInEmailRequested userId
170774
+ * @property {string|null} [hsUserId] UserDoubleOptInEmailRequested hsUserId
170775
+ * @property {string|null} [verificationToken] UserDoubleOptInEmailRequested verificationToken
170775
170776
  */
170776
170777
 
170777
170778
  /**
170778
170779
  * Constructs a new UserDoubleOptInEmailRequested.
170779
170780
  * @name UserDoubleOptInEmailRequested
170780
- * @classdesc Represents a UserDoubleOptInEmailRequested.
170781
+ * @classdesc Sent when a user requests to double opt in to their email.
170781
170782
  * @implements IUserDoubleOptInEmailRequested
170782
170783
  * @constructor
170783
170784
  * @param {IUserDoubleOptInEmailRequested=} [properties] Properties to set
@@ -170790,12 +170791,20 @@ $root.UserDoubleOptInEmailRequested = (function() {
170790
170791
  }
170791
170792
 
170792
170793
  /**
170793
- * UserDoubleOptInEmailRequested userId.
170794
- * @member {string} userId
170794
+ * UserDoubleOptInEmailRequested hsUserId.
170795
+ * @member {string} hsUserId
170795
170796
  * @memberof UserDoubleOptInEmailRequested
170796
170797
  * @instance
170797
170798
  */
170798
- UserDoubleOptInEmailRequested.prototype.userId = "";
170799
+ UserDoubleOptInEmailRequested.prototype.hsUserId = "";
170800
+
170801
+ /**
170802
+ * UserDoubleOptInEmailRequested verificationToken.
170803
+ * @member {string} verificationToken
170804
+ * @memberof UserDoubleOptInEmailRequested
170805
+ * @instance
170806
+ */
170807
+ UserDoubleOptInEmailRequested.prototype.verificationToken = "";
170799
170808
 
170800
170809
  /**
170801
170810
  * Creates a new UserDoubleOptInEmailRequested instance using the specified properties.
@@ -170821,8 +170830,10 @@ $root.UserDoubleOptInEmailRequested = (function() {
170821
170830
  UserDoubleOptInEmailRequested.encode = function encode(message, writer) {
170822
170831
  if (!writer)
170823
170832
  writer = $Writer.create();
170824
- if (message.userId != null && message.hasOwnProperty("userId"))
170825
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
170833
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
170834
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
170835
+ if (message.verificationToken != null && message.hasOwnProperty("verificationToken"))
170836
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.verificationToken);
170826
170837
  return writer;
170827
170838
  };
170828
170839
 
@@ -170858,7 +170869,10 @@ $root.UserDoubleOptInEmailRequested = (function() {
170858
170869
  var tag = reader.uint32();
170859
170870
  switch (tag >>> 3) {
170860
170871
  case 1:
170861
- message.userId = reader.string();
170872
+ message.hsUserId = reader.string();
170873
+ break;
170874
+ case 2:
170875
+ message.verificationToken = reader.string();
170862
170876
  break;
170863
170877
  default:
170864
170878
  reader.skipType(tag & 7);
@@ -170895,9 +170909,12 @@ $root.UserDoubleOptInEmailRequested = (function() {
170895
170909
  UserDoubleOptInEmailRequested.verify = function verify(message) {
170896
170910
  if (typeof message !== "object" || message === null)
170897
170911
  return "object expected";
170898
- if (message.userId != null && message.hasOwnProperty("userId"))
170899
- if (!$util.isString(message.userId))
170900
- return "userId: string expected";
170912
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
170913
+ if (!$util.isString(message.hsUserId))
170914
+ return "hsUserId: string expected";
170915
+ if (message.verificationToken != null && message.hasOwnProperty("verificationToken"))
170916
+ if (!$util.isString(message.verificationToken))
170917
+ return "verificationToken: string expected";
170901
170918
  return null;
170902
170919
  };
170903
170920
 
@@ -170913,8 +170930,10 @@ $root.UserDoubleOptInEmailRequested = (function() {
170913
170930
  if (object instanceof $root.UserDoubleOptInEmailRequested)
170914
170931
  return object;
170915
170932
  var message = new $root.UserDoubleOptInEmailRequested();
170916
- if (object.userId != null)
170917
- message.userId = String(object.userId);
170933
+ if (object.hsUserId != null)
170934
+ message.hsUserId = String(object.hsUserId);
170935
+ if (object.verificationToken != null)
170936
+ message.verificationToken = String(object.verificationToken);
170918
170937
  return message;
170919
170938
  };
170920
170939
 
@@ -170931,10 +170950,14 @@ $root.UserDoubleOptInEmailRequested = (function() {
170931
170950
  if (!options)
170932
170951
  options = {};
170933
170952
  var object = {};
170934
- if (options.defaults)
170935
- object.userId = "";
170936
- if (message.userId != null && message.hasOwnProperty("userId"))
170937
- object.userId = message.userId;
170953
+ if (options.defaults) {
170954
+ object.hsUserId = "";
170955
+ object.verificationToken = "";
170956
+ }
170957
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
170958
+ object.hsUserId = message.hsUserId;
170959
+ if (message.verificationToken != null && message.hasOwnProperty("verificationToken"))
170960
+ object.verificationToken = message.verificationToken;
170938
170961
  return object;
170939
170962
  };
170940
170963
 
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.796.0"
19
+ "version": "1.797.0"
20
20
  }