@headspace/protos-events 1.470.1-rc.6 → 1.472.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 -13
- package/lib/index.js +73 -53
- 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);
|
|
@@ -30046,7 +30046,7 @@ export class EligibleUserAdded implements IEligibleUserAdded {
|
|
|
30046
30046
|
public b2bMemberStatus: b2b.MemberStatus;
|
|
30047
30047
|
|
|
30048
30048
|
/** EligibleUserAdded b2bOrgId. */
|
|
30049
|
-
public b2bOrgId: number;
|
|
30049
|
+
public b2bOrgId: (number|Long);
|
|
30050
30050
|
|
|
30051
30051
|
/** EligibleUserAdded b2bOrgName. */
|
|
30052
30052
|
public b2bOrgName: string;
|
|
@@ -30153,7 +30153,7 @@ export interface IEligibleUserRemoved {
|
|
|
30153
30153
|
workEmail?: (string|null);
|
|
30154
30154
|
|
|
30155
30155
|
/** EligibleUserRemoved b2bOrgId */
|
|
30156
|
-
b2bOrgId?: (number|null);
|
|
30156
|
+
b2bOrgId?: (number|Long|null);
|
|
30157
30157
|
|
|
30158
30158
|
/** EligibleUserRemoved timestamp */
|
|
30159
30159
|
timestamp?: (number|Long|null);
|
|
@@ -30172,7 +30172,7 @@ export class EligibleUserRemoved implements IEligibleUserRemoved {
|
|
|
30172
30172
|
public workEmail: string;
|
|
30173
30173
|
|
|
30174
30174
|
/** EligibleUserRemoved b2bOrgId. */
|
|
30175
|
-
public b2bOrgId: number;
|
|
30175
|
+
public b2bOrgId: (number|Long);
|
|
30176
30176
|
|
|
30177
30177
|
/** EligibleUserRemoved timestamp. */
|
|
30178
30178
|
public timestamp: (number|Long);
|
|
@@ -30264,7 +30264,7 @@ export interface IEligibleUserAmended {
|
|
|
30264
30264
|
b2bMemberStatus?: (b2b.MemberStatus|null);
|
|
30265
30265
|
|
|
30266
30266
|
/** EligibleUserAmended b2bOrgId */
|
|
30267
|
-
b2bOrgId?: (number|null);
|
|
30267
|
+
b2bOrgId?: (number|Long|null);
|
|
30268
30268
|
|
|
30269
30269
|
/** EligibleUserAmended b2bOrgName */
|
|
30270
30270
|
b2bOrgName?: (string|null);
|
|
@@ -30316,7 +30316,7 @@ export class EligibleUserAmended implements IEligibleUserAmended {
|
|
|
30316
30316
|
public b2bMemberStatus: b2b.MemberStatus;
|
|
30317
30317
|
|
|
30318
30318
|
/** EligibleUserAmended b2bOrgId. */
|
|
30319
|
-
public b2bOrgId: number;
|
|
30319
|
+
public b2bOrgId: (number|Long);
|
|
30320
30320
|
|
|
30321
30321
|
/** EligibleUserAmended b2bOrgName. */
|
|
30322
30322
|
public b2bOrgName: string;
|
|
@@ -32918,9 +32918,6 @@ export interface IFamilyMemberSynced {
|
|
|
32918
32918
|
/** FamilyMemberSynced userId */
|
|
32919
32919
|
userId?: (string|null);
|
|
32920
32920
|
|
|
32921
|
-
/** FamilyMemberSynced ownerUserId */
|
|
32922
|
-
ownerUserId?: (string|null);
|
|
32923
|
-
|
|
32924
32921
|
/** FamilyMemberSynced userGroupId */
|
|
32925
32922
|
userGroupId?: (number|null);
|
|
32926
32923
|
|
|
@@ -32931,7 +32928,7 @@ export interface IFamilyMemberSynced {
|
|
|
32931
32928
|
orgId?: (number|null);
|
|
32932
32929
|
}
|
|
32933
32930
|
|
|
32934
|
-
/** Event published
|
|
32931
|
+
/** 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
32932
|
export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
32936
32933
|
|
|
32937
32934
|
/**
|
|
@@ -32949,9 +32946,6 @@ export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
|
32949
32946
|
/** FamilyMemberSynced userId. */
|
|
32950
32947
|
public userId: string;
|
|
32951
32948
|
|
|
32952
|
-
/** FamilyMemberSynced ownerUserId. */
|
|
32953
|
-
public ownerUserId: string;
|
|
32954
|
-
|
|
32955
32949
|
/** FamilyMemberSynced userGroupId. */
|
|
32956
32950
|
public userGroupId: number;
|
|
32957
32951
|
|
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
|
|
@@ -83224,11 +83224,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83224
83224
|
|
|
83225
83225
|
/**
|
|
83226
83226
|
* EligibleUserAdded b2bOrgId.
|
|
83227
|
-
* @member {number} b2bOrgId
|
|
83227
|
+
* @member {number|Long} b2bOrgId
|
|
83228
83228
|
* @memberof EligibleUserAdded
|
|
83229
83229
|
* @instance
|
|
83230
83230
|
*/
|
|
83231
|
-
EligibleUserAdded.prototype.b2bOrgId = 0;
|
|
83231
|
+
EligibleUserAdded.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83232
83232
|
|
|
83233
83233
|
/**
|
|
83234
83234
|
* EligibleUserAdded b2bOrgName.
|
|
@@ -83335,7 +83335,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83335
83335
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
83336
83336
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.b2bMemberStatus);
|
|
83337
83337
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83338
|
-
writer.uint32(/* id 5, wireType 0 =*/40).
|
|
83338
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.b2bOrgId);
|
|
83339
83339
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
83340
83340
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgName);
|
|
83341
83341
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -83401,7 +83401,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83401
83401
|
message.b2bMemberStatus = reader.int32();
|
|
83402
83402
|
break;
|
|
83403
83403
|
case 5:
|
|
83404
|
-
message.b2bOrgId = reader.
|
|
83404
|
+
message.b2bOrgId = reader.uint64();
|
|
83405
83405
|
break;
|
|
83406
83406
|
case 6:
|
|
83407
83407
|
message.b2bOrgName = reader.string();
|
|
@@ -83488,8 +83488,8 @@ $root.EligibleUserAdded = (function() {
|
|
|
83488
83488
|
break;
|
|
83489
83489
|
}
|
|
83490
83490
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83491
|
-
if (!$util.isInteger(message.b2bOrgId))
|
|
83492
|
-
return "b2bOrgId: integer expected";
|
|
83491
|
+
if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
|
|
83492
|
+
return "b2bOrgId: integer|Long expected";
|
|
83493
83493
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
83494
83494
|
if (!$util.isString(message.b2bOrgName))
|
|
83495
83495
|
return "b2bOrgName: string expected";
|
|
@@ -83582,7 +83582,14 @@ $root.EligibleUserAdded = (function() {
|
|
|
83582
83582
|
break;
|
|
83583
83583
|
}
|
|
83584
83584
|
if (object.b2bOrgId != null)
|
|
83585
|
-
|
|
83585
|
+
if ($util.Long)
|
|
83586
|
+
(message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
|
|
83587
|
+
else if (typeof object.b2bOrgId === "string")
|
|
83588
|
+
message.b2bOrgId = parseInt(object.b2bOrgId, 10);
|
|
83589
|
+
else if (typeof object.b2bOrgId === "number")
|
|
83590
|
+
message.b2bOrgId = object.b2bOrgId;
|
|
83591
|
+
else if (typeof object.b2bOrgId === "object")
|
|
83592
|
+
message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
|
|
83586
83593
|
if (object.b2bOrgName != null)
|
|
83587
83594
|
message.b2bOrgName = String(object.b2bOrgName);
|
|
83588
83595
|
if (object.b2bOrgCampaignDisplayName != null)
|
|
@@ -83664,7 +83671,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83664
83671
|
object.firstName = "";
|
|
83665
83672
|
object.lastName = "";
|
|
83666
83673
|
object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
|
|
83667
|
-
|
|
83674
|
+
if ($util.Long) {
|
|
83675
|
+
var long = new $util.Long(0, 0, true);
|
|
83676
|
+
object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83677
|
+
} else
|
|
83678
|
+
object.b2bOrgId = options.longs === String ? "0" : 0;
|
|
83668
83679
|
object.b2bOrgName = "";
|
|
83669
83680
|
object.b2bOrgCampaignDisplayName = "";
|
|
83670
83681
|
object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
@@ -83692,7 +83703,10 @@ $root.EligibleUserAdded = (function() {
|
|
|
83692
83703
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
83693
83704
|
object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
|
|
83694
83705
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83695
|
-
|
|
83706
|
+
if (typeof message.b2bOrgId === "number")
|
|
83707
|
+
object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
|
|
83708
|
+
else
|
|
83709
|
+
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
83710
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
83697
83711
|
object.b2bOrgName = message.b2bOrgName;
|
|
83698
83712
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -83741,7 +83755,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83741
83755
|
* @name IEligibleUserRemoved
|
|
83742
83756
|
* @interface IEligibleUserRemoved
|
|
83743
83757
|
* @property {string|null} [workEmail] EligibleUserRemoved workEmail
|
|
83744
|
-
* @property {number|null} [b2bOrgId] EligibleUserRemoved b2bOrgId
|
|
83758
|
+
* @property {number|Long|null} [b2bOrgId] EligibleUserRemoved b2bOrgId
|
|
83745
83759
|
* @property {number|Long|null} [timestamp] EligibleUserRemoved timestamp
|
|
83746
83760
|
*/
|
|
83747
83761
|
|
|
@@ -83770,11 +83784,11 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83770
83784
|
|
|
83771
83785
|
/**
|
|
83772
83786
|
* EligibleUserRemoved b2bOrgId.
|
|
83773
|
-
* @member {number} b2bOrgId
|
|
83787
|
+
* @member {number|Long} b2bOrgId
|
|
83774
83788
|
* @memberof EligibleUserRemoved
|
|
83775
83789
|
* @instance
|
|
83776
83790
|
*/
|
|
83777
|
-
EligibleUserRemoved.prototype.b2bOrgId = 0;
|
|
83791
|
+
EligibleUserRemoved.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83778
83792
|
|
|
83779
83793
|
/**
|
|
83780
83794
|
* EligibleUserRemoved timestamp.
|
|
@@ -83811,7 +83825,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83811
83825
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83812
83826
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.workEmail);
|
|
83813
83827
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83814
|
-
writer.uint32(/* id 2, wireType 0 =*/16).
|
|
83828
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.b2bOrgId);
|
|
83815
83829
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83816
83830
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
83817
83831
|
return writer;
|
|
@@ -83852,7 +83866,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83852
83866
|
message.workEmail = reader.string();
|
|
83853
83867
|
break;
|
|
83854
83868
|
case 2:
|
|
83855
|
-
message.b2bOrgId = reader.
|
|
83869
|
+
message.b2bOrgId = reader.uint64();
|
|
83856
83870
|
break;
|
|
83857
83871
|
case 3:
|
|
83858
83872
|
message.timestamp = reader.uint64();
|
|
@@ -83896,8 +83910,8 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83896
83910
|
if (!$util.isString(message.workEmail))
|
|
83897
83911
|
return "workEmail: string expected";
|
|
83898
83912
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83899
|
-
if (!$util.isInteger(message.b2bOrgId))
|
|
83900
|
-
return "b2bOrgId: integer expected";
|
|
83913
|
+
if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
|
|
83914
|
+
return "b2bOrgId: integer|Long expected";
|
|
83901
83915
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83902
83916
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
83903
83917
|
return "timestamp: integer|Long expected";
|
|
@@ -83919,7 +83933,14 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83919
83933
|
if (object.workEmail != null)
|
|
83920
83934
|
message.workEmail = String(object.workEmail);
|
|
83921
83935
|
if (object.b2bOrgId != null)
|
|
83922
|
-
|
|
83936
|
+
if ($util.Long)
|
|
83937
|
+
(message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
|
|
83938
|
+
else if (typeof object.b2bOrgId === "string")
|
|
83939
|
+
message.b2bOrgId = parseInt(object.b2bOrgId, 10);
|
|
83940
|
+
else if (typeof object.b2bOrgId === "number")
|
|
83941
|
+
message.b2bOrgId = object.b2bOrgId;
|
|
83942
|
+
else if (typeof object.b2bOrgId === "object")
|
|
83943
|
+
message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
|
|
83923
83944
|
if (object.timestamp != null)
|
|
83924
83945
|
if ($util.Long)
|
|
83925
83946
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -83947,7 +83968,11 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83947
83968
|
var object = {};
|
|
83948
83969
|
if (options.defaults) {
|
|
83949
83970
|
object.workEmail = "";
|
|
83950
|
-
|
|
83971
|
+
if ($util.Long) {
|
|
83972
|
+
var long = new $util.Long(0, 0, true);
|
|
83973
|
+
object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83974
|
+
} else
|
|
83975
|
+
object.b2bOrgId = options.longs === String ? "0" : 0;
|
|
83951
83976
|
if ($util.Long) {
|
|
83952
83977
|
var long = new $util.Long(0, 0, true);
|
|
83953
83978
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -83957,7 +83982,10 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83957
83982
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83958
83983
|
object.workEmail = message.workEmail;
|
|
83959
83984
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83960
|
-
|
|
83985
|
+
if (typeof message.b2bOrgId === "number")
|
|
83986
|
+
object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
|
|
83987
|
+
else
|
|
83988
|
+
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
83989
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83962
83990
|
if (typeof message.timestamp === "number")
|
|
83963
83991
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
@@ -83990,7 +84018,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
83990
84018
|
* @property {string|null} [firstName] EligibleUserAmended firstName
|
|
83991
84019
|
* @property {string|null} [lastName] EligibleUserAmended lastName
|
|
83992
84020
|
* @property {b2b.MemberStatus|null} [b2bMemberStatus] EligibleUserAmended b2bMemberStatus
|
|
83993
|
-
* @property {number|null} [b2bOrgId] EligibleUserAmended b2bOrgId
|
|
84021
|
+
* @property {number|Long|null} [b2bOrgId] EligibleUserAmended b2bOrgId
|
|
83994
84022
|
* @property {string|null} [b2bOrgName] EligibleUserAmended b2bOrgName
|
|
83995
84023
|
* @property {string|null} [b2bOrgCampaignDisplayName] EligibleUserAmended b2bOrgCampaignDisplayName
|
|
83996
84024
|
* @property {b2b.OrgMemberPlan|null} [b2bPlan] EligibleUserAmended b2bPlan
|
|
@@ -84051,11 +84079,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84051
84079
|
|
|
84052
84080
|
/**
|
|
84053
84081
|
* EligibleUserAmended b2bOrgId.
|
|
84054
|
-
* @member {number} b2bOrgId
|
|
84082
|
+
* @member {number|Long} b2bOrgId
|
|
84055
84083
|
* @memberof EligibleUserAmended
|
|
84056
84084
|
* @instance
|
|
84057
84085
|
*/
|
|
84058
|
-
EligibleUserAmended.prototype.b2bOrgId = 0;
|
|
84086
|
+
EligibleUserAmended.prototype.b2bOrgId = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84059
84087
|
|
|
84060
84088
|
/**
|
|
84061
84089
|
* EligibleUserAmended b2bOrgName.
|
|
@@ -84162,7 +84190,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84162
84190
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
84163
84191
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.b2bMemberStatus);
|
|
84164
84192
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84165
|
-
writer.uint32(/* id 5, wireType 0 =*/40).
|
|
84193
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.b2bOrgId);
|
|
84166
84194
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84167
84195
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgName);
|
|
84168
84196
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -84228,7 +84256,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84228
84256
|
message.b2bMemberStatus = reader.int32();
|
|
84229
84257
|
break;
|
|
84230
84258
|
case 5:
|
|
84231
|
-
message.b2bOrgId = reader.
|
|
84259
|
+
message.b2bOrgId = reader.uint64();
|
|
84232
84260
|
break;
|
|
84233
84261
|
case 6:
|
|
84234
84262
|
message.b2bOrgName = reader.string();
|
|
@@ -84315,8 +84343,8 @@ $root.EligibleUserAmended = (function() {
|
|
|
84315
84343
|
break;
|
|
84316
84344
|
}
|
|
84317
84345
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84318
|
-
if (!$util.isInteger(message.b2bOrgId))
|
|
84319
|
-
return "b2bOrgId: integer expected";
|
|
84346
|
+
if (!$util.isInteger(message.b2bOrgId) && !(message.b2bOrgId && $util.isInteger(message.b2bOrgId.low) && $util.isInteger(message.b2bOrgId.high)))
|
|
84347
|
+
return "b2bOrgId: integer|Long expected";
|
|
84320
84348
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84321
84349
|
if (!$util.isString(message.b2bOrgName))
|
|
84322
84350
|
return "b2bOrgName: string expected";
|
|
@@ -84409,7 +84437,14 @@ $root.EligibleUserAmended = (function() {
|
|
|
84409
84437
|
break;
|
|
84410
84438
|
}
|
|
84411
84439
|
if (object.b2bOrgId != null)
|
|
84412
|
-
|
|
84440
|
+
if ($util.Long)
|
|
84441
|
+
(message.b2bOrgId = $util.Long.fromValue(object.b2bOrgId)).unsigned = true;
|
|
84442
|
+
else if (typeof object.b2bOrgId === "string")
|
|
84443
|
+
message.b2bOrgId = parseInt(object.b2bOrgId, 10);
|
|
84444
|
+
else if (typeof object.b2bOrgId === "number")
|
|
84445
|
+
message.b2bOrgId = object.b2bOrgId;
|
|
84446
|
+
else if (typeof object.b2bOrgId === "object")
|
|
84447
|
+
message.b2bOrgId = new $util.LongBits(object.b2bOrgId.low >>> 0, object.b2bOrgId.high >>> 0).toNumber(true);
|
|
84413
84448
|
if (object.b2bOrgName != null)
|
|
84414
84449
|
message.b2bOrgName = String(object.b2bOrgName);
|
|
84415
84450
|
if (object.b2bOrgCampaignDisplayName != null)
|
|
@@ -84491,7 +84526,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84491
84526
|
object.firstName = "";
|
|
84492
84527
|
object.lastName = "";
|
|
84493
84528
|
object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
|
|
84494
|
-
|
|
84529
|
+
if ($util.Long) {
|
|
84530
|
+
var long = new $util.Long(0, 0, true);
|
|
84531
|
+
object.b2bOrgId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84532
|
+
} else
|
|
84533
|
+
object.b2bOrgId = options.longs === String ? "0" : 0;
|
|
84495
84534
|
object.b2bOrgName = "";
|
|
84496
84535
|
object.b2bOrgCampaignDisplayName = "";
|
|
84497
84536
|
object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
@@ -84519,7 +84558,10 @@ $root.EligibleUserAmended = (function() {
|
|
|
84519
84558
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
84520
84559
|
object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
|
|
84521
84560
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84522
|
-
|
|
84561
|
+
if (typeof message.b2bOrgId === "number")
|
|
84562
|
+
object.b2bOrgId = options.longs === String ? String(message.b2bOrgId) : message.b2bOrgId;
|
|
84563
|
+
else
|
|
84564
|
+
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
84565
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84524
84566
|
object.b2bOrgName = message.b2bOrgName;
|
|
84525
84567
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -91447,7 +91489,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91447
91489
|
* @property {number|Long|null} [timestamp] FamilyMemberSynced timestamp
|
|
91448
91490
|
* @property {number|null} [userGroupEntryId] FamilyMemberSynced userGroupEntryId
|
|
91449
91491
|
* @property {string|null} [userId] FamilyMemberSynced userId
|
|
91450
|
-
* @property {string|null} [ownerUserId] FamilyMemberSynced ownerUserId
|
|
91451
91492
|
* @property {number|null} [userGroupId] FamilyMemberSynced userGroupId
|
|
91452
91493
|
* @property {community.FamilyPlanRole|null} [role] FamilyMemberSynced role
|
|
91453
91494
|
* @property {number|null} [orgId] FamilyMemberSynced orgId
|
|
@@ -91456,7 +91497,7 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91456
91497
|
/**
|
|
91457
91498
|
* Constructs a new FamilyMemberSynced.
|
|
91458
91499
|
* @name FamilyMemberSynced
|
|
91459
|
-
* @classdesc Event published
|
|
91500
|
+
* @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
91501
|
* @implements IFamilyMemberSynced
|
|
91461
91502
|
* @constructor
|
|
91462
91503
|
* @param {IFamilyMemberSynced=} [properties] Properties to set
|
|
@@ -91492,14 +91533,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91492
91533
|
*/
|
|
91493
91534
|
FamilyMemberSynced.prototype.userId = "";
|
|
91494
91535
|
|
|
91495
|
-
/**
|
|
91496
|
-
* FamilyMemberSynced ownerUserId.
|
|
91497
|
-
* @member {string} ownerUserId
|
|
91498
|
-
* @memberof FamilyMemberSynced
|
|
91499
|
-
* @instance
|
|
91500
|
-
*/
|
|
91501
|
-
FamilyMemberSynced.prototype.ownerUserId = "";
|
|
91502
|
-
|
|
91503
91536
|
/**
|
|
91504
91537
|
* FamilyMemberSynced userGroupId.
|
|
91505
91538
|
* @member {number} userGroupId
|
|
@@ -91560,8 +91593,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91560
91593
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.role);
|
|
91561
91594
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91562
91595
|
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
91596
|
return writer;
|
|
91566
91597
|
};
|
|
91567
91598
|
|
|
@@ -91605,9 +91636,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91605
91636
|
case 3:
|
|
91606
91637
|
message.userId = reader.string();
|
|
91607
91638
|
break;
|
|
91608
|
-
case 7:
|
|
91609
|
-
message.ownerUserId = reader.string();
|
|
91610
|
-
break;
|
|
91611
91639
|
case 4:
|
|
91612
91640
|
message.userGroupId = reader.uint32();
|
|
91613
91641
|
break;
|
|
@@ -91661,9 +91689,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91661
91689
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
91662
91690
|
if (!$util.isString(message.userId))
|
|
91663
91691
|
return "userId: string expected";
|
|
91664
|
-
if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
|
|
91665
|
-
if (!$util.isString(message.ownerUserId))
|
|
91666
|
-
return "ownerUserId: string expected";
|
|
91667
91692
|
if (message.userGroupId != null && message.hasOwnProperty("userGroupId"))
|
|
91668
91693
|
if (!$util.isInteger(message.userGroupId))
|
|
91669
91694
|
return "userGroupId: integer expected";
|
|
@@ -91707,8 +91732,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91707
91732
|
message.userGroupEntryId = object.userGroupEntryId >>> 0;
|
|
91708
91733
|
if (object.userId != null)
|
|
91709
91734
|
message.userId = String(object.userId);
|
|
91710
|
-
if (object.ownerUserId != null)
|
|
91711
|
-
message.ownerUserId = String(object.ownerUserId);
|
|
91712
91735
|
if (object.userGroupId != null)
|
|
91713
91736
|
message.userGroupId = object.userGroupId >>> 0;
|
|
91714
91737
|
switch (object.role) {
|
|
@@ -91754,7 +91777,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91754
91777
|
object.userGroupId = 0;
|
|
91755
91778
|
object.role = options.enums === String ? "FAMILYPLAN_UNKNOWN" : 0;
|
|
91756
91779
|
object.orgId = 0;
|
|
91757
|
-
object.ownerUserId = "";
|
|
91758
91780
|
}
|
|
91759
91781
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
91760
91782
|
if (typeof message.timestamp === "number")
|
|
@@ -91771,8 +91793,6 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91771
91793
|
object.role = options.enums === String ? $root.community.FamilyPlanRole[message.role] : message.role;
|
|
91772
91794
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91773
91795
|
object.orgId = message.orgId;
|
|
91774
|
-
if (message.ownerUserId != null && message.hasOwnProperty("ownerUserId"))
|
|
91775
|
-
object.ownerUserId = message.ownerUserId;
|
|
91776
91796
|
return object;
|
|
91777
91797
|
};
|
|
91778
91798
|
|
package/package.json
CHANGED