@headspace/protos-events 1.479.0 → 1.480.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 +36 -12
- package/lib/index.js +136 -48
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -30023,14 +30023,20 @@ export interface IEligibleUserAdded {
|
|
|
30023
30023
|
/** EligibleUserAdded enrollmentUrl */
|
|
30024
30024
|
enrollmentUrl?: (string|null);
|
|
30025
30025
|
|
|
30026
|
-
/** EligibleUserAdded b2bCustomFields */
|
|
30027
|
-
b2bCustomFields?: (string|null);
|
|
30028
|
-
|
|
30029
30026
|
/** EligibleUserAdded timestamp */
|
|
30030
30027
|
timestamp?: (number|Long|null);
|
|
30031
30028
|
|
|
30032
30029
|
/** EligibleUserAdded b2bCampaignLaunchDate */
|
|
30033
30030
|
b2bCampaignLaunchDate?: (number|Long|null);
|
|
30031
|
+
|
|
30032
|
+
/** EligibleUserAdded b2bCountry */
|
|
30033
|
+
b2bCountry?: (string|null);
|
|
30034
|
+
|
|
30035
|
+
/** EligibleUserAdded b2bDepartment */
|
|
30036
|
+
b2bDepartment?: (string|null);
|
|
30037
|
+
|
|
30038
|
+
/** EligibleUserAdded b2bLocation */
|
|
30039
|
+
b2bLocation?: (string|null);
|
|
30034
30040
|
}
|
|
30035
30041
|
|
|
30036
30042
|
/** Represents an EligibleUserAdded. */
|
|
@@ -30075,15 +30081,21 @@ export class EligibleUserAdded implements IEligibleUserAdded {
|
|
|
30075
30081
|
/** EligibleUserAdded enrollmentUrl. */
|
|
30076
30082
|
public enrollmentUrl: string;
|
|
30077
30083
|
|
|
30078
|
-
/** EligibleUserAdded b2bCustomFields. */
|
|
30079
|
-
public b2bCustomFields: string;
|
|
30080
|
-
|
|
30081
30084
|
/** EligibleUserAdded timestamp. */
|
|
30082
30085
|
public timestamp: (number|Long);
|
|
30083
30086
|
|
|
30084
30087
|
/** EligibleUserAdded b2bCampaignLaunchDate. */
|
|
30085
30088
|
public b2bCampaignLaunchDate: (number|Long);
|
|
30086
30089
|
|
|
30090
|
+
/** EligibleUserAdded b2bCountry. */
|
|
30091
|
+
public b2bCountry: string;
|
|
30092
|
+
|
|
30093
|
+
/** EligibleUserAdded b2bDepartment. */
|
|
30094
|
+
public b2bDepartment: string;
|
|
30095
|
+
|
|
30096
|
+
/** EligibleUserAdded b2bLocation. */
|
|
30097
|
+
public b2bLocation: string;
|
|
30098
|
+
|
|
30087
30099
|
/**
|
|
30088
30100
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
30089
30101
|
* @param [properties] Properties to set
|
|
@@ -30293,14 +30305,20 @@ export interface IEligibleUserAmended {
|
|
|
30293
30305
|
/** EligibleUserAmended enrollmentUrl */
|
|
30294
30306
|
enrollmentUrl?: (string|null);
|
|
30295
30307
|
|
|
30296
|
-
/** EligibleUserAmended b2bCustomFields */
|
|
30297
|
-
b2bCustomFields?: (string|null);
|
|
30298
|
-
|
|
30299
30308
|
/** EligibleUserAmended timestamp */
|
|
30300
30309
|
timestamp?: (number|Long|null);
|
|
30301
30310
|
|
|
30302
30311
|
/** EligibleUserAmended b2bCampaignLaunchDate */
|
|
30303
30312
|
b2bCampaignLaunchDate?: (number|Long|null);
|
|
30313
|
+
|
|
30314
|
+
/** EligibleUserAmended b2bCountry */
|
|
30315
|
+
b2bCountry?: (string|null);
|
|
30316
|
+
|
|
30317
|
+
/** EligibleUserAmended b2bDepartment */
|
|
30318
|
+
b2bDepartment?: (string|null);
|
|
30319
|
+
|
|
30320
|
+
/** EligibleUserAmended b2bLocation */
|
|
30321
|
+
b2bLocation?: (string|null);
|
|
30304
30322
|
}
|
|
30305
30323
|
|
|
30306
30324
|
/** Represents an EligibleUserAmended. */
|
|
@@ -30345,15 +30363,21 @@ export class EligibleUserAmended implements IEligibleUserAmended {
|
|
|
30345
30363
|
/** EligibleUserAmended enrollmentUrl. */
|
|
30346
30364
|
public enrollmentUrl: string;
|
|
30347
30365
|
|
|
30348
|
-
/** EligibleUserAmended b2bCustomFields. */
|
|
30349
|
-
public b2bCustomFields: string;
|
|
30350
|
-
|
|
30351
30366
|
/** EligibleUserAmended timestamp. */
|
|
30352
30367
|
public timestamp: (number|Long);
|
|
30353
30368
|
|
|
30354
30369
|
/** EligibleUserAmended b2bCampaignLaunchDate. */
|
|
30355
30370
|
public b2bCampaignLaunchDate: (number|Long);
|
|
30356
30371
|
|
|
30372
|
+
/** EligibleUserAmended b2bCountry. */
|
|
30373
|
+
public b2bCountry: string;
|
|
30374
|
+
|
|
30375
|
+
/** EligibleUserAmended b2bDepartment. */
|
|
30376
|
+
public b2bDepartment: string;
|
|
30377
|
+
|
|
30378
|
+
/** EligibleUserAmended b2bLocation. */
|
|
30379
|
+
public b2bLocation: string;
|
|
30380
|
+
|
|
30357
30381
|
/**
|
|
30358
30382
|
* Creates a new EligibleUserAmended instance using the specified properties.
|
|
30359
30383
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -83328,9 +83328,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83328
83328
|
* @property {boolean|null} [b2bIsPilot] EligibleUserAdded b2bIsPilot
|
|
83329
83329
|
* @property {EnrollmentFlow|null} [b2bEnrollmentFlow] EligibleUserAdded b2bEnrollmentFlow
|
|
83330
83330
|
* @property {string|null} [enrollmentUrl] EligibleUserAdded enrollmentUrl
|
|
83331
|
-
* @property {string|null} [b2bCustomFields] EligibleUserAdded b2bCustomFields
|
|
83332
83331
|
* @property {number|Long|null} [timestamp] EligibleUserAdded timestamp
|
|
83333
83332
|
* @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAdded b2bCampaignLaunchDate
|
|
83333
|
+
* @property {string|null} [b2bCountry] EligibleUserAdded b2bCountry
|
|
83334
|
+
* @property {string|null} [b2bDepartment] EligibleUserAdded b2bDepartment
|
|
83335
|
+
* @property {string|null} [b2bLocation] EligibleUserAdded b2bLocation
|
|
83334
83336
|
*/
|
|
83335
83337
|
|
|
83336
83338
|
/**
|
|
@@ -83436,14 +83438,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83436
83438
|
*/
|
|
83437
83439
|
EligibleUserAdded.prototype.enrollmentUrl = "";
|
|
83438
83440
|
|
|
83439
|
-
/**
|
|
83440
|
-
* EligibleUserAdded b2bCustomFields.
|
|
83441
|
-
* @member {string} b2bCustomFields
|
|
83442
|
-
* @memberof EligibleUserAdded
|
|
83443
|
-
* @instance
|
|
83444
|
-
*/
|
|
83445
|
-
EligibleUserAdded.prototype.b2bCustomFields = "";
|
|
83446
|
-
|
|
83447
83441
|
/**
|
|
83448
83442
|
* EligibleUserAdded timestamp.
|
|
83449
83443
|
* @member {number|Long} timestamp
|
|
@@ -83460,6 +83454,30 @@ $root.EligibleUserAdded = (function() {
|
|
|
83460
83454
|
*/
|
|
83461
83455
|
EligibleUserAdded.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83462
83456
|
|
|
83457
|
+
/**
|
|
83458
|
+
* EligibleUserAdded b2bCountry.
|
|
83459
|
+
* @member {string} b2bCountry
|
|
83460
|
+
* @memberof EligibleUserAdded
|
|
83461
|
+
* @instance
|
|
83462
|
+
*/
|
|
83463
|
+
EligibleUserAdded.prototype.b2bCountry = "";
|
|
83464
|
+
|
|
83465
|
+
/**
|
|
83466
|
+
* EligibleUserAdded b2bDepartment.
|
|
83467
|
+
* @member {string} b2bDepartment
|
|
83468
|
+
* @memberof EligibleUserAdded
|
|
83469
|
+
* @instance
|
|
83470
|
+
*/
|
|
83471
|
+
EligibleUserAdded.prototype.b2bDepartment = "";
|
|
83472
|
+
|
|
83473
|
+
/**
|
|
83474
|
+
* EligibleUserAdded b2bLocation.
|
|
83475
|
+
* @member {string} b2bLocation
|
|
83476
|
+
* @memberof EligibleUserAdded
|
|
83477
|
+
* @instance
|
|
83478
|
+
*/
|
|
83479
|
+
EligibleUserAdded.prototype.b2bLocation = "";
|
|
83480
|
+
|
|
83463
83481
|
/**
|
|
83464
83482
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
83465
83483
|
* @function create
|
|
@@ -83506,12 +83524,16 @@ $root.EligibleUserAdded = (function() {
|
|
|
83506
83524
|
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.b2bEnrollmentFlow);
|
|
83507
83525
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
83508
83526
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.enrollmentUrl);
|
|
83509
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
83510
|
-
writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
|
|
83511
83527
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83512
|
-
writer.uint32(/* id
|
|
83528
|
+
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.timestamp);
|
|
83513
83529
|
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
83514
|
-
writer.uint32(/* id
|
|
83530
|
+
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.b2bCampaignLaunchDate);
|
|
83531
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
83532
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.b2bCountry);
|
|
83533
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
83534
|
+
writer.uint32(/* id 15, wireType 2 =*/122).string(message.b2bDepartment);
|
|
83535
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
83536
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bLocation);
|
|
83515
83537
|
return writer;
|
|
83516
83538
|
};
|
|
83517
83539
|
|
|
@@ -83580,13 +83602,19 @@ $root.EligibleUserAdded = (function() {
|
|
|
83580
83602
|
message.enrollmentUrl = reader.string();
|
|
83581
83603
|
break;
|
|
83582
83604
|
case 12:
|
|
83583
|
-
message.
|
|
83605
|
+
message.timestamp = reader.uint64();
|
|
83584
83606
|
break;
|
|
83585
83607
|
case 13:
|
|
83586
|
-
message.
|
|
83608
|
+
message.b2bCampaignLaunchDate = reader.uint64();
|
|
83587
83609
|
break;
|
|
83588
83610
|
case 14:
|
|
83589
|
-
message.
|
|
83611
|
+
message.b2bCountry = reader.string();
|
|
83612
|
+
break;
|
|
83613
|
+
case 15:
|
|
83614
|
+
message.b2bDepartment = reader.string();
|
|
83615
|
+
break;
|
|
83616
|
+
case 16:
|
|
83617
|
+
message.b2bLocation = reader.string();
|
|
83590
83618
|
break;
|
|
83591
83619
|
default:
|
|
83592
83620
|
reader.skipType(tag & 7);
|
|
@@ -83679,15 +83707,21 @@ $root.EligibleUserAdded = (function() {
|
|
|
83679
83707
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
83680
83708
|
if (!$util.isString(message.enrollmentUrl))
|
|
83681
83709
|
return "enrollmentUrl: string expected";
|
|
83682
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
83683
|
-
if (!$util.isString(message.b2bCustomFields))
|
|
83684
|
-
return "b2bCustomFields: string expected";
|
|
83685
83710
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83686
83711
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
83687
83712
|
return "timestamp: integer|Long expected";
|
|
83688
83713
|
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
83689
83714
|
if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
|
|
83690
83715
|
return "b2bCampaignLaunchDate: integer|Long expected";
|
|
83716
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
83717
|
+
if (!$util.isString(message.b2bCountry))
|
|
83718
|
+
return "b2bCountry: string expected";
|
|
83719
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
83720
|
+
if (!$util.isString(message.b2bDepartment))
|
|
83721
|
+
return "b2bDepartment: string expected";
|
|
83722
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
83723
|
+
if (!$util.isString(message.b2bLocation))
|
|
83724
|
+
return "b2bLocation: string expected";
|
|
83691
83725
|
return null;
|
|
83692
83726
|
};
|
|
83693
83727
|
|
|
@@ -83781,8 +83815,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83781
83815
|
}
|
|
83782
83816
|
if (object.enrollmentUrl != null)
|
|
83783
83817
|
message.enrollmentUrl = String(object.enrollmentUrl);
|
|
83784
|
-
if (object.b2bCustomFields != null)
|
|
83785
|
-
message.b2bCustomFields = String(object.b2bCustomFields);
|
|
83786
83818
|
if (object.timestamp != null)
|
|
83787
83819
|
if ($util.Long)
|
|
83788
83820
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -83801,6 +83833,12 @@ $root.EligibleUserAdded = (function() {
|
|
|
83801
83833
|
message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
|
|
83802
83834
|
else if (typeof object.b2bCampaignLaunchDate === "object")
|
|
83803
83835
|
message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
|
|
83836
|
+
if (object.b2bCountry != null)
|
|
83837
|
+
message.b2bCountry = String(object.b2bCountry);
|
|
83838
|
+
if (object.b2bDepartment != null)
|
|
83839
|
+
message.b2bDepartment = String(object.b2bDepartment);
|
|
83840
|
+
if (object.b2bLocation != null)
|
|
83841
|
+
message.b2bLocation = String(object.b2bLocation);
|
|
83804
83842
|
return message;
|
|
83805
83843
|
};
|
|
83806
83844
|
|
|
@@ -83829,7 +83867,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83829
83867
|
object.b2bIsPilot = false;
|
|
83830
83868
|
object.b2bEnrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
83831
83869
|
object.enrollmentUrl = "";
|
|
83832
|
-
object.b2bCustomFields = "";
|
|
83833
83870
|
if ($util.Long) {
|
|
83834
83871
|
var long = new $util.Long(0, 0, true);
|
|
83835
83872
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -83840,6 +83877,9 @@ $root.EligibleUserAdded = (function() {
|
|
|
83840
83877
|
object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83841
83878
|
} else
|
|
83842
83879
|
object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
|
|
83880
|
+
object.b2bCountry = "";
|
|
83881
|
+
object.b2bDepartment = "";
|
|
83882
|
+
object.b2bLocation = "";
|
|
83843
83883
|
}
|
|
83844
83884
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83845
83885
|
object.workEmail = message.workEmail;
|
|
@@ -83863,8 +83903,6 @@ $root.EligibleUserAdded = (function() {
|
|
|
83863
83903
|
object.b2bEnrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.b2bEnrollmentFlow] : message.b2bEnrollmentFlow;
|
|
83864
83904
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
83865
83905
|
object.enrollmentUrl = message.enrollmentUrl;
|
|
83866
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
83867
|
-
object.b2bCustomFields = message.b2bCustomFields;
|
|
83868
83906
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83869
83907
|
if (typeof message.timestamp === "number")
|
|
83870
83908
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
@@ -83875,6 +83913,12 @@ $root.EligibleUserAdded = (function() {
|
|
|
83875
83913
|
object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
|
|
83876
83914
|
else
|
|
83877
83915
|
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;
|
|
83916
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
83917
|
+
object.b2bCountry = message.b2bCountry;
|
|
83918
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
83919
|
+
object.b2bDepartment = message.b2bDepartment;
|
|
83920
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
83921
|
+
object.b2bLocation = message.b2bLocation;
|
|
83878
83922
|
return object;
|
|
83879
83923
|
};
|
|
83880
83924
|
|
|
@@ -84155,9 +84199,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84155
84199
|
* @property {boolean|null} [b2bIsPilot] EligibleUserAmended b2bIsPilot
|
|
84156
84200
|
* @property {EnrollmentFlow|null} [b2bEnrollmentFlow] EligibleUserAmended b2bEnrollmentFlow
|
|
84157
84201
|
* @property {string|null} [enrollmentUrl] EligibleUserAmended enrollmentUrl
|
|
84158
|
-
* @property {string|null} [b2bCustomFields] EligibleUserAmended b2bCustomFields
|
|
84159
84202
|
* @property {number|Long|null} [timestamp] EligibleUserAmended timestamp
|
|
84160
84203
|
* @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAmended b2bCampaignLaunchDate
|
|
84204
|
+
* @property {string|null} [b2bCountry] EligibleUserAmended b2bCountry
|
|
84205
|
+
* @property {string|null} [b2bDepartment] EligibleUserAmended b2bDepartment
|
|
84206
|
+
* @property {string|null} [b2bLocation] EligibleUserAmended b2bLocation
|
|
84161
84207
|
*/
|
|
84162
84208
|
|
|
84163
84209
|
/**
|
|
@@ -84263,14 +84309,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84263
84309
|
*/
|
|
84264
84310
|
EligibleUserAmended.prototype.enrollmentUrl = "";
|
|
84265
84311
|
|
|
84266
|
-
/**
|
|
84267
|
-
* EligibleUserAmended b2bCustomFields.
|
|
84268
|
-
* @member {string} b2bCustomFields
|
|
84269
|
-
* @memberof EligibleUserAmended
|
|
84270
|
-
* @instance
|
|
84271
|
-
*/
|
|
84272
|
-
EligibleUserAmended.prototype.b2bCustomFields = "";
|
|
84273
|
-
|
|
84274
84312
|
/**
|
|
84275
84313
|
* EligibleUserAmended timestamp.
|
|
84276
84314
|
* @member {number|Long} timestamp
|
|
@@ -84287,6 +84325,30 @@ $root.EligibleUserAmended = (function() {
|
|
|
84287
84325
|
*/
|
|
84288
84326
|
EligibleUserAmended.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84289
84327
|
|
|
84328
|
+
/**
|
|
84329
|
+
* EligibleUserAmended b2bCountry.
|
|
84330
|
+
* @member {string} b2bCountry
|
|
84331
|
+
* @memberof EligibleUserAmended
|
|
84332
|
+
* @instance
|
|
84333
|
+
*/
|
|
84334
|
+
EligibleUserAmended.prototype.b2bCountry = "";
|
|
84335
|
+
|
|
84336
|
+
/**
|
|
84337
|
+
* EligibleUserAmended b2bDepartment.
|
|
84338
|
+
* @member {string} b2bDepartment
|
|
84339
|
+
* @memberof EligibleUserAmended
|
|
84340
|
+
* @instance
|
|
84341
|
+
*/
|
|
84342
|
+
EligibleUserAmended.prototype.b2bDepartment = "";
|
|
84343
|
+
|
|
84344
|
+
/**
|
|
84345
|
+
* EligibleUserAmended b2bLocation.
|
|
84346
|
+
* @member {string} b2bLocation
|
|
84347
|
+
* @memberof EligibleUserAmended
|
|
84348
|
+
* @instance
|
|
84349
|
+
*/
|
|
84350
|
+
EligibleUserAmended.prototype.b2bLocation = "";
|
|
84351
|
+
|
|
84290
84352
|
/**
|
|
84291
84353
|
* Creates a new EligibleUserAmended instance using the specified properties.
|
|
84292
84354
|
* @function create
|
|
@@ -84333,12 +84395,16 @@ $root.EligibleUserAmended = (function() {
|
|
|
84333
84395
|
writer.uint32(/* id 10, wireType 0 =*/80).int32(message.b2bEnrollmentFlow);
|
|
84334
84396
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
84335
84397
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.enrollmentUrl);
|
|
84336
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
84337
|
-
writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
|
|
84338
84398
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84339
|
-
writer.uint32(/* id
|
|
84399
|
+
writer.uint32(/* id 12, wireType 0 =*/96).uint64(message.timestamp);
|
|
84340
84400
|
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84341
|
-
writer.uint32(/* id
|
|
84401
|
+
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.b2bCampaignLaunchDate);
|
|
84402
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
84403
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.b2bCountry);
|
|
84404
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
84405
|
+
writer.uint32(/* id 15, wireType 2 =*/122).string(message.b2bDepartment);
|
|
84406
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84407
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.b2bLocation);
|
|
84342
84408
|
return writer;
|
|
84343
84409
|
};
|
|
84344
84410
|
|
|
@@ -84407,13 +84473,19 @@ $root.EligibleUserAmended = (function() {
|
|
|
84407
84473
|
message.enrollmentUrl = reader.string();
|
|
84408
84474
|
break;
|
|
84409
84475
|
case 12:
|
|
84410
|
-
message.
|
|
84476
|
+
message.timestamp = reader.uint64();
|
|
84411
84477
|
break;
|
|
84412
84478
|
case 13:
|
|
84413
|
-
message.
|
|
84479
|
+
message.b2bCampaignLaunchDate = reader.uint64();
|
|
84414
84480
|
break;
|
|
84415
84481
|
case 14:
|
|
84416
|
-
message.
|
|
84482
|
+
message.b2bCountry = reader.string();
|
|
84483
|
+
break;
|
|
84484
|
+
case 15:
|
|
84485
|
+
message.b2bDepartment = reader.string();
|
|
84486
|
+
break;
|
|
84487
|
+
case 16:
|
|
84488
|
+
message.b2bLocation = reader.string();
|
|
84417
84489
|
break;
|
|
84418
84490
|
default:
|
|
84419
84491
|
reader.skipType(tag & 7);
|
|
@@ -84506,15 +84578,21 @@ $root.EligibleUserAmended = (function() {
|
|
|
84506
84578
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
84507
84579
|
if (!$util.isString(message.enrollmentUrl))
|
|
84508
84580
|
return "enrollmentUrl: string expected";
|
|
84509
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
84510
|
-
if (!$util.isString(message.b2bCustomFields))
|
|
84511
|
-
return "b2bCustomFields: string expected";
|
|
84512
84581
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84513
84582
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
84514
84583
|
return "timestamp: integer|Long expected";
|
|
84515
84584
|
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84516
84585
|
if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
|
|
84517
84586
|
return "b2bCampaignLaunchDate: integer|Long expected";
|
|
84587
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
84588
|
+
if (!$util.isString(message.b2bCountry))
|
|
84589
|
+
return "b2bCountry: string expected";
|
|
84590
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
84591
|
+
if (!$util.isString(message.b2bDepartment))
|
|
84592
|
+
return "b2bDepartment: string expected";
|
|
84593
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84594
|
+
if (!$util.isString(message.b2bLocation))
|
|
84595
|
+
return "b2bLocation: string expected";
|
|
84518
84596
|
return null;
|
|
84519
84597
|
};
|
|
84520
84598
|
|
|
@@ -84608,8 +84686,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84608
84686
|
}
|
|
84609
84687
|
if (object.enrollmentUrl != null)
|
|
84610
84688
|
message.enrollmentUrl = String(object.enrollmentUrl);
|
|
84611
|
-
if (object.b2bCustomFields != null)
|
|
84612
|
-
message.b2bCustomFields = String(object.b2bCustomFields);
|
|
84613
84689
|
if (object.timestamp != null)
|
|
84614
84690
|
if ($util.Long)
|
|
84615
84691
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -84628,6 +84704,12 @@ $root.EligibleUserAmended = (function() {
|
|
|
84628
84704
|
message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
|
|
84629
84705
|
else if (typeof object.b2bCampaignLaunchDate === "object")
|
|
84630
84706
|
message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
|
|
84707
|
+
if (object.b2bCountry != null)
|
|
84708
|
+
message.b2bCountry = String(object.b2bCountry);
|
|
84709
|
+
if (object.b2bDepartment != null)
|
|
84710
|
+
message.b2bDepartment = String(object.b2bDepartment);
|
|
84711
|
+
if (object.b2bLocation != null)
|
|
84712
|
+
message.b2bLocation = String(object.b2bLocation);
|
|
84631
84713
|
return message;
|
|
84632
84714
|
};
|
|
84633
84715
|
|
|
@@ -84656,7 +84738,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84656
84738
|
object.b2bIsPilot = false;
|
|
84657
84739
|
object.b2bEnrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
84658
84740
|
object.enrollmentUrl = "";
|
|
84659
|
-
object.b2bCustomFields = "";
|
|
84660
84741
|
if ($util.Long) {
|
|
84661
84742
|
var long = new $util.Long(0, 0, true);
|
|
84662
84743
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -84667,6 +84748,9 @@ $root.EligibleUserAmended = (function() {
|
|
|
84667
84748
|
object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84668
84749
|
} else
|
|
84669
84750
|
object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
|
|
84751
|
+
object.b2bCountry = "";
|
|
84752
|
+
object.b2bDepartment = "";
|
|
84753
|
+
object.b2bLocation = "";
|
|
84670
84754
|
}
|
|
84671
84755
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
84672
84756
|
object.workEmail = message.workEmail;
|
|
@@ -84690,8 +84774,6 @@ $root.EligibleUserAmended = (function() {
|
|
|
84690
84774
|
object.b2bEnrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.b2bEnrollmentFlow] : message.b2bEnrollmentFlow;
|
|
84691
84775
|
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
84692
84776
|
object.enrollmentUrl = message.enrollmentUrl;
|
|
84693
|
-
if (message.b2bCustomFields != null && message.hasOwnProperty("b2bCustomFields"))
|
|
84694
|
-
object.b2bCustomFields = message.b2bCustomFields;
|
|
84695
84777
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84696
84778
|
if (typeof message.timestamp === "number")
|
|
84697
84779
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
@@ -84702,6 +84784,12 @@ $root.EligibleUserAmended = (function() {
|
|
|
84702
84784
|
object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
|
|
84703
84785
|
else
|
|
84704
84786
|
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;
|
|
84787
|
+
if (message.b2bCountry != null && message.hasOwnProperty("b2bCountry"))
|
|
84788
|
+
object.b2bCountry = message.b2bCountry;
|
|
84789
|
+
if (message.b2bDepartment != null && message.hasOwnProperty("b2bDepartment"))
|
|
84790
|
+
object.b2bDepartment = message.b2bDepartment;
|
|
84791
|
+
if (message.b2bLocation != null && message.hasOwnProperty("b2bLocation"))
|
|
84792
|
+
object.b2bLocation = message.b2bLocation;
|
|
84705
84793
|
return object;
|
|
84706
84794
|
};
|
|
84707
84795
|
|
package/package.json
CHANGED