@headspace/protos-events 1.470.0 → 1.470.1-rc.1
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 +19 -1
- package/lib/index.js +95 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -32914,9 +32914,12 @@ export interface IFamilyMemberSynced {
|
|
|
32914
32914
|
|
|
32915
32915
|
/** FamilyMemberSynced orgId */
|
|
32916
32916
|
orgId?: (number|null);
|
|
32917
|
+
|
|
32918
|
+
/** FamilyMemberSynced ownerSubscriptionId */
|
|
32919
|
+
ownerSubscriptionId?: (number|null);
|
|
32917
32920
|
}
|
|
32918
32921
|
|
|
32919
|
-
/** Event published
|
|
32922
|
+
/** Event published for each group member when a change (created, amended, ended) to the owner's subscription observed */
|
|
32920
32923
|
export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
32921
32924
|
|
|
32922
32925
|
/**
|
|
@@ -32943,6 +32946,9 @@ export class FamilyMemberSynced implements IFamilyMemberSynced {
|
|
|
32943
32946
|
/** FamilyMemberSynced orgId. */
|
|
32944
32947
|
public orgId: number;
|
|
32945
32948
|
|
|
32949
|
+
/** FamilyMemberSynced ownerSubscriptionId. */
|
|
32950
|
+
public ownerSubscriptionId: number;
|
|
32951
|
+
|
|
32946
32952
|
/**
|
|
32947
32953
|
* Creates a new FamilyMemberSynced instance using the specified properties.
|
|
32948
32954
|
* @param [properties] Properties to set
|
|
@@ -42738,6 +42744,9 @@ export interface ISubscriptionCreated {
|
|
|
42738
42744
|
/** SubscriptionCreated endsAt */
|
|
42739
42745
|
endsAt?: (number|Long|null);
|
|
42740
42746
|
|
|
42747
|
+
/** SubscriptionCreated previousEndsAt */
|
|
42748
|
+
previousEndsAt?: (number|Long|null);
|
|
42749
|
+
|
|
42741
42750
|
/** SubscriptionCreated voucherCode */
|
|
42742
42751
|
voucherCode?: (string|null);
|
|
42743
42752
|
|
|
@@ -42799,6 +42808,9 @@ export class SubscriptionCreated implements ISubscriptionCreated {
|
|
|
42799
42808
|
/** SubscriptionCreated endsAt. */
|
|
42800
42809
|
public endsAt: (number|Long);
|
|
42801
42810
|
|
|
42811
|
+
/** SubscriptionCreated previousEndsAt. */
|
|
42812
|
+
public previousEndsAt: (number|Long);
|
|
42813
|
+
|
|
42802
42814
|
/** SubscriptionCreated voucherCode. */
|
|
42803
42815
|
public voucherCode: string;
|
|
42804
42816
|
|
|
@@ -44391,6 +44403,9 @@ export interface ISubscriptionAmended {
|
|
|
44391
44403
|
/** SubscriptionAmended endsAt */
|
|
44392
44404
|
endsAt?: (number|Long|null);
|
|
44393
44405
|
|
|
44406
|
+
/** SubscriptionAmended previousEndsAt */
|
|
44407
|
+
previousEndsAt?: (number|Long|null);
|
|
44408
|
+
|
|
44394
44409
|
/** SubscriptionAmended voucherCode */
|
|
44395
44410
|
voucherCode?: (string|null);
|
|
44396
44411
|
|
|
@@ -44452,6 +44467,9 @@ export class SubscriptionAmended implements ISubscriptionAmended {
|
|
|
44452
44467
|
/** SubscriptionAmended endsAt. */
|
|
44453
44468
|
public endsAt: (number|Long);
|
|
44454
44469
|
|
|
44470
|
+
/** SubscriptionAmended previousEndsAt. */
|
|
44471
|
+
public previousEndsAt: (number|Long);
|
|
44472
|
+
|
|
44455
44473
|
/** SubscriptionAmended voucherCode. */
|
|
44456
44474
|
public voucherCode: string;
|
|
44457
44475
|
|
package/lib/index.js
CHANGED
|
@@ -91374,12 +91374,13 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91374
91374
|
* @property {number|null} [userGroupId] FamilyMemberSynced userGroupId
|
|
91375
91375
|
* @property {community.FamilyPlanRole|null} [role] FamilyMemberSynced role
|
|
91376
91376
|
* @property {number|null} [orgId] FamilyMemberSynced orgId
|
|
91377
|
+
* @property {number|null} [ownerSubscriptionId] FamilyMemberSynced ownerSubscriptionId
|
|
91377
91378
|
*/
|
|
91378
91379
|
|
|
91379
91380
|
/**
|
|
91380
91381
|
* Constructs a new FamilyMemberSynced.
|
|
91381
91382
|
* @name FamilyMemberSynced
|
|
91382
|
-
* @classdesc Event published
|
|
91383
|
+
* @classdesc Event published for each group member when a change (created, amended, ended) to the owner's subscription observed
|
|
91383
91384
|
* @implements IFamilyMemberSynced
|
|
91384
91385
|
* @constructor
|
|
91385
91386
|
* @param {IFamilyMemberSynced=} [properties] Properties to set
|
|
@@ -91439,6 +91440,14 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91439
91440
|
*/
|
|
91440
91441
|
FamilyMemberSynced.prototype.orgId = 0;
|
|
91441
91442
|
|
|
91443
|
+
/**
|
|
91444
|
+
* FamilyMemberSynced ownerSubscriptionId.
|
|
91445
|
+
* @member {number} ownerSubscriptionId
|
|
91446
|
+
* @memberof FamilyMemberSynced
|
|
91447
|
+
* @instance
|
|
91448
|
+
*/
|
|
91449
|
+
FamilyMemberSynced.prototype.ownerSubscriptionId = 0;
|
|
91450
|
+
|
|
91442
91451
|
/**
|
|
91443
91452
|
* Creates a new FamilyMemberSynced instance using the specified properties.
|
|
91444
91453
|
* @function create
|
|
@@ -91475,6 +91484,8 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91475
91484
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.role);
|
|
91476
91485
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91477
91486
|
writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.orgId);
|
|
91487
|
+
if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
|
|
91488
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.ownerSubscriptionId);
|
|
91478
91489
|
return writer;
|
|
91479
91490
|
};
|
|
91480
91491
|
|
|
@@ -91527,6 +91538,9 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91527
91538
|
case 6:
|
|
91528
91539
|
message.orgId = reader.uint32();
|
|
91529
91540
|
break;
|
|
91541
|
+
case 7:
|
|
91542
|
+
message.ownerSubscriptionId = reader.uint32();
|
|
91543
|
+
break;
|
|
91530
91544
|
default:
|
|
91531
91545
|
reader.skipType(tag & 7);
|
|
91532
91546
|
break;
|
|
@@ -91586,6 +91600,9 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91586
91600
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91587
91601
|
if (!$util.isInteger(message.orgId))
|
|
91588
91602
|
return "orgId: integer expected";
|
|
91603
|
+
if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
|
|
91604
|
+
if (!$util.isInteger(message.ownerSubscriptionId))
|
|
91605
|
+
return "ownerSubscriptionId: integer expected";
|
|
91589
91606
|
return null;
|
|
91590
91607
|
};
|
|
91591
91608
|
|
|
@@ -91632,6 +91649,8 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91632
91649
|
}
|
|
91633
91650
|
if (object.orgId != null)
|
|
91634
91651
|
message.orgId = object.orgId >>> 0;
|
|
91652
|
+
if (object.ownerSubscriptionId != null)
|
|
91653
|
+
message.ownerSubscriptionId = object.ownerSubscriptionId >>> 0;
|
|
91635
91654
|
return message;
|
|
91636
91655
|
};
|
|
91637
91656
|
|
|
@@ -91659,6 +91678,7 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91659
91678
|
object.userGroupId = 0;
|
|
91660
91679
|
object.role = options.enums === String ? "FAMILYPLAN_UNKNOWN" : 0;
|
|
91661
91680
|
object.orgId = 0;
|
|
91681
|
+
object.ownerSubscriptionId = 0;
|
|
91662
91682
|
}
|
|
91663
91683
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
91664
91684
|
if (typeof message.timestamp === "number")
|
|
@@ -91675,6 +91695,8 @@ $root.FamilyMemberSynced = (function() {
|
|
|
91675
91695
|
object.role = options.enums === String ? $root.community.FamilyPlanRole[message.role] : message.role;
|
|
91676
91696
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
91677
91697
|
object.orgId = message.orgId;
|
|
91698
|
+
if (message.ownerSubscriptionId != null && message.hasOwnProperty("ownerSubscriptionId"))
|
|
91699
|
+
object.ownerSubscriptionId = message.ownerSubscriptionId;
|
|
91678
91700
|
return object;
|
|
91679
91701
|
};
|
|
91680
91702
|
|
|
@@ -119727,6 +119749,7 @@ $root.SubscriptionCreated = (function() {
|
|
|
119727
119749
|
* @property {number|Long|null} [createdAt] SubscriptionCreated createdAt
|
|
119728
119750
|
* @property {number|Long|null} [startsAt] SubscriptionCreated startsAt
|
|
119729
119751
|
* @property {number|Long|null} [endsAt] SubscriptionCreated endsAt
|
|
119752
|
+
* @property {number|Long|null} [previousEndsAt] SubscriptionCreated previousEndsAt
|
|
119730
119753
|
* @property {string|null} [voucherCode] SubscriptionCreated voucherCode
|
|
119731
119754
|
* @property {subscription.SubscriptionPlatform|null} [platform] SubscriptionCreated platform
|
|
119732
119755
|
* @property {subscription.AutoRenewalStatus|null} [autoRenewalStatus] SubscriptionCreated autoRenewalStatus
|
|
@@ -119805,6 +119828,14 @@ $root.SubscriptionCreated = (function() {
|
|
|
119805
119828
|
*/
|
|
119806
119829
|
SubscriptionCreated.prototype.endsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
119807
119830
|
|
|
119831
|
+
/**
|
|
119832
|
+
* SubscriptionCreated previousEndsAt.
|
|
119833
|
+
* @member {number|Long} previousEndsAt
|
|
119834
|
+
* @memberof SubscriptionCreated
|
|
119835
|
+
* @instance
|
|
119836
|
+
*/
|
|
119837
|
+
SubscriptionCreated.prototype.previousEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
119838
|
+
|
|
119808
119839
|
/**
|
|
119809
119840
|
* SubscriptionCreated voucherCode.
|
|
119810
119841
|
* @member {string} voucherCode
|
|
@@ -119956,6 +119987,8 @@ $root.SubscriptionCreated = (function() {
|
|
|
119956
119987
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
119957
119988
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
119958
119989
|
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.orgId);
|
|
119990
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
119991
|
+
writer.uint32(/* id 18, wireType 0 =*/144).uint64(message.previousEndsAt);
|
|
119959
119992
|
return writer;
|
|
119960
119993
|
};
|
|
119961
119994
|
|
|
@@ -120008,6 +120041,9 @@ $root.SubscriptionCreated = (function() {
|
|
|
120008
120041
|
case 6:
|
|
120009
120042
|
message.endsAt = reader.uint64();
|
|
120010
120043
|
break;
|
|
120044
|
+
case 18:
|
|
120045
|
+
message.previousEndsAt = reader.uint64();
|
|
120046
|
+
break;
|
|
120011
120047
|
case 7:
|
|
120012
120048
|
message.voucherCode = reader.string();
|
|
120013
120049
|
break;
|
|
@@ -120103,6 +120139,9 @@ $root.SubscriptionCreated = (function() {
|
|
|
120103
120139
|
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
120104
120140
|
if (!$util.isInteger(message.endsAt) && !(message.endsAt && $util.isInteger(message.endsAt.low) && $util.isInteger(message.endsAt.high)))
|
|
120105
120141
|
return "endsAt: integer|Long expected";
|
|
120142
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
120143
|
+
if (!$util.isInteger(message.previousEndsAt) && !(message.previousEndsAt && $util.isInteger(message.previousEndsAt.low) && $util.isInteger(message.previousEndsAt.high)))
|
|
120144
|
+
return "previousEndsAt: integer|Long expected";
|
|
120106
120145
|
if (message.voucherCode != null && message.hasOwnProperty("voucherCode"))
|
|
120107
120146
|
if (!$util.isString(message.voucherCode))
|
|
120108
120147
|
return "voucherCode: string expected";
|
|
@@ -120240,6 +120279,15 @@ $root.SubscriptionCreated = (function() {
|
|
|
120240
120279
|
message.endsAt = object.endsAt;
|
|
120241
120280
|
else if (typeof object.endsAt === "object")
|
|
120242
120281
|
message.endsAt = new $util.LongBits(object.endsAt.low >>> 0, object.endsAt.high >>> 0).toNumber(true);
|
|
120282
|
+
if (object.previousEndsAt != null)
|
|
120283
|
+
if ($util.Long)
|
|
120284
|
+
(message.previousEndsAt = $util.Long.fromValue(object.previousEndsAt)).unsigned = true;
|
|
120285
|
+
else if (typeof object.previousEndsAt === "string")
|
|
120286
|
+
message.previousEndsAt = parseInt(object.previousEndsAt, 10);
|
|
120287
|
+
else if (typeof object.previousEndsAt === "number")
|
|
120288
|
+
message.previousEndsAt = object.previousEndsAt;
|
|
120289
|
+
else if (typeof object.previousEndsAt === "object")
|
|
120290
|
+
message.previousEndsAt = new $util.LongBits(object.previousEndsAt.low >>> 0, object.previousEndsAt.high >>> 0).toNumber(true);
|
|
120243
120291
|
if (object.voucherCode != null)
|
|
120244
120292
|
message.voucherCode = String(object.voucherCode);
|
|
120245
120293
|
switch (object.platform) {
|
|
@@ -120415,6 +120463,11 @@ $root.SubscriptionCreated = (function() {
|
|
|
120415
120463
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
120416
120464
|
object.productSku = null;
|
|
120417
120465
|
object.orgId = 0;
|
|
120466
|
+
if ($util.Long) {
|
|
120467
|
+
var long = new $util.Long(0, 0, true);
|
|
120468
|
+
object.previousEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
120469
|
+
} else
|
|
120470
|
+
object.previousEndsAt = options.longs === String ? "0" : 0;
|
|
120418
120471
|
}
|
|
120419
120472
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
120420
120473
|
object.id = message.id;
|
|
@@ -120468,6 +120521,11 @@ $root.SubscriptionCreated = (function() {
|
|
|
120468
120521
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
120469
120522
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120470
120523
|
object.orgId = message.orgId;
|
|
120524
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
120525
|
+
if (typeof message.previousEndsAt === "number")
|
|
120526
|
+
object.previousEndsAt = options.longs === String ? String(message.previousEndsAt) : message.previousEndsAt;
|
|
120527
|
+
else
|
|
120528
|
+
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;
|
|
120471
120529
|
return object;
|
|
120472
120530
|
};
|
|
120473
120531
|
|
|
@@ -126219,6 +126277,7 @@ $root.SubscriptionAmended = (function() {
|
|
|
126219
126277
|
* @property {number|Long|null} [createdAt] SubscriptionAmended createdAt
|
|
126220
126278
|
* @property {number|Long|null} [startsAt] SubscriptionAmended startsAt
|
|
126221
126279
|
* @property {number|Long|null} [endsAt] SubscriptionAmended endsAt
|
|
126280
|
+
* @property {number|Long|null} [previousEndsAt] SubscriptionAmended previousEndsAt
|
|
126222
126281
|
* @property {string|null} [voucherCode] SubscriptionAmended voucherCode
|
|
126223
126282
|
* @property {subscription.SubscriptionPlatform|null} [platform] SubscriptionAmended platform
|
|
126224
126283
|
* @property {subscription.AutoRenewalStatus|null} [autoRenewalStatus] SubscriptionAmended autoRenewalStatus
|
|
@@ -126290,6 +126349,14 @@ $root.SubscriptionAmended = (function() {
|
|
|
126290
126349
|
*/
|
|
126291
126350
|
SubscriptionAmended.prototype.endsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
126292
126351
|
|
|
126352
|
+
/**
|
|
126353
|
+
* SubscriptionAmended previousEndsAt.
|
|
126354
|
+
* @member {number|Long} previousEndsAt
|
|
126355
|
+
* @memberof SubscriptionAmended
|
|
126356
|
+
* @instance
|
|
126357
|
+
*/
|
|
126358
|
+
SubscriptionAmended.prototype.previousEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
126359
|
+
|
|
126293
126360
|
/**
|
|
126294
126361
|
* SubscriptionAmended voucherCode.
|
|
126295
126362
|
* @member {string} voucherCode
|
|
@@ -126449,6 +126516,8 @@ $root.SubscriptionAmended = (function() {
|
|
|
126449
126516
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
126450
126517
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
126451
126518
|
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.orgId);
|
|
126519
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
126520
|
+
writer.uint32(/* id 19, wireType 0 =*/152).uint64(message.previousEndsAt);
|
|
126452
126521
|
return writer;
|
|
126453
126522
|
};
|
|
126454
126523
|
|
|
@@ -126498,6 +126567,9 @@ $root.SubscriptionAmended = (function() {
|
|
|
126498
126567
|
case 6:
|
|
126499
126568
|
message.endsAt = reader.uint64();
|
|
126500
126569
|
break;
|
|
126570
|
+
case 19:
|
|
126571
|
+
message.previousEndsAt = reader.uint64();
|
|
126572
|
+
break;
|
|
126501
126573
|
case 7:
|
|
126502
126574
|
message.voucherCode = reader.string();
|
|
126503
126575
|
break;
|
|
@@ -126593,6 +126665,9 @@ $root.SubscriptionAmended = (function() {
|
|
|
126593
126665
|
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
126594
126666
|
if (!$util.isInteger(message.endsAt) && !(message.endsAt && $util.isInteger(message.endsAt.low) && $util.isInteger(message.endsAt.high)))
|
|
126595
126667
|
return "endsAt: integer|Long expected";
|
|
126668
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
126669
|
+
if (!$util.isInteger(message.previousEndsAt) && !(message.previousEndsAt && $util.isInteger(message.previousEndsAt.low) && $util.isInteger(message.previousEndsAt.high)))
|
|
126670
|
+
return "previousEndsAt: integer|Long expected";
|
|
126596
126671
|
if (message.voucherCode != null && message.hasOwnProperty("voucherCode"))
|
|
126597
126672
|
if (!$util.isString(message.voucherCode))
|
|
126598
126673
|
return "voucherCode: string expected";
|
|
@@ -126731,6 +126806,15 @@ $root.SubscriptionAmended = (function() {
|
|
|
126731
126806
|
message.endsAt = object.endsAt;
|
|
126732
126807
|
else if (typeof object.endsAt === "object")
|
|
126733
126808
|
message.endsAt = new $util.LongBits(object.endsAt.low >>> 0, object.endsAt.high >>> 0).toNumber(true);
|
|
126809
|
+
if (object.previousEndsAt != null)
|
|
126810
|
+
if ($util.Long)
|
|
126811
|
+
(message.previousEndsAt = $util.Long.fromValue(object.previousEndsAt)).unsigned = true;
|
|
126812
|
+
else if (typeof object.previousEndsAt === "string")
|
|
126813
|
+
message.previousEndsAt = parseInt(object.previousEndsAt, 10);
|
|
126814
|
+
else if (typeof object.previousEndsAt === "number")
|
|
126815
|
+
message.previousEndsAt = object.previousEndsAt;
|
|
126816
|
+
else if (typeof object.previousEndsAt === "object")
|
|
126817
|
+
message.previousEndsAt = new $util.LongBits(object.previousEndsAt.low >>> 0, object.previousEndsAt.high >>> 0).toNumber(true);
|
|
126734
126818
|
if (object.voucherCode != null)
|
|
126735
126819
|
message.voucherCode = String(object.voucherCode);
|
|
126736
126820
|
switch (object.platform) {
|
|
@@ -126919,6 +127003,11 @@ $root.SubscriptionAmended = (function() {
|
|
|
126919
127003
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
126920
127004
|
object.productSku = null;
|
|
126921
127005
|
object.orgId = 0;
|
|
127006
|
+
if ($util.Long) {
|
|
127007
|
+
var long = new $util.Long(0, 0, true);
|
|
127008
|
+
object.previousEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
127009
|
+
} else
|
|
127010
|
+
object.previousEndsAt = options.longs === String ? "0" : 0;
|
|
126922
127011
|
}
|
|
126923
127012
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
126924
127013
|
if (typeof message.updatedOn === "number")
|
|
@@ -126975,6 +127064,11 @@ $root.SubscriptionAmended = (function() {
|
|
|
126975
127064
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
126976
127065
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
126977
127066
|
object.orgId = message.orgId;
|
|
127067
|
+
if (message.previousEndsAt != null && message.hasOwnProperty("previousEndsAt"))
|
|
127068
|
+
if (typeof message.previousEndsAt === "number")
|
|
127069
|
+
object.previousEndsAt = options.longs === String ? String(message.previousEndsAt) : message.previousEndsAt;
|
|
127070
|
+
else
|
|
127071
|
+
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;
|
|
126978
127072
|
return object;
|
|
126979
127073
|
};
|
|
126980
127074
|
|
package/package.json
CHANGED