@headspace/protos-events 1.470.1-rc.3 → 1.470.1-rc.5
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 +6 -12
- package/lib/index.js +22 -58
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -32906,6 +32906,9 @@ export interface IFamilyMemberSynced {
|
|
|
32906
32906
|
/** FamilyMemberSynced userId */
|
|
32907
32907
|
userId?: (string|null);
|
|
32908
32908
|
|
|
32909
|
+
/** FamilyMemberSynced ownerUserId */
|
|
32910
|
+
ownerUserId?: (string|null);
|
|
32911
|
+
|
|
32909
32912
|
/** FamilyMemberSynced userGroupId */
|
|
32910
32913
|
userGroupId?: (number|null);
|
|
32911
32914
|
|
|
@@ -32914,12 +32917,6 @@ export interface IFamilyMemberSynced {
|
|
|
32914
32917
|
|
|
32915
32918
|
/** FamilyMemberSynced orgId */
|
|
32916
32919
|
orgId?: (number|null);
|
|
32917
|
-
|
|
32918
|
-
/** FamilyMemberSynced ownerSubscriptionId */
|
|
32919
|
-
ownerSubscriptionId?: (number|null);
|
|
32920
|
-
|
|
32921
|
-
/** FamilyMemberSynced ownerSubscriptionPreviousEndsAt */
|
|
32922
|
-
ownerSubscriptionPreviousEndsAt?: (number|Long|null);
|
|
32923
32920
|
}
|
|
32924
32921
|
|
|
32925
32922
|
/** Event published for each group member when a change (created, amended, ended) to the owner's subscription observed */
|
|
@@ -32940,6 +32937,9 @@ export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
|
32940
32937
|
/** FamilyMemberSynced userId. */
|
|
32941
32938
|
public userId: string;
|
|
32942
32939
|
|
|
32940
|
+
/** FamilyMemberSynced ownerUserId. */
|
|
32941
|
+
public ownerUserId: string;
|
|
32942
|
+
|
|
32943
32943
|
/** FamilyMemberSynced userGroupId. */
|
|
32944
32944
|
public userGroupId: number;
|
|
32945
32945
|
|
|
@@ -32949,12 +32949,6 @@ export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
|
32949
32949
|
/** FamilyMemberSynced orgId. */
|
|
32950
32950
|
public orgId: number;
|
|
32951
32951
|
|
|
32952
|
-
/** FamilyMemberSynced ownerSubscriptionId. */
|
|
32953
|
-
public ownerSubscriptionId: number;
|
|
32954
|
-
|
|
32955
|
-
/** FamilyMemberSynced ownerSubscriptionPreviousEndsAt. */
|
|
32956
|
-
public ownerSubscriptionPreviousEndsAt: (number|Long);
|
|
32957
|
-
|
|
32958
32952
|
/**
|
|
32959
32953
|
* Creates a new FamilyMemberSynced instance using the specified properties.
|
|
32960
32954
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -91371,11 +91371,10 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91371
91371
|
* @property {number|Long|null} [timestamp] FamilyMemberSynced timestamp
|
|
91372
91372
|
* @property {number|null} [userGroupEntryId] FamilyMemberSynced userGroupEntryId
|
|
91373
91373
|
* @property {string|null} [userId] FamilyMemberSynced userId
|
|
91374
|
+
* @property {string|null} [ownerUserId] FamilyMemberSynced ownerUserId
|
|
91374
91375
|
* @property {number|null} [userGroupId] FamilyMemberSynced userGroupId
|
|
91375
91376
|
* @property {community.FamilyPlanRole|null} [role] FamilyMemberSynced role
|
|
91376
91377
|
* @property {number|null} [orgId] FamilyMemberSynced orgId
|
|
91377
|
-
* @property {number|null} [ownerSubscriptionId] FamilyMemberSynced ownerSubscriptionId
|
|
91378
|
-
* @property {number|Long|null} [ownerSubscriptionPreviousEndsAt] FamilyMemberSynced ownerSubscriptionPreviousEndsAt
|
|
91379
91378
|
*/
|
|
91380
91379
|
|
|
91381
91380
|
/**
|
|
@@ -91417,6 +91416,14 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91417
91416
|
*/
|
|
91418
91417
|
FamilyMemberSynced.prototype.userId = "";
|
|
91419
91418
|
|
|
91419
|
+
/**
|
|
91420
|
+
* FamilyMemberSynced ownerUserId.
|
|
91421
|
+
* @member {string} ownerUserId
|
|
91422
|
+
* @memberof FamilyMemberSynced
|
|
91423
|
+
* @instance
|
|
91424
|
+
*/
|
|
91425
|
+
FamilyMemberSynced.prototype.ownerUserId = "";
|
|
91426
|
+
|
|
91420
91427
|
/**
|
|
91421
91428
|
* FamilyMemberSynced userGroupId.
|
|
91422
91429
|
* @member {number} userGroupId
|
|
@@ -91441,22 +91448,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91441
91448
|
*/
|
|
91442
91449
|
FamilyMemberSynced.prototype.orgId = 0;
|
|
91443
91450
|
|
|
91444
|
-
/**
|
|
91445
|
-
* FamilyMemberSynced ownerSubscriptionId.
|
|
91446
|
-
* @member {number} ownerSubscriptionId
|
|
91447
|
-
* @memberof FamilyMemberSynced
|
|
91448
|
-
* @instance
|
|
91449
|
-
*/
|
|
91450
|
-
FamilyMemberSynced.prototype.ownerSubscriptionId = 0;
|
|
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
|
-
|
|
91460
91451
|
/**
|
|
91461
91452
|
* Creates a new FamilyMemberSynced instance using the specified properties.
|
|
91462
91453
|
* @function create
|
|
@@ -91493,10 +91484,8 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91493
91484
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.role);
|
|
91494
91485
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91495
91486
|
writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.orgId);
|
|
91496
|
-
if (message.
|
|
91497
|
-
writer.uint32(/* id 7, wireType
|
|
91498
|
-
if (message.ownerSubscriptionPreviousEndsAt != null && message.hasOwnProperty("ownerSubscriptionPreviousEndsAt"))
|
|
91499
|
-
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.ownerSubscriptionPreviousEndsAt);
|
|
91487
|
+
if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
|
|
91488
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.ownerUserId);
|
|
91500
91489
|
return writer;
|
|
91501
91490
|
};
|
|
91502
91491
|
|
|
@@ -91540,6 +91529,9 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91540
91529
|
case 3:
|
|
91541
91530
|
message.userId = reader.string();
|
|
91542
91531
|
break;
|
|
91532
|
+
case 7:
|
|
91533
|
+
message.ownerUserId = reader.string();
|
|
91534
|
+
break;
|
|
91543
91535
|
case 4:
|
|
91544
91536
|
message.userGroupId = reader.uint32();
|
|
91545
91537
|
break;
|
|
@@ -91549,12 +91541,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91549
91541
|
case 6:
|
|
91550
91542
|
message.orgId = reader.uint32();
|
|
91551
91543
|
break;
|
|
91552
|
-
case 7:
|
|
91553
|
-
message.ownerSubscriptionId = reader.uint32();
|
|
91554
|
-
break;
|
|
91555
|
-
case 8:
|
|
91556
|
-
message.ownerSubscriptionPreviousEndsAt = reader.uint64();
|
|
91557
|
-
break;
|
|
91558
91544
|
default:
|
|
91559
91545
|
reader.skipType(tag & 7);
|
|
91560
91546
|
break;
|
|
@@ -91599,6 +91585,9 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91599
91585
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
91600
91586
|
if (!$util.isString(message.userId))
|
|
91601
91587
|
return "userId: string expected";
|
|
91588
|
+
if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
|
|
91589
|
+
if (!$util.isString(message.ownerUserId))
|
|
91590
|
+
return "ownerUserId: string expected";
|
|
91602
91591
|
if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
|
|
91603
91592
|
if (!$util.isInteger(message.userGroupId))
|
|
91604
91593
|
return "userGroupId: integer expected";
|
|
@@ -91614,12 +91603,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91614
91603
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91615
91604
|
if (!$util.isInteger(message.orgId))
|
|
91616
91605
|
return "orgId: integer expected";
|
|
91617
|
-
if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
|
|
91618
|
-
if (!$util.isInteger(message.ownerSubscriptionId))
|
|
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";
|
|
91623
91606
|
return null;
|
|
91624
91607
|
};
|
|
91625
91608
|
|
|
@@ -91648,6 +91631,8 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91648
91631
|
message.userGroupEntryId = object.userGroupEntryId >>> 0;
|
|
91649
91632
|
if (object.userId != null)
|
|
91650
91633
|
message.userId = String(object.userId);
|
|
91634
|
+
if (object.ownerUserId != null)
|
|
91635
|
+
message.ownerUserId = String(object.ownerUserId);
|
|
91651
91636
|
if (object.userGroupId != null)
|
|
91652
91637
|
message.userGroupId = object.userGroupId >>> 0;
|
|
91653
91638
|
switch (object.role) {
|
|
@@ -91666,17 +91651,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91666
91651
|
}
|
|
91667
91652
|
if (object.orgId != null)
|
|
91668
91653
|
message.orgId = object.orgId >>> 0;
|
|
91669
|
-
if (object.ownerSubscriptionId != null)
|
|
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);
|
|
91680
91654
|
return message;
|
|
91681
91655
|
};
|
|
91682
91656
|
|
|
@@ -91704,12 +91678,7 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91704
91678
|
object.userGroupId = 0;
|
|
91705
91679
|
object.role = options.enums === String ? "FAMILYPLAN_UNKNOWN" : 0;
|
|
91706
91680
|
object.orgId = 0;
|
|
91707
|
-
object.
|
|
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;
|
|
91681
|
+
object.ownerUserId = "";
|
|
91713
91682
|
}
|
|
91714
91683
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
91715
91684
|
if (typeof message.timestamp === "number")
|
|
@@ -91726,13 +91695,8 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91726
91695
|
object.role = options.enums === String ? $root.community.FamilyPlanRole[message.role] : message.role;
|
|
91727
91696
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91728
91697
|
object.orgId = message.orgId;
|
|
91729
|
-
if (message.
|
|
91730
|
-
object.
|
|
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;
|
|
91698
|
+
if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
|
|
91699
|
+
object.ownerUserId = message.ownerUserId;
|
|
91736
91700
|
return object;
|
|
91737
91701
|
};
|
|
91738
91702
|
|
package/package.json
CHANGED