@headspace/protos-events 1.471.0 → 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 +12 -0
- package/lib/index.js +72 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -30019,6 +30019,9 @@ export interface IEligibleUserAdded {
|
|
|
30019
30019
|
|
|
30020
30020
|
/** EligibleUserAdded timestamp */
|
|
30021
30021
|
timestamp?: (number|Long|null);
|
|
30022
|
+
|
|
30023
|
+
/** EligibleUserAdded b2bCampaignLaunchDate */
|
|
30024
|
+
b2bCampaignLaunchDate?: (number|Long|null);
|
|
30022
30025
|
}
|
|
30023
30026
|
|
|
30024
30027
|
/** Represents an EligibleUserAdded. */
|
|
@@ -30069,6 +30072,9 @@ export class EligibleUserAdded implements IEligibleUserAdded {
|
|
|
30069
30072
|
/** EligibleUserAdded timestamp. */
|
|
30070
30073
|
public timestamp: (number|Long);
|
|
30071
30074
|
|
|
30075
|
+
/** EligibleUserAdded b2bCampaignLaunchDate. */
|
|
30076
|
+
public b2bCampaignLaunchDate: (number|Long);
|
|
30077
|
+
|
|
30072
30078
|
/**
|
|
30073
30079
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
30074
30080
|
* @param [properties] Properties to set
|
|
@@ -30283,6 +30289,9 @@ export interface IEligibleUserAmended {
|
|
|
30283
30289
|
|
|
30284
30290
|
/** EligibleUserAmended timestamp */
|
|
30285
30291
|
timestamp?: (number|Long|null);
|
|
30292
|
+
|
|
30293
|
+
/** EligibleUserAmended b2bCampaignLaunchDate */
|
|
30294
|
+
b2bCampaignLaunchDate?: (number|Long|null);
|
|
30286
30295
|
}
|
|
30287
30296
|
|
|
30288
30297
|
/** Represents an EligibleUserAmended. */
|
|
@@ -30333,6 +30342,9 @@ export class EligibleUserAmended implements IEligibleUserAmended {
|
|
|
30333
30342
|
/** EligibleUserAmended timestamp. */
|
|
30334
30343
|
public timestamp: (number|Long);
|
|
30335
30344
|
|
|
30345
|
+
/** EligibleUserAmended b2bCampaignLaunchDate. */
|
|
30346
|
+
public b2bCampaignLaunchDate: (number|Long);
|
|
30347
|
+
|
|
30336
30348
|
/**
|
|
30337
30349
|
* Creates a new EligibleUserAmended instance using the specified properties.
|
|
30338
30350
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -83172,6 +83172,7 @@ $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
|
|
83175
83176
|
*/
|
|
83176
83177
|
|
|
83177
83178
|
/**
|
|
@@ -83293,6 +83294,14 @@ $root.EligibleUserAdded = (function() {
|
|
|
83293
83294
|
*/
|
|
83294
83295
|
EligibleUserAdded.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
83295
83296
|
|
|
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
|
+
|
|
83296
83305
|
/**
|
|
83297
83306
|
* Creates a new EligibleUserAdded instance using the specified properties.
|
|
83298
83307
|
* @function create
|
|
@@ -83343,6 +83352,8 @@ $root.EligibleUserAdded = (function() {
|
|
|
83343
83352
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
|
|
83344
83353
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83345
83354
|
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);
|
|
83346
83357
|
return writer;
|
|
83347
83358
|
};
|
|
83348
83359
|
|
|
@@ -83416,6 +83427,9 @@ $root.EligibleUserAdded = (function() {
|
|
|
83416
83427
|
case 13:
|
|
83417
83428
|
message.timestamp = reader.uint64();
|
|
83418
83429
|
break;
|
|
83430
|
+
case 14:
|
|
83431
|
+
message.b2bCampaignLaunchDate = reader.uint64();
|
|
83432
|
+
break;
|
|
83419
83433
|
default:
|
|
83420
83434
|
reader.skipType(tag & 7);
|
|
83421
83435
|
break;
|
|
@@ -83513,6 +83527,9 @@ $root.EligibleUserAdded = (function() {
|
|
|
83513
83527
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
83514
83528
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
83515
83529
|
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";
|
|
83516
83533
|
return null;
|
|
83517
83534
|
};
|
|
83518
83535
|
|
|
@@ -83624,6 +83641,15 @@ $root.EligibleUserAdded = (function() {
|
|
|
83624
83641
|
message.timestamp = object.timestamp;
|
|
83625
83642
|
else if (typeof object.timestamp === "object")
|
|
83626
83643
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
83644
|
+
if (object.b2bCampaignLaunchDate != null)
|
|
83645
|
+
if ($util.Long)
|
|
83646
|
+
(message.b2bCampaignLaunchDate = $util.Long.fromValue(object.b2bCampaignLaunchDate)).unsigned = true;
|
|
83647
|
+
else if (typeof object.b2bCampaignLaunchDate === "string")
|
|
83648
|
+
message.b2bCampaignLaunchDate = parseInt(object.b2bCampaignLaunchDate, 10);
|
|
83649
|
+
else if (typeof object.b2bCampaignLaunchDate === "number")
|
|
83650
|
+
message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
|
|
83651
|
+
else if (typeof object.b2bCampaignLaunchDate === "object")
|
|
83652
|
+
message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
|
|
83627
83653
|
return message;
|
|
83628
83654
|
};
|
|
83629
83655
|
|
|
@@ -83662,6 +83688,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83662
83688
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83663
83689
|
} else
|
|
83664
83690
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
83691
|
+
if ($util.Long) {
|
|
83692
|
+
var long = new $util.Long(0, 0, true);
|
|
83693
|
+
object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
83694
|
+
} else
|
|
83695
|
+
object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
|
|
83665
83696
|
}
|
|
83666
83697
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
83667
83698
|
object.workEmail = message.workEmail;
|
|
@@ -83695,6 +83726,11 @@ $root.EligibleUserAdded = (function() {
|
|
|
83695
83726
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
83696
83727
|
else
|
|
83697
83728
|
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;
|
|
83729
|
+
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
83730
|
+
if (typeof message.b2bCampaignLaunchDate === "number")
|
|
83731
|
+
object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
|
|
83732
|
+
else
|
|
83733
|
+
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;
|
|
83698
83734
|
return object;
|
|
83699
83735
|
};
|
|
83700
83736
|
|
|
@@ -83991,6 +84027,7 @@ $root.EligibleUserAmended = (function() {
|
|
|
83991
84027
|
* @property {string|null} [enrollmentUrl] EligibleUserAmended enrollmentUrl
|
|
83992
84028
|
* @property {string|null} [b2bCustomFields] EligibleUserAmended b2bCustomFields
|
|
83993
84029
|
* @property {number|Long|null} [timestamp] EligibleUserAmended timestamp
|
|
84030
|
+
* @property {number|Long|null} [b2bCampaignLaunchDate] EligibleUserAmended b2bCampaignLaunchDate
|
|
83994
84031
|
*/
|
|
83995
84032
|
|
|
83996
84033
|
/**
|
|
@@ -84112,6 +84149,14 @@ $root.EligibleUserAmended = (function() {
|
|
|
84112
84149
|
*/
|
|
84113
84150
|
EligibleUserAmended.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84114
84151
|
|
|
84152
|
+
/**
|
|
84153
|
+
* EligibleUserAmended b2bCampaignLaunchDate.
|
|
84154
|
+
* @member {number|Long} b2bCampaignLaunchDate
|
|
84155
|
+
* @memberof EligibleUserAmended
|
|
84156
|
+
* @instance
|
|
84157
|
+
*/
|
|
84158
|
+
EligibleUserAmended.prototype.b2bCampaignLaunchDate = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
84159
|
+
|
|
84115
84160
|
/**
|
|
84116
84161
|
* Creates a new EligibleUserAmended instance using the specified properties.
|
|
84117
84162
|
* @function create
|
|
@@ -84162,6 +84207,8 @@ $root.EligibleUserAmended = (function() {
|
|
|
84162
84207
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.b2bCustomFields);
|
|
84163
84208
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84164
84209
|
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.timestamp);
|
|
84210
|
+
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84211
|
+
writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.b2bCampaignLaunchDate);
|
|
84165
84212
|
return writer;
|
|
84166
84213
|
};
|
|
84167
84214
|
|
|
@@ -84235,6 +84282,9 @@ $root.EligibleUserAmended = (function() {
|
|
|
84235
84282
|
case 13:
|
|
84236
84283
|
message.timestamp = reader.uint64();
|
|
84237
84284
|
break;
|
|
84285
|
+
case 14:
|
|
84286
|
+
message.b2bCampaignLaunchDate = reader.uint64();
|
|
84287
|
+
break;
|
|
84238
84288
|
default:
|
|
84239
84289
|
reader.skipType(tag & 7);
|
|
84240
84290
|
break;
|
|
@@ -84332,6 +84382,9 @@ $root.EligibleUserAmended = (function() {
|
|
|
84332
84382
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
84333
84383
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
84334
84384
|
return "timestamp: integer|Long expected";
|
|
84385
|
+
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84386
|
+
if (!$util.isInteger(message.b2bCampaignLaunchDate) && !(message.b2bCampaignLaunchDate && $util.isInteger(message.b2bCampaignLaunchDate.low) && $util.isInteger(message.b2bCampaignLaunchDate.high)))
|
|
84387
|
+
return "b2bCampaignLaunchDate: integer|Long expected";
|
|
84335
84388
|
return null;
|
|
84336
84389
|
};
|
|
84337
84390
|
|
|
@@ -84443,6 +84496,15 @@ $root.EligibleUserAmended = (function() {
|
|
|
84443
84496
|
message.timestamp = object.timestamp;
|
|
84444
84497
|
else if (typeof object.timestamp === "object")
|
|
84445
84498
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
84499
|
+
if (object.b2bCampaignLaunchDate != null)
|
|
84500
|
+
if ($util.Long)
|
|
84501
|
+
(message.b2bCampaignLaunchDate = $util.Long.fromValue(object.b2bCampaignLaunchDate)).unsigned = true;
|
|
84502
|
+
else if (typeof object.b2bCampaignLaunchDate === "string")
|
|
84503
|
+
message.b2bCampaignLaunchDate = parseInt(object.b2bCampaignLaunchDate, 10);
|
|
84504
|
+
else if (typeof object.b2bCampaignLaunchDate === "number")
|
|
84505
|
+
message.b2bCampaignLaunchDate = object.b2bCampaignLaunchDate;
|
|
84506
|
+
else if (typeof object.b2bCampaignLaunchDate === "object")
|
|
84507
|
+
message.b2bCampaignLaunchDate = new $util.LongBits(object.b2bCampaignLaunchDate.low >>> 0, object.b2bCampaignLaunchDate.high >>> 0).toNumber(true);
|
|
84446
84508
|
return message;
|
|
84447
84509
|
};
|
|
84448
84510
|
|
|
@@ -84481,6 +84543,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84481
84543
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84482
84544
|
} else
|
|
84483
84545
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
84546
|
+
if ($util.Long) {
|
|
84547
|
+
var long = new $util.Long(0, 0, true);
|
|
84548
|
+
object.b2bCampaignLaunchDate = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
84549
|
+
} else
|
|
84550
|
+
object.b2bCampaignLaunchDate = options.longs === String ? "0" : 0;
|
|
84484
84551
|
}
|
|
84485
84552
|
if (message.workEmail != null && message.hasOwnProperty("workEmail"))
|
|
84486
84553
|
object.workEmail = message.workEmail;
|
|
@@ -84514,6 +84581,11 @@ $root.EligibleUserAmended = (function() {
|
|
|
84514
84581
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
84515
84582
|
else
|
|
84516
84583
|
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;
|
|
84584
|
+
if (message.b2bCampaignLaunchDate != null && message.hasOwnProperty("b2bCampaignLaunchDate"))
|
|
84585
|
+
if (typeof message.b2bCampaignLaunchDate === "number")
|
|
84586
|
+
object.b2bCampaignLaunchDate = options.longs === String ? String(message.b2bCampaignLaunchDate) : message.b2bCampaignLaunchDate;
|
|
84587
|
+
else
|
|
84588
|
+
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;
|
|
84517
84589
|
return object;
|
|
84518
84590
|
};
|
|
84519
84591
|
|
package/package.json
CHANGED