@headspace/protos-events 1.470.1-rc.2 → 1.470.1-rc.3

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
@@ -32917,6 +32917,9 @@ export interface IFamilyMemberSynced {
32917
32917
 
32918
32918
  /** FamilyMemberSynced ownerSubscriptionId */
32919
32919
  ownerSubscriptionId?: (number|null);
32920
+
32921
+ /** FamilyMemberSynced ownerSubscriptionPreviousEndsAt */
32922
+ ownerSubscriptionPreviousEndsAt?: (number|Long|null);
32920
32923
  }
32921
32924
 
32922
32925
  /** Event published for each group member when a change (created, amended, ended) to the owner's subscription observed */
@@ -32949,6 +32952,9 @@ export class FamilyMemberSynced implements IFamilyMemberSynced {
32949
32952
  /** FamilyMemberSynced ownerSubscriptionId. */
32950
32953
  public ownerSubscriptionId: number;
32951
32954
 
32955
+ /** FamilyMemberSynced ownerSubscriptionPreviousEndsAt. */
32956
+ public ownerSubscriptionPreviousEndsAt: (number|Long);
32957
+
32952
32958
  /**
32953
32959
  * Creates a new FamilyMemberSynced instance using the specified properties.
32954
32960
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -91375,6 +91375,7 @@ $root.FamilyMemberSynced = (function() {
91375
91375
  * @property {community.FamilyPlanRole|null} [role] FamilyMemberSynced role
91376
91376
  * @property {number|null} [orgId] FamilyMemberSynced orgId
91377
91377
  * @property {number|null} [ownerSubscriptionId] FamilyMemberSynced ownerSubscriptionId
91378
+ * @property {number|Long|null} [ownerSubscriptionPreviousEndsAt] FamilyMemberSynced ownerSubscriptionPreviousEndsAt
91378
91379
  */
91379
91380
 
91380
91381
  /**
@@ -91448,6 +91449,14 @@ $root.FamilyMemberSynced = (function() {
91448
91449
  */
91449
91450
  FamilyMemberSynced.prototype.ownerSubscriptionId = 0;
91450
91451
 
91452
+ /**
91453
+ * FamilyMemberSynced ownerSubscriptionPreviousEndsAt.
91454
+ * @member {number|Long} ownerSubscriptionPreviousEndsAt
91455
+ * @memberof FamilyMemberSynced
91456
+ * @instance
91457
+ */
91458
+ FamilyMemberSynced.prototype.ownerSubscriptionPreviousEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
91459
+
91451
91460
  /**
91452
91461
  * Creates a new FamilyMemberSynced instance using the specified properties.
91453
91462
  * @function create
@@ -91486,6 +91495,8 @@ $root.FamilyMemberSynced = (function() {
91486
91495
  writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.orgId);
91487
91496
  if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
91488
91497
  writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.ownerSubscriptionId);
91498
+ if (message.ownerSubscriptionPreviousEndsAt != null && message.hasOwnProperty("ownerSubscriptionPreviousEndsAt"))
91499
+ writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.ownerSubscriptionPreviousEndsAt);
91489
91500
  return writer;
91490
91501
  };
91491
91502
 
@@ -91541,6 +91552,9 @@ $root.FamilyMemberSynced = (function() {
91541
91552
  case 7:
91542
91553
  message.ownerSubscriptionId = reader.uint32();
91543
91554
  break;
91555
+ case 8:
91556
+ message.ownerSubscriptionPreviousEndsAt = reader.uint64();
91557
+ break;
91544
91558
  default:
91545
91559
  reader.skipType(tag & 7);
91546
91560
  break;
@@ -91603,6 +91617,9 @@ $root.FamilyMemberSynced = (function() {
91603
91617
  if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
91604
91618
  if (!$util.isInteger(message.ownerSubscriptionId))
91605
91619
  return "ownerSubscriptionId: integer expected";
91620
+ if (message.ownerSubscriptionPreviousEndsAt != null && message.hasOwnProperty("ownerSubscriptionPreviousEndsAt"))
91621
+ if (!$util.isInteger(message.ownerSubscriptionPreviousEndsAt) && !(message.ownerSubscriptionPreviousEndsAt && $util.isInteger(message.ownerSubscriptionPreviousEndsAt.low) && $util.isInteger(message.ownerSubscriptionPreviousEndsAt.high)))
91622
+ return "ownerSubscriptionPreviousEndsAt: integer|Long expected";
91606
91623
  return null;
91607
91624
  };
91608
91625
 
@@ -91651,6 +91668,15 @@ $root.FamilyMemberSynced = (function() {
91651
91668
  message.orgId = object.orgId >>> 0;
91652
91669
  if (object.ownerSubscriptionId != null)
91653
91670
  message.ownerSubscriptionId = object.ownerSubscriptionId >>> 0;
91671
+ if (object.ownerSubscriptionPreviousEndsAt != null)
91672
+ if ($util.Long)
91673
+ (message.ownerSubscriptionPreviousEndsAt = $util.Long.fromValue(object.ownerSubscriptionPreviousEndsAt)).unsigned = true;
91674
+ else if (typeof object.ownerSubscriptionPreviousEndsAt === "string")
91675
+ message.ownerSubscriptionPreviousEndsAt = parseInt(object.ownerSubscriptionPreviousEndsAt, 10);
91676
+ else if (typeof object.ownerSubscriptionPreviousEndsAt === "number")
91677
+ message.ownerSubscriptionPreviousEndsAt = object.ownerSubscriptionPreviousEndsAt;
91678
+ else if (typeof object.ownerSubscriptionPreviousEndsAt === "object")
91679
+ message.ownerSubscriptionPreviousEndsAt = new $util.LongBits(object.ownerSubscriptionPreviousEndsAt.low >>> 0, object.ownerSubscriptionPreviousEndsAt.high >>> 0).toNumber(true);
91654
91680
  return message;
91655
91681
  };
91656
91682
 
@@ -91679,6 +91705,11 @@ $root.FamilyMemberSynced = (function() {
91679
91705
  object.role = options.enums === String ? "FAMILYPLAN_UNKNOWN" : 0;
91680
91706
  object.orgId = 0;
91681
91707
  object.ownerSubscriptionId = 0;
91708
+ if ($util.Long) {
91709
+ var long = new $util.Long(0, 0, true);
91710
+ object.ownerSubscriptionPreviousEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
91711
+ } else
91712
+ object.ownerSubscriptionPreviousEndsAt = options.longs === String ? "0" : 0;
91682
91713
  }
91683
91714
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
91684
91715
  if (typeof message.timestamp === "number")
@@ -91697,6 +91728,11 @@ $root.FamilyMemberSynced = (function() {
91697
91728
  object.orgId = message.orgId;
91698
91729
  if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
91699
91730
  object.ownerSubscriptionId = message.ownerSubscriptionId;
91731
+ if (message.ownerSubscriptionPreviousEndsAt != null && message.hasOwnProperty("ownerSubscriptionPreviousEndsAt"))
91732
+ if (typeof message.ownerSubscriptionPreviousEndsAt === "number")
91733
+ object.ownerSubscriptionPreviousEndsAt = options.longs === String ? String(message.ownerSubscriptionPreviousEndsAt) : message.ownerSubscriptionPreviousEndsAt;
91734
+ else
91735
+ object.ownerSubscriptionPreviousEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.ownerSubscriptionPreviousEndsAt) : options.longs === Number ? new $util.LongBits(message.ownerSubscriptionPreviousEndsAt.low >>> 0, message.ownerSubscriptionPreviousEndsAt.high >>> 0).toNumber(true) : message.ownerSubscriptionPreviousEndsAt;
91700
91736
  return object;
91701
91737
  };
91702
91738
 
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.470.1-rc.2"
19
+ "version": "1.470.1-rc.3"
20
20
  }