@headspace/protos-events 1.307.0 → 1.309.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 +132 -12
- package/lib/index.js +374 -72
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -23929,12 +23929,6 @@ export interface INarrator {
|
|
|
23929
23929
|
|
|
23930
23930
|
/** Narrator deletedAt */
|
|
23931
23931
|
deletedAt?: (number|Long|null);
|
|
23932
|
-
|
|
23933
|
-
/** Narrator createdAt */
|
|
23934
|
-
createdAt?: (number|Long|null);
|
|
23935
|
-
|
|
23936
|
-
/** Narrator updatedAt */
|
|
23937
|
-
updatedAt?: (number|Long|null);
|
|
23938
23932
|
}
|
|
23939
23933
|
|
|
23940
23934
|
/** Represents a Narrator. */
|
|
@@ -23976,12 +23970,6 @@ export class Narrator implements INarrator {
|
|
|
23976
23970
|
/** Narrator deletedAt. */
|
|
23977
23971
|
public deletedAt: (number|Long);
|
|
23978
23972
|
|
|
23979
|
-
/** Narrator createdAt. */
|
|
23980
|
-
public createdAt: (number|Long);
|
|
23981
|
-
|
|
23982
|
-
/** Narrator updatedAt. */
|
|
23983
|
-
public updatedAt: (number|Long);
|
|
23984
|
-
|
|
23985
23973
|
/**
|
|
23986
23974
|
* Creates a new Narrator instance using the specified properties.
|
|
23987
23975
|
* @param [properties] Properties to set
|
|
@@ -29411,6 +29399,138 @@ export class FamilyMemberInvited implements IFamilyMemberInvited {
|
|
|
29411
29399
|
public toJSON(): { [k: string]: any };
|
|
29412
29400
|
}
|
|
29413
29401
|
|
|
29402
|
+
/** Properties of a FamilyMemberActivated. */
|
|
29403
|
+
export interface IFamilyMemberActivated {
|
|
29404
|
+
|
|
29405
|
+
/** FamilyMemberActivated timestamp */
|
|
29406
|
+
timestamp?: (number|Long|null);
|
|
29407
|
+
|
|
29408
|
+
/** FamilyMemberActivated userGroupEntryId */
|
|
29409
|
+
userGroupEntryId?: (number|null);
|
|
29410
|
+
|
|
29411
|
+
/** FamilyMemberActivated userId */
|
|
29412
|
+
userId?: (string|null);
|
|
29413
|
+
|
|
29414
|
+
/** FamilyMemberActivated userGroupId */
|
|
29415
|
+
userGroupId?: (number|null);
|
|
29416
|
+
|
|
29417
|
+
/** FamilyMemberActivated email */
|
|
29418
|
+
email?: (string|null);
|
|
29419
|
+
|
|
29420
|
+
/** FamilyMemberActivated token */
|
|
29421
|
+
token?: (string|null);
|
|
29422
|
+
|
|
29423
|
+
/** FamilyMemberActivated role */
|
|
29424
|
+
role?: (community.FamilyPlanRole|null);
|
|
29425
|
+
|
|
29426
|
+
/** FamilyMemberActivated orgId */
|
|
29427
|
+
orgId?: (number|null);
|
|
29428
|
+
}
|
|
29429
|
+
|
|
29430
|
+
/** Represents a FamilyMemberActivated. */
|
|
29431
|
+
export class FamilyMemberActivated implements IFamilyMemberActivated {
|
|
29432
|
+
|
|
29433
|
+
/**
|
|
29434
|
+
* Constructs a new FamilyMemberActivated.
|
|
29435
|
+
* @param [properties] Properties to set
|
|
29436
|
+
*/
|
|
29437
|
+
constructor(properties?: IFamilyMemberActivated);
|
|
29438
|
+
|
|
29439
|
+
/** FamilyMemberActivated timestamp. */
|
|
29440
|
+
public timestamp: (number|Long);
|
|
29441
|
+
|
|
29442
|
+
/** FamilyMemberActivated userGroupEntryId. */
|
|
29443
|
+
public userGroupEntryId: number;
|
|
29444
|
+
|
|
29445
|
+
/** FamilyMemberActivated userId. */
|
|
29446
|
+
public userId: string;
|
|
29447
|
+
|
|
29448
|
+
/** FamilyMemberActivated userGroupId. */
|
|
29449
|
+
public userGroupId: number;
|
|
29450
|
+
|
|
29451
|
+
/** FamilyMemberActivated email. */
|
|
29452
|
+
public email: string;
|
|
29453
|
+
|
|
29454
|
+
/** FamilyMemberActivated token. */
|
|
29455
|
+
public token: string;
|
|
29456
|
+
|
|
29457
|
+
/** FamilyMemberActivated role. */
|
|
29458
|
+
public role: community.FamilyPlanRole;
|
|
29459
|
+
|
|
29460
|
+
/** FamilyMemberActivated orgId. */
|
|
29461
|
+
public orgId: number;
|
|
29462
|
+
|
|
29463
|
+
/**
|
|
29464
|
+
* Creates a new FamilyMemberActivated instance using the specified properties.
|
|
29465
|
+
* @param [properties] Properties to set
|
|
29466
|
+
* @returns FamilyMemberActivated instance
|
|
29467
|
+
*/
|
|
29468
|
+
public static create(properties?: IFamilyMemberActivated): FamilyMemberActivated;
|
|
29469
|
+
|
|
29470
|
+
/**
|
|
29471
|
+
* Encodes the specified FamilyMemberActivated message. Does not implicitly {@link FamilyMemberActivated.verify|verify} messages.
|
|
29472
|
+
* @param message FamilyMemberActivated message or plain object to encode
|
|
29473
|
+
* @param [writer] Writer to encode to
|
|
29474
|
+
* @returns Writer
|
|
29475
|
+
*/
|
|
29476
|
+
public static encode(message: IFamilyMemberActivated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29477
|
+
|
|
29478
|
+
/**
|
|
29479
|
+
* Encodes the specified FamilyMemberActivated message, length delimited. Does not implicitly {@link FamilyMemberActivated.verify|verify} messages.
|
|
29480
|
+
* @param message FamilyMemberActivated message or plain object to encode
|
|
29481
|
+
* @param [writer] Writer to encode to
|
|
29482
|
+
* @returns Writer
|
|
29483
|
+
*/
|
|
29484
|
+
public static encodeDelimited(message: IFamilyMemberActivated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29485
|
+
|
|
29486
|
+
/**
|
|
29487
|
+
* Decodes a FamilyMemberActivated message from the specified reader or buffer.
|
|
29488
|
+
* @param reader Reader or buffer to decode from
|
|
29489
|
+
* @param [length] Message length if known beforehand
|
|
29490
|
+
* @returns FamilyMemberActivated
|
|
29491
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29492
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29493
|
+
*/
|
|
29494
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FamilyMemberActivated;
|
|
29495
|
+
|
|
29496
|
+
/**
|
|
29497
|
+
* Decodes a FamilyMemberActivated message from the specified reader or buffer, length delimited.
|
|
29498
|
+
* @param reader Reader or buffer to decode from
|
|
29499
|
+
* @returns FamilyMemberActivated
|
|
29500
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29501
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29502
|
+
*/
|
|
29503
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FamilyMemberActivated;
|
|
29504
|
+
|
|
29505
|
+
/**
|
|
29506
|
+
* Verifies a FamilyMemberActivated message.
|
|
29507
|
+
* @param message Plain object to verify
|
|
29508
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29509
|
+
*/
|
|
29510
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
29511
|
+
|
|
29512
|
+
/**
|
|
29513
|
+
* Creates a FamilyMemberActivated message from a plain object. Also converts values to their respective internal types.
|
|
29514
|
+
* @param object Plain object
|
|
29515
|
+
* @returns FamilyMemberActivated
|
|
29516
|
+
*/
|
|
29517
|
+
public static fromObject(object: { [k: string]: any }): FamilyMemberActivated;
|
|
29518
|
+
|
|
29519
|
+
/**
|
|
29520
|
+
* Creates a plain object from a FamilyMemberActivated message. Also converts values to other types if specified.
|
|
29521
|
+
* @param message FamilyMemberActivated
|
|
29522
|
+
* @param [options] Conversion options
|
|
29523
|
+
* @returns Plain object
|
|
29524
|
+
*/
|
|
29525
|
+
public static toObject(message: FamilyMemberActivated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29526
|
+
|
|
29527
|
+
/**
|
|
29528
|
+
* Converts this FamilyMemberActivated to JSON.
|
|
29529
|
+
* @returns JSON object
|
|
29530
|
+
*/
|
|
29531
|
+
public toJSON(): { [k: string]: any };
|
|
29532
|
+
}
|
|
29533
|
+
|
|
29414
29534
|
/** Properties of a FamilyMemberRejected. */
|
|
29415
29535
|
export interface IFamilyMemberRejected {
|
|
29416
29536
|
|
package/lib/index.js
CHANGED
|
@@ -65483,8 +65483,6 @@ $root.Narrator = (function() {
|
|
|
65483
65483
|
* @property {string|null} [authorCategory] Narrator authorCategory
|
|
65484
65484
|
* @property {number|null} [gender] Narrator gender
|
|
65485
65485
|
* @property {number|Long|null} [deletedAt] Narrator deletedAt
|
|
65486
|
-
* @property {number|Long|null} [createdAt] Narrator createdAt
|
|
65487
|
-
* @property {number|Long|null} [updatedAt] Narrator updatedAt
|
|
65488
65486
|
*/
|
|
65489
65487
|
|
|
65490
65488
|
/**
|
|
@@ -65582,22 +65580,6 @@ $root.Narrator = (function() {
|
|
|
65582
65580
|
*/
|
|
65583
65581
|
Narrator.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
65584
65582
|
|
|
65585
|
-
/**
|
|
65586
|
-
* Narrator createdAt.
|
|
65587
|
-
* @member {number|Long} createdAt
|
|
65588
|
-
* @memberof Narrator
|
|
65589
|
-
* @instance
|
|
65590
|
-
*/
|
|
65591
|
-
Narrator.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
65592
|
-
|
|
65593
|
-
/**
|
|
65594
|
-
* Narrator updatedAt.
|
|
65595
|
-
* @member {number|Long} updatedAt
|
|
65596
|
-
* @memberof Narrator
|
|
65597
|
-
* @instance
|
|
65598
|
-
*/
|
|
65599
|
-
Narrator.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
65600
|
-
|
|
65601
65583
|
/**
|
|
65602
65584
|
* Creates a new Narrator instance using the specified properties.
|
|
65603
65585
|
* @function create
|
|
@@ -65642,10 +65624,6 @@ $root.Narrator = (function() {
|
|
|
65642
65624
|
writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.gender);
|
|
65643
65625
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
65644
65626
|
writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.deletedAt);
|
|
65645
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
65646
|
-
writer.uint32(/* id 11, wireType 0 =*/88).uint64(message.createdAt);
|
|
65647
|
-
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
65648
|
-
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.updatedAt);
|
|
65649
65627
|
return writer;
|
|
65650
65628
|
};
|
|
65651
65629
|
|
|
@@ -65710,12 +65688,6 @@ $root.Narrator = (function() {
|
|
|
65710
65688
|
case 10:
|
|
65711
65689
|
message.deletedAt = reader.uint64();
|
|
65712
65690
|
break;
|
|
65713
|
-
case 11:
|
|
65714
|
-
message.createdAt = reader.uint64();
|
|
65715
|
-
break;
|
|
65716
|
-
case 12:
|
|
65717
|
-
message.updatedAt = reader.uint64();
|
|
65718
|
-
break;
|
|
65719
65691
|
default:
|
|
65720
65692
|
reader.skipType(tag & 7);
|
|
65721
65693
|
break;
|
|
@@ -65781,12 +65753,6 @@ $root.Narrator = (function() {
|
|
|
65781
65753
|
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
65782
65754
|
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
65783
65755
|
return "deletedAt: integer|Long expected";
|
|
65784
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
65785
|
-
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
65786
|
-
return "createdAt: integer|Long expected";
|
|
65787
|
-
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
65788
|
-
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
65789
|
-
return "updatedAt: integer|Long expected";
|
|
65790
65756
|
return null;
|
|
65791
65757
|
};
|
|
65792
65758
|
|
|
@@ -65829,24 +65795,6 @@ $root.Narrator = (function() {
|
|
|
65829
65795
|
message.deletedAt = object.deletedAt;
|
|
65830
65796
|
else if (typeof object.deletedAt === "object")
|
|
65831
65797
|
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
65832
|
-
if (object.createdAt != null)
|
|
65833
|
-
if ($util.Long)
|
|
65834
|
-
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
65835
|
-
else if (typeof object.createdAt === "string")
|
|
65836
|
-
message.createdAt = parseInt(object.createdAt, 10);
|
|
65837
|
-
else if (typeof object.createdAt === "number")
|
|
65838
|
-
message.createdAt = object.createdAt;
|
|
65839
|
-
else if (typeof object.createdAt === "object")
|
|
65840
|
-
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
65841
|
-
if (object.updatedAt != null)
|
|
65842
|
-
if ($util.Long)
|
|
65843
|
-
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
65844
|
-
else if (typeof object.updatedAt === "string")
|
|
65845
|
-
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
65846
|
-
else if (typeof object.updatedAt === "number")
|
|
65847
|
-
message.updatedAt = object.updatedAt;
|
|
65848
|
-
else if (typeof object.updatedAt === "object")
|
|
65849
|
-
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
65850
65798
|
return message;
|
|
65851
65799
|
};
|
|
65852
65800
|
|
|
@@ -65878,16 +65826,6 @@ $root.Narrator = (function() {
|
|
|
65878
65826
|
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
65879
65827
|
} else
|
|
65880
65828
|
object.deletedAt = options.longs === String ? "0" : 0;
|
|
65881
|
-
if ($util.Long) {
|
|
65882
|
-
var long = new $util.Long(0, 0, true);
|
|
65883
|
-
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
65884
|
-
} else
|
|
65885
|
-
object.createdAt = options.longs === String ? "0" : 0;
|
|
65886
|
-
if ($util.Long) {
|
|
65887
|
-
var long = new $util.Long(0, 0, true);
|
|
65888
|
-
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
65889
|
-
} else
|
|
65890
|
-
object.updatedAt = options.longs === String ? "0" : 0;
|
|
65891
65829
|
}
|
|
65892
65830
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
65893
65831
|
object.id = message.id;
|
|
@@ -65912,16 +65850,6 @@ $root.Narrator = (function() {
|
|
|
65912
65850
|
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
65913
65851
|
else
|
|
65914
65852
|
object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
|
|
65915
|
-
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
65916
|
-
if (typeof message.createdAt === "number")
|
|
65917
|
-
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
65918
|
-
else
|
|
65919
|
-
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
65920
|
-
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
65921
|
-
if (typeof message.updatedAt === "number")
|
|
65922
|
-
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
65923
|
-
else
|
|
65924
|
-
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
65925
65853
|
return object;
|
|
65926
65854
|
};
|
|
65927
65855
|
|
|
@@ -81533,6 +81461,380 @@ $root.FamilyMemberInvited = (function() {
|
|
|
81533
81461
|
return FamilyMemberInvited;
|
|
81534
81462
|
})();
|
|
81535
81463
|
|
|
81464
|
+
$root.FamilyMemberActivated = (function() {
|
|
81465
|
+
|
|
81466
|
+
/**
|
|
81467
|
+
* Properties of a FamilyMemberActivated.
|
|
81468
|
+
* @exports IFamilyMemberActivated
|
|
81469
|
+
* @interface IFamilyMemberActivated
|
|
81470
|
+
* @property {number|Long|null} [timestamp] FamilyMemberActivated timestamp
|
|
81471
|
+
* @property {number|null} [userGroupEntryId] FamilyMemberActivated userGroupEntryId
|
|
81472
|
+
* @property {string|null} [userId] FamilyMemberActivated userId
|
|
81473
|
+
* @property {number|null} [userGroupId] FamilyMemberActivated userGroupId
|
|
81474
|
+
* @property {string|null} [email] FamilyMemberActivated email
|
|
81475
|
+
* @property {string|null} [token] FamilyMemberActivated token
|
|
81476
|
+
* @property {community.FamilyPlanRole|null} [role] FamilyMemberActivated role
|
|
81477
|
+
* @property {number|null} [orgId] FamilyMemberActivated orgId
|
|
81478
|
+
*/
|
|
81479
|
+
|
|
81480
|
+
/**
|
|
81481
|
+
* Constructs a new FamilyMemberActivated.
|
|
81482
|
+
* @exports FamilyMemberActivated
|
|
81483
|
+
* @classdesc Represents a FamilyMemberActivated.
|
|
81484
|
+
* @implements IFamilyMemberActivated
|
|
81485
|
+
* @constructor
|
|
81486
|
+
* @param {IFamilyMemberActivated=} [properties] Properties to set
|
|
81487
|
+
*/
|
|
81488
|
+
function FamilyMemberActivated(properties) {
|
|
81489
|
+
if (properties)
|
|
81490
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
81491
|
+
if (properties[keys[i]] != null)
|
|
81492
|
+
this[keys[i]] = properties[keys[i]];
|
|
81493
|
+
}
|
|
81494
|
+
|
|
81495
|
+
/**
|
|
81496
|
+
* FamilyMemberActivated timestamp.
|
|
81497
|
+
* @member {number|Long} timestamp
|
|
81498
|
+
* @memberof FamilyMemberActivated
|
|
81499
|
+
* @instance
|
|
81500
|
+
*/
|
|
81501
|
+
FamilyMemberActivated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
81502
|
+
|
|
81503
|
+
/**
|
|
81504
|
+
* FamilyMemberActivated userGroupEntryId.
|
|
81505
|
+
* @member {number} userGroupEntryId
|
|
81506
|
+
* @memberof FamilyMemberActivated
|
|
81507
|
+
* @instance
|
|
81508
|
+
*/
|
|
81509
|
+
FamilyMemberActivated.prototype.userGroupEntryId = 0;
|
|
81510
|
+
|
|
81511
|
+
/**
|
|
81512
|
+
* FamilyMemberActivated userId.
|
|
81513
|
+
* @member {string} userId
|
|
81514
|
+
* @memberof FamilyMemberActivated
|
|
81515
|
+
* @instance
|
|
81516
|
+
*/
|
|
81517
|
+
FamilyMemberActivated.prototype.userId = "";
|
|
81518
|
+
|
|
81519
|
+
/**
|
|
81520
|
+
* FamilyMemberActivated userGroupId.
|
|
81521
|
+
* @member {number} userGroupId
|
|
81522
|
+
* @memberof FamilyMemberActivated
|
|
81523
|
+
* @instance
|
|
81524
|
+
*/
|
|
81525
|
+
FamilyMemberActivated.prototype.userGroupId = 0;
|
|
81526
|
+
|
|
81527
|
+
/**
|
|
81528
|
+
* FamilyMemberActivated email.
|
|
81529
|
+
* @member {string} email
|
|
81530
|
+
* @memberof FamilyMemberActivated
|
|
81531
|
+
* @instance
|
|
81532
|
+
*/
|
|
81533
|
+
FamilyMemberActivated.prototype.email = "";
|
|
81534
|
+
|
|
81535
|
+
/**
|
|
81536
|
+
* FamilyMemberActivated token.
|
|
81537
|
+
* @member {string} token
|
|
81538
|
+
* @memberof FamilyMemberActivated
|
|
81539
|
+
* @instance
|
|
81540
|
+
*/
|
|
81541
|
+
FamilyMemberActivated.prototype.token = "";
|
|
81542
|
+
|
|
81543
|
+
/**
|
|
81544
|
+
* FamilyMemberActivated role.
|
|
81545
|
+
* @member {community.FamilyPlanRole} role
|
|
81546
|
+
* @memberof FamilyMemberActivated
|
|
81547
|
+
* @instance
|
|
81548
|
+
*/
|
|
81549
|
+
FamilyMemberActivated.prototype.role = 0;
|
|
81550
|
+
|
|
81551
|
+
/**
|
|
81552
|
+
* FamilyMemberActivated orgId.
|
|
81553
|
+
* @member {number} orgId
|
|
81554
|
+
* @memberof FamilyMemberActivated
|
|
81555
|
+
* @instance
|
|
81556
|
+
*/
|
|
81557
|
+
FamilyMemberActivated.prototype.orgId = 0;
|
|
81558
|
+
|
|
81559
|
+
/**
|
|
81560
|
+
* Creates a new FamilyMemberActivated instance using the specified properties.
|
|
81561
|
+
* @function create
|
|
81562
|
+
* @memberof FamilyMemberActivated
|
|
81563
|
+
* @static
|
|
81564
|
+
* @param {IFamilyMemberActivated=} [properties] Properties to set
|
|
81565
|
+
* @returns {FamilyMemberActivated} FamilyMemberActivated instance
|
|
81566
|
+
*/
|
|
81567
|
+
FamilyMemberActivated.create = function create(properties) {
|
|
81568
|
+
return new FamilyMemberActivated(properties);
|
|
81569
|
+
};
|
|
81570
|
+
|
|
81571
|
+
/**
|
|
81572
|
+
* Encodes the specified FamilyMemberActivated message. Does not implicitly {@link FamilyMemberActivated.verify|verify} messages.
|
|
81573
|
+
* @function encode
|
|
81574
|
+
* @memberof FamilyMemberActivated
|
|
81575
|
+
* @static
|
|
81576
|
+
* @param {IFamilyMemberActivated} message FamilyMemberActivated message or plain object to encode
|
|
81577
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
81578
|
+
* @returns {$protobuf.Writer} Writer
|
|
81579
|
+
*/
|
|
81580
|
+
FamilyMemberActivated.encode = function encode(message, writer) {
|
|
81581
|
+
if (!writer)
|
|
81582
|
+
writer = $Writer.create();
|
|
81583
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
81584
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
|
|
81585
|
+
if (message.userGroupEntryId != null && message.hasOwnProperty("userGroupEntryId"))
|
|
81586
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.userGroupEntryId);
|
|
81587
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
81588
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.userId);
|
|
81589
|
+
if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
|
|
81590
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.userGroupId);
|
|
81591
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
81592
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.email);
|
|
81593
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
81594
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.token);
|
|
81595
|
+
if (message.role != null && message.hasOwnProperty("role"))
|
|
81596
|
+
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.role);
|
|
81597
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
81598
|
+
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.orgId);
|
|
81599
|
+
return writer;
|
|
81600
|
+
};
|
|
81601
|
+
|
|
81602
|
+
/**
|
|
81603
|
+
* Encodes the specified FamilyMemberActivated message, length delimited. Does not implicitly {@link FamilyMemberActivated.verify|verify} messages.
|
|
81604
|
+
* @function encodeDelimited
|
|
81605
|
+
* @memberof FamilyMemberActivated
|
|
81606
|
+
* @static
|
|
81607
|
+
* @param {IFamilyMemberActivated} message FamilyMemberActivated message or plain object to encode
|
|
81608
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
81609
|
+
* @returns {$protobuf.Writer} Writer
|
|
81610
|
+
*/
|
|
81611
|
+
FamilyMemberActivated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
81612
|
+
return this.encode(message, writer).ldelim();
|
|
81613
|
+
};
|
|
81614
|
+
|
|
81615
|
+
/**
|
|
81616
|
+
* Decodes a FamilyMemberActivated message from the specified reader or buffer.
|
|
81617
|
+
* @function decode
|
|
81618
|
+
* @memberof FamilyMemberActivated
|
|
81619
|
+
* @static
|
|
81620
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
81621
|
+
* @param {number} [length] Message length if known beforehand
|
|
81622
|
+
* @returns {FamilyMemberActivated} FamilyMemberActivated
|
|
81623
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
81624
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
81625
|
+
*/
|
|
81626
|
+
FamilyMemberActivated.decode = function decode(reader, length) {
|
|
81627
|
+
if (!(reader instanceof $Reader))
|
|
81628
|
+
reader = $Reader.create(reader);
|
|
81629
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.FamilyMemberActivated();
|
|
81630
|
+
while (reader.pos < end) {
|
|
81631
|
+
var tag = reader.uint32();
|
|
81632
|
+
switch (tag >>> 3) {
|
|
81633
|
+
case 1:
|
|
81634
|
+
message.timestamp = reader.uint64();
|
|
81635
|
+
break;
|
|
81636
|
+
case 2:
|
|
81637
|
+
message.userGroupEntryId = reader.uint32();
|
|
81638
|
+
break;
|
|
81639
|
+
case 3:
|
|
81640
|
+
message.userId = reader.string();
|
|
81641
|
+
break;
|
|
81642
|
+
case 4:
|
|
81643
|
+
message.userGroupId = reader.uint32();
|
|
81644
|
+
break;
|
|
81645
|
+
case 5:
|
|
81646
|
+
message.email = reader.string();
|
|
81647
|
+
break;
|
|
81648
|
+
case 6:
|
|
81649
|
+
message.token = reader.string();
|
|
81650
|
+
break;
|
|
81651
|
+
case 7:
|
|
81652
|
+
message.role = reader.int32();
|
|
81653
|
+
break;
|
|
81654
|
+
case 8:
|
|
81655
|
+
message.orgId = reader.int32();
|
|
81656
|
+
break;
|
|
81657
|
+
default:
|
|
81658
|
+
reader.skipType(tag & 7);
|
|
81659
|
+
break;
|
|
81660
|
+
}
|
|
81661
|
+
}
|
|
81662
|
+
return message;
|
|
81663
|
+
};
|
|
81664
|
+
|
|
81665
|
+
/**
|
|
81666
|
+
* Decodes a FamilyMemberActivated message from the specified reader or buffer, length delimited.
|
|
81667
|
+
* @function decodeDelimited
|
|
81668
|
+
* @memberof FamilyMemberActivated
|
|
81669
|
+
* @static
|
|
81670
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
81671
|
+
* @returns {FamilyMemberActivated} FamilyMemberActivated
|
|
81672
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
81673
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
81674
|
+
*/
|
|
81675
|
+
FamilyMemberActivated.decodeDelimited = function decodeDelimited(reader) {
|
|
81676
|
+
if (!(reader instanceof $Reader))
|
|
81677
|
+
reader = new $Reader(reader);
|
|
81678
|
+
return this.decode(reader, reader.uint32());
|
|
81679
|
+
};
|
|
81680
|
+
|
|
81681
|
+
/**
|
|
81682
|
+
* Verifies a FamilyMemberActivated message.
|
|
81683
|
+
* @function verify
|
|
81684
|
+
* @memberof FamilyMemberActivated
|
|
81685
|
+
* @static
|
|
81686
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
81687
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
81688
|
+
*/
|
|
81689
|
+
FamilyMemberActivated.verify = function verify(message) {
|
|
81690
|
+
if (typeof message !== "object" || message === null)
|
|
81691
|
+
return "object expected";
|
|
81692
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
81693
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
81694
|
+
return "timestamp: integer|Long expected";
|
|
81695
|
+
if (message.userGroupEntryId != null && message.hasOwnProperty("userGroupEntryId"))
|
|
81696
|
+
if (!$util.isInteger(message.userGroupEntryId))
|
|
81697
|
+
return "userGroupEntryId: integer expected";
|
|
81698
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
81699
|
+
if (!$util.isString(message.userId))
|
|
81700
|
+
return "userId: string expected";
|
|
81701
|
+
if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
|
|
81702
|
+
if (!$util.isInteger(message.userGroupId))
|
|
81703
|
+
return "userGroupId: integer expected";
|
|
81704
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
81705
|
+
if (!$util.isString(message.email))
|
|
81706
|
+
return "email: string expected";
|
|
81707
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
81708
|
+
if (!$util.isString(message.token))
|
|
81709
|
+
return "token: string expected";
|
|
81710
|
+
if (message.role != null && message.hasOwnProperty("role"))
|
|
81711
|
+
switch (message.role) {
|
|
81712
|
+
default:
|
|
81713
|
+
return "role: enum value expected";
|
|
81714
|
+
case 0:
|
|
81715
|
+
case 1:
|
|
81716
|
+
case 2:
|
|
81717
|
+
break;
|
|
81718
|
+
}
|
|
81719
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
81720
|
+
if (!$util.isInteger(message.orgId))
|
|
81721
|
+
return "orgId: integer expected";
|
|
81722
|
+
return null;
|
|
81723
|
+
};
|
|
81724
|
+
|
|
81725
|
+
/**
|
|
81726
|
+
* Creates a FamilyMemberActivated message from a plain object. Also converts values to their respective internal types.
|
|
81727
|
+
* @function fromObject
|
|
81728
|
+
* @memberof FamilyMemberActivated
|
|
81729
|
+
* @static
|
|
81730
|
+
* @param {Object.<string,*>} object Plain object
|
|
81731
|
+
* @returns {FamilyMemberActivated} FamilyMemberActivated
|
|
81732
|
+
*/
|
|
81733
|
+
FamilyMemberActivated.fromObject = function fromObject(object) {
|
|
81734
|
+
if (object instanceof $root.FamilyMemberActivated)
|
|
81735
|
+
return object;
|
|
81736
|
+
var message = new $root.FamilyMemberActivated();
|
|
81737
|
+
if (object.timestamp != null)
|
|
81738
|
+
if ($util.Long)
|
|
81739
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
81740
|
+
else if (typeof object.timestamp === "string")
|
|
81741
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
81742
|
+
else if (typeof object.timestamp === "number")
|
|
81743
|
+
message.timestamp = object.timestamp;
|
|
81744
|
+
else if (typeof object.timestamp === "object")
|
|
81745
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
81746
|
+
if (object.userGroupEntryId != null)
|
|
81747
|
+
message.userGroupEntryId = object.userGroupEntryId >>> 0;
|
|
81748
|
+
if (object.userId != null)
|
|
81749
|
+
message.userId = String(object.userId);
|
|
81750
|
+
if (object.userGroupId != null)
|
|
81751
|
+
message.userGroupId = object.userGroupId >>> 0;
|
|
81752
|
+
if (object.email != null)
|
|
81753
|
+
message.email = String(object.email);
|
|
81754
|
+
if (object.token != null)
|
|
81755
|
+
message.token = String(object.token);
|
|
81756
|
+
switch (object.role) {
|
|
81757
|
+
case "FAMILYPLAN_UNKNOWN":
|
|
81758
|
+
case 0:
|
|
81759
|
+
message.role = 0;
|
|
81760
|
+
break;
|
|
81761
|
+
case "FAMILYPLAN_OWNER":
|
|
81762
|
+
case 1:
|
|
81763
|
+
message.role = 1;
|
|
81764
|
+
break;
|
|
81765
|
+
case "FAMILYPLAN_MEMBER":
|
|
81766
|
+
case 2:
|
|
81767
|
+
message.role = 2;
|
|
81768
|
+
break;
|
|
81769
|
+
}
|
|
81770
|
+
if (object.orgId != null)
|
|
81771
|
+
message.orgId = object.orgId | 0;
|
|
81772
|
+
return message;
|
|
81773
|
+
};
|
|
81774
|
+
|
|
81775
|
+
/**
|
|
81776
|
+
* Creates a plain object from a FamilyMemberActivated message. Also converts values to other types if specified.
|
|
81777
|
+
* @function toObject
|
|
81778
|
+
* @memberof FamilyMemberActivated
|
|
81779
|
+
* @static
|
|
81780
|
+
* @param {FamilyMemberActivated} message FamilyMemberActivated
|
|
81781
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
81782
|
+
* @returns {Object.<string,*>} Plain object
|
|
81783
|
+
*/
|
|
81784
|
+
FamilyMemberActivated.toObject = function toObject(message, options) {
|
|
81785
|
+
if (!options)
|
|
81786
|
+
options = {};
|
|
81787
|
+
var object = {};
|
|
81788
|
+
if (options.defaults) {
|
|
81789
|
+
if ($util.Long) {
|
|
81790
|
+
var long = new $util.Long(0, 0, true);
|
|
81791
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
81792
|
+
} else
|
|
81793
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
81794
|
+
object.userGroupEntryId = 0;
|
|
81795
|
+
object.userId = "";
|
|
81796
|
+
object.userGroupId = 0;
|
|
81797
|
+
object.email = "";
|
|
81798
|
+
object.token = "";
|
|
81799
|
+
object.role = options.enums === String ? "FAMILYPLAN_UNKNOWN" : 0;
|
|
81800
|
+
object.orgId = 0;
|
|
81801
|
+
}
|
|
81802
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
81803
|
+
if (typeof message.timestamp === "number")
|
|
81804
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
81805
|
+
else
|
|
81806
|
+
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;
|
|
81807
|
+
if (message.userGroupEntryId != null && message.hasOwnProperty("userGroupEntryId"))
|
|
81808
|
+
object.userGroupEntryId = message.userGroupEntryId;
|
|
81809
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
81810
|
+
object.userId = message.userId;
|
|
81811
|
+
if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
|
|
81812
|
+
object.userGroupId = message.userGroupId;
|
|
81813
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
81814
|
+
object.email = message.email;
|
|
81815
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
81816
|
+
object.token = message.token;
|
|
81817
|
+
if (message.role != null && message.hasOwnProperty("role"))
|
|
81818
|
+
object.role = options.enums === String ? $root.community.FamilyPlanRole[message.role] : message.role;
|
|
81819
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
81820
|
+
object.orgId = message.orgId;
|
|
81821
|
+
return object;
|
|
81822
|
+
};
|
|
81823
|
+
|
|
81824
|
+
/**
|
|
81825
|
+
* Converts this FamilyMemberActivated to JSON.
|
|
81826
|
+
* @function toJSON
|
|
81827
|
+
* @memberof FamilyMemberActivated
|
|
81828
|
+
* @instance
|
|
81829
|
+
* @returns {Object.<string,*>} JSON object
|
|
81830
|
+
*/
|
|
81831
|
+
FamilyMemberActivated.prototype.toJSON = function toJSON() {
|
|
81832
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
81833
|
+
};
|
|
81834
|
+
|
|
81835
|
+
return FamilyMemberActivated;
|
|
81836
|
+
})();
|
|
81837
|
+
|
|
81536
81838
|
$root.FamilyMemberRejected = (function() {
|
|
81537
81839
|
|
|
81538
81840
|
/**
|
package/package.json
CHANGED