@headspace/protos-events 1.470.1-rc.6 → 1.471.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 +7 -25
- package/lib/index.js +73 -125
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -29994,7 +29994,7 @@ export interface IEligibleUserAdded {
|
|
|
29994
29994
|
b2bMemberStatus?: (b2b.MemberStatus|null);
|
|
29995
29995
|
|
|
29996
29996
|
/** EligibleUserAdded b2bOrgId */
|
|
29997
|
-
b2bOrgId?: (number|null);
|
|
29997
|
+
b2bOrgId?: (number|Long|null);
|
|
29998
29998
|
|
|
29999
29999
|
/** EligibleUserAdded b2bOrgName */
|
|
30000
30000
|
b2bOrgName?: (string|null);
|
|
@@ -30019,9 +30019,6 @@ export interface IEligibleUserAdded {
|
|
|
30019
30019
|
|
|
30020
30020
|
/** EligibleUserAdded timestamp */
|
|
30021
30021
|
timestamp?: (number|Long|null);
|
|
30022
|
-
|
|
30023
|
-
/** EligibleUserAdded b2bCampaignLaunchDate */
|
|
30024
|
-
b2bCampaignLaunchDate?: (number|Long|null);
|
|
30025
30022
|
}
|
|
30026
30023
|
|
|
30027
30024
|
/** Represents an EligibleUserAdded. */
|
|
@@ -30046,7 +30043,7 @@ export class EligibleUserAdded implements IEligibleUserAdded {
|
|
|
30046
30043
|
public b2bMemberStatus: b2b.MemberStatus;
|
|
30047
30044
|
|
|
30048
30045
|
/** EligibleUserAdded b2bOrgId. */
|
|
30049
|
-
public b2bOrgId: number;
|
|
30046
|
+
public b2bOrgId: (number|Long);
|
|
30050
30047
|
|
|
30051
30048
|
/** EligibleUserAdded b2bOrgName. */
|
|
30052
30049
|
public b2bOrgName: string;
|
|
@@ -30072,9 +30069,6 @@ export class EligibleUserAdded implements IEligibleUserAdded {
|
|
|
30072
30069
|
/** EligibleUserAdded timestamp. */
|
|
30073
30070
|
public timestamp: (number|Long);
|
|
30074
30071
|
|
|
30075
|
-
/** EligibleUserAdded b2bCampaignLaunchDate. */
|
|
30076
|
-
public b2bCampaignLaunchDate: (number|Long);
|
|
30077
|
-
|
|
30078
30072
|
/**
|
|
30079
30073
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
30080
30074
|
* @param [properties] Properties to set
|
|
@@ -30153,7 +30147,7 @@ export interface IEligibleUserRemoved {
|
|
|
30153
30147
|
workEmail?: (string|null);
|
|
30154
30148
|
|
|
30155
30149
|
/** EligibleUserRemoved b2bOrgId */
|
|
30156
|
-
b2bOrgId?: (number|null);
|
|
30150
|
+
b2bOrgId?: (number|Long|null);
|
|
30157
30151
|
|
|
30158
30152
|
/** EligibleUserRemoved timestamp */
|
|
30159
30153
|
timestamp?: (number|Long|null);
|
|
@@ -30172,7 +30166,7 @@ export class EligibleUserRemoved implements IEligibleUserRemoved {
|
|
|
30172
30166
|
public workEmail: string;
|
|
30173
30167
|
|
|
30174
30168
|
/** EligibleUserRemoved b2bOrgId. */
|
|
30175
|
-
public b2bOrgId: number;
|
|
30169
|
+
public b2bOrgId: (number|Long);
|
|
30176
30170
|
|
|
30177
30171
|
/** EligibleUserRemoved timestamp. */
|
|
30178
30172
|
public timestamp: (number|Long);
|
|
@@ -30264,7 +30258,7 @@ export interface IEligibleUserAmended {
|
|
|
30264
30258
|
b2bMemberStatus?: (b2b.MemberStatus|null);
|
|
30265
30259
|
|
|
30266
30260
|
/** EligibleUserAmended b2bOrgId */
|
|
30267
|
-
b2bOrgId?: (number|null);
|
|
30261
|
+
b2bOrgId?: (number|Long|null);
|
|
30268
30262
|
|
|
30269
30263
|
/** EligibleUserAmended b2bOrgName */
|
|
30270
30264
|
b2bOrgName?: (string|null);
|
|
@@ -30289,9 +30283,6 @@ export interface IEligibleUserAmended {
|
|
|
30289
30283
|
|
|
30290
30284
|
/** EligibleUserAmended timestamp */
|
|
30291
30285
|
timestamp?: (number|Long|null);
|
|
30292
|
-
|
|
30293
|
-
/** EligibleUserAmended b2bCampaignLaunchDate */
|
|
30294
|
-
b2bCampaignLaunchDate?: (number|Long|null);
|
|
30295
30286
|
}
|
|
30296
30287
|
|
|
30297
30288
|
/** Represents an EligibleUserAmended. */
|
|
@@ -30316,7 +30307,7 @@ export class EligibleUserAmended implements IEligibleUserAmended {
|
|
|
30316
30307
|
public b2bMemberStatus: b2b.MemberStatus;
|
|
30317
30308
|
|
|
30318
30309
|
/** EligibleUserAmended b2bOrgId. */
|
|
30319
|
-
public b2bOrgId: number;
|
|
30310
|
+
public b2bOrgId: (number|Long);
|
|
30320
30311
|
|
|
30321
30312
|
/** EligibleUserAmended b2bOrgName. */
|
|
30322
30313
|
public b2bOrgName: string;
|
|
@@ -30342,9 +30333,6 @@ export class EligibleUserAmended implements IEligibleUserAmended {
|
|
|
30342
30333
|
/** EligibleUserAmended timestamp. */
|
|
30343
30334
|
public timestamp: (number|Long);
|
|
30344
30335
|
|
|
30345
|
-
/** EligibleUserAmended b2bCampaignLaunchDate. */
|
|
30346
|
-
public b2bCampaignLaunchDate: (number|Long);
|
|
30347
|
-
|
|
30348
30336
|
/**
|
|
30349
30337
|
* Creates a new EligibleUserAmended instance using the specified properties.
|
|
30350
30338
|
* @param [properties] Properties to set
|
|
@@ -32918,9 +32906,6 @@ export interface IFamilyMemberSynced {
|
|
|
32918
32906
|
/** FamilyMemberSynced userId */
|
|
32919
32907
|
userId?: (string|null);
|
|
32920
32908
|
|
|
32921
|
-
/** FamilyMemberSynced ownerUserId */
|
|
32922
|
-
ownerUserId?: (string|null);
|
|
32923
|
-
|
|
32924
32909
|
/** FamilyMemberSynced userGroupId */
|
|
32925
32910
|
userGroupId?: (number|null);
|
|
32926
32911
|
|
|
@@ -32931,7 +32916,7 @@ export interface IFamilyMemberSynced {
|
|
|
32931
32916
|
orgId?: (number|null);
|
|
32932
32917
|
}
|
|
32933
32918
|
|
|
32934
|
-
/** Event published
|
|
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 */
|
|
32935
32920
|
export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
32936
32921
|
|
|
32937
32922
|
/**
|
|
@@ -32949,9 +32934,6 @@ export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
|
32949
32934
|
/** FamilyMemberSynced userId. */
|
|
32950
32935
|
public userId: string;
|
|
32951
32936
|
|
|
32952
|
-
/** FamilyMemberSynced ownerUserId. */
|
|
32953
|
-
public ownerUserId: string;
|
|
32954
|
-
|
|
32955
32937
|
/** FamilyMemberSynced userGroupId. */
|
|
32956
32938
|
public userGroupId: number;
|
|
32957
32939
|
|
package/lib/index.js
CHANGED
|
@@ -83163,7 +83163,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83163
83163
|
* @property {string|null} [firstName] EligibleUserAdded firstName
|
|
83164
83164
|
* @property {string|null} [lastName] EligibleUserAdded lastName
|
|
83165
83165
|
* @property {b2b.MemberStatus|null} [b2bMemberStatus] EligibleUserAdded b2bMemberStatus
|
|
83166
|
-
* @property {number|null} [b2bOrgId] EligibleUserAdded b2bOrgId
|
|
83166
|
+
* @property {number|Long|null} [b2bOrgId] EligibleUserAdded b2bOrgId
|
|
83167
83167
|
* @property {string|null} [b2bOrgName] EligibleUserAdded b2bOrgName
|
|
83168
83168
|
* @property {string|null} [b2bOrgCampaignDisplayName] EligibleUserAdded b2bOrgCampaignDisplayName
|
|
83169
83169
|
* @property {b2b.OrgMemberPlan|null} [b2bPlan] EligibleUserAdded b2bPlan
|
|
@@ -83172,7 +83172,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83172
83172
|
* @property {string|null} [enrollmentUrl] EligibleUserAdded enrollmentUrl
|
|
83173
83173
|
* @property {string|null} [b2bCustomFields] EligibleUserAdded b2bCustomFields
|
|
83174
83174
|
* @property {number|Long|null} [timestamp] EligibleUserAdded timestamp
|
|
83175
|
-
* @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAdded b2bCampaignLaunchDate
|
|
83176
83175
|
*/
|
|
83177
83176
|
|
|
83178
83177
|
/**
|
|
@@ -83224,11 +83223,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83224
83223
|
|
|
83225
83224
|
/**
|
|
83226
83225
|
* EligibleUserAdded b2bOrgId.
|
|
83227
|
-
* @member {number} b2bOrgId
|
|
83226
|
+
* @member {number|Long} b2bOrgId
|
|
83228
83227
|
* @memberof EligibleUserAdded
|
|
83229
83228
|
* @instance
|
|
83230
83229
|
*/
|
|
83231
|
-
EligibleUserAdded.prototype.b2bOrgId = 0;
|
|
83230
|
+
EligibleUserAdded.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83232
83231
|
|
|
83233
83232
|
/**
|
|
83234
83233
|
* EligibleUserAdded b2bOrgName.
|
|
@@ -83294,14 +83293,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83294
83293
|
*/
|
|
83295
83294
|
EligibleUserAdded.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83296
83295
|
|
|
83297
|
-
/**
|
|
83298
|
-
* EligibleUserAdded b2bCampaignLaunchDate.
|
|
83299
|
-
* @member {number|Long} b2bCampaignLaunchDate
|
|
83300
|
-
* @memberof EligibleUserAdded
|
|
83301
|
-
* @instance
|
|
83302
|
-
*/
|
|
83303
|
-
EligibleUserAdded.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83304
|
-
|
|
83305
83296
|
/**
|
|
83306
83297
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
83307
83298
|
* @function create
|
|
@@ -83335,7 +83326,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83335
83326
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
83336
83327
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.b2bMemberStatus);
|
|
83337
83328
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83338
|
-
writer.uint32(/* id 5, wireType 0 =*/40).
|
|
83329
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.b2bOrgId);
|
|
83339
83330
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
83340
83331
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgName);
|
|
83341
83332
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -83352,8 +83343,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83352
83343
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
|
|
83353
83344
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83354
83345
|
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.timestamp);
|
|
83355
|
-
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
83356
|
-
writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.b2bCampaignLaunchDate);
|
|
83357
83346
|
return writer;
|
|
83358
83347
|
};
|
|
83359
83348
|
|
|
@@ -83401,7 +83390,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83401
83390
|
message.b2bMemberStatus = reader.int32();
|
|
83402
83391
|
break;
|
|
83403
83392
|
case 5:
|
|
83404
|
-
message.b2bOrgId = reader.
|
|
83393
|
+
message.b2bOrgId = reader.uint64();
|
|
83405
83394
|
break;
|
|
83406
83395
|
case 6:
|
|
83407
83396
|
message.b2bOrgName = reader.string();
|
|
@@ -83427,9 +83416,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83427
83416
|
case 13:
|
|
83428
83417
|
message.timestamp = reader.uint64();
|
|
83429
83418
|
break;
|
|
83430
|
-
case 14:
|
|
83431
|
-
message.b2bCampaignLaunchDate = reader.uint64();
|
|
83432
|
-
break;
|
|
83433
83419
|
default:
|
|
83434
83420
|
reader.skipType(tag & 7);
|
|
83435
83421
|
break;
|
|
@@ -83488,8 +83474,8 @@ $root.EligibleUserAdded = (function() {
|
|
|
83488
83474
|
break;
|
|
83489
83475
|
}
|
|
83490
83476
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83491
|
-
if (!$util.isInteger(message.b2bOrgId))
|
|
83492
|
-
return "b2bOrgId: integer expected";
|
|
83477
|
+
if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
|
|
83478
|
+
return "b2bOrgId: integer|Long expected";
|
|
83493
83479
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
83494
83480
|
if (!$util.isString(message.b2bOrgName))
|
|
83495
83481
|
return "b2bOrgName: string expected";
|
|
@@ -83527,9 +83513,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83527
83513
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83528
83514
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
83529
83515
|
return "timestamp: integer|Long expected";
|
|
83530
|
-
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
83531
|
-
if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
|
|
83532
|
-
return "b2bCampaignLaunchDate: integer|Long expected";
|
|
83533
83516
|
return null;
|
|
83534
83517
|
};
|
|
83535
83518
|
|
|
@@ -83582,7 +83565,14 @@ $root.EligibleUserAdded = (function() {
|
|
|
83582
83565
|
break;
|
|
83583
83566
|
}
|
|
83584
83567
|
if (object.b2bOrgId != null)
|
|
83585
|
-
|
|
83568
|
+
if ($util.Long)
|
|
83569
|
+
(message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
|
|
83570
|
+
else if (typeof object.b2bOrgId === "string")
|
|
83571
|
+
message.b2bOrgId = parseInt(object.b2bOrgId, 10);
|
|
83572
|
+
else if (typeof object.b2bOrgId === "number")
|
|
83573
|
+
message.b2bOrgId = object.b2bOrgId;
|
|
83574
|
+
else if (typeof object.b2bOrgId === "object")
|
|
83575
|
+
message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
|
|
83586
83576
|
if (object.b2bOrgName != null)
|
|
83587
83577
|
message.b2bOrgName = String(object.b2bOrgName);
|
|
83588
83578
|
if (object.b2bOrgCampaignDisplayName != null)
|
|
@@ -83634,15 +83624,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83634
83624
|
message.timestamp = object.timestamp;
|
|
83635
83625
|
else if (typeof object.timestamp === "object")
|
|
83636
83626
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
83637
|
-
if (object.b2bCampaignLaunchDate != null)
|
|
83638
|
-
if ($util.Long)
|
|
83639
|
-
(message.b2bCampaignLaunchDate = $util.Long.fromValue(object.b2bCampaignLaunchDate)).unsigned = true;
|
|
83640
|
-
else if (typeof object.b2bCampaignLaunchDate === "string")
|
|
83641
|
-
message.b2bCampaignLaunchDate = parseInt(object.b2bCampaignLaunchDate, 10);
|
|
83642
|
-
else if (typeof object.b2bCampaignLaunchDate === "number")
|
|
83643
|
-
message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
|
|
83644
|
-
else if (typeof object.b2bCampaignLaunchDate === "object")
|
|
83645
|
-
message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
|
|
83646
83627
|
return message;
|
|
83647
83628
|
};
|
|
83648
83629
|
|
|
@@ -83664,7 +83645,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83664
83645
|
object.firstName = "";
|
|
83665
83646
|
object.lastName = "";
|
|
83666
83647
|
object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
|
|
83667
|
-
|
|
83648
|
+
if ($util.Long) {
|
|
83649
|
+
var long = new $util.Long(0, 0, true);
|
|
83650
|
+
object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83651
|
+
} else
|
|
83652
|
+
object.b2bOrgId = options.longs === String ? "0" : 0;
|
|
83668
83653
|
object.b2bOrgName = "";
|
|
83669
83654
|
object.b2bOrgCampaignDisplayName = "";
|
|
83670
83655
|
object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
@@ -83677,11 +83662,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83677
83662
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83678
83663
|
} else
|
|
83679
83664
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
83680
|
-
if ($util.Long) {
|
|
83681
|
-
var long = new $util.Long(0, 0, true);
|
|
83682
|
-
object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83683
|
-
} else
|
|
83684
|
-
object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
|
|
83685
83665
|
}
|
|
83686
83666
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83687
83667
|
object.workEmail = message.workEmail;
|
|
@@ -83692,7 +83672,10 @@ $root.EligibleUserAdded = (function() {
|
|
|
83692
83672
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
83693
83673
|
object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
|
|
83694
83674
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83695
|
-
|
|
83675
|
+
if (typeof message.b2bOrgId === "number")
|
|
83676
|
+
object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
|
|
83677
|
+
else
|
|
83678
|
+
object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
|
|
83696
83679
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
83697
83680
|
object.b2bOrgName = message.b2bOrgName;
|
|
83698
83681
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -83712,11 +83695,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83712
83695
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
83713
83696
|
else
|
|
83714
83697
|
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;
|
|
83715
|
-
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
83716
|
-
if (typeof message.b2bCampaignLaunchDate === "number")
|
|
83717
|
-
object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
|
|
83718
|
-
else
|
|
83719
|
-
object.b2bCampaignLaunchDate = options.longs === String ? $util.Long.prototype.toString.call(message.b2bCampaignLaunchDate) : options.longs === Number ? new $util.LongBits(message.b2bCampaignLaunchDate.low >>> 0, message.b2bCampaignLaunchDate.high >>> 0).toNumber(true) : message.b2bCampaignLaunchDate;
|
|
83720
83698
|
return object;
|
|
83721
83699
|
};
|
|
83722
83700
|
|
|
@@ -83741,7 +83719,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83741
83719
|
* @name IEligibleUserRemoved
|
|
83742
83720
|
* @interface IEligibleUserRemoved
|
|
83743
83721
|
* @property {string|null} [workEmail] EligibleUserRemoved workEmail
|
|
83744
|
-
* @property {number|null} [b2bOrgId] EligibleUserRemoved b2bOrgId
|
|
83722
|
+
* @property {number|Long|null} [b2bOrgId] EligibleUserRemoved b2bOrgId
|
|
83745
83723
|
* @property {number|Long|null} [timestamp] EligibleUserRemoved timestamp
|
|
83746
83724
|
*/
|
|
83747
83725
|
|
|
@@ -83770,11 +83748,11 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83770
83748
|
|
|
83771
83749
|
/**
|
|
83772
83750
|
* EligibleUserRemoved b2bOrgId.
|
|
83773
|
-
* @member {number} b2bOrgId
|
|
83751
|
+
* @member {number|Long} b2bOrgId
|
|
83774
83752
|
* @memberof EligibleUserRemoved
|
|
83775
83753
|
* @instance
|
|
83776
83754
|
*/
|
|
83777
|
-
EligibleUserRemoved.prototype.b2bOrgId = 0;
|
|
83755
|
+
EligibleUserRemoved.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83778
83756
|
|
|
83779
83757
|
/**
|
|
83780
83758
|
* EligibleUserRemoved timestamp.
|
|
@@ -83811,7 +83789,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83811
83789
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83812
83790
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.workEmail);
|
|
83813
83791
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83814
|
-
writer.uint32(/* id 2, wireType 0 =*/16).
|
|
83792
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.b2bOrgId);
|
|
83815
83793
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83816
83794
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
83817
83795
|
return writer;
|
|
@@ -83852,7 +83830,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83852
83830
|
message.workEmail = reader.string();
|
|
83853
83831
|
break;
|
|
83854
83832
|
case 2:
|
|
83855
|
-
message.b2bOrgId = reader.
|
|
83833
|
+
message.b2bOrgId = reader.uint64();
|
|
83856
83834
|
break;
|
|
83857
83835
|
case 3:
|
|
83858
83836
|
message.timestamp = reader.uint64();
|
|
@@ -83896,8 +83874,8 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83896
83874
|
if (!$util.isString(message.workEmail))
|
|
83897
83875
|
return "workEmail: string expected";
|
|
83898
83876
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83899
|
-
if (!$util.isInteger(message.b2bOrgId))
|
|
83900
|
-
return "b2bOrgId: integer expected";
|
|
83877
|
+
if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
|
|
83878
|
+
return "b2bOrgId: integer|Long expected";
|
|
83901
83879
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83902
83880
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
83903
83881
|
return "timestamp: integer|Long expected";
|
|
@@ -83919,7 +83897,14 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83919
83897
|
if (object.workEmail != null)
|
|
83920
83898
|
message.workEmail = String(object.workEmail);
|
|
83921
83899
|
if (object.b2bOrgId != null)
|
|
83922
|
-
|
|
83900
|
+
if ($util.Long)
|
|
83901
|
+
(message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
|
|
83902
|
+
else if (typeof object.b2bOrgId === "string")
|
|
83903
|
+
message.b2bOrgId = parseInt(object.b2bOrgId, 10);
|
|
83904
|
+
else if (typeof object.b2bOrgId === "number")
|
|
83905
|
+
message.b2bOrgId = object.b2bOrgId;
|
|
83906
|
+
else if (typeof object.b2bOrgId === "object")
|
|
83907
|
+
message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
|
|
83923
83908
|
if (object.timestamp != null)
|
|
83924
83909
|
if ($util.Long)
|
|
83925
83910
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -83947,7 +83932,11 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83947
83932
|
var object = {};
|
|
83948
83933
|
if (options.defaults) {
|
|
83949
83934
|
object.workEmail = "";
|
|
83950
|
-
|
|
83935
|
+
if ($util.Long) {
|
|
83936
|
+
var long = new $util.Long(0, 0, true);
|
|
83937
|
+
object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83938
|
+
} else
|
|
83939
|
+
object.b2bOrgId = options.longs === String ? "0" : 0;
|
|
83951
83940
|
if ($util.Long) {
|
|
83952
83941
|
var long = new $util.Long(0, 0, true);
|
|
83953
83942
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -83957,7 +83946,10 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83957
83946
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83958
83947
|
object.workEmail = message.workEmail;
|
|
83959
83948
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83960
|
-
|
|
83949
|
+
if (typeof message.b2bOrgId === "number")
|
|
83950
|
+
object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
|
|
83951
|
+
else
|
|
83952
|
+
object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
|
|
83961
83953
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83962
83954
|
if (typeof message.timestamp === "number")
|
|
83963
83955
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
@@ -83990,7 +83982,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
83990
83982
|
* @property {string|null} [firstName] EligibleUserAmended firstName
|
|
83991
83983
|
* @property {string|null} [lastName] EligibleUserAmended lastName
|
|
83992
83984
|
* @property {b2b.MemberStatus|null} [b2bMemberStatus] EligibleUserAmended b2bMemberStatus
|
|
83993
|
-
* @property {number|null} [b2bOrgId] EligibleUserAmended b2bOrgId
|
|
83985
|
+
* @property {number|Long|null} [b2bOrgId] EligibleUserAmended b2bOrgId
|
|
83994
83986
|
* @property {string|null} [b2bOrgName] EligibleUserAmended b2bOrgName
|
|
83995
83987
|
* @property {string|null} [b2bOrgCampaignDisplayName] EligibleUserAmended b2bOrgCampaignDisplayName
|
|
83996
83988
|
* @property {b2b.OrgMemberPlan|null} [b2bPlan] EligibleUserAmended b2bPlan
|
|
@@ -83999,7 +83991,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
83999
83991
|
* @property {string|null} [enrollmentUrl] EligibleUserAmended enrollmentUrl
|
|
84000
83992
|
* @property {string|null} [b2bCustomFields] EligibleUserAmended b2bCustomFields
|
|
84001
83993
|
* @property {number|Long|null} [timestamp] EligibleUserAmended timestamp
|
|
84002
|
-
* @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAmended b2bCampaignLaunchDate
|
|
84003
83994
|
*/
|
|
84004
83995
|
|
|
84005
83996
|
/**
|
|
@@ -84051,11 +84042,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84051
84042
|
|
|
84052
84043
|
/**
|
|
84053
84044
|
* EligibleUserAmended b2bOrgId.
|
|
84054
|
-
* @member {number} b2bOrgId
|
|
84045
|
+
* @member {number|Long} b2bOrgId
|
|
84055
84046
|
* @memberof EligibleUserAmended
|
|
84056
84047
|
* @instance
|
|
84057
84048
|
*/
|
|
84058
|
-
EligibleUserAmended.prototype.b2bOrgId = 0;
|
|
84049
|
+
EligibleUserAmended.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84059
84050
|
|
|
84060
84051
|
/**
|
|
84061
84052
|
* EligibleUserAmended b2bOrgName.
|
|
@@ -84121,14 +84112,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84121
84112
|
*/
|
|
84122
84113
|
EligibleUserAmended.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84123
84114
|
|
|
84124
|
-
/**
|
|
84125
|
-
* EligibleUserAmended b2bCampaignLaunchDate.
|
|
84126
|
-
* @member {number|Long} b2bCampaignLaunchDate
|
|
84127
|
-
* @memberof EligibleUserAmended
|
|
84128
|
-
* @instance
|
|
84129
|
-
*/
|
|
84130
|
-
EligibleUserAmended.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84131
|
-
|
|
84132
84115
|
/**
|
|
84133
84116
|
* Creates a new EligibleUserAmended instance using the specified properties.
|
|
84134
84117
|
* @function create
|
|
@@ -84162,7 +84145,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84162
84145
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
84163
84146
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.b2bMemberStatus);
|
|
84164
84147
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84165
|
-
writer.uint32(/* id 5, wireType 0 =*/40).
|
|
84148
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.b2bOrgId);
|
|
84166
84149
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84167
84150
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgName);
|
|
84168
84151
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -84179,8 +84162,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84179
84162
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
|
|
84180
84163
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84181
84164
|
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.timestamp);
|
|
84182
|
-
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84183
|
-
writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.b2bCampaignLaunchDate);
|
|
84184
84165
|
return writer;
|
|
84185
84166
|
};
|
|
84186
84167
|
|
|
@@ -84228,7 +84209,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84228
84209
|
message.b2bMemberStatus = reader.int32();
|
|
84229
84210
|
break;
|
|
84230
84211
|
case 5:
|
|
84231
|
-
message.b2bOrgId = reader.
|
|
84212
|
+
message.b2bOrgId = reader.uint64();
|
|
84232
84213
|
break;
|
|
84233
84214
|
case 6:
|
|
84234
84215
|
message.b2bOrgName = reader.string();
|
|
@@ -84254,9 +84235,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84254
84235
|
case 13:
|
|
84255
84236
|
message.timestamp = reader.uint64();
|
|
84256
84237
|
break;
|
|
84257
|
-
case 14:
|
|
84258
|
-
message.b2bCampaignLaunchDate = reader.uint64();
|
|
84259
|
-
break;
|
|
84260
84238
|
default:
|
|
84261
84239
|
reader.skipType(tag & 7);
|
|
84262
84240
|
break;
|
|
@@ -84315,8 +84293,8 @@ $root.EligibleUserAmended = (function() {
|
|
|
84315
84293
|
break;
|
|
84316
84294
|
}
|
|
84317
84295
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84318
|
-
if (!$util.isInteger(message.b2bOrgId))
|
|
84319
|
-
return "b2bOrgId: integer expected";
|
|
84296
|
+
if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
|
|
84297
|
+
return "b2bOrgId: integer|Long expected";
|
|
84320
84298
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84321
84299
|
if (!$util.isString(message.b2bOrgName))
|
|
84322
84300
|
return "b2bOrgName: string expected";
|
|
@@ -84354,9 +84332,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84354
84332
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84355
84333
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
84356
84334
|
return "timestamp: integer|Long expected";
|
|
84357
|
-
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84358
|
-
if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
|
|
84359
|
-
return "b2bCampaignLaunchDate: integer|Long expected";
|
|
84360
84335
|
return null;
|
|
84361
84336
|
};
|
|
84362
84337
|
|
|
@@ -84409,7 +84384,14 @@ $root.EligibleUserAmended = (function() {
|
|
|
84409
84384
|
break;
|
|
84410
84385
|
}
|
|
84411
84386
|
if (object.b2bOrgId != null)
|
|
84412
|
-
|
|
84387
|
+
if ($util.Long)
|
|
84388
|
+
(message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
|
|
84389
|
+
else if (typeof object.b2bOrgId === "string")
|
|
84390
|
+
message.b2bOrgId = parseInt(object.b2bOrgId, 10);
|
|
84391
|
+
else if (typeof object.b2bOrgId === "number")
|
|
84392
|
+
message.b2bOrgId = object.b2bOrgId;
|
|
84393
|
+
else if (typeof object.b2bOrgId === "object")
|
|
84394
|
+
message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
|
|
84413
84395
|
if (object.b2bOrgName != null)
|
|
84414
84396
|
message.b2bOrgName = String(object.b2bOrgName);
|
|
84415
84397
|
if (object.b2bOrgCampaignDisplayName != null)
|
|
@@ -84461,15 +84443,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84461
84443
|
message.timestamp = object.timestamp;
|
|
84462
84444
|
else if (typeof object.timestamp === "object")
|
|
84463
84445
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
84464
|
-
if (object.b2bCampaignLaunchDate != null)
|
|
84465
|
-
if ($util.Long)
|
|
84466
|
-
(message.b2bCampaignLaunchDate = $util.Long.fromValue(object.b2bCampaignLaunchDate)).unsigned = true;
|
|
84467
|
-
else if (typeof object.b2bCampaignLaunchDate === "string")
|
|
84468
|
-
message.b2bCampaignLaunchDate = parseInt(object.b2bCampaignLaunchDate, 10);
|
|
84469
|
-
else if (typeof object.b2bCampaignLaunchDate === "number")
|
|
84470
|
-
message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
|
|
84471
|
-
else if (typeof object.b2bCampaignLaunchDate === "object")
|
|
84472
|
-
message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
|
|
84473
84446
|
return message;
|
|
84474
84447
|
};
|
|
84475
84448
|
|
|
@@ -84491,7 +84464,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84491
84464
|
object.firstName = "";
|
|
84492
84465
|
object.lastName = "";
|
|
84493
84466
|
object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
|
|
84494
|
-
|
|
84467
|
+
if ($util.Long) {
|
|
84468
|
+
var long = new $util.Long(0, 0, true);
|
|
84469
|
+
object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84470
|
+
} else
|
|
84471
|
+
object.b2bOrgId = options.longs === String ? "0" : 0;
|
|
84495
84472
|
object.b2bOrgName = "";
|
|
84496
84473
|
object.b2bOrgCampaignDisplayName = "";
|
|
84497
84474
|
object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
@@ -84504,11 +84481,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84504
84481
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84505
84482
|
} else
|
|
84506
84483
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
84507
|
-
if ($util.Long) {
|
|
84508
|
-
var long = new $util.Long(0, 0, true);
|
|
84509
|
-
object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84510
|
-
} else
|
|
84511
|
-
object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
|
|
84512
84484
|
}
|
|
84513
84485
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
84514
84486
|
object.workEmail = message.workEmail;
|
|
@@ -84519,7 +84491,10 @@ $root.EligibleUserAmended = (function() {
|
|
|
84519
84491
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
84520
84492
|
object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
|
|
84521
84493
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84522
|
-
|
|
84494
|
+
if (typeof message.b2bOrgId === "number")
|
|
84495
|
+
object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
|
|
84496
|
+
else
|
|
84497
|
+
object.b2bOrgId = options.longs === String ? $util.Long.prototype.toString.call(message.b2bOrgId) : options.longs === Number ? new $util.LongBits(message.b2bOrgId.low >>> 0, message.b2bOrgId.high >>> 0).toNumber(true) : message.b2bOrgId;
|
|
84523
84498
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84524
84499
|
object.b2bOrgName = message.b2bOrgName;
|
|
84525
84500
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -84539,11 +84514,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84539
84514
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
84540
84515
|
else
|
|
84541
84516
|
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;
|
|
84542
|
-
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84543
|
-
if (typeof message.b2bCampaignLaunchDate === "number")
|
|
84544
|
-
object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
|
|
84545
|
-
else
|
|
84546
|
-
object.b2bCampaignLaunchDate = options.longs === String ? $util.Long.prototype.toString.call(message.b2bCampaignLaunchDate) : options.longs === Number ? new $util.LongBits(message.b2bCampaignLaunchDate.low >>> 0, message.b2bCampaignLaunchDate.high >>> 0).toNumber(true) : message.b2bCampaignLaunchDate;
|
|
84547
84517
|
return object;
|
|
84548
84518
|
};
|
|
84549
84519
|
|
|
@@ -91447,7 +91417,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91447
91417
|
* @property {number|Long|null} [timestamp] FamilyMemberSynced timestamp
|
|
91448
91418
|
* @property {number|null} [userGroupEntryId] FamilyMemberSynced userGroupEntryId
|
|
91449
91419
|
* @property {string|null} [userId] FamilyMemberSynced userId
|
|
91450
|
-
* @property {string|null} [ownerUserId] FamilyMemberSynced ownerUserId
|
|
91451
91420
|
* @property {number|null} [userGroupId] FamilyMemberSynced userGroupId
|
|
91452
91421
|
* @property {community.FamilyPlanRole|null} [role] FamilyMemberSynced role
|
|
91453
91422
|
* @property {number|null} [orgId] FamilyMemberSynced orgId
|
|
@@ -91456,7 +91425,7 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91456
91425
|
/**
|
|
91457
91426
|
* Constructs a new FamilyMemberSynced.
|
|
91458
91427
|
* @name FamilyMemberSynced
|
|
91459
|
-
* @classdesc Event published
|
|
91428
|
+
* @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
|
|
91460
91429
|
* @implements IFamilyMemberSynced
|
|
91461
91430
|
* @constructor
|
|
91462
91431
|
* @param {IFamilyMemberSynced=} [properties] Properties to set
|
|
@@ -91492,14 +91461,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91492
91461
|
*/
|
|
91493
91462
|
FamilyMemberSynced.prototype.userId = "";
|
|
91494
91463
|
|
|
91495
|
-
/**
|
|
91496
|
-
* FamilyMemberSynced ownerUserId.
|
|
91497
|
-
* @member {string} ownerUserId
|
|
91498
|
-
* @memberof FamilyMemberSynced
|
|
91499
|
-
* @instance
|
|
91500
|
-
*/
|
|
91501
|
-
FamilyMemberSynced.prototype.ownerUserId = "";
|
|
91502
|
-
|
|
91503
91464
|
/**
|
|
91504
91465
|
* FamilyMemberSynced userGroupId.
|
|
91505
91466
|
* @member {number} userGroupId
|
|
@@ -91560,8 +91521,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91560
91521
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.role);
|
|
91561
91522
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91562
91523
|
writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.orgId);
|
|
91563
|
-
if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
|
|
91564
|
-
writer.uint32(/* id 7, wireType 2 =*/58).string(message.ownerUserId);
|
|
91565
91524
|
return writer;
|
|
91566
91525
|
};
|
|
91567
91526
|
|
|
@@ -91605,9 +91564,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91605
91564
|
case 3:
|
|
91606
91565
|
message.userId = reader.string();
|
|
91607
91566
|
break;
|
|
91608
|
-
case 7:
|
|
91609
|
-
message.ownerUserId = reader.string();
|
|
91610
|
-
break;
|
|
91611
91567
|
case 4:
|
|
91612
91568
|
message.userGroupId = reader.uint32();
|
|
91613
91569
|
break;
|
|
@@ -91661,9 +91617,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91661
91617
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
91662
91618
|
if (!$util.isString(message.userId))
|
|
91663
91619
|
return "userId: string expected";
|
|
91664
|
-
if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
|
|
91665
|
-
if (!$util.isString(message.ownerUserId))
|
|
91666
|
-
return "ownerUserId: string expected";
|
|
91667
91620
|
if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
|
|
91668
91621
|
if (!$util.isInteger(message.userGroupId))
|
|
91669
91622
|
return "userGroupId: integer expected";
|
|
@@ -91707,8 +91660,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91707
91660
|
message.userGroupEntryId = object.userGroupEntryId >>> 0;
|
|
91708
91661
|
if (object.userId != null)
|
|
91709
91662
|
message.userId = String(object.userId);
|
|
91710
|
-
if (object.ownerUserId != null)
|
|
91711
|
-
message.ownerUserId = String(object.ownerUserId);
|
|
91712
91663
|
if (object.userGroupId != null)
|
|
91713
91664
|
message.userGroupId = object.userGroupId >>> 0;
|
|
91714
91665
|
switch (object.role) {
|
|
@@ -91754,7 +91705,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91754
91705
|
object.userGroupId = 0;
|
|
91755
91706
|
object.role = options.enums === String ? "FAMILYPLAN_UNKNOWN" : 0;
|
|
91756
91707
|
object.orgId = 0;
|
|
91757
|
-
object.ownerUserId = "";
|
|
91758
91708
|
}
|
|
91759
91709
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
91760
91710
|
if (typeof message.timestamp === "number")
|
|
@@ -91771,8 +91721,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91771
91721
|
object.role = options.enums === String ? $root.community.FamilyPlanRole[message.role] : message.role;
|
|
91772
91722
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91773
91723
|
object.orgId = message.orgId;
|
|
91774
|
-
if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
|
|
91775
|
-
object.ownerUserId = message.ownerUserId;
|
|
91776
91724
|
return object;
|
|
91777
91725
|
};
|
|
91778
91726
|
|
package/package.json
CHANGED