@headspace/protos-events 1.480.0 → 1.481.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
@@ -30023,6 +30023,9 @@ export interface IEligibleUserAdded {
30023
30023
  /** EligibleUserAdded enrollmentUrl */
30024
30024
  enrollmentUrl?: (string|null);
30025
30025
 
30026
+ /** EligibleUserAdded b2bCustomFields */
30027
+ b2bCustomFields?: (string|null);
30028
+
30026
30029
  /** EligibleUserAdded timestamp */
30027
30030
  timestamp?: (number|Long|null);
30028
30031
 
@@ -30081,6 +30084,9 @@ export class EligibleUserAdded implements IEligibleUserAdded {
30081
30084
  /** EligibleUserAdded enrollmentUrl. */
30082
30085
  public enrollmentUrl: string;
30083
30086
 
30087
+ /** EligibleUserAdded b2bCustomFields. */
30088
+ public b2bCustomFields: string;
30089
+
30084
30090
  /** EligibleUserAdded timestamp. */
30085
30091
  public timestamp: (number|Long);
30086
30092
 
@@ -30305,6 +30311,9 @@ export interface IEligibleUserAmended {
30305
30311
  /** EligibleUserAmended enrollmentUrl */
30306
30312
  enrollmentUrl?: (string|null);
30307
30313
 
30314
+ /** EligibleUserAmended b2bCustomFields */
30315
+ b2bCustomFields?: (string|null);
30316
+
30308
30317
  /** EligibleUserAmended timestamp */
30309
30318
  timestamp?: (number|Long|null);
30310
30319
 
@@ -30363,6 +30372,9 @@ export class EligibleUserAmended implements IEligibleUserAmended {
30363
30372
  /** EligibleUserAmended enrollmentUrl. */
30364
30373
  public enrollmentUrl: string;
30365
30374
 
30375
+ /** EligibleUserAmended b2bCustomFields. */
30376
+ public b2bCustomFields: string;
30377
+
30366
30378
  /** EligibleUserAmended timestamp. */
30367
30379
  public timestamp: (number|Long);
30368
30380
 
package/lib/index.js CHANGED
@@ -83328,6 +83328,7 @@ $root.EligibleUserAdded = (function() {
83328
83328
  * @property {boolean|null} [b2bIsPilot] EligibleUserAdded b2bIsPilot
83329
83329
  * @property {EnrollmentFlow|null} [b2bEnrollmentFlow] EligibleUserAdded b2bEnrollmentFlow
83330
83330
  * @property {string|null} [enrollmentUrl] EligibleUserAdded enrollmentUrl
83331
+ * @property {string|null} [b2bCustomFields] EligibleUserAdded b2bCustomFields
83331
83332
  * @property {number|Long|null} [timestamp] EligibleUserAdded timestamp
83332
83333
  * @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAdded b2bCampaignLaunchDate
83333
83334
  * @property {string|null} [b2bCountry] EligibleUserAdded b2bCountry
@@ -83438,6 +83439,14 @@ $root.EligibleUserAdded = (function() {
83438
83439
  */
83439
83440
  EligibleUserAdded.prototype.enrollmentUrl = "";
83440
83441
 
83442
+ /**
83443
+ * EligibleUserAdded b2bCustomFields.
83444
+ * @member {string} b2bCustomFields
83445
+ * @memberof EligibleUserAdded
83446
+ * @instance
83447
+ */
83448
+ EligibleUserAdded.prototype.b2bCustomFields = "";
83449
+
83441
83450
  /**
83442
83451
  * EligibleUserAdded timestamp.
83443
83452
  * @member {number|Long} timestamp
@@ -83524,16 +83533,18 @@ $root.EligibleUserAdded = (function() {
83524
83533
  writer.uint32(/* id 10, wireType 0 =*/80).int32(message.b2bEnrollmentFlow);
83525
83534
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
83526
83535
  writer.uint32(/* id 11, wireType 2 =*/90).string(message.enrollmentUrl);
83536
+ if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
83537
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
83527
83538
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
83528
- writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.timestamp);
83539
+ writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.timestamp);
83529
83540
  if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
83530
- writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.b2bCampaignLaunchDate);
83541
+ writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.b2bCampaignLaunchDate);
83531
83542
  if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
83532
- writer.uint32(/* id 14, wireType 2 =*/114).string(message.b2bCountry);
83543
+ writer.uint32(/* id 15, wireType 2 =*/122).string(message.b2bCountry);
83533
83544
  if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
83534
- writer.uint32(/* id 15, wireType 2 =*/122).string(message.b2bDepartment);
83545
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bDepartment);
83535
83546
  if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
83536
- writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bLocation);
83547
+ writer.uint32(/* id 17, wireType 2 =*/138).string(message.b2bLocation);
83537
83548
  return writer;
83538
83549
  };
83539
83550
 
@@ -83602,18 +83613,21 @@ $root.EligibleUserAdded = (function() {
83602
83613
  message.enrollmentUrl = reader.string();
83603
83614
  break;
83604
83615
  case 12:
83605
- message.timestamp = reader.uint64();
83616
+ message.b2bCustomFields = reader.string();
83606
83617
  break;
83607
83618
  case 13:
83608
- message.b2bCampaignLaunchDate = reader.uint64();
83619
+ message.timestamp = reader.uint64();
83609
83620
  break;
83610
83621
  case 14:
83611
- message.b2bCountry = reader.string();
83622
+ message.b2bCampaignLaunchDate = reader.uint64();
83612
83623
  break;
83613
83624
  case 15:
83614
- message.b2bDepartment = reader.string();
83625
+ message.b2bCountry = reader.string();
83615
83626
  break;
83616
83627
  case 16:
83628
+ message.b2bDepartment = reader.string();
83629
+ break;
83630
+ case 17:
83617
83631
  message.b2bLocation = reader.string();
83618
83632
  break;
83619
83633
  default:
@@ -83707,6 +83721,9 @@ $root.EligibleUserAdded = (function() {
83707
83721
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
83708
83722
  if (!$util.isString(message.enrollmentUrl))
83709
83723
  return "enrollmentUrl: string expected";
83724
+ if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
83725
+ if (!$util.isString(message.b2bCustomFields))
83726
+ return "b2bCustomFields: string expected";
83710
83727
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
83711
83728
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
83712
83729
  return "timestamp: integer|Long expected";
@@ -83815,6 +83832,8 @@ $root.EligibleUserAdded = (function() {
83815
83832
  }
83816
83833
  if (object.enrollmentUrl != null)
83817
83834
  message.enrollmentUrl = String(object.enrollmentUrl);
83835
+ if (object.b2bCustomFields != null)
83836
+ message.b2bCustomFields = String(object.b2bCustomFields);
83818
83837
  if (object.timestamp != null)
83819
83838
  if ($util.Long)
83820
83839
  (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
@@ -83867,6 +83886,7 @@ $root.EligibleUserAdded = (function() {
83867
83886
  object.b2bIsPilot = false;
83868
83887
  object.b2bEnrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
83869
83888
  object.enrollmentUrl = "";
83889
+ object.b2bCustomFields = "";
83870
83890
  if ($util.Long) {
83871
83891
  var long = new $util.Long(0, 0, true);
83872
83892
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -83903,6 +83923,8 @@ $root.EligibleUserAdded = (function() {
83903
83923
  object.b2bEnrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.b2bEnrollmentFlow] : message.b2bEnrollmentFlow;
83904
83924
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
83905
83925
  object.enrollmentUrl = message.enrollmentUrl;
83926
+ if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
83927
+ object.b2bCustomFields = message.b2bCustomFields;
83906
83928
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
83907
83929
  if (typeof message.timestamp === "number")
83908
83930
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
@@ -84199,6 +84221,7 @@ $root.EligibleUserAmended = (function() {
84199
84221
  * @property {boolean|null} [b2bIsPilot] EligibleUserAmended b2bIsPilot
84200
84222
  * @property {EnrollmentFlow|null} [b2bEnrollmentFlow] EligibleUserAmended b2bEnrollmentFlow
84201
84223
  * @property {string|null} [enrollmentUrl] EligibleUserAmended enrollmentUrl
84224
+ * @property {string|null} [b2bCustomFields] EligibleUserAmended b2bCustomFields
84202
84225
  * @property {number|Long|null} [timestamp] EligibleUserAmended timestamp
84203
84226
  * @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAmended b2bCampaignLaunchDate
84204
84227
  * @property {string|null} [b2bCountry] EligibleUserAmended b2bCountry
@@ -84309,6 +84332,14 @@ $root.EligibleUserAmended = (function() {
84309
84332
  */
84310
84333
  EligibleUserAmended.prototype.enrollmentUrl = "";
84311
84334
 
84335
+ /**
84336
+ * EligibleUserAmended b2bCustomFields.
84337
+ * @member {string} b2bCustomFields
84338
+ * @memberof EligibleUserAmended
84339
+ * @instance
84340
+ */
84341
+ EligibleUserAmended.prototype.b2bCustomFields = "";
84342
+
84312
84343
  /**
84313
84344
  * EligibleUserAmended timestamp.
84314
84345
  * @member {number|Long} timestamp
@@ -84395,16 +84426,18 @@ $root.EligibleUserAmended = (function() {
84395
84426
  writer.uint32(/* id 10, wireType 0 =*/80).int32(message.b2bEnrollmentFlow);
84396
84427
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
84397
84428
  writer.uint32(/* id 11, wireType 2 =*/90).string(message.enrollmentUrl);
84429
+ if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
84430
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
84398
84431
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
84399
- writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.timestamp);
84432
+ writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.timestamp);
84400
84433
  if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
84401
- writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.b2bCampaignLaunchDate);
84434
+ writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.b2bCampaignLaunchDate);
84402
84435
  if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
84403
- writer.uint32(/* id 14, wireType 2 =*/114).string(message.b2bCountry);
84436
+ writer.uint32(/* id 15, wireType 2 =*/122).string(message.b2bCountry);
84404
84437
  if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
84405
- writer.uint32(/* id 15, wireType 2 =*/122).string(message.b2bDepartment);
84438
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bDepartment);
84406
84439
  if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
84407
- writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bLocation);
84440
+ writer.uint32(/* id 17, wireType 2 =*/138).string(message.b2bLocation);
84408
84441
  return writer;
84409
84442
  };
84410
84443
 
@@ -84473,18 +84506,21 @@ $root.EligibleUserAmended = (function() {
84473
84506
  message.enrollmentUrl = reader.string();
84474
84507
  break;
84475
84508
  case 12:
84476
- message.timestamp = reader.uint64();
84509
+ message.b2bCustomFields = reader.string();
84477
84510
  break;
84478
84511
  case 13:
84479
- message.b2bCampaignLaunchDate = reader.uint64();
84512
+ message.timestamp = reader.uint64();
84480
84513
  break;
84481
84514
  case 14:
84482
- message.b2bCountry = reader.string();
84515
+ message.b2bCampaignLaunchDate = reader.uint64();
84483
84516
  break;
84484
84517
  case 15:
84485
- message.b2bDepartment = reader.string();
84518
+ message.b2bCountry = reader.string();
84486
84519
  break;
84487
84520
  case 16:
84521
+ message.b2bDepartment = reader.string();
84522
+ break;
84523
+ case 17:
84488
84524
  message.b2bLocation = reader.string();
84489
84525
  break;
84490
84526
  default:
@@ -84578,6 +84614,9 @@ $root.EligibleUserAmended = (function() {
84578
84614
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
84579
84615
  if (!$util.isString(message.enrollmentUrl))
84580
84616
  return "enrollmentUrl: string expected";
84617
+ if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
84618
+ if (!$util.isString(message.b2bCustomFields))
84619
+ return "b2bCustomFields: string expected";
84581
84620
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
84582
84621
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
84583
84622
  return "timestamp: integer|Long expected";
@@ -84686,6 +84725,8 @@ $root.EligibleUserAmended = (function() {
84686
84725
  }
84687
84726
  if (object.enrollmentUrl != null)
84688
84727
  message.enrollmentUrl = String(object.enrollmentUrl);
84728
+ if (object.b2bCustomFields != null)
84729
+ message.b2bCustomFields = String(object.b2bCustomFields);
84689
84730
  if (object.timestamp != null)
84690
84731
  if ($util.Long)
84691
84732
  (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
@@ -84738,6 +84779,7 @@ $root.EligibleUserAmended = (function() {
84738
84779
  object.b2bIsPilot = false;
84739
84780
  object.b2bEnrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
84740
84781
  object.enrollmentUrl = "";
84782
+ object.b2bCustomFields = "";
84741
84783
  if ($util.Long) {
84742
84784
  var long = new $util.Long(0, 0, true);
84743
84785
  object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -84774,6 +84816,8 @@ $root.EligibleUserAmended = (function() {
84774
84816
  object.b2bEnrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.b2bEnrollmentFlow] : message.b2bEnrollmentFlow;
84775
84817
  if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
84776
84818
  object.enrollmentUrl = message.enrollmentUrl;
84819
+ if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
84820
+ object.b2bCustomFields = message.b2bCustomFields;
84777
84821
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
84778
84822
  if (typeof message.timestamp === "number")
84779
84823
  object.timestamp = options.longs === String ? String(message.timestamp) : message.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.480.0"
19
+ "version": "1.481.0"
20
20
  }