@headspace/protos-events 1.454.0 → 1.455.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
@@ -29716,6 +29716,9 @@ export interface IEligibilityLinked {
29716
29716
 
29717
29717
  /** EligibilityLinked timestamp */
29718
29718
  timestamp?: (number|Long|null);
29719
+
29720
+ /** EligibilityLinked connectionNames */
29721
+ connectionNames?: (string[]|null);
29719
29722
  }
29720
29723
 
29721
29724
  /** Represents an EligibilityLinked. */
@@ -29751,6 +29754,9 @@ export class EligibilityLinked implements IEligibilityLinked {
29751
29754
  /** EligibilityLinked timestamp. */
29752
29755
  public timestamp: (number|Long);
29753
29756
 
29757
+ /** EligibilityLinked connectionNames. */
29758
+ public connectionNames: string[];
29759
+
29754
29760
  /**
29755
29761
  * Creates a new EligibilityLinked instance using the specified properties.
29756
29762
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -82288,6 +82288,7 @@ $root.EligibilityLinked = (function() {
82288
82288
  * @property {string|null} [workId] EligibilityLinked workId
82289
82289
  * @property {boolean|null} [isUmd] EligibilityLinked isUmd
82290
82290
  * @property {number|Long|null} [timestamp] EligibilityLinked timestamp
82291
+ * @property {Array.<string>|null} [connectionNames] EligibilityLinked connectionNames
82291
82292
  */
82292
82293
 
82293
82294
  /**
@@ -82299,6 +82300,7 @@ $root.EligibilityLinked = (function() {
82299
82300
  * @param {IEligibilityLinked=} [properties] Properties to set
82300
82301
  */
82301
82302
  function EligibilityLinked(properties) {
82303
+ this.connectionNames = [];
82302
82304
  if (properties)
82303
82305
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
82304
82306
  if (properties[keys[i]] != null)
@@ -82369,6 +82371,14 @@ $root.EligibilityLinked = (function() {
82369
82371
  */
82370
82372
  EligibilityLinked.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
82371
82373
 
82374
+ /**
82375
+ * EligibilityLinked connectionNames.
82376
+ * @member {Array.<string>} connectionNames
82377
+ * @memberof EligibilityLinked
82378
+ * @instance
82379
+ */
82380
+ EligibilityLinked.prototype.connectionNames = $util.emptyArray;
82381
+
82372
82382
  /**
82373
82383
  * Creates a new EligibilityLinked instance using the specified properties.
82374
82384
  * @function create
@@ -82409,6 +82419,9 @@ $root.EligibilityLinked = (function() {
82409
82419
  writer.uint32(/* id 7, wireType 0 =*/56).bool(message.isUmd);
82410
82420
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
82411
82421
  writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.timestamp);
82422
+ if (message.connectionNames != null && message.connectionNames.length)
82423
+ for (var i = 0; i < message.connectionNames.length; ++i)
82424
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.connectionNames[i]);
82412
82425
  return writer;
82413
82426
  };
82414
82427
 
@@ -82467,6 +82480,11 @@ $root.EligibilityLinked = (function() {
82467
82480
  case 8:
82468
82481
  message.timestamp = reader.uint64();
82469
82482
  break;
82483
+ case 9:
82484
+ if (!(message.connectionNames && message.connectionNames.length))
82485
+ message.connectionNames = [];
82486
+ message.connectionNames.push(reader.string());
82487
+ break;
82470
82488
  default:
82471
82489
  reader.skipType(tag & 7);
82472
82490
  break;
@@ -82531,6 +82549,13 @@ $root.EligibilityLinked = (function() {
82531
82549
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
82532
82550
  if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
82533
82551
  return "timestamp: integer|Long expected";
82552
+ if (message.connectionNames != null && message.hasOwnProperty("connectionNames")) {
82553
+ if (!Array.isArray(message.connectionNames))
82554
+ return "connectionNames: array expected";
82555
+ for (var i = 0; i < message.connectionNames.length; ++i)
82556
+ if (!$util.isString(message.connectionNames[i]))
82557
+ return "connectionNames: string[] expected";
82558
+ }
82534
82559
  return null;
82535
82560
  };
82536
82561
 
@@ -82577,6 +82602,13 @@ $root.EligibilityLinked = (function() {
82577
82602
  message.timestamp = object.timestamp;
82578
82603
  else if (typeof object.timestamp === "object")
82579
82604
  message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
82605
+ if (object.connectionNames) {
82606
+ if (!Array.isArray(object.connectionNames))
82607
+ throw TypeError(".EligibilityLinked.connectionNames: array expected");
82608
+ message.connectionNames = [];
82609
+ for (var i = 0; i < object.connectionNames.length; ++i)
82610
+ message.connectionNames[i] = String(object.connectionNames[i]);
82611
+ }
82580
82612
  return message;
82581
82613
  };
82582
82614
 
@@ -82593,6 +82625,8 @@ $root.EligibilityLinked = (function() {
82593
82625
  if (!options)
82594
82626
  options = {};
82595
82627
  var object = {};
82628
+ if (options.arrays || options.defaults)
82629
+ object.connectionNames = [];
82596
82630
  if (options.defaults) {
82597
82631
  object.headspaceHealthOrgId = "";
82598
82632
  object.headspaceUserId = "";
@@ -82626,6 +82660,11 @@ $root.EligibilityLinked = (function() {
82626
82660
  object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
82627
82661
  else
82628
82662
  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;
82663
+ if (message.connectionNames && message.connectionNames.length) {
82664
+ object.connectionNames = [];
82665
+ for (var j = 0; j < message.connectionNames.length; ++j)
82666
+ object.connectionNames[j] = message.connectionNames[j];
82667
+ }
82629
82668
  return object;
82630
82669
  };
82631
82670
 
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.454.0"
19
+ "version": "1.455.0"
20
20
  }