@headspace/protos-events 1.470.1-rc.1 → 1.470.1-rc.2
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 -0
- package/lib/index.js +36 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -34657,6 +34657,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
34657
34657
|
/** EnterpriseUserEnrollmentCreated endsAt */
|
|
34658
34658
|
endsAt?: (number|Long|null);
|
|
34659
34659
|
|
|
34660
|
+
/** EnterpriseUserEnrollmentCreated previousEndsAt */
|
|
34661
|
+
previousEndsAt?: (number|Long|null);
|
|
34662
|
+
|
|
34660
34663
|
/** EnterpriseUserEnrollmentCreated timestamp */
|
|
34661
34664
|
timestamp?: (number|Long|null);
|
|
34662
34665
|
|
|
@@ -34748,6 +34751,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
34748
34751
|
/** EnterpriseUserEnrollmentCreated endsAt. */
|
|
34749
34752
|
public endsAt: (number|Long);
|
|
34750
34753
|
|
|
34754
|
+
/** EnterpriseUserEnrollmentCreated previousEndsAt. */
|
|
34755
|
+
public previousEndsAt: (number|Long);
|
|
34756
|
+
|
|
34751
34757
|
/** EnterpriseUserEnrollmentCreated timestamp. */
|
|
34752
34758
|
public timestamp: (number|Long);
|
|
34753
34759
|
|
package/lib/index.js
CHANGED
|
@@ -96297,6 +96297,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96297
96297
|
* @property {b2b.OrgType|null} [orgType] EnterpriseUserEnrollmentCreated orgType
|
|
96298
96298
|
* @property {number|Long|null} [startsAt] EnterpriseUserEnrollmentCreated startsAt
|
|
96299
96299
|
* @property {number|Long|null} [endsAt] EnterpriseUserEnrollmentCreated endsAt
|
|
96300
|
+
* @property {number|Long|null} [previousEndsAt] EnterpriseUserEnrollmentCreated previousEndsAt
|
|
96300
96301
|
* @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentCreated timestamp
|
|
96301
96302
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentCreated isPartialPay
|
|
96302
96303
|
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentCreated plan
|
|
@@ -96383,6 +96384,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96383
96384
|
*/
|
|
96384
96385
|
EnterpriseUserEnrollmentCreated.prototype.endsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
96385
96386
|
|
|
96387
|
+
/**
|
|
96388
|
+
* EnterpriseUserEnrollmentCreated previousEndsAt.
|
|
96389
|
+
* @member {number|Long} previousEndsAt
|
|
96390
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
96391
|
+
* @instance
|
|
96392
|
+
*/
|
|
96393
|
+
EnterpriseUserEnrollmentCreated.prototype.previousEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
96394
|
+
|
|
96386
96395
|
/**
|
|
96387
96396
|
* EnterpriseUserEnrollmentCreated timestamp.
|
|
96388
96397
|
* @member {number|Long} timestamp
|
|
@@ -96629,6 +96638,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96629
96638
|
writer.uint32(/* id 30, wireType 2 =*/242).string(message.ssoType);
|
|
96630
96639
|
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
96631
96640
|
writer.uint32(/* id 31, wireType 0 =*/248).int32(message.enrollmentFlow);
|
|
96641
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
96642
|
+
writer.uint32(/* id 32, wireType 0 =*/256).uint64(message.previousEndsAt);
|
|
96632
96643
|
return writer;
|
|
96633
96644
|
};
|
|
96634
96645
|
|
|
@@ -96681,6 +96692,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96681
96692
|
case 6:
|
|
96682
96693
|
message.endsAt = reader.uint64();
|
|
96683
96694
|
break;
|
|
96695
|
+
case 32:
|
|
96696
|
+
message.previousEndsAt = reader.uint64();
|
|
96697
|
+
break;
|
|
96684
96698
|
case 7:
|
|
96685
96699
|
message.timestamp = reader.uint64();
|
|
96686
96700
|
break;
|
|
@@ -96807,6 +96821,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96807
96821
|
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
96808
96822
|
if (!$util.isInteger(message.endsAt) && !(message.endsAt && $util.isInteger(message.endsAt.low) && $util.isInteger(message.endsAt.high)))
|
|
96809
96823
|
return "endsAt: integer|Long expected";
|
|
96824
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
96825
|
+
if (!$util.isInteger(message.previousEndsAt) && !(message.previousEndsAt && $util.isInteger(message.previousEndsAt.low) && $util.isInteger(message.previousEndsAt.high)))
|
|
96826
|
+
return "previousEndsAt: integer|Long expected";
|
|
96810
96827
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
96811
96828
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
96812
96829
|
return "timestamp: integer|Long expected";
|
|
@@ -96958,6 +96975,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96958
96975
|
message.endsAt = object.endsAt;
|
|
96959
96976
|
else if (typeof object.endsAt === "object")
|
|
96960
96977
|
message.endsAt = new $util.LongBits(object.endsAt.low >>> 0, object.endsAt.high >>> 0).toNumber(true);
|
|
96978
|
+
if (object.previousEndsAt != null)
|
|
96979
|
+
if ($util.Long)
|
|
96980
|
+
(message.previousEndsAt = $util.Long.fromValue(object.previousEndsAt)).unsigned = true;
|
|
96981
|
+
else if (typeof object.previousEndsAt === "string")
|
|
96982
|
+
message.previousEndsAt = parseInt(object.previousEndsAt, 10);
|
|
96983
|
+
else if (typeof object.previousEndsAt === "number")
|
|
96984
|
+
message.previousEndsAt = object.previousEndsAt;
|
|
96985
|
+
else if (typeof object.previousEndsAt === "object")
|
|
96986
|
+
message.previousEndsAt = new $util.LongBits(object.previousEndsAt.low >>> 0, object.previousEndsAt.high >>> 0).toNumber(true);
|
|
96961
96987
|
if (object.timestamp != null)
|
|
96962
96988
|
if ($util.Long)
|
|
96963
96989
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -97125,6 +97151,11 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
97125
97151
|
object.gingerBundlingEnabled = false;
|
|
97126
97152
|
object.ssoType = "";
|
|
97127
97153
|
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
97154
|
+
if ($util.Long) {
|
|
97155
|
+
var long = new $util.Long(0, 0, true);
|
|
97156
|
+
object.previousEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
97157
|
+
} else
|
|
97158
|
+
object.previousEndsAt = options.longs === String ? "0" : 0;
|
|
97128
97159
|
}
|
|
97129
97160
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
97130
97161
|
object.userId = message.userId;
|
|
@@ -97195,6 +97226,11 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
97195
97226
|
object.ssoType = message.ssoType;
|
|
97196
97227
|
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
97197
97228
|
object.enrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
|
|
97229
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
97230
|
+
if (typeof message.previousEndsAt === "number")
|
|
97231
|
+
object.previousEndsAt = options.longs === String ? String(message.previousEndsAt) : message.previousEndsAt;
|
|
97232
|
+
else
|
|
97233
|
+
object.previousEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.previousEndsAt) : options.longs === Number ? new $util.LongBits(message.previousEndsAt.low >>> 0, message.previousEndsAt.high >>> 0).toNumber(true) : message.previousEndsAt;
|
|
97198
97234
|
return object;
|
|
97199
97235
|
};
|
|
97200
97236
|
|
package/package.json
CHANGED