@headspace/protos-events 1.470.1-rc.1 → 1.470.1-rc.3
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
|
@@ -32917,6 +32917,9 @@ export interface IFamilyMemberSynced {
|
|
|
32917
32917
|
|
|
32918
32918
|
/** FamilyMemberSynced ownerSubscriptionId */
|
|
32919
32919
|
ownerSubscriptionId?: (number|null);
|
|
32920
|
+
|
|
32921
|
+
/** FamilyMemberSynced ownerSubscriptionPreviousEndsAt */
|
|
32922
|
+
ownerSubscriptionPreviousEndsAt?: (number|Long|null);
|
|
32920
32923
|
}
|
|
32921
32924
|
|
|
32922
32925
|
/** Event published for each group member when a change (created, amended, ended) to the owner's subscription observed */
|
|
@@ -32949,6 +32952,9 @@ export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
|
32949
32952
|
/** FamilyMemberSynced ownerSubscriptionId. */
|
|
32950
32953
|
public ownerSubscriptionId: number;
|
|
32951
32954
|
|
|
32955
|
+
/** FamilyMemberSynced ownerSubscriptionPreviousEndsAt. */
|
|
32956
|
+
public ownerSubscriptionPreviousEndsAt: (number|Long);
|
|
32957
|
+
|
|
32952
32958
|
/**
|
|
32953
32959
|
* Creates a new FamilyMemberSynced instance using the specified properties.
|
|
32954
32960
|
* @param [properties] Properties to set
|
|
@@ -34657,6 +34663,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
34657
34663
|
/** EnterpriseUserEnrollmentCreated endsAt */
|
|
34658
34664
|
endsAt?: (number|Long|null);
|
|
34659
34665
|
|
|
34666
|
+
/** EnterpriseUserEnrollmentCreated previousEndsAt */
|
|
34667
|
+
previousEndsAt?: (number|Long|null);
|
|
34668
|
+
|
|
34660
34669
|
/** EnterpriseUserEnrollmentCreated timestamp */
|
|
34661
34670
|
timestamp?: (number|Long|null);
|
|
34662
34671
|
|
|
@@ -34748,6 +34757,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
34748
34757
|
/** EnterpriseUserEnrollmentCreated endsAt. */
|
|
34749
34758
|
public endsAt: (number|Long);
|
|
34750
34759
|
|
|
34760
|
+
/** EnterpriseUserEnrollmentCreated previousEndsAt. */
|
|
34761
|
+
public previousEndsAt: (number|Long);
|
|
34762
|
+
|
|
34751
34763
|
/** EnterpriseUserEnrollmentCreated timestamp. */
|
|
34752
34764
|
public timestamp: (number|Long);
|
|
34753
34765
|
|
package/lib/index.js
CHANGED
|
@@ -91375,6 +91375,7 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91375
91375
|
* @property {community.FamilyPlanRole|null} [role] FamilyMemberSynced role
|
|
91376
91376
|
* @property {number|null} [orgId] FamilyMemberSynced orgId
|
|
91377
91377
|
* @property {number|null} [ownerSubscriptionId] FamilyMemberSynced ownerSubscriptionId
|
|
91378
|
+
* @property {number|Long|null} [ownerSubscriptionPreviousEndsAt] FamilyMemberSynced ownerSubscriptionPreviousEndsAt
|
|
91378
91379
|
*/
|
|
91379
91380
|
|
|
91380
91381
|
/**
|
|
@@ -91448,6 +91449,14 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91448
91449
|
*/
|
|
91449
91450
|
FamilyMemberSynced.prototype.ownerSubscriptionId = 0;
|
|
91450
91451
|
|
|
91452
|
+
/**
|
|
91453
|
+
* FamilyMemberSynced ownerSubscriptionPreviousEndsAt.
|
|
91454
|
+
* @member {number|Long} ownerSubscriptionPreviousEndsAt
|
|
91455
|
+
* @memberof FamilyMemberSynced
|
|
91456
|
+
* @instance
|
|
91457
|
+
*/
|
|
91458
|
+
FamilyMemberSynced.prototype.ownerSubscriptionPreviousEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
91459
|
+
|
|
91451
91460
|
/**
|
|
91452
91461
|
* Creates a new FamilyMemberSynced instance using the specified properties.
|
|
91453
91462
|
* @function create
|
|
@@ -91486,6 +91495,8 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91486
91495
|
writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.orgId);
|
|
91487
91496
|
if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
|
|
91488
91497
|
writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.ownerSubscriptionId);
|
|
91498
|
+
if (message.ownerSubscriptionPreviousEndsAt != null && message.hasOwnProperty("ownerSubscriptionPreviousEndsAt"))
|
|
91499
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.ownerSubscriptionPreviousEndsAt);
|
|
91489
91500
|
return writer;
|
|
91490
91501
|
};
|
|
91491
91502
|
|
|
@@ -91541,6 +91552,9 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91541
91552
|
case 7:
|
|
91542
91553
|
message.ownerSubscriptionId = reader.uint32();
|
|
91543
91554
|
break;
|
|
91555
|
+
case 8:
|
|
91556
|
+
message.ownerSubscriptionPreviousEndsAt = reader.uint64();
|
|
91557
|
+
break;
|
|
91544
91558
|
default:
|
|
91545
91559
|
reader.skipType(tag & 7);
|
|
91546
91560
|
break;
|
|
@@ -91603,6 +91617,9 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91603
91617
|
if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
|
|
91604
91618
|
if (!$util.isInteger(message.ownerSubscriptionId))
|
|
91605
91619
|
return "ownerSubscriptionId: integer expected";
|
|
91620
|
+
if (message.ownerSubscriptionPreviousEndsAt != null && message.hasOwnProperty("ownerSubscriptionPreviousEndsAt"))
|
|
91621
|
+
if (!$util.isInteger(message.ownerSubscriptionPreviousEndsAt) && !(message.ownerSubscriptionPreviousEndsAt && $util.isInteger(message.ownerSubscriptionPreviousEndsAt.low) && $util.isInteger(message.ownerSubscriptionPreviousEndsAt.high)))
|
|
91622
|
+
return "ownerSubscriptionPreviousEndsAt: integer|Long expected";
|
|
91606
91623
|
return null;
|
|
91607
91624
|
};
|
|
91608
91625
|
|
|
@@ -91651,6 +91668,15 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91651
91668
|
message.orgId = object.orgId >>> 0;
|
|
91652
91669
|
if (object.ownerSubscriptionId != null)
|
|
91653
91670
|
message.ownerSubscriptionId = object.ownerSubscriptionId >>> 0;
|
|
91671
|
+
if (object.ownerSubscriptionPreviousEndsAt != null)
|
|
91672
|
+
if ($util.Long)
|
|
91673
|
+
(message.ownerSubscriptionPreviousEndsAt = $util.Long.fromValue(object.ownerSubscriptionPreviousEndsAt)).unsigned = true;
|
|
91674
|
+
else if (typeof object.ownerSubscriptionPreviousEndsAt === "string")
|
|
91675
|
+
message.ownerSubscriptionPreviousEndsAt = parseInt(object.ownerSubscriptionPreviousEndsAt, 10);
|
|
91676
|
+
else if (typeof object.ownerSubscriptionPreviousEndsAt === "number")
|
|
91677
|
+
message.ownerSubscriptionPreviousEndsAt = object.ownerSubscriptionPreviousEndsAt;
|
|
91678
|
+
else if (typeof object.ownerSubscriptionPreviousEndsAt === "object")
|
|
91679
|
+
message.ownerSubscriptionPreviousEndsAt = new $util.LongBits(object.ownerSubscriptionPreviousEndsAt.low >>> 0, object.ownerSubscriptionPreviousEndsAt.high >>> 0).toNumber(true);
|
|
91654
91680
|
return message;
|
|
91655
91681
|
};
|
|
91656
91682
|
|
|
@@ -91679,6 +91705,11 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91679
91705
|
object.role = options.enums === String ? "FAMILYPLAN_UNKNOWN" : 0;
|
|
91680
91706
|
object.orgId = 0;
|
|
91681
91707
|
object.ownerSubscriptionId = 0;
|
|
91708
|
+
if ($util.Long) {
|
|
91709
|
+
var long = new $util.Long(0, 0, true);
|
|
91710
|
+
object.ownerSubscriptionPreviousEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
91711
|
+
} else
|
|
91712
|
+
object.ownerSubscriptionPreviousEndsAt = options.longs === String ? "0" : 0;
|
|
91682
91713
|
}
|
|
91683
91714
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
91684
91715
|
if (typeof message.timestamp === "number")
|
|
@@ -91697,6 +91728,11 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91697
91728
|
object.orgId = message.orgId;
|
|
91698
91729
|
if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
|
|
91699
91730
|
object.ownerSubscriptionId = message.ownerSubscriptionId;
|
|
91731
|
+
if (message.ownerSubscriptionPreviousEndsAt != null && message.hasOwnProperty("ownerSubscriptionPreviousEndsAt"))
|
|
91732
|
+
if (typeof message.ownerSubscriptionPreviousEndsAt === "number")
|
|
91733
|
+
object.ownerSubscriptionPreviousEndsAt = options.longs === String ? String(message.ownerSubscriptionPreviousEndsAt) : message.ownerSubscriptionPreviousEndsAt;
|
|
91734
|
+
else
|
|
91735
|
+
object.ownerSubscriptionPreviousEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.ownerSubscriptionPreviousEndsAt) : options.longs === Number ? new $util.LongBits(message.ownerSubscriptionPreviousEndsAt.low >>> 0, message.ownerSubscriptionPreviousEndsAt.high >>> 0).toNumber(true) : message.ownerSubscriptionPreviousEndsAt;
|
|
91700
91736
|
return object;
|
|
91701
91737
|
};
|
|
91702
91738
|
|
|
@@ -96297,6 +96333,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96297
96333
|
* @property {b2b.OrgType|null} [orgType] EnterpriseUserEnrollmentCreated orgType
|
|
96298
96334
|
* @property {number|Long|null} [startsAt] EnterpriseUserEnrollmentCreated startsAt
|
|
96299
96335
|
* @property {number|Long|null} [endsAt] EnterpriseUserEnrollmentCreated endsAt
|
|
96336
|
+
* @property {number|Long|null} [previousEndsAt] EnterpriseUserEnrollmentCreated previousEndsAt
|
|
96300
96337
|
* @property {number|Long|null} [timestamp] EnterpriseUserEnrollmentCreated timestamp
|
|
96301
96338
|
* @property {boolean|null} [isPartialPay] EnterpriseUserEnrollmentCreated isPartialPay
|
|
96302
96339
|
* @property {b2b.OrgMemberPlan|null} [plan] EnterpriseUserEnrollmentCreated plan
|
|
@@ -96383,6 +96420,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96383
96420
|
*/
|
|
96384
96421
|
EnterpriseUserEnrollmentCreated.prototype.endsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
96385
96422
|
|
|
96423
|
+
/**
|
|
96424
|
+
* EnterpriseUserEnrollmentCreated previousEndsAt.
|
|
96425
|
+
* @member {number|Long} previousEndsAt
|
|
96426
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
96427
|
+
* @instance
|
|
96428
|
+
*/
|
|
96429
|
+
EnterpriseUserEnrollmentCreated.prototype.previousEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
96430
|
+
|
|
96386
96431
|
/**
|
|
96387
96432
|
* EnterpriseUserEnrollmentCreated timestamp.
|
|
96388
96433
|
* @member {number|Long} timestamp
|
|
@@ -96629,6 +96674,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96629
96674
|
writer.uint32(/* id 30, wireType 2 =*/242).string(message.ssoType);
|
|
96630
96675
|
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
96631
96676
|
writer.uint32(/* id 31, wireType 0 =*/248).int32(message.enrollmentFlow);
|
|
96677
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
96678
|
+
writer.uint32(/* id 32, wireType 0 =*/256).uint64(message.previousEndsAt);
|
|
96632
96679
|
return writer;
|
|
96633
96680
|
};
|
|
96634
96681
|
|
|
@@ -96681,6 +96728,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96681
96728
|
case 6:
|
|
96682
96729
|
message.endsAt = reader.uint64();
|
|
96683
96730
|
break;
|
|
96731
|
+
case 32:
|
|
96732
|
+
message.previousEndsAt = reader.uint64();
|
|
96733
|
+
break;
|
|
96684
96734
|
case 7:
|
|
96685
96735
|
message.timestamp = reader.uint64();
|
|
96686
96736
|
break;
|
|
@@ -96807,6 +96857,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96807
96857
|
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
96808
96858
|
if (!$util.isInteger(message.endsAt) && !(message.endsAt && $util.isInteger(message.endsAt.low) && $util.isInteger(message.endsAt.high)))
|
|
96809
96859
|
return "endsAt: integer|Long expected";
|
|
96860
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
96861
|
+
if (!$util.isInteger(message.previousEndsAt) && !(message.previousEndsAt && $util.isInteger(message.previousEndsAt.low) && $util.isInteger(message.previousEndsAt.high)))
|
|
96862
|
+
return "previousEndsAt: integer|Long expected";
|
|
96810
96863
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
96811
96864
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
96812
96865
|
return "timestamp: integer|Long expected";
|
|
@@ -96958,6 +97011,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
96958
97011
|
message.endsAt = object.endsAt;
|
|
96959
97012
|
else if (typeof object.endsAt === "object")
|
|
96960
97013
|
message.endsAt = new $util.LongBits(object.endsAt.low >>> 0, object.endsAt.high >>> 0).toNumber(true);
|
|
97014
|
+
if (object.previousEndsAt != null)
|
|
97015
|
+
if ($util.Long)
|
|
97016
|
+
(message.previousEndsAt = $util.Long.fromValue(object.previousEndsAt)).unsigned = true;
|
|
97017
|
+
else if (typeof object.previousEndsAt === "string")
|
|
97018
|
+
message.previousEndsAt = parseInt(object.previousEndsAt, 10);
|
|
97019
|
+
else if (typeof object.previousEndsAt === "number")
|
|
97020
|
+
message.previousEndsAt = object.previousEndsAt;
|
|
97021
|
+
else if (typeof object.previousEndsAt === "object")
|
|
97022
|
+
message.previousEndsAt = new $util.LongBits(object.previousEndsAt.low >>> 0, object.previousEndsAt.high >>> 0).toNumber(true);
|
|
96961
97023
|
if (object.timestamp != null)
|
|
96962
97024
|
if ($util.Long)
|
|
96963
97025
|
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
@@ -97125,6 +97187,11 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
97125
97187
|
object.gingerBundlingEnabled = false;
|
|
97126
97188
|
object.ssoType = "";
|
|
97127
97189
|
object.enrollmentFlow = options.enums === String ? "ENROLLMENT_FLOW_UNKNOWN" : 0;
|
|
97190
|
+
if ($util.Long) {
|
|
97191
|
+
var long = new $util.Long(0, 0, true);
|
|
97192
|
+
object.previousEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
97193
|
+
} else
|
|
97194
|
+
object.previousEndsAt = options.longs === String ? "0" : 0;
|
|
97128
97195
|
}
|
|
97129
97196
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
97130
97197
|
object.userId = message.userId;
|
|
@@ -97195,6 +97262,11 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
97195
97262
|
object.ssoType = message.ssoType;
|
|
97196
97263
|
if (message.enrollmentFlow != null && message.hasOwnProperty("enrollmentFlow"))
|
|
97197
97264
|
object.enrollmentFlow = options.enums === String ? $root.EnrollmentFlow[message.enrollmentFlow] : message.enrollmentFlow;
|
|
97265
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
97266
|
+
if (typeof message.previousEndsAt === "number")
|
|
97267
|
+
object.previousEndsAt = options.longs === String ? String(message.previousEndsAt) : message.previousEndsAt;
|
|
97268
|
+
else
|
|
97269
|
+
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
97270
|
return object;
|
|
97199
97271
|
};
|
|
97200
97272
|
|
package/package.json
CHANGED