@headspace/protos-events 1.471.0 → 1.473.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
@@ -29994,7 +29994,7 @@ export interface IEligibleUserAdded {
29994
29994
  b2bMemberStatus?: (b2b.MemberStatus|null);
29995
29995
 
29996
29996
  /** EligibleUserAdded b2bOrgId */
29997
- b2bOrgId?: (number|Long|null);
29997
+ b2bOrgId?: (number|null);
29998
29998
 
29999
29999
  /** EligibleUserAdded b2bOrgName */
30000
30000
  b2bOrgName?: (string|null);
@@ -30019,6 +30019,9 @@ export interface IEligibleUserAdded {
30019
30019
 
30020
30020
  /** EligibleUserAdded timestamp */
30021
30021
  timestamp?: (number|Long|null);
30022
+
30023
+ /** EligibleUserAdded b2bCampaignLaunchDate */
30024
+ b2bCampaignLaunchDate?: (number|Long|null);
30022
30025
  }
30023
30026
 
30024
30027
  /** Represents an EligibleUserAdded. */
@@ -30043,7 +30046,7 @@ export class EligibleUserAdded implements IEligibleUserAdded {
30043
30046
  public b2bMemberStatus: b2b.MemberStatus;
30044
30047
 
30045
30048
  /** EligibleUserAdded b2bOrgId. */
30046
- public b2bOrgId: (number|Long);
30049
+ public b2bOrgId: number;
30047
30050
 
30048
30051
  /** EligibleUserAdded b2bOrgName. */
30049
30052
  public b2bOrgName: string;
@@ -30069,6 +30072,9 @@ export class EligibleUserAdded implements IEligibleUserAdded {
30069
30072
  /** EligibleUserAdded timestamp. */
30070
30073
  public timestamp: (number|Long);
30071
30074
 
30075
+ /** EligibleUserAdded b2bCampaignLaunchDate. */
30076
+ public b2bCampaignLaunchDate: (number|Long);
30077
+
30072
30078
  /**
30073
30079
  * Creates a new EligibleUserAdded instance using the specified properties.
30074
30080
  * @param [properties] Properties to set
@@ -30147,7 +30153,7 @@ export interface IEligibleUserRemoved {
30147
30153
  workEmail?: (string|null);
30148
30154
 
30149
30155
  /** EligibleUserRemoved b2bOrgId */
30150
- b2bOrgId?: (number|Long|null);
30156
+ b2bOrgId?: (number|null);
30151
30157
 
30152
30158
  /** EligibleUserRemoved timestamp */
30153
30159
  timestamp?: (number|Long|null);
@@ -30166,7 +30172,7 @@ export class EligibleUserRemoved implements IEligibleUserRemoved {
30166
30172
  public workEmail: string;
30167
30173
 
30168
30174
  /** EligibleUserRemoved b2bOrgId. */
30169
- public b2bOrgId: (number|Long);
30175
+ public b2bOrgId: number;
30170
30176
 
30171
30177
  /** EligibleUserRemoved timestamp. */
30172
30178
  public timestamp: (number|Long);
@@ -30258,7 +30264,7 @@ export interface IEligibleUserAmended {
30258
30264
  b2bMemberStatus?: (b2b.MemberStatus|null);
30259
30265
 
30260
30266
  /** EligibleUserAmended b2bOrgId */
30261
- b2bOrgId?: (number|Long|null);
30267
+ b2bOrgId?: (number|null);
30262
30268
 
30263
30269
  /** EligibleUserAmended b2bOrgName */
30264
30270
  b2bOrgName?: (string|null);
@@ -30283,6 +30289,9 @@ export interface IEligibleUserAmended {
30283
30289
 
30284
30290
  /** EligibleUserAmended timestamp */
30285
30291
  timestamp?: (number|Long|null);
30292
+
30293
+ /** EligibleUserAmended b2bCampaignLaunchDate */
30294
+ b2bCampaignLaunchDate?: (number|Long|null);
30286
30295
  }
30287
30296
 
30288
30297
  /** Represents an EligibleUserAmended. */
@@ -30307,7 +30316,7 @@ export class EligibleUserAmended implements IEligibleUserAmended {
30307
30316
  public b2bMemberStatus: b2b.MemberStatus;
30308
30317
 
30309
30318
  /** EligibleUserAmended b2bOrgId. */
30310
- public b2bOrgId: (number|Long);
30319
+ public b2bOrgId: number;
30311
30320
 
30312
30321
  /** EligibleUserAmended b2bOrgName. */
30313
30322
  public b2bOrgName: string;
@@ -30333,6 +30342,9 @@ export class EligibleUserAmended implements IEligibleUserAmended {
30333
30342
  /** EligibleUserAmended timestamp. */
30334
30343
  public timestamp: (number|Long);
30335
30344
 
30345
+ /** EligibleUserAmended b2bCampaignLaunchDate. */
30346
+ public b2bCampaignLaunchDate: (number|Long);
30347
+
30336
30348
  /**
30337
30349
  * Creates a new EligibleUserAmended instance using the specified properties.
30338
30350
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -83163,7 +83163,7 @@ $root.EligibleUserAdded = (function() {
83163
83163
  * @property {string|null} [firstName] EligibleUserAdded firstName
83164
83164
  * @property {string|null} [lastName] EligibleUserAdded lastName
83165
83165
  * @property {b2b.MemberStatus|null} [b2bMemberStatus] EligibleUserAdded b2bMemberStatus
83166
- * @property {number|Long|null} [b2bOrgId] EligibleUserAdded b2bOrgId
83166
+ * @property {number|null} [b2bOrgId] EligibleUserAdded b2bOrgId
83167
83167
  * @property {string|null} [b2bOrgName] EligibleUserAdded b2bOrgName
83168
83168
  * @property {string|null} [b2bOrgCampaignDisplayName] EligibleUserAdded b2bOrgCampaignDisplayName
83169
83169
  * @property {b2b.OrgMemberPlan|null} [b2bPlan] EligibleUserAdded b2bPlan
@@ -83172,6 +83172,7 @@ $root.EligibleUserAdded = (function() {
83172
83172
  * @property {string|null} [enrollmentUrl] EligibleUserAdded enrollmentUrl
83173
83173
  * @property {string|null} [b2bCustomFields] EligibleUserAdded b2bCustomFields
83174
83174
  * @property {number|Long|null} [timestamp] EligibleUserAdded timestamp
83175
+ * @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAdded b2bCampaignLaunchDate
83175
83176
  */
83176
83177
 
83177
83178
  /**
@@ -83223,11 +83224,11 @@ $root.EligibleUserAdded = (function() {
83223
83224
 
83224
83225
  /**
83225
83226
  * EligibleUserAdded b2bOrgId.
83226
- * @member {number|Long} b2bOrgId
83227
+ * @member {number} b2bOrgId
83227
83228
  * @memberof EligibleUserAdded
83228
83229
  * @instance
83229
83230
  */
83230
- EligibleUserAdded.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
83231
+ EligibleUserAdded.prototype.b2bOrgId = 0;
83231
83232
 
83232
83233
  /**
83233
83234
  * EligibleUserAdded b2bOrgName.
@@ -83293,6 +83294,14 @@ $root.EligibleUserAdded = (function() {
83293
83294
  */
83294
83295
  EligibleUserAdded.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
83295
83296
 
83297
+ /**
83298
+ * EligibleUserAdded b2bCampaignLaunchDate.
83299
+ * @member {number|Long} b2bCampaignLaunchDate
83300
+ * @memberof EligibleUserAdded
83301
+ * @instance
83302
+ */
83303
+ EligibleUserAdded.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
83304
+
83296
83305
  /**
83297
83306
  * Creates a new EligibleUserAdded instance using the specified properties.
83298
83307
  * @function create
@@ -83326,7 +83335,7 @@ $root.EligibleUserAdded = (function() {
83326
83335
  if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
83327
83336
  writer.uint32(/* id 4, wireType 0 =*/32).int32(message.b2bMemberStatus);
83328
83337
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83329
- writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.b2bOrgId);
83338
+ writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.b2bOrgId);
83330
83339
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
83331
83340
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgName);
83332
83341
  if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
@@ -83343,6 +83352,8 @@ $root.EligibleUserAdded = (function() {
83343
83352
  writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
83344
83353
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
83345
83354
  writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.timestamp);
83355
+ if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
83356
+ writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.b2bCampaignLaunchDate);
83346
83357
  return writer;
83347
83358
  };
83348
83359
 
@@ -83390,7 +83401,7 @@ $root.EligibleUserAdded = (function() {
83390
83401
  message.b2bMemberStatus = reader.int32();
83391
83402
  break;
83392
83403
  case 5:
83393
- message.b2bOrgId = reader.uint64();
83404
+ message.b2bOrgId = reader.uint32();
83394
83405
  break;
83395
83406
  case 6:
83396
83407
  message.b2bOrgName = reader.string();
@@ -83416,6 +83427,9 @@ $root.EligibleUserAdded = (function() {
83416
83427
  case 13:
83417
83428
  message.timestamp = reader.uint64();
83418
83429
  break;
83430
+ case 14:
83431
+ message.b2bCampaignLaunchDate = reader.uint64();
83432
+ break;
83419
83433
  default:
83420
83434
  reader.skipType(tag & 7);
83421
83435
  break;
@@ -83474,8 +83488,8 @@ $root.EligibleUserAdded = (function() {
83474
83488
  break;
83475
83489
  }
83476
83490
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83477
- if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
83478
- return "b2bOrgId: integer|Long expected";
83491
+ if (!$util.isInteger(message.b2bOrgId))
83492
+ return "b2bOrgId: integer expected";
83479
83493
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
83480
83494
  if (!$util.isString(message.b2bOrgName))
83481
83495
  return "b2bOrgName: string expected";
@@ -83513,6 +83527,9 @@ $root.EligibleUserAdded = (function() {
83513
83527
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
83514
83528
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
83515
83529
  return "timestamp: integer|Long expected";
83530
+ if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
83531
+ if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
83532
+ return "b2bCampaignLaunchDate: integer|Long expected";
83516
83533
  return null;
83517
83534
  };
83518
83535
 
@@ -83565,14 +83582,7 @@ $root.EligibleUserAdded = (function() {
83565
83582
  break;
83566
83583
  }
83567
83584
  if (object.b2bOrgId != null)
83568
- if ($util.Long)
83569
- (message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
83570
- else if (typeof object.b2bOrgId === "string")
83571
- message.b2bOrgId = parseInt(object.b2bOrgId, 10);
83572
- else if (typeof object.b2bOrgId === "number")
83573
- message.b2bOrgId = object.b2bOrgId;
83574
- else if (typeof object.b2bOrgId === "object")
83575
- message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
83585
+ message.b2bOrgId = object.b2bOrgId >>> 0;
83576
83586
  if (object.b2bOrgName != null)
83577
83587
  message.b2bOrgName = String(object.b2bOrgName);
83578
83588
  if (object.b2bOrgCampaignDisplayName != null)
@@ -83624,6 +83634,15 @@ $root.EligibleUserAdded = (function() {
83624
83634
  message.timestamp = object.timestamp;
83625
83635
  else if (typeof object.timestamp === "object")
83626
83636
  message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
83637
+ if (object.b2bCampaignLaunchDate != null)
83638
+ if ($util.Long)
83639
+ (message.b2bCampaignLaunchDate = $util.Long.fromValue(object.b2bCampaignLaunchDate)).unsigned = true;
83640
+ else if (typeof object.b2bCampaignLaunchDate === "string")
83641
+ message.b2bCampaignLaunchDate = parseInt(object.b2bCampaignLaunchDate, 10);
83642
+ else if (typeof object.b2bCampaignLaunchDate === "number")
83643
+ message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
83644
+ else if (typeof object.b2bCampaignLaunchDate === "object")
83645
+ message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
83627
83646
  return message;
83628
83647
  };
83629
83648
 
@@ -83645,11 +83664,7 @@ $root.EligibleUserAdded = (function() {
83645
83664
  object.firstName = "";
83646
83665
  object.lastName = "";
83647
83666
  object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
83648
- if ($util.Long) {
83649
- var long = new $util.Long(0, 0, true);
83650
- object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
83651
- } else
83652
- object.b2bOrgId = options.longs === String ? "0" : 0;
83667
+ object.b2bOrgId = 0;
83653
83668
  object.b2bOrgName = "";
83654
83669
  object.b2bOrgCampaignDisplayName = "";
83655
83670
  object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
@@ -83662,6 +83677,11 @@ $root.EligibleUserAdded = (function() {
83662
83677
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
83663
83678
  } else
83664
83679
  object.timestamp = options.longs === String ? "0" : 0;
83680
+ if ($util.Long) {
83681
+ var long = new $util.Long(0, 0, true);
83682
+ object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
83683
+ } else
83684
+ object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
83665
83685
  }
83666
83686
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
83667
83687
  object.workEmail = message.workEmail;
@@ -83672,10 +83692,7 @@ $root.EligibleUserAdded = (function() {
83672
83692
  if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
83673
83693
  object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
83674
83694
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83675
- if (typeof message.b2bOrgId === "number")
83676
- object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
83677
- else
83678
- object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
83695
+ object.b2bOrgId = message.b2bOrgId;
83679
83696
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
83680
83697
  object.b2bOrgName = message.b2bOrgName;
83681
83698
  if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
@@ -83695,6 +83712,11 @@ $root.EligibleUserAdded = (function() {
83695
83712
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
83696
83713
  else
83697
83714
  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;
83715
+ if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
83716
+ if (typeof message.b2bCampaignLaunchDate === "number")
83717
+ object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
83718
+ else
83719
+ object.b2bCampaignLaunchDate = options.longs === String ? $util.Long.prototype.toString.call(message.b2bCampaignLaunchDate) : options.longs === Number ? new $util.LongBits(message.b2bCampaignLaunchDate.low >>> 0, message.b2bCampaignLaunchDate.high >>> 0).toNumber(true) : message.b2bCampaignLaunchDate;
83698
83720
  return object;
83699
83721
  };
83700
83722
 
@@ -83719,7 +83741,7 @@ $root.EligibleUserRemoved = (function() {
83719
83741
  * @name IEligibleUserRemoved
83720
83742
  * @interface IEligibleUserRemoved
83721
83743
  * @property {string|null} [workEmail] EligibleUserRemoved workEmail
83722
- * @property {number|Long|null} [b2bOrgId] EligibleUserRemoved b2bOrgId
83744
+ * @property {number|null} [b2bOrgId] EligibleUserRemoved b2bOrgId
83723
83745
  * @property {number|Long|null} [timestamp] EligibleUserRemoved timestamp
83724
83746
  */
83725
83747
 
@@ -83748,11 +83770,11 @@ $root.EligibleUserRemoved = (function() {
83748
83770
 
83749
83771
  /**
83750
83772
  * EligibleUserRemoved b2bOrgId.
83751
- * @member {number|Long} b2bOrgId
83773
+ * @member {number} b2bOrgId
83752
83774
  * @memberof EligibleUserRemoved
83753
83775
  * @instance
83754
83776
  */
83755
- EligibleUserRemoved.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
83777
+ EligibleUserRemoved.prototype.b2bOrgId = 0;
83756
83778
 
83757
83779
  /**
83758
83780
  * EligibleUserRemoved timestamp.
@@ -83789,7 +83811,7 @@ $root.EligibleUserRemoved = (function() {
83789
83811
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
83790
83812
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.workEmail);
83791
83813
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83792
- writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.b2bOrgId);
83814
+ writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.b2bOrgId);
83793
83815
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
83794
83816
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
83795
83817
  return writer;
@@ -83830,7 +83852,7 @@ $root.EligibleUserRemoved = (function() {
83830
83852
  message.workEmail = reader.string();
83831
83853
  break;
83832
83854
  case 2:
83833
- message.b2bOrgId = reader.uint64();
83855
+ message.b2bOrgId = reader.uint32();
83834
83856
  break;
83835
83857
  case 3:
83836
83858
  message.timestamp = reader.uint64();
@@ -83874,8 +83896,8 @@ $root.EligibleUserRemoved = (function() {
83874
83896
  if (!$util.isString(message.workEmail))
83875
83897
  return "workEmail: string expected";
83876
83898
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83877
- if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
83878
- return "b2bOrgId: integer|Long expected";
83899
+ if (!$util.isInteger(message.b2bOrgId))
83900
+ return "b2bOrgId: integer expected";
83879
83901
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
83880
83902
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
83881
83903
  return "timestamp: integer|Long expected";
@@ -83897,14 +83919,7 @@ $root.EligibleUserRemoved = (function() {
83897
83919
  if (object.workEmail != null)
83898
83920
  message.workEmail = String(object.workEmail);
83899
83921
  if (object.b2bOrgId != null)
83900
- if ($util.Long)
83901
- (message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
83902
- else if (typeof object.b2bOrgId === "string")
83903
- message.b2bOrgId = parseInt(object.b2bOrgId, 10);
83904
- else if (typeof object.b2bOrgId === "number")
83905
- message.b2bOrgId = object.b2bOrgId;
83906
- else if (typeof object.b2bOrgId === "object")
83907
- message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
83922
+ message.b2bOrgId = object.b2bOrgId >>> 0;
83908
83923
  if (object.timestamp != null)
83909
83924
  if ($util.Long)
83910
83925
  (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
@@ -83932,11 +83947,7 @@ $root.EligibleUserRemoved = (function() {
83932
83947
  var object = {};
83933
83948
  if (options.defaults) {
83934
83949
  object.workEmail = "";
83935
- if ($util.Long) {
83936
- var long = new $util.Long(0, 0, true);
83937
- object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
83938
- } else
83939
- object.b2bOrgId = options.longs === String ? "0" : 0;
83950
+ object.b2bOrgId = 0;
83940
83951
  if ($util.Long) {
83941
83952
  var long = new $util.Long(0, 0, true);
83942
83953
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -83946,10 +83957,7 @@ $root.EligibleUserRemoved = (function() {
83946
83957
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
83947
83958
  object.workEmail = message.workEmail;
83948
83959
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
83949
- if (typeof message.b2bOrgId === "number")
83950
- object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
83951
- else
83952
- object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
83960
+ object.b2bOrgId = message.b2bOrgId;
83953
83961
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
83954
83962
  if (typeof message.timestamp === "number")
83955
83963
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
@@ -83982,7 +83990,7 @@ $root.EligibleUserAmended = (function() {
83982
83990
  * @property {string|null} [firstName] EligibleUserAmended firstName
83983
83991
  * @property {string|null} [lastName] EligibleUserAmended lastName
83984
83992
  * @property {b2b.MemberStatus|null} [b2bMemberStatus] EligibleUserAmended b2bMemberStatus
83985
- * @property {number|Long|null} [b2bOrgId] EligibleUserAmended b2bOrgId
83993
+ * @property {number|null} [b2bOrgId] EligibleUserAmended b2bOrgId
83986
83994
  * @property {string|null} [b2bOrgName] EligibleUserAmended b2bOrgName
83987
83995
  * @property {string|null} [b2bOrgCampaignDisplayName] EligibleUserAmended b2bOrgCampaignDisplayName
83988
83996
  * @property {b2b.OrgMemberPlan|null} [b2bPlan] EligibleUserAmended b2bPlan
@@ -83991,6 +83999,7 @@ $root.EligibleUserAmended = (function() {
83991
83999
  * @property {string|null} [enrollmentUrl] EligibleUserAmended enrollmentUrl
83992
84000
  * @property {string|null} [b2bCustomFields] EligibleUserAmended b2bCustomFields
83993
84001
  * @property {number|Long|null} [timestamp] EligibleUserAmended timestamp
84002
+ * @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAmended b2bCampaignLaunchDate
83994
84003
  */
83995
84004
 
83996
84005
  /**
@@ -84042,11 +84051,11 @@ $root.EligibleUserAmended = (function() {
84042
84051
 
84043
84052
  /**
84044
84053
  * EligibleUserAmended b2bOrgId.
84045
- * @member {number|Long} b2bOrgId
84054
+ * @member {number} b2bOrgId
84046
84055
  * @memberof EligibleUserAmended
84047
84056
  * @instance
84048
84057
  */
84049
- EligibleUserAmended.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
84058
+ EligibleUserAmended.prototype.b2bOrgId = 0;
84050
84059
 
84051
84060
  /**
84052
84061
  * EligibleUserAmended b2bOrgName.
@@ -84112,6 +84121,14 @@ $root.EligibleUserAmended = (function() {
84112
84121
  */
84113
84122
  EligibleUserAmended.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
84114
84123
 
84124
+ /**
84125
+ * EligibleUserAmended b2bCampaignLaunchDate.
84126
+ * @member {number|Long} b2bCampaignLaunchDate
84127
+ * @memberof EligibleUserAmended
84128
+ * @instance
84129
+ */
84130
+ EligibleUserAmended.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
84131
+
84115
84132
  /**
84116
84133
  * Creates a new EligibleUserAmended instance using the specified properties.
84117
84134
  * @function create
@@ -84145,7 +84162,7 @@ $root.EligibleUserAmended = (function() {
84145
84162
  if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
84146
84163
  writer.uint32(/* id 4, wireType 0 =*/32).int32(message.b2bMemberStatus);
84147
84164
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
84148
- writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.b2bOrgId);
84165
+ writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.b2bOrgId);
84149
84166
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
84150
84167
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgName);
84151
84168
  if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
@@ -84162,6 +84179,8 @@ $root.EligibleUserAmended = (function() {
84162
84179
  writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
84163
84180
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
84164
84181
  writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.timestamp);
84182
+ if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
84183
+ writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.b2bCampaignLaunchDate);
84165
84184
  return writer;
84166
84185
  };
84167
84186
 
@@ -84209,7 +84228,7 @@ $root.EligibleUserAmended = (function() {
84209
84228
  message.b2bMemberStatus = reader.int32();
84210
84229
  break;
84211
84230
  case 5:
84212
- message.b2bOrgId = reader.uint64();
84231
+ message.b2bOrgId = reader.uint32();
84213
84232
  break;
84214
84233
  case 6:
84215
84234
  message.b2bOrgName = reader.string();
@@ -84235,6 +84254,9 @@ $root.EligibleUserAmended = (function() {
84235
84254
  case 13:
84236
84255
  message.timestamp = reader.uint64();
84237
84256
  break;
84257
+ case 14:
84258
+ message.b2bCampaignLaunchDate = reader.uint64();
84259
+ break;
84238
84260
  default:
84239
84261
  reader.skipType(tag & 7);
84240
84262
  break;
@@ -84293,8 +84315,8 @@ $root.EligibleUserAmended = (function() {
84293
84315
  break;
84294
84316
  }
84295
84317
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
84296
- if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
84297
- return "b2bOrgId: integer|Long expected";
84318
+ if (!$util.isInteger(message.b2bOrgId))
84319
+ return "b2bOrgId: integer expected";
84298
84320
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
84299
84321
  if (!$util.isString(message.b2bOrgName))
84300
84322
  return "b2bOrgName: string expected";
@@ -84332,6 +84354,9 @@ $root.EligibleUserAmended = (function() {
84332
84354
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
84333
84355
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
84334
84356
  return "timestamp: integer|Long expected";
84357
+ if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
84358
+ if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
84359
+ return "b2bCampaignLaunchDate: integer|Long expected";
84335
84360
  return null;
84336
84361
  };
84337
84362
 
@@ -84384,14 +84409,7 @@ $root.EligibleUserAmended = (function() {
84384
84409
  break;
84385
84410
  }
84386
84411
  if (object.b2bOrgId != null)
84387
- if ($util.Long)
84388
- (message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
84389
- else if (typeof object.b2bOrgId === "string")
84390
- message.b2bOrgId = parseInt(object.b2bOrgId, 10);
84391
- else if (typeof object.b2bOrgId === "number")
84392
- message.b2bOrgId = object.b2bOrgId;
84393
- else if (typeof object.b2bOrgId === "object")
84394
- message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
84412
+ message.b2bOrgId = object.b2bOrgId >>> 0;
84395
84413
  if (object.b2bOrgName != null)
84396
84414
  message.b2bOrgName = String(object.b2bOrgName);
84397
84415
  if (object.b2bOrgCampaignDisplayName != null)
@@ -84443,6 +84461,15 @@ $root.EligibleUserAmended = (function() {
84443
84461
  message.timestamp = object.timestamp;
84444
84462
  else if (typeof object.timestamp === "object")
84445
84463
  message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
84464
+ if (object.b2bCampaignLaunchDate != null)
84465
+ if ($util.Long)
84466
+ (message.b2bCampaignLaunchDate = $util.Long.fromValue(object.b2bCampaignLaunchDate)).unsigned = true;
84467
+ else if (typeof object.b2bCampaignLaunchDate === "string")
84468
+ message.b2bCampaignLaunchDate = parseInt(object.b2bCampaignLaunchDate, 10);
84469
+ else if (typeof object.b2bCampaignLaunchDate === "number")
84470
+ message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
84471
+ else if (typeof object.b2bCampaignLaunchDate === "object")
84472
+ message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
84446
84473
  return message;
84447
84474
  };
84448
84475
 
@@ -84464,11 +84491,7 @@ $root.EligibleUserAmended = (function() {
84464
84491
  object.firstName = "";
84465
84492
  object.lastName = "";
84466
84493
  object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
84467
- if ($util.Long) {
84468
- var long = new $util.Long(0, 0, true);
84469
- object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
84470
- } else
84471
- object.b2bOrgId = options.longs === String ? "0" : 0;
84494
+ object.b2bOrgId = 0;
84472
84495
  object.b2bOrgName = "";
84473
84496
  object.b2bOrgCampaignDisplayName = "";
84474
84497
  object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
@@ -84481,6 +84504,11 @@ $root.EligibleUserAmended = (function() {
84481
84504
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
84482
84505
  } else
84483
84506
  object.timestamp = options.longs === String ? "0" : 0;
84507
+ if ($util.Long) {
84508
+ var long = new $util.Long(0, 0, true);
84509
+ object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
84510
+ } else
84511
+ object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
84484
84512
  }
84485
84513
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
84486
84514
  object.workEmail = message.workEmail;
@@ -84491,10 +84519,7 @@ $root.EligibleUserAmended = (function() {
84491
84519
  if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
84492
84520
  object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
84493
84521
  if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
84494
- if (typeof message.b2bOrgId === "number")
84495
- object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
84496
- else
84497
- object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
84522
+ object.b2bOrgId = message.b2bOrgId;
84498
84523
  if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
84499
84524
  object.b2bOrgName = message.b2bOrgName;
84500
84525
  if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
@@ -84514,6 +84539,11 @@ $root.EligibleUserAmended = (function() {
84514
84539
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
84515
84540
  else
84516
84541
  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;
84542
+ if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
84543
+ if (typeof message.b2bCampaignLaunchDate === "number")
84544
+ object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
84545
+ else
84546
+ object.b2bCampaignLaunchDate = options.longs === String ? $util.Long.prototype.toString.call(message.b2bCampaignLaunchDate) : options.longs === Number ? new $util.LongBits(message.b2bCampaignLaunchDate.low >>> 0, message.b2bCampaignLaunchDate.high >>> 0).toNumber(true) : message.b2bCampaignLaunchDate;
84517
84547
  return object;
84518
84548
  };
84519
84549
 
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.471.0"
19
+ "version": "1.473.0"
20
20
  }