@headspace/protos-events 1.472.0 → 1.473.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 +6 -6
- package/lib/index.js +30 -72
- 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|
|
|
29997
|
+
b2bOrgId?: (number|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:
|
|
30049
|
+
public b2bOrgId: number;
|
|
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|
|
|
30156
|
+
b2bOrgId?: (number|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:
|
|
30175
|
+
public b2bOrgId: number;
|
|
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|
|
|
30267
|
+
b2bOrgId?: (number|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:
|
|
30319
|
+
public b2bOrgId: number;
|
|
30320
30320
|
|
|
30321
30321
|
/** EligibleUserAmended b2bOrgName. */
|
|
30322
30322
|
public b2bOrgName: string;
|
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|
|
|
83166
|
+
* @property {number|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
|
|
83227
|
+
* @member {number} b2bOrgId
|
|
83228
83228
|
* @memberof EligibleUserAdded
|
|
83229
83229
|
* @instance
|
|
83230
83230
|
*/
|
|
83231
|
-
EligibleUserAdded.prototype.b2bOrgId =
|
|
83231
|
+
EligibleUserAdded.prototype.b2bOrgId = 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).uint32(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.uint32();
|
|
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
|
|
83491
|
+
if (!$util.isInteger(message.b2bOrgId))
|
|
83492
|
+
return "b2bOrgId: integer expected";
|
|
83493
83493
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
83494
83494
|
if (!$util.isString(message.b2bOrgName))
|
|
83495
83495
|
return "b2bOrgName: string expected";
|
|
@@ -83582,14 +83582,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83582
83582
|
break;
|
|
83583
83583
|
}
|
|
83584
83584
|
if (object.b2bOrgId != null)
|
|
83585
|
-
|
|
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);
|
|
83585
|
+
message.b2bOrgId = object.b2bOrgId >>> 0;
|
|
83593
83586
|
if (object.b2bOrgName != null)
|
|
83594
83587
|
message.b2bOrgName = String(object.b2bOrgName);
|
|
83595
83588
|
if (object.b2bOrgCampaignDisplayName != null)
|
|
@@ -83671,11 +83664,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83671
83664
|
object.firstName = "";
|
|
83672
83665
|
object.lastName = "";
|
|
83673
83666
|
object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
|
|
83674
|
-
|
|
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;
|
|
83667
|
+
object.b2bOrgId = 0;
|
|
83679
83668
|
object.b2bOrgName = "";
|
|
83680
83669
|
object.b2bOrgCampaignDisplayName = "";
|
|
83681
83670
|
object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
@@ -83703,10 +83692,7 @@ $root.EligibleUserAdded = (function() {
|
|
|
83703
83692
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
83704
83693
|
object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
|
|
83705
83694
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83706
|
-
|
|
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;
|
|
83695
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
83710
83696
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
83711
83697
|
object.b2bOrgName = message.b2bOrgName;
|
|
83712
83698
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -83755,7 +83741,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83755
83741
|
* @name IEligibleUserRemoved
|
|
83756
83742
|
* @interface IEligibleUserRemoved
|
|
83757
83743
|
* @property {string|null} [workEmail] EligibleUserRemoved workEmail
|
|
83758
|
-
* @property {number|
|
|
83744
|
+
* @property {number|null} [b2bOrgId] EligibleUserRemoved b2bOrgId
|
|
83759
83745
|
* @property {number|Long|null} [timestamp] EligibleUserRemoved timestamp
|
|
83760
83746
|
*/
|
|
83761
83747
|
|
|
@@ -83784,11 +83770,11 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83784
83770
|
|
|
83785
83771
|
/**
|
|
83786
83772
|
* EligibleUserRemoved b2bOrgId.
|
|
83787
|
-
* @member {number
|
|
83773
|
+
* @member {number} b2bOrgId
|
|
83788
83774
|
* @memberof EligibleUserRemoved
|
|
83789
83775
|
* @instance
|
|
83790
83776
|
*/
|
|
83791
|
-
EligibleUserRemoved.prototype.b2bOrgId =
|
|
83777
|
+
EligibleUserRemoved.prototype.b2bOrgId = 0;
|
|
83792
83778
|
|
|
83793
83779
|
/**
|
|
83794
83780
|
* EligibleUserRemoved timestamp.
|
|
@@ -83825,7 +83811,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83825
83811
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83826
83812
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.workEmail);
|
|
83827
83813
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83828
|
-
writer.uint32(/* id 2, wireType 0 =*/16).
|
|
83814
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.b2bOrgId);
|
|
83829
83815
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83830
83816
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
83831
83817
|
return writer;
|
|
@@ -83866,7 +83852,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83866
83852
|
message.workEmail = reader.string();
|
|
83867
83853
|
break;
|
|
83868
83854
|
case 2:
|
|
83869
|
-
message.b2bOrgId = reader.
|
|
83855
|
+
message.b2bOrgId = reader.uint32();
|
|
83870
83856
|
break;
|
|
83871
83857
|
case 3:
|
|
83872
83858
|
message.timestamp = reader.uint64();
|
|
@@ -83910,8 +83896,8 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83910
83896
|
if (!$util.isString(message.workEmail))
|
|
83911
83897
|
return "workEmail: string expected";
|
|
83912
83898
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83913
|
-
if (!$util.isInteger(message.b2bOrgId)
|
|
83914
|
-
return "b2bOrgId: integer
|
|
83899
|
+
if (!$util.isInteger(message.b2bOrgId))
|
|
83900
|
+
return "b2bOrgId: integer expected";
|
|
83915
83901
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83916
83902
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
83917
83903
|
return "timestamp: integer|Long expected";
|
|
@@ -83933,14 +83919,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83933
83919
|
if (object.workEmail != null)
|
|
83934
83920
|
message.workEmail = String(object.workEmail);
|
|
83935
83921
|
if (object.b2bOrgId != null)
|
|
83936
|
-
|
|
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);
|
|
83922
|
+
message.b2bOrgId = object.b2bOrgId >>> 0;
|
|
83944
83923
|
if (object.timestamp != null)
|
|
83945
83924
|
if ($util.Long)
|
|
83946
83925
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -83968,11 +83947,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83968
83947
|
var object = {};
|
|
83969
83948
|
if (options.defaults) {
|
|
83970
83949
|
object.workEmail = "";
|
|
83971
|
-
|
|
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;
|
|
83950
|
+
object.b2bOrgId = 0;
|
|
83976
83951
|
if ($util.Long) {
|
|
83977
83952
|
var long = new $util.Long(0, 0, true);
|
|
83978
83953
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -83982,10 +83957,7 @@ $root.EligibleUserRemoved = (function() {
|
|
|
83982
83957
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83983
83958
|
object.workEmail = message.workEmail;
|
|
83984
83959
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
83985
|
-
|
|
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;
|
|
83960
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
83989
83961
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83990
83962
|
if (typeof message.timestamp === "number")
|
|
83991
83963
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
@@ -84018,7 +83990,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84018
83990
|
* @property {string|null} [firstName] EligibleUserAmended firstName
|
|
84019
83991
|
* @property {string|null} [lastName] EligibleUserAmended lastName
|
|
84020
83992
|
* @property {b2b.MemberStatus|null} [b2bMemberStatus] EligibleUserAmended b2bMemberStatus
|
|
84021
|
-
* @property {number|
|
|
83993
|
+
* @property {number|null} [b2bOrgId] EligibleUserAmended b2bOrgId
|
|
84022
83994
|
* @property {string|null} [b2bOrgName] EligibleUserAmended b2bOrgName
|
|
84023
83995
|
* @property {string|null} [b2bOrgCampaignDisplayName] EligibleUserAmended b2bOrgCampaignDisplayName
|
|
84024
83996
|
* @property {b2b.OrgMemberPlan|null} [b2bPlan] EligibleUserAmended b2bPlan
|
|
@@ -84079,11 +84051,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84079
84051
|
|
|
84080
84052
|
/**
|
|
84081
84053
|
* EligibleUserAmended b2bOrgId.
|
|
84082
|
-
* @member {number
|
|
84054
|
+
* @member {number} b2bOrgId
|
|
84083
84055
|
* @memberof EligibleUserAmended
|
|
84084
84056
|
* @instance
|
|
84085
84057
|
*/
|
|
84086
|
-
EligibleUserAmended.prototype.b2bOrgId =
|
|
84058
|
+
EligibleUserAmended.prototype.b2bOrgId = 0;
|
|
84087
84059
|
|
|
84088
84060
|
/**
|
|
84089
84061
|
* EligibleUserAmended b2bOrgName.
|
|
@@ -84190,7 +84162,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84190
84162
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
84191
84163
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.b2bMemberStatus);
|
|
84192
84164
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84193
|
-
writer.uint32(/* id 5, wireType 0 =*/40).
|
|
84165
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.b2bOrgId);
|
|
84194
84166
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84195
84167
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.b2bOrgName);
|
|
84196
84168
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
|
@@ -84256,7 +84228,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84256
84228
|
message.b2bMemberStatus = reader.int32();
|
|
84257
84229
|
break;
|
|
84258
84230
|
case 5:
|
|
84259
|
-
message.b2bOrgId = reader.
|
|
84231
|
+
message.b2bOrgId = reader.uint32();
|
|
84260
84232
|
break;
|
|
84261
84233
|
case 6:
|
|
84262
84234
|
message.b2bOrgName = reader.string();
|
|
@@ -84343,8 +84315,8 @@ $root.EligibleUserAmended = (function() {
|
|
|
84343
84315
|
break;
|
|
84344
84316
|
}
|
|
84345
84317
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84346
|
-
if (!$util.isInteger(message.b2bOrgId)
|
|
84347
|
-
return "b2bOrgId: integer
|
|
84318
|
+
if (!$util.isInteger(message.b2bOrgId))
|
|
84319
|
+
return "b2bOrgId: integer expected";
|
|
84348
84320
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84349
84321
|
if (!$util.isString(message.b2bOrgName))
|
|
84350
84322
|
return "b2bOrgName: string expected";
|
|
@@ -84437,14 +84409,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84437
84409
|
break;
|
|
84438
84410
|
}
|
|
84439
84411
|
if (object.b2bOrgId != null)
|
|
84440
|
-
|
|
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);
|
|
84412
|
+
message.b2bOrgId = object.b2bOrgId >>> 0;
|
|
84448
84413
|
if (object.b2bOrgName != null)
|
|
84449
84414
|
message.b2bOrgName = String(object.b2bOrgName);
|
|
84450
84415
|
if (object.b2bOrgCampaignDisplayName != null)
|
|
@@ -84526,11 +84491,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84526
84491
|
object.firstName = "";
|
|
84527
84492
|
object.lastName = "";
|
|
84528
84493
|
object.b2bMemberStatus = options.enums === String ? "PENDING" : 0;
|
|
84529
|
-
|
|
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;
|
|
84494
|
+
object.b2bOrgId = 0;
|
|
84534
84495
|
object.b2bOrgName = "";
|
|
84535
84496
|
object.b2bOrgCampaignDisplayName = "";
|
|
84536
84497
|
object.b2bPlan = options.enums === String ? "ORGPLAN_UNKNOWN" : 0;
|
|
@@ -84558,10 +84519,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
84558
84519
|
if (message.b2bMemberStatus != null && message.hasOwnProperty("b2bMemberStatus"))
|
|
84559
84520
|
object.b2bMemberStatus = options.enums === String ? $root.b2b.MemberStatus[message.b2bMemberStatus] : message.b2bMemberStatus;
|
|
84560
84521
|
if (message.b2bOrgId != null && message.hasOwnProperty("b2bOrgId"))
|
|
84561
|
-
|
|
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;
|
|
84522
|
+
object.b2bOrgId = message.b2bOrgId;
|
|
84565
84523
|
if (message.b2bOrgName != null && message.hasOwnProperty("b2bOrgName"))
|
|
84566
84524
|
object.b2bOrgName = message.b2bOrgName;
|
|
84567
84525
|
if (message.b2bOrgCampaignDisplayName != null && message.hasOwnProperty("b2bOrgCampaignDisplayName"))
|
package/package.json
CHANGED