@headspace/protos-events 1.470.0 → 1.470.1-rc.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
@@ -32914,9 +32914,12 @@ export interface IFamilyMemberSynced {
32914
32914
 
32915
32915
  /** FamilyMemberSynced orgId */
32916
32916
  orgId?: (number|null);
32917
+
32918
+ /** FamilyMemberSynced ownerSubscriptionId */
32919
+ ownerSubscriptionId?: (number|null);
32917
32920
  }
32918
32921
 
32919
- /** Event published after a UserGroupEntry has it's `removedOn` field updated to match the user group's subscription. `removedOn` must be in the future */
32922
+ /** Event published for each group member when a change (created, amended, ended) to the owner's subscription observed */
32920
32923
  export class FamilyMemberSynced implements IFamilyMemberSynced {
32921
32924
 
32922
32925
  /**
@@ -32943,6 +32946,9 @@ export class FamilyMemberSynced implements IFamilyMemberSynced {
32943
32946
  /** FamilyMemberSynced orgId. */
32944
32947
  public orgId: number;
32945
32948
 
32949
+ /** FamilyMemberSynced ownerSubscriptionId. */
32950
+ public ownerSubscriptionId: number;
32951
+
32946
32952
  /**
32947
32953
  * Creates a new FamilyMemberSynced instance using the specified properties.
32948
32954
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -91374,12 +91374,13 @@ $root.FamilyMemberSynced = (function() {
91374
91374
  * @property {number|null} [userGroupId] FamilyMemberSynced userGroupId
91375
91375
  * @property {community.FamilyPlanRole|null} [role] FamilyMemberSynced role
91376
91376
  * @property {number|null} [orgId] FamilyMemberSynced orgId
91377
+ * @property {number|null} [ownerSubscriptionId] FamilyMemberSynced ownerSubscriptionId
91377
91378
  */
91378
91379
 
91379
91380
  /**
91380
91381
  * Constructs a new FamilyMemberSynced.
91381
91382
  * @name FamilyMemberSynced
91382
- * @classdesc Event published after a UserGroupEntry has it's `removedOn` field updated to match the user group's subscription. `removedOn` must be in the future
91383
+ * @classdesc Event published for each group member when a change (created, amended, ended) to the owner's subscription observed
91383
91384
  * @implements IFamilyMemberSynced
91384
91385
  * @constructor
91385
91386
  * @param {IFamilyMemberSynced=} [properties] Properties to set
@@ -91439,6 +91440,14 @@ $root.FamilyMemberSynced = (function() {
91439
91440
  */
91440
91441
  FamilyMemberSynced.prototype.orgId = 0;
91441
91442
 
91443
+ /**
91444
+ * FamilyMemberSynced ownerSubscriptionId.
91445
+ * @member {number} ownerSubscriptionId
91446
+ * @memberof FamilyMemberSynced
91447
+ * @instance
91448
+ */
91449
+ FamilyMemberSynced.prototype.ownerSubscriptionId = 0;
91450
+
91442
91451
  /**
91443
91452
  * Creates a new FamilyMemberSynced instance using the specified properties.
91444
91453
  * @function create
@@ -91475,6 +91484,8 @@ $root.FamilyMemberSynced = (function() {
91475
91484
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.role);
91476
91485
  if (message.orgId != null && message.hasOwnProperty("orgId"))
91477
91486
  writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.orgId);
91487
+ if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
91488
+ writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.ownerSubscriptionId);
91478
91489
  return writer;
91479
91490
  };
91480
91491
 
@@ -91527,6 +91538,9 @@ $root.FamilyMemberSynced = (function() {
91527
91538
  case 6:
91528
91539
  message.orgId = reader.uint32();
91529
91540
  break;
91541
+ case 7:
91542
+ message.ownerSubscriptionId = reader.uint32();
91543
+ break;
91530
91544
  default:
91531
91545
  reader.skipType(tag & 7);
91532
91546
  break;
@@ -91586,6 +91600,9 @@ $root.FamilyMemberSynced = (function() {
91586
91600
  if (message.orgId != null && message.hasOwnProperty("orgId"))
91587
91601
  if (!$util.isInteger(message.orgId))
91588
91602
  return "orgId: integer expected";
91603
+ if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
91604
+ if (!$util.isInteger(message.ownerSubscriptionId))
91605
+ return "ownerSubscriptionId: integer expected";
91589
91606
  return null;
91590
91607
  };
91591
91608
 
@@ -91632,6 +91649,8 @@ $root.FamilyMemberSynced = (function() {
91632
91649
  }
91633
91650
  if (object.orgId != null)
91634
91651
  message.orgId = object.orgId >>> 0;
91652
+ if (object.ownerSubscriptionId != null)
91653
+ message.ownerSubscriptionId = object.ownerSubscriptionId >>> 0;
91635
91654
  return message;
91636
91655
  };
91637
91656
 
@@ -91659,6 +91678,7 @@ $root.FamilyMemberSynced = (function() {
91659
91678
  object.userGroupId = 0;
91660
91679
  object.role = options.enums === String ? "FAMILYPLAN_UNKNOWN" : 0;
91661
91680
  object.orgId = 0;
91681
+ object.ownerSubscriptionId = 0;
91662
91682
  }
91663
91683
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
91664
91684
  if (typeof message.timestamp === "number")
@@ -91675,6 +91695,8 @@ $root.FamilyMemberSynced = (function() {
91675
91695
  object.role = options.enums === String ? $root.community.FamilyPlanRole[message.role] : message.role;
91676
91696
  if (message.orgId != null && message.hasOwnProperty("orgId"))
91677
91697
  object.orgId = message.orgId;
91698
+ if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
91699
+ object.ownerSubscriptionId = message.ownerSubscriptionId;
91678
91700
  return object;
91679
91701
  };
91680
91702
 
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.0"
19
+ "version": "1.470.1-rc.0"
20
20
  }