@headspace/protos-events 1.479.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
@@ -30031,6 +30031,15 @@ export interface IEligibleUserAdded {
30031
30031
 
30032
30032
  /** EligibleUserAdded b2bCampaignLaunchDate */
30033
30033
  b2bCampaignLaunchDate?: (number|Long|null);
30034
+
30035
+ /** EligibleUserAdded b2bCountry */
30036
+ b2bCountry?: (string|null);
30037
+
30038
+ /** EligibleUserAdded b2bDepartment */
30039
+ b2bDepartment?: (string|null);
30040
+
30041
+ /** EligibleUserAdded b2bLocation */
30042
+ b2bLocation?: (string|null);
30034
30043
  }
30035
30044
 
30036
30045
  /** Represents an EligibleUserAdded. */
@@ -30084,6 +30093,15 @@ export class EligibleUserAdded implements IEligibleUserAdded {
30084
30093
  /** EligibleUserAdded b2bCampaignLaunchDate. */
30085
30094
  public b2bCampaignLaunchDate: (number|Long);
30086
30095
 
30096
+ /** EligibleUserAdded b2bCountry. */
30097
+ public b2bCountry: string;
30098
+
30099
+ /** EligibleUserAdded b2bDepartment. */
30100
+ public b2bDepartment: string;
30101
+
30102
+ /** EligibleUserAdded b2bLocation. */
30103
+ public b2bLocation: string;
30104
+
30087
30105
  /**
30088
30106
  * Creates a new EligibleUserAdded instance using the specified properties.
30089
30107
  * @param [properties] Properties to set
@@ -30301,6 +30319,15 @@ export interface IEligibleUserAmended {
30301
30319
 
30302
30320
  /** EligibleUserAmended b2bCampaignLaunchDate */
30303
30321
  b2bCampaignLaunchDate?: (number|Long|null);
30322
+
30323
+ /** EligibleUserAmended b2bCountry */
30324
+ b2bCountry?: (string|null);
30325
+
30326
+ /** EligibleUserAmended b2bDepartment */
30327
+ b2bDepartment?: (string|null);
30328
+
30329
+ /** EligibleUserAmended b2bLocation */
30330
+ b2bLocation?: (string|null);
30304
30331
  }
30305
30332
 
30306
30333
  /** Represents an EligibleUserAmended. */
@@ -30354,6 +30381,15 @@ export class EligibleUserAmended implements IEligibleUserAmended {
30354
30381
  /** EligibleUserAmended b2bCampaignLaunchDate. */
30355
30382
  public b2bCampaignLaunchDate: (number|Long);
30356
30383
 
30384
+ /** EligibleUserAmended b2bCountry. */
30385
+ public b2bCountry: string;
30386
+
30387
+ /** EligibleUserAmended b2bDepartment. */
30388
+ public b2bDepartment: string;
30389
+
30390
+ /** EligibleUserAmended b2bLocation. */
30391
+ public b2bLocation: string;
30392
+
30357
30393
  /**
30358
30394
  * Creates a new EligibleUserAmended instance using the specified properties.
30359
30395
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -83331,6 +83331,9 @@ $root.EligibleUserAdded = (function() {
83331
83331
  * @property {string|null} [b2bCustomFields] EligibleUserAdded b2bCustomFields
83332
83332
  * @property {number|Long|null} [timestamp] EligibleUserAdded timestamp
83333
83333
  * @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAdded b2bCampaignLaunchDate
83334
+ * @property {string|null} [b2bCountry] EligibleUserAdded b2bCountry
83335
+ * @property {string|null} [b2bDepartment] EligibleUserAdded b2bDepartment
83336
+ * @property {string|null} [b2bLocation] EligibleUserAdded b2bLocation
83334
83337
  */
83335
83338
 
83336
83339
  /**
@@ -83460,6 +83463,30 @@ $root.EligibleUserAdded = (function() {
83460
83463
  */
83461
83464
  EligibleUserAdded.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
83462
83465
 
83466
+ /**
83467
+ * EligibleUserAdded b2bCountry.
83468
+ * @member {string} b2bCountry
83469
+ * @memberof EligibleUserAdded
83470
+ * @instance
83471
+ */
83472
+ EligibleUserAdded.prototype.b2bCountry = "";
83473
+
83474
+ /**
83475
+ * EligibleUserAdded b2bDepartment.
83476
+ * @member {string} b2bDepartment
83477
+ * @memberof EligibleUserAdded
83478
+ * @instance
83479
+ */
83480
+ EligibleUserAdded.prototype.b2bDepartment = "";
83481
+
83482
+ /**
83483
+ * EligibleUserAdded b2bLocation.
83484
+ * @member {string} b2bLocation
83485
+ * @memberof EligibleUserAdded
83486
+ * @instance
83487
+ */
83488
+ EligibleUserAdded.prototype.b2bLocation = "";
83489
+
83463
83490
  /**
83464
83491
  * Creates a new EligibleUserAdded instance using the specified properties.
83465
83492
  * @function create
@@ -83512,6 +83539,12 @@ $root.EligibleUserAdded = (function() {
83512
83539
  writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.timestamp);
83513
83540
  if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
83514
83541
  writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.b2bCampaignLaunchDate);
83542
+ if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
83543
+ writer.uint32(/* id 15, wireType 2 =*/122).string(message.b2bCountry);
83544
+ if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
83545
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bDepartment);
83546
+ if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
83547
+ writer.uint32(/* id 17, wireType 2 =*/138).string(message.b2bLocation);
83515
83548
  return writer;
83516
83549
  };
83517
83550
 
@@ -83588,6 +83621,15 @@ $root.EligibleUserAdded = (function() {
83588
83621
  case 14:
83589
83622
  message.b2bCampaignLaunchDate = reader.uint64();
83590
83623
  break;
83624
+ case 15:
83625
+ message.b2bCountry = reader.string();
83626
+ break;
83627
+ case 16:
83628
+ message.b2bDepartment = reader.string();
83629
+ break;
83630
+ case 17:
83631
+ message.b2bLocation = reader.string();
83632
+ break;
83591
83633
  default:
83592
83634
  reader.skipType(tag & 7);
83593
83635
  break;
@@ -83688,6 +83730,15 @@ $root.EligibleUserAdded = (function() {
83688
83730
  if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
83689
83731
  if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
83690
83732
  return "b2bCampaignLaunchDate: integer|Long expected";
83733
+ if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
83734
+ if (!$util.isString(message.b2bCountry))
83735
+ return "b2bCountry: string expected";
83736
+ if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
83737
+ if (!$util.isString(message.b2bDepartment))
83738
+ return "b2bDepartment: string expected";
83739
+ if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
83740
+ if (!$util.isString(message.b2bLocation))
83741
+ return "b2bLocation: string expected";
83691
83742
  return null;
83692
83743
  };
83693
83744
 
@@ -83801,6 +83852,12 @@ $root.EligibleUserAdded = (function() {
83801
83852
  message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
83802
83853
  else if (typeof object.b2bCampaignLaunchDate === "object")
83803
83854
  message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
83855
+ if (object.b2bCountry != null)
83856
+ message.b2bCountry = String(object.b2bCountry);
83857
+ if (object.b2bDepartment != null)
83858
+ message.b2bDepartment = String(object.b2bDepartment);
83859
+ if (object.b2bLocation != null)
83860
+ message.b2bLocation = String(object.b2bLocation);
83804
83861
  return message;
83805
83862
  };
83806
83863
 
@@ -83840,6 +83897,9 @@ $root.EligibleUserAdded = (function() {
83840
83897
  object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
83841
83898
  } else
83842
83899
  object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
83900
+ object.b2bCountry = "";
83901
+ object.b2bDepartment = "";
83902
+ object.b2bLocation = "";
83843
83903
  }
83844
83904
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
83845
83905
  object.workEmail = message.workEmail;
@@ -83875,6 +83935,12 @@ $root.EligibleUserAdded = (function() {
83875
83935
  object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
83876
83936
  else
83877
83937
  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;
83938
+ if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
83939
+ object.b2bCountry = message.b2bCountry;
83940
+ if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
83941
+ object.b2bDepartment = message.b2bDepartment;
83942
+ if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
83943
+ object.b2bLocation = message.b2bLocation;
83878
83944
  return object;
83879
83945
  };
83880
83946
 
@@ -84158,6 +84224,9 @@ $root.EligibleUserAmended = (function() {
84158
84224
  * @property {string|null} [b2bCustomFields] EligibleUserAmended b2bCustomFields
84159
84225
  * @property {number|Long|null} [timestamp] EligibleUserAmended timestamp
84160
84226
  * @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAmended b2bCampaignLaunchDate
84227
+ * @property {string|null} [b2bCountry] EligibleUserAmended b2bCountry
84228
+ * @property {string|null} [b2bDepartment] EligibleUserAmended b2bDepartment
84229
+ * @property {string|null} [b2bLocation] EligibleUserAmended b2bLocation
84161
84230
  */
84162
84231
 
84163
84232
  /**
@@ -84287,6 +84356,30 @@ $root.EligibleUserAmended = (function() {
84287
84356
  */
84288
84357
  EligibleUserAmended.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
84289
84358
 
84359
+ /**
84360
+ * EligibleUserAmended b2bCountry.
84361
+ * @member {string} b2bCountry
84362
+ * @memberof EligibleUserAmended
84363
+ * @instance
84364
+ */
84365
+ EligibleUserAmended.prototype.b2bCountry = "";
84366
+
84367
+ /**
84368
+ * EligibleUserAmended b2bDepartment.
84369
+ * @member {string} b2bDepartment
84370
+ * @memberof EligibleUserAmended
84371
+ * @instance
84372
+ */
84373
+ EligibleUserAmended.prototype.b2bDepartment = "";
84374
+
84375
+ /**
84376
+ * EligibleUserAmended b2bLocation.
84377
+ * @member {string} b2bLocation
84378
+ * @memberof EligibleUserAmended
84379
+ * @instance
84380
+ */
84381
+ EligibleUserAmended.prototype.b2bLocation = "";
84382
+
84290
84383
  /**
84291
84384
  * Creates a new EligibleUserAmended instance using the specified properties.
84292
84385
  * @function create
@@ -84339,6 +84432,12 @@ $root.EligibleUserAmended = (function() {
84339
84432
  writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.timestamp);
84340
84433
  if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
84341
84434
  writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.b2bCampaignLaunchDate);
84435
+ if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
84436
+ writer.uint32(/* id 15, wireType 2 =*/122).string(message.b2bCountry);
84437
+ if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
84438
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bDepartment);
84439
+ if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
84440
+ writer.uint32(/* id 17, wireType 2 =*/138).string(message.b2bLocation);
84342
84441
  return writer;
84343
84442
  };
84344
84443
 
@@ -84415,6 +84514,15 @@ $root.EligibleUserAmended = (function() {
84415
84514
  case 14:
84416
84515
  message.b2bCampaignLaunchDate = reader.uint64();
84417
84516
  break;
84517
+ case 15:
84518
+ message.b2bCountry = reader.string();
84519
+ break;
84520
+ case 16:
84521
+ message.b2bDepartment = reader.string();
84522
+ break;
84523
+ case 17:
84524
+ message.b2bLocation = reader.string();
84525
+ break;
84418
84526
  default:
84419
84527
  reader.skipType(tag & 7);
84420
84528
  break;
@@ -84515,6 +84623,15 @@ $root.EligibleUserAmended = (function() {
84515
84623
  if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
84516
84624
  if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
84517
84625
  return "b2bCampaignLaunchDate: integer|Long expected";
84626
+ if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
84627
+ if (!$util.isString(message.b2bCountry))
84628
+ return "b2bCountry: string expected";
84629
+ if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
84630
+ if (!$util.isString(message.b2bDepartment))
84631
+ return "b2bDepartment: string expected";
84632
+ if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
84633
+ if (!$util.isString(message.b2bLocation))
84634
+ return "b2bLocation: string expected";
84518
84635
  return null;
84519
84636
  };
84520
84637
 
@@ -84628,6 +84745,12 @@ $root.EligibleUserAmended = (function() {
84628
84745
  message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
84629
84746
  else if (typeof object.b2bCampaignLaunchDate === "object")
84630
84747
  message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
84748
+ if (object.b2bCountry != null)
84749
+ message.b2bCountry = String(object.b2bCountry);
84750
+ if (object.b2bDepartment != null)
84751
+ message.b2bDepartment = String(object.b2bDepartment);
84752
+ if (object.b2bLocation != null)
84753
+ message.b2bLocation = String(object.b2bLocation);
84631
84754
  return message;
84632
84755
  };
84633
84756
 
@@ -84667,6 +84790,9 @@ $root.EligibleUserAmended = (function() {
84667
84790
  object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
84668
84791
  } else
84669
84792
  object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
84793
+ object.b2bCountry = "";
84794
+ object.b2bDepartment = "";
84795
+ object.b2bLocation = "";
84670
84796
  }
84671
84797
  if (message.workEmail != null && message.hasOwnProperty("workEmail"))
84672
84798
  object.workEmail = message.workEmail;
@@ -84702,6 +84828,12 @@ $root.EligibleUserAmended = (function() {
84702
84828
  object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
84703
84829
  else
84704
84830
  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;
84831
+ if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
84832
+ object.b2bCountry = message.b2bCountry;
84833
+ if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
84834
+ object.b2bDepartment = message.b2bDepartment;
84835
+ if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
84836
+ object.b2bLocation = message.b2bLocation;
84705
84837
  return object;
84706
84838
  };
84707
84839
 
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.479.0"
19
+ "version": "1.481.0"
20
20
  }