@headspace/protos-events 1.153.0 → 1.156.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 +277 -0
- package/lib/index.js +1268 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -222,6 +222,54 @@ $root.date = (function() {
|
|
|
222
222
|
return date;
|
|
223
223
|
})();
|
|
224
224
|
|
|
225
|
+
$root.auth0 = (function() {
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Namespace auth0.
|
|
229
|
+
* @exports auth0
|
|
230
|
+
* @namespace
|
|
231
|
+
*/
|
|
232
|
+
var auth0 = {};
|
|
233
|
+
|
|
234
|
+
auth0.connections = (function() {
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Namespace connections.
|
|
238
|
+
* @memberof auth0
|
|
239
|
+
* @namespace
|
|
240
|
+
*/
|
|
241
|
+
var connections = {};
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Connection enum.
|
|
245
|
+
* @name auth0.connections.Connection
|
|
246
|
+
* @enum {string}
|
|
247
|
+
* @property {number} UNKNOWN_CONNECTION=0 UNKNOWN_CONNECTION value
|
|
248
|
+
* @property {number} APPLE=1 APPLE value
|
|
249
|
+
* @property {number} FACEBOOK=2 FACEBOOK value
|
|
250
|
+
* @property {number} ONELOGIN=3 ONELOGIN value
|
|
251
|
+
* @property {number} SPOTIFY=4 SPOTIFY value
|
|
252
|
+
* @property {number} USER_PASSWORD_HEADSPACE=5 USER_PASSWORD_HEADSPACE value
|
|
253
|
+
* @property {number} VIRGINPULSE=6 VIRGINPULSE value
|
|
254
|
+
*/
|
|
255
|
+
connections.Connection = (function() {
|
|
256
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
257
|
+
values[valuesById[0] = "UNKNOWN_CONNECTION"] = 0;
|
|
258
|
+
values[valuesById[1] = "APPLE"] = 1;
|
|
259
|
+
values[valuesById[2] = "FACEBOOK"] = 2;
|
|
260
|
+
values[valuesById[3] = "ONELOGIN"] = 3;
|
|
261
|
+
values[valuesById[4] = "SPOTIFY"] = 4;
|
|
262
|
+
values[valuesById[5] = "USER_PASSWORD_HEADSPACE"] = 5;
|
|
263
|
+
values[valuesById[6] = "VIRGINPULSE"] = 6;
|
|
264
|
+
return values;
|
|
265
|
+
})();
|
|
266
|
+
|
|
267
|
+
return connections;
|
|
268
|
+
})();
|
|
269
|
+
|
|
270
|
+
return auth0;
|
|
271
|
+
})();
|
|
272
|
+
|
|
225
273
|
$root.contentful = (function() {
|
|
226
274
|
|
|
227
275
|
/**
|
|
@@ -10409,6 +10457,290 @@ $root.userdomain = (function() {
|
|
|
10409
10457
|
return userdomain;
|
|
10410
10458
|
})();
|
|
10411
10459
|
|
|
10460
|
+
$root.UnlinkedConnection = (function() {
|
|
10461
|
+
|
|
10462
|
+
/**
|
|
10463
|
+
* Properties of an UnlinkedConnection.
|
|
10464
|
+
* @exports IUnlinkedConnection
|
|
10465
|
+
* @interface IUnlinkedConnection
|
|
10466
|
+
* @property {string|null} [hsId] UnlinkedConnection hsId
|
|
10467
|
+
* @property {auth0.connections.Connection|null} [connection] UnlinkedConnection connection
|
|
10468
|
+
* @property {number|Long|null} [unlinkedAt] UnlinkedConnection unlinkedAt
|
|
10469
|
+
*/
|
|
10470
|
+
|
|
10471
|
+
/**
|
|
10472
|
+
* Constructs a new UnlinkedConnection.
|
|
10473
|
+
* @exports UnlinkedConnection
|
|
10474
|
+
* @classdesc Represents an UnlinkedConnection.
|
|
10475
|
+
* @implements IUnlinkedConnection
|
|
10476
|
+
* @constructor
|
|
10477
|
+
* @param {IUnlinkedConnection=} [properties] Properties to set
|
|
10478
|
+
*/
|
|
10479
|
+
function UnlinkedConnection(properties) {
|
|
10480
|
+
if (properties)
|
|
10481
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
10482
|
+
if (properties[keys[i]] != null)
|
|
10483
|
+
this[keys[i]] = properties[keys[i]];
|
|
10484
|
+
}
|
|
10485
|
+
|
|
10486
|
+
/**
|
|
10487
|
+
* UnlinkedConnection hsId.
|
|
10488
|
+
* @member {string} hsId
|
|
10489
|
+
* @memberof UnlinkedConnection
|
|
10490
|
+
* @instance
|
|
10491
|
+
*/
|
|
10492
|
+
UnlinkedConnection.prototype.hsId = "";
|
|
10493
|
+
|
|
10494
|
+
/**
|
|
10495
|
+
* UnlinkedConnection connection.
|
|
10496
|
+
* @member {auth0.connections.Connection} connection
|
|
10497
|
+
* @memberof UnlinkedConnection
|
|
10498
|
+
* @instance
|
|
10499
|
+
*/
|
|
10500
|
+
UnlinkedConnection.prototype.connection = 0;
|
|
10501
|
+
|
|
10502
|
+
/**
|
|
10503
|
+
* UnlinkedConnection unlinkedAt.
|
|
10504
|
+
* @member {number|Long} unlinkedAt
|
|
10505
|
+
* @memberof UnlinkedConnection
|
|
10506
|
+
* @instance
|
|
10507
|
+
*/
|
|
10508
|
+
UnlinkedConnection.prototype.unlinkedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
10509
|
+
|
|
10510
|
+
/**
|
|
10511
|
+
* Creates a new UnlinkedConnection instance using the specified properties.
|
|
10512
|
+
* @function create
|
|
10513
|
+
* @memberof UnlinkedConnection
|
|
10514
|
+
* @static
|
|
10515
|
+
* @param {IUnlinkedConnection=} [properties] Properties to set
|
|
10516
|
+
* @returns {UnlinkedConnection} UnlinkedConnection instance
|
|
10517
|
+
*/
|
|
10518
|
+
UnlinkedConnection.create = function create(properties) {
|
|
10519
|
+
return new UnlinkedConnection(properties);
|
|
10520
|
+
};
|
|
10521
|
+
|
|
10522
|
+
/**
|
|
10523
|
+
* Encodes the specified UnlinkedConnection message. Does not implicitly {@link UnlinkedConnection.verify|verify} messages.
|
|
10524
|
+
* @function encode
|
|
10525
|
+
* @memberof UnlinkedConnection
|
|
10526
|
+
* @static
|
|
10527
|
+
* @param {IUnlinkedConnection} message UnlinkedConnection message or plain object to encode
|
|
10528
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
10529
|
+
* @returns {$protobuf.Writer} Writer
|
|
10530
|
+
*/
|
|
10531
|
+
UnlinkedConnection.encode = function encode(message, writer) {
|
|
10532
|
+
if (!writer)
|
|
10533
|
+
writer = $Writer.create();
|
|
10534
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
10535
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsId);
|
|
10536
|
+
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
10537
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.connection);
|
|
10538
|
+
if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
|
|
10539
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.unlinkedAt);
|
|
10540
|
+
return writer;
|
|
10541
|
+
};
|
|
10542
|
+
|
|
10543
|
+
/**
|
|
10544
|
+
* Encodes the specified UnlinkedConnection message, length delimited. Does not implicitly {@link UnlinkedConnection.verify|verify} messages.
|
|
10545
|
+
* @function encodeDelimited
|
|
10546
|
+
* @memberof UnlinkedConnection
|
|
10547
|
+
* @static
|
|
10548
|
+
* @param {IUnlinkedConnection} message UnlinkedConnection message or plain object to encode
|
|
10549
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
10550
|
+
* @returns {$protobuf.Writer} Writer
|
|
10551
|
+
*/
|
|
10552
|
+
UnlinkedConnection.encodeDelimited = function encodeDelimited(message, writer) {
|
|
10553
|
+
return this.encode(message, writer).ldelim();
|
|
10554
|
+
};
|
|
10555
|
+
|
|
10556
|
+
/**
|
|
10557
|
+
* Decodes an UnlinkedConnection message from the specified reader or buffer.
|
|
10558
|
+
* @function decode
|
|
10559
|
+
* @memberof UnlinkedConnection
|
|
10560
|
+
* @static
|
|
10561
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
10562
|
+
* @param {number} [length] Message length if known beforehand
|
|
10563
|
+
* @returns {UnlinkedConnection} UnlinkedConnection
|
|
10564
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10565
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10566
|
+
*/
|
|
10567
|
+
UnlinkedConnection.decode = function decode(reader, length) {
|
|
10568
|
+
if (!(reader instanceof $Reader))
|
|
10569
|
+
reader = $Reader.create(reader);
|
|
10570
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UnlinkedConnection();
|
|
10571
|
+
while (reader.pos < end) {
|
|
10572
|
+
var tag = reader.uint32();
|
|
10573
|
+
switch (tag >>> 3) {
|
|
10574
|
+
case 1:
|
|
10575
|
+
message.hsId = reader.string();
|
|
10576
|
+
break;
|
|
10577
|
+
case 2:
|
|
10578
|
+
message.connection = reader.int32();
|
|
10579
|
+
break;
|
|
10580
|
+
case 3:
|
|
10581
|
+
message.unlinkedAt = reader.uint64();
|
|
10582
|
+
break;
|
|
10583
|
+
default:
|
|
10584
|
+
reader.skipType(tag & 7);
|
|
10585
|
+
break;
|
|
10586
|
+
}
|
|
10587
|
+
}
|
|
10588
|
+
return message;
|
|
10589
|
+
};
|
|
10590
|
+
|
|
10591
|
+
/**
|
|
10592
|
+
* Decodes an UnlinkedConnection message from the specified reader or buffer, length delimited.
|
|
10593
|
+
* @function decodeDelimited
|
|
10594
|
+
* @memberof UnlinkedConnection
|
|
10595
|
+
* @static
|
|
10596
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
10597
|
+
* @returns {UnlinkedConnection} UnlinkedConnection
|
|
10598
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10599
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10600
|
+
*/
|
|
10601
|
+
UnlinkedConnection.decodeDelimited = function decodeDelimited(reader) {
|
|
10602
|
+
if (!(reader instanceof $Reader))
|
|
10603
|
+
reader = new $Reader(reader);
|
|
10604
|
+
return this.decode(reader, reader.uint32());
|
|
10605
|
+
};
|
|
10606
|
+
|
|
10607
|
+
/**
|
|
10608
|
+
* Verifies an UnlinkedConnection message.
|
|
10609
|
+
* @function verify
|
|
10610
|
+
* @memberof UnlinkedConnection
|
|
10611
|
+
* @static
|
|
10612
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
10613
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
10614
|
+
*/
|
|
10615
|
+
UnlinkedConnection.verify = function verify(message) {
|
|
10616
|
+
if (typeof message !== "object" || message === null)
|
|
10617
|
+
return "object expected";
|
|
10618
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
10619
|
+
if (!$util.isString(message.hsId))
|
|
10620
|
+
return "hsId: string expected";
|
|
10621
|
+
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
10622
|
+
switch (message.connection) {
|
|
10623
|
+
default:
|
|
10624
|
+
return "connection: enum value expected";
|
|
10625
|
+
case 0:
|
|
10626
|
+
case 1:
|
|
10627
|
+
case 2:
|
|
10628
|
+
case 3:
|
|
10629
|
+
case 4:
|
|
10630
|
+
case 5:
|
|
10631
|
+
case 6:
|
|
10632
|
+
break;
|
|
10633
|
+
}
|
|
10634
|
+
if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
|
|
10635
|
+
if (!$util.isInteger(message.unlinkedAt) && !(message.unlinkedAt && $util.isInteger(message.unlinkedAt.low) && $util.isInteger(message.unlinkedAt.high)))
|
|
10636
|
+
return "unlinkedAt: integer|Long expected";
|
|
10637
|
+
return null;
|
|
10638
|
+
};
|
|
10639
|
+
|
|
10640
|
+
/**
|
|
10641
|
+
* Creates an UnlinkedConnection message from a plain object. Also converts values to their respective internal types.
|
|
10642
|
+
* @function fromObject
|
|
10643
|
+
* @memberof UnlinkedConnection
|
|
10644
|
+
* @static
|
|
10645
|
+
* @param {Object.<string,*>} object Plain object
|
|
10646
|
+
* @returns {UnlinkedConnection} UnlinkedConnection
|
|
10647
|
+
*/
|
|
10648
|
+
UnlinkedConnection.fromObject = function fromObject(object) {
|
|
10649
|
+
if (object instanceof $root.UnlinkedConnection)
|
|
10650
|
+
return object;
|
|
10651
|
+
var message = new $root.UnlinkedConnection();
|
|
10652
|
+
if (object.hsId != null)
|
|
10653
|
+
message.hsId = String(object.hsId);
|
|
10654
|
+
switch (object.connection) {
|
|
10655
|
+
case "UNKNOWN_CONNECTION":
|
|
10656
|
+
case 0:
|
|
10657
|
+
message.connection = 0;
|
|
10658
|
+
break;
|
|
10659
|
+
case "APPLE":
|
|
10660
|
+
case 1:
|
|
10661
|
+
message.connection = 1;
|
|
10662
|
+
break;
|
|
10663
|
+
case "FACEBOOK":
|
|
10664
|
+
case 2:
|
|
10665
|
+
message.connection = 2;
|
|
10666
|
+
break;
|
|
10667
|
+
case "ONELOGIN":
|
|
10668
|
+
case 3:
|
|
10669
|
+
message.connection = 3;
|
|
10670
|
+
break;
|
|
10671
|
+
case "SPOTIFY":
|
|
10672
|
+
case 4:
|
|
10673
|
+
message.connection = 4;
|
|
10674
|
+
break;
|
|
10675
|
+
case "USER_PASSWORD_HEADSPACE":
|
|
10676
|
+
case 5:
|
|
10677
|
+
message.connection = 5;
|
|
10678
|
+
break;
|
|
10679
|
+
case "VIRGINPULSE":
|
|
10680
|
+
case 6:
|
|
10681
|
+
message.connection = 6;
|
|
10682
|
+
break;
|
|
10683
|
+
}
|
|
10684
|
+
if (object.unlinkedAt != null)
|
|
10685
|
+
if ($util.Long)
|
|
10686
|
+
(message.unlinkedAt = $util.Long.fromValue(object.unlinkedAt)).unsigned = true;
|
|
10687
|
+
else if (typeof object.unlinkedAt === "string")
|
|
10688
|
+
message.unlinkedAt = parseInt(object.unlinkedAt, 10);
|
|
10689
|
+
else if (typeof object.unlinkedAt === "number")
|
|
10690
|
+
message.unlinkedAt = object.unlinkedAt;
|
|
10691
|
+
else if (typeof object.unlinkedAt === "object")
|
|
10692
|
+
message.unlinkedAt = new $util.LongBits(object.unlinkedAt.low >>> 0, object.unlinkedAt.high >>> 0).toNumber(true);
|
|
10693
|
+
return message;
|
|
10694
|
+
};
|
|
10695
|
+
|
|
10696
|
+
/**
|
|
10697
|
+
* Creates a plain object from an UnlinkedConnection message. Also converts values to other types if specified.
|
|
10698
|
+
* @function toObject
|
|
10699
|
+
* @memberof UnlinkedConnection
|
|
10700
|
+
* @static
|
|
10701
|
+
* @param {UnlinkedConnection} message UnlinkedConnection
|
|
10702
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
10703
|
+
* @returns {Object.<string,*>} Plain object
|
|
10704
|
+
*/
|
|
10705
|
+
UnlinkedConnection.toObject = function toObject(message, options) {
|
|
10706
|
+
if (!options)
|
|
10707
|
+
options = {};
|
|
10708
|
+
var object = {};
|
|
10709
|
+
if (options.defaults) {
|
|
10710
|
+
object.hsId = "";
|
|
10711
|
+
object.connection = options.enums === String ? "UNKNOWN_CONNECTION" : 0;
|
|
10712
|
+
if ($util.Long) {
|
|
10713
|
+
var long = new $util.Long(0, 0, true);
|
|
10714
|
+
object.unlinkedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
10715
|
+
} else
|
|
10716
|
+
object.unlinkedAt = options.longs === String ? "0" : 0;
|
|
10717
|
+
}
|
|
10718
|
+
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
10719
|
+
object.hsId = message.hsId;
|
|
10720
|
+
if (message.connection != null && message.hasOwnProperty("connection"))
|
|
10721
|
+
object.connection = options.enums === String ? $root.auth0.connections.Connection[message.connection] : message.connection;
|
|
10722
|
+
if (message.unlinkedAt != null && message.hasOwnProperty("unlinkedAt"))
|
|
10723
|
+
if (typeof message.unlinkedAt === "number")
|
|
10724
|
+
object.unlinkedAt = options.longs === String ? String(message.unlinkedAt) : message.unlinkedAt;
|
|
10725
|
+
else
|
|
10726
|
+
object.unlinkedAt = options.longs === String ? $util.Long.prototype.toString.call(message.unlinkedAt) : options.longs === Number ? new $util.LongBits(message.unlinkedAt.low >>> 0, message.unlinkedAt.high >>> 0).toNumber(true) : message.unlinkedAt;
|
|
10727
|
+
return object;
|
|
10728
|
+
};
|
|
10729
|
+
|
|
10730
|
+
/**
|
|
10731
|
+
* Converts this UnlinkedConnection to JSON.
|
|
10732
|
+
* @function toJSON
|
|
10733
|
+
* @memberof UnlinkedConnection
|
|
10734
|
+
* @instance
|
|
10735
|
+
* @returns {Object.<string,*>} JSON object
|
|
10736
|
+
*/
|
|
10737
|
+
UnlinkedConnection.prototype.toJSON = function toJSON() {
|
|
10738
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
10739
|
+
};
|
|
10740
|
+
|
|
10741
|
+
return UnlinkedConnection;
|
|
10742
|
+
})();
|
|
10743
|
+
|
|
10412
10744
|
$root.Auth0PasswordResetCompleted = (function() {
|
|
10413
10745
|
|
|
10414
10746
|
/**
|
|
@@ -41345,6 +41677,8 @@ $root.GoogleSubscriptionPurchased = (function() {
|
|
|
41345
41677
|
* @property {string|null} [productId] GoogleSubscriptionPurchased productId
|
|
41346
41678
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPurchased autoRenewalStatus
|
|
41347
41679
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPurchased paymentState
|
|
41680
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPurchased freeTrialStartsAt
|
|
41681
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPurchased freeTrialEndsAt
|
|
41348
41682
|
*/
|
|
41349
41683
|
|
|
41350
41684
|
/**
|
|
@@ -41418,6 +41752,22 @@ $root.GoogleSubscriptionPurchased = (function() {
|
|
|
41418
41752
|
*/
|
|
41419
41753
|
GoogleSubscriptionPurchased.prototype.paymentState = 0;
|
|
41420
41754
|
|
|
41755
|
+
/**
|
|
41756
|
+
* GoogleSubscriptionPurchased freeTrialStartsAt.
|
|
41757
|
+
* @member {number|Long} freeTrialStartsAt
|
|
41758
|
+
* @memberof GoogleSubscriptionPurchased
|
|
41759
|
+
* @instance
|
|
41760
|
+
*/
|
|
41761
|
+
GoogleSubscriptionPurchased.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
41762
|
+
|
|
41763
|
+
/**
|
|
41764
|
+
* GoogleSubscriptionPurchased freeTrialEndsAt.
|
|
41765
|
+
* @member {number|Long} freeTrialEndsAt
|
|
41766
|
+
* @memberof GoogleSubscriptionPurchased
|
|
41767
|
+
* @instance
|
|
41768
|
+
*/
|
|
41769
|
+
GoogleSubscriptionPurchased.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
41770
|
+
|
|
41421
41771
|
/**
|
|
41422
41772
|
* Creates a new GoogleSubscriptionPurchased instance using the specified properties.
|
|
41423
41773
|
* @function create
|
|
@@ -41456,6 +41806,10 @@ $root.GoogleSubscriptionPurchased = (function() {
|
|
|
41456
41806
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
41457
41807
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
41458
41808
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
41809
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
41810
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
41811
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
41812
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
41459
41813
|
return writer;
|
|
41460
41814
|
};
|
|
41461
41815
|
|
|
@@ -41511,6 +41865,12 @@ $root.GoogleSubscriptionPurchased = (function() {
|
|
|
41511
41865
|
case 7:
|
|
41512
41866
|
message.paymentState = reader.int32();
|
|
41513
41867
|
break;
|
|
41868
|
+
case 8:
|
|
41869
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
41870
|
+
break;
|
|
41871
|
+
case 9:
|
|
41872
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
41873
|
+
break;
|
|
41514
41874
|
default:
|
|
41515
41875
|
reader.skipType(tag & 7);
|
|
41516
41876
|
break;
|
|
@@ -41575,6 +41935,12 @@ $root.GoogleSubscriptionPurchased = (function() {
|
|
|
41575
41935
|
case 4:
|
|
41576
41936
|
break;
|
|
41577
41937
|
}
|
|
41938
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
41939
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
41940
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
41941
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
41942
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
41943
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
41578
41944
|
return null;
|
|
41579
41945
|
};
|
|
41580
41946
|
|
|
@@ -41638,6 +42004,24 @@ $root.GoogleSubscriptionPurchased = (function() {
|
|
|
41638
42004
|
message.paymentState = 4;
|
|
41639
42005
|
break;
|
|
41640
42006
|
}
|
|
42007
|
+
if (object.freeTrialStartsAt != null)
|
|
42008
|
+
if ($util.Long)
|
|
42009
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
42010
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
42011
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
42012
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
42013
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
42014
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
42015
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
42016
|
+
if (object.freeTrialEndsAt != null)
|
|
42017
|
+
if ($util.Long)
|
|
42018
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
42019
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
42020
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
42021
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
42022
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
42023
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
42024
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
41641
42025
|
return message;
|
|
41642
42026
|
};
|
|
41643
42027
|
|
|
@@ -41670,6 +42054,16 @@ $root.GoogleSubscriptionPurchased = (function() {
|
|
|
41670
42054
|
object.productId = "";
|
|
41671
42055
|
object.autoRenewalStatus = false;
|
|
41672
42056
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
42057
|
+
if ($util.Long) {
|
|
42058
|
+
var long = new $util.Long(0, 0, true);
|
|
42059
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
42060
|
+
} else
|
|
42061
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
42062
|
+
if ($util.Long) {
|
|
42063
|
+
var long = new $util.Long(0, 0, true);
|
|
42064
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
42065
|
+
} else
|
|
42066
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
41673
42067
|
}
|
|
41674
42068
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
41675
42069
|
object.id = message.id;
|
|
@@ -41691,6 +42085,16 @@ $root.GoogleSubscriptionPurchased = (function() {
|
|
|
41691
42085
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
41692
42086
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
41693
42087
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
42088
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
42089
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
42090
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
42091
|
+
else
|
|
42092
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
42093
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
42094
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
42095
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
42096
|
+
else
|
|
42097
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
41694
42098
|
return object;
|
|
41695
42099
|
};
|
|
41696
42100
|
|
|
@@ -41721,6 +42125,8 @@ $root.GoogleSubscriptionRenewed = (function() {
|
|
|
41721
42125
|
* @property {string|null} [productId] GoogleSubscriptionRenewed productId
|
|
41722
42126
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRenewed autoRenewalStatus
|
|
41723
42127
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRenewed paymentState
|
|
42128
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRenewed freeTrialStartsAt
|
|
42129
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRenewed freeTrialEndsAt
|
|
41724
42130
|
*/
|
|
41725
42131
|
|
|
41726
42132
|
/**
|
|
@@ -41794,6 +42200,22 @@ $root.GoogleSubscriptionRenewed = (function() {
|
|
|
41794
42200
|
*/
|
|
41795
42201
|
GoogleSubscriptionRenewed.prototype.paymentState = 0;
|
|
41796
42202
|
|
|
42203
|
+
/**
|
|
42204
|
+
* GoogleSubscriptionRenewed freeTrialStartsAt.
|
|
42205
|
+
* @member {number|Long} freeTrialStartsAt
|
|
42206
|
+
* @memberof GoogleSubscriptionRenewed
|
|
42207
|
+
* @instance
|
|
42208
|
+
*/
|
|
42209
|
+
GoogleSubscriptionRenewed.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
42210
|
+
|
|
42211
|
+
/**
|
|
42212
|
+
* GoogleSubscriptionRenewed freeTrialEndsAt.
|
|
42213
|
+
* @member {number|Long} freeTrialEndsAt
|
|
42214
|
+
* @memberof GoogleSubscriptionRenewed
|
|
42215
|
+
* @instance
|
|
42216
|
+
*/
|
|
42217
|
+
GoogleSubscriptionRenewed.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
42218
|
+
|
|
41797
42219
|
/**
|
|
41798
42220
|
* Creates a new GoogleSubscriptionRenewed instance using the specified properties.
|
|
41799
42221
|
* @function create
|
|
@@ -41832,6 +42254,10 @@ $root.GoogleSubscriptionRenewed = (function() {
|
|
|
41832
42254
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
41833
42255
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
41834
42256
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
42257
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
42258
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
42259
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
42260
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
41835
42261
|
return writer;
|
|
41836
42262
|
};
|
|
41837
42263
|
|
|
@@ -41887,6 +42313,12 @@ $root.GoogleSubscriptionRenewed = (function() {
|
|
|
41887
42313
|
case 7:
|
|
41888
42314
|
message.paymentState = reader.int32();
|
|
41889
42315
|
break;
|
|
42316
|
+
case 8:
|
|
42317
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
42318
|
+
break;
|
|
42319
|
+
case 9:
|
|
42320
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
42321
|
+
break;
|
|
41890
42322
|
default:
|
|
41891
42323
|
reader.skipType(tag & 7);
|
|
41892
42324
|
break;
|
|
@@ -41951,6 +42383,12 @@ $root.GoogleSubscriptionRenewed = (function() {
|
|
|
41951
42383
|
case 4:
|
|
41952
42384
|
break;
|
|
41953
42385
|
}
|
|
42386
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
42387
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
42388
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
42389
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
42390
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
42391
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
41954
42392
|
return null;
|
|
41955
42393
|
};
|
|
41956
42394
|
|
|
@@ -42014,6 +42452,24 @@ $root.GoogleSubscriptionRenewed = (function() {
|
|
|
42014
42452
|
message.paymentState = 4;
|
|
42015
42453
|
break;
|
|
42016
42454
|
}
|
|
42455
|
+
if (object.freeTrialStartsAt != null)
|
|
42456
|
+
if ($util.Long)
|
|
42457
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
42458
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
42459
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
42460
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
42461
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
42462
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
42463
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
42464
|
+
if (object.freeTrialEndsAt != null)
|
|
42465
|
+
if ($util.Long)
|
|
42466
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
42467
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
42468
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
42469
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
42470
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
42471
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
42472
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
42017
42473
|
return message;
|
|
42018
42474
|
};
|
|
42019
42475
|
|
|
@@ -42046,6 +42502,16 @@ $root.GoogleSubscriptionRenewed = (function() {
|
|
|
42046
42502
|
object.productId = "";
|
|
42047
42503
|
object.autoRenewalStatus = false;
|
|
42048
42504
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
42505
|
+
if ($util.Long) {
|
|
42506
|
+
var long = new $util.Long(0, 0, true);
|
|
42507
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
42508
|
+
} else
|
|
42509
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
42510
|
+
if ($util.Long) {
|
|
42511
|
+
var long = new $util.Long(0, 0, true);
|
|
42512
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
42513
|
+
} else
|
|
42514
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
42049
42515
|
}
|
|
42050
42516
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
42051
42517
|
object.id = message.id;
|
|
@@ -42067,6 +42533,16 @@ $root.GoogleSubscriptionRenewed = (function() {
|
|
|
42067
42533
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
42068
42534
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
42069
42535
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
42536
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
42537
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
42538
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
42539
|
+
else
|
|
42540
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
42541
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
42542
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
42543
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
42544
|
+
else
|
|
42545
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
42070
42546
|
return object;
|
|
42071
42547
|
};
|
|
42072
42548
|
|
|
@@ -42097,6 +42573,8 @@ $root.GoogleSubscriptionCancelled = (function() {
|
|
|
42097
42573
|
* @property {string|null} [productId] GoogleSubscriptionCancelled productId
|
|
42098
42574
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionCancelled autoRenewalStatus
|
|
42099
42575
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionCancelled paymentState
|
|
42576
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionCancelled freeTrialStartsAt
|
|
42577
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionCancelled freeTrialEndsAt
|
|
42100
42578
|
*/
|
|
42101
42579
|
|
|
42102
42580
|
/**
|
|
@@ -42170,6 +42648,22 @@ $root.GoogleSubscriptionCancelled = (function() {
|
|
|
42170
42648
|
*/
|
|
42171
42649
|
GoogleSubscriptionCancelled.prototype.paymentState = 0;
|
|
42172
42650
|
|
|
42651
|
+
/**
|
|
42652
|
+
* GoogleSubscriptionCancelled freeTrialStartsAt.
|
|
42653
|
+
* @member {number|Long} freeTrialStartsAt
|
|
42654
|
+
* @memberof GoogleSubscriptionCancelled
|
|
42655
|
+
* @instance
|
|
42656
|
+
*/
|
|
42657
|
+
GoogleSubscriptionCancelled.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
42658
|
+
|
|
42659
|
+
/**
|
|
42660
|
+
* GoogleSubscriptionCancelled freeTrialEndsAt.
|
|
42661
|
+
* @member {number|Long} freeTrialEndsAt
|
|
42662
|
+
* @memberof GoogleSubscriptionCancelled
|
|
42663
|
+
* @instance
|
|
42664
|
+
*/
|
|
42665
|
+
GoogleSubscriptionCancelled.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
42666
|
+
|
|
42173
42667
|
/**
|
|
42174
42668
|
* Creates a new GoogleSubscriptionCancelled instance using the specified properties.
|
|
42175
42669
|
* @function create
|
|
@@ -42208,6 +42702,10 @@ $root.GoogleSubscriptionCancelled = (function() {
|
|
|
42208
42702
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
42209
42703
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
42210
42704
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
42705
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
42706
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
42707
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
42708
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
42211
42709
|
return writer;
|
|
42212
42710
|
};
|
|
42213
42711
|
|
|
@@ -42263,6 +42761,12 @@ $root.GoogleSubscriptionCancelled = (function() {
|
|
|
42263
42761
|
case 7:
|
|
42264
42762
|
message.paymentState = reader.int32();
|
|
42265
42763
|
break;
|
|
42764
|
+
case 8:
|
|
42765
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
42766
|
+
break;
|
|
42767
|
+
case 9:
|
|
42768
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
42769
|
+
break;
|
|
42266
42770
|
default:
|
|
42267
42771
|
reader.skipType(tag & 7);
|
|
42268
42772
|
break;
|
|
@@ -42327,6 +42831,12 @@ $root.GoogleSubscriptionCancelled = (function() {
|
|
|
42327
42831
|
case 4:
|
|
42328
42832
|
break;
|
|
42329
42833
|
}
|
|
42834
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
42835
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
42836
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
42837
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
42838
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
42839
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
42330
42840
|
return null;
|
|
42331
42841
|
};
|
|
42332
42842
|
|
|
@@ -42390,6 +42900,24 @@ $root.GoogleSubscriptionCancelled = (function() {
|
|
|
42390
42900
|
message.paymentState = 4;
|
|
42391
42901
|
break;
|
|
42392
42902
|
}
|
|
42903
|
+
if (object.freeTrialStartsAt != null)
|
|
42904
|
+
if ($util.Long)
|
|
42905
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
42906
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
42907
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
42908
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
42909
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
42910
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
42911
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
42912
|
+
if (object.freeTrialEndsAt != null)
|
|
42913
|
+
if ($util.Long)
|
|
42914
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
42915
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
42916
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
42917
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
42918
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
42919
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
42920
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
42393
42921
|
return message;
|
|
42394
42922
|
};
|
|
42395
42923
|
|
|
@@ -42422,6 +42950,16 @@ $root.GoogleSubscriptionCancelled = (function() {
|
|
|
42422
42950
|
object.productId = "";
|
|
42423
42951
|
object.autoRenewalStatus = false;
|
|
42424
42952
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
42953
|
+
if ($util.Long) {
|
|
42954
|
+
var long = new $util.Long(0, 0, true);
|
|
42955
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
42956
|
+
} else
|
|
42957
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
42958
|
+
if ($util.Long) {
|
|
42959
|
+
var long = new $util.Long(0, 0, true);
|
|
42960
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
42961
|
+
} else
|
|
42962
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
42425
42963
|
}
|
|
42426
42964
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
42427
42965
|
object.id = message.id;
|
|
@@ -42443,6 +42981,16 @@ $root.GoogleSubscriptionCancelled = (function() {
|
|
|
42443
42981
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
42444
42982
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
42445
42983
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
42984
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
42985
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
42986
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
42987
|
+
else
|
|
42988
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
42989
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
42990
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
42991
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
42992
|
+
else
|
|
42993
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
42446
42994
|
return object;
|
|
42447
42995
|
};
|
|
42448
42996
|
|
|
@@ -42473,6 +43021,8 @@ $root.GoogleSubscriptionRecovered = (function() {
|
|
|
42473
43021
|
* @property {string|null} [productId] GoogleSubscriptionRecovered productId
|
|
42474
43022
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRecovered autoRenewalStatus
|
|
42475
43023
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRecovered paymentState
|
|
43024
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRecovered freeTrialStartsAt
|
|
43025
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRecovered freeTrialEndsAt
|
|
42476
43026
|
*/
|
|
42477
43027
|
|
|
42478
43028
|
/**
|
|
@@ -42546,6 +43096,22 @@ $root.GoogleSubscriptionRecovered = (function() {
|
|
|
42546
43096
|
*/
|
|
42547
43097
|
GoogleSubscriptionRecovered.prototype.paymentState = 0;
|
|
42548
43098
|
|
|
43099
|
+
/**
|
|
43100
|
+
* GoogleSubscriptionRecovered freeTrialStartsAt.
|
|
43101
|
+
* @member {number|Long} freeTrialStartsAt
|
|
43102
|
+
* @memberof GoogleSubscriptionRecovered
|
|
43103
|
+
* @instance
|
|
43104
|
+
*/
|
|
43105
|
+
GoogleSubscriptionRecovered.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
43106
|
+
|
|
43107
|
+
/**
|
|
43108
|
+
* GoogleSubscriptionRecovered freeTrialEndsAt.
|
|
43109
|
+
* @member {number|Long} freeTrialEndsAt
|
|
43110
|
+
* @memberof GoogleSubscriptionRecovered
|
|
43111
|
+
* @instance
|
|
43112
|
+
*/
|
|
43113
|
+
GoogleSubscriptionRecovered.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
43114
|
+
|
|
42549
43115
|
/**
|
|
42550
43116
|
* Creates a new GoogleSubscriptionRecovered instance using the specified properties.
|
|
42551
43117
|
* @function create
|
|
@@ -42584,6 +43150,10 @@ $root.GoogleSubscriptionRecovered = (function() {
|
|
|
42584
43150
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
42585
43151
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
42586
43152
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
43153
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
43154
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
43155
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
43156
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
42587
43157
|
return writer;
|
|
42588
43158
|
};
|
|
42589
43159
|
|
|
@@ -42639,6 +43209,12 @@ $root.GoogleSubscriptionRecovered = (function() {
|
|
|
42639
43209
|
case 7:
|
|
42640
43210
|
message.paymentState = reader.int32();
|
|
42641
43211
|
break;
|
|
43212
|
+
case 8:
|
|
43213
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
43214
|
+
break;
|
|
43215
|
+
case 9:
|
|
43216
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
43217
|
+
break;
|
|
42642
43218
|
default:
|
|
42643
43219
|
reader.skipType(tag & 7);
|
|
42644
43220
|
break;
|
|
@@ -42703,6 +43279,12 @@ $root.GoogleSubscriptionRecovered = (function() {
|
|
|
42703
43279
|
case 4:
|
|
42704
43280
|
break;
|
|
42705
43281
|
}
|
|
43282
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
43283
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
43284
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
43285
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
43286
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
43287
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
42706
43288
|
return null;
|
|
42707
43289
|
};
|
|
42708
43290
|
|
|
@@ -42766,6 +43348,24 @@ $root.GoogleSubscriptionRecovered = (function() {
|
|
|
42766
43348
|
message.paymentState = 4;
|
|
42767
43349
|
break;
|
|
42768
43350
|
}
|
|
43351
|
+
if (object.freeTrialStartsAt != null)
|
|
43352
|
+
if ($util.Long)
|
|
43353
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
43354
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
43355
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
43356
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
43357
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
43358
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
43359
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
43360
|
+
if (object.freeTrialEndsAt != null)
|
|
43361
|
+
if ($util.Long)
|
|
43362
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
43363
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
43364
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
43365
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
43366
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
43367
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
43368
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
42769
43369
|
return message;
|
|
42770
43370
|
};
|
|
42771
43371
|
|
|
@@ -42798,6 +43398,16 @@ $root.GoogleSubscriptionRecovered = (function() {
|
|
|
42798
43398
|
object.productId = "";
|
|
42799
43399
|
object.autoRenewalStatus = false;
|
|
42800
43400
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
43401
|
+
if ($util.Long) {
|
|
43402
|
+
var long = new $util.Long(0, 0, true);
|
|
43403
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
43404
|
+
} else
|
|
43405
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
43406
|
+
if ($util.Long) {
|
|
43407
|
+
var long = new $util.Long(0, 0, true);
|
|
43408
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
43409
|
+
} else
|
|
43410
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
42801
43411
|
}
|
|
42802
43412
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
42803
43413
|
object.id = message.id;
|
|
@@ -42819,6 +43429,16 @@ $root.GoogleSubscriptionRecovered = (function() {
|
|
|
42819
43429
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
42820
43430
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
42821
43431
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
43432
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
43433
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
43434
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
43435
|
+
else
|
|
43436
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
43437
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
43438
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
43439
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
43440
|
+
else
|
|
43441
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
42822
43442
|
return object;
|
|
42823
43443
|
};
|
|
42824
43444
|
|
|
@@ -42849,6 +43469,8 @@ $root.GoogleSubscriptionOnHold = (function() {
|
|
|
42849
43469
|
* @property {string|null} [productId] GoogleSubscriptionOnHold productId
|
|
42850
43470
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionOnHold autoRenewalStatus
|
|
42851
43471
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionOnHold paymentState
|
|
43472
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionOnHold freeTrialStartsAt
|
|
43473
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionOnHold freeTrialEndsAt
|
|
42852
43474
|
*/
|
|
42853
43475
|
|
|
42854
43476
|
/**
|
|
@@ -42922,6 +43544,22 @@ $root.GoogleSubscriptionOnHold = (function() {
|
|
|
42922
43544
|
*/
|
|
42923
43545
|
GoogleSubscriptionOnHold.prototype.paymentState = 0;
|
|
42924
43546
|
|
|
43547
|
+
/**
|
|
43548
|
+
* GoogleSubscriptionOnHold freeTrialStartsAt.
|
|
43549
|
+
* @member {number|Long} freeTrialStartsAt
|
|
43550
|
+
* @memberof GoogleSubscriptionOnHold
|
|
43551
|
+
* @instance
|
|
43552
|
+
*/
|
|
43553
|
+
GoogleSubscriptionOnHold.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
43554
|
+
|
|
43555
|
+
/**
|
|
43556
|
+
* GoogleSubscriptionOnHold freeTrialEndsAt.
|
|
43557
|
+
* @member {number|Long} freeTrialEndsAt
|
|
43558
|
+
* @memberof GoogleSubscriptionOnHold
|
|
43559
|
+
* @instance
|
|
43560
|
+
*/
|
|
43561
|
+
GoogleSubscriptionOnHold.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
43562
|
+
|
|
42925
43563
|
/**
|
|
42926
43564
|
* Creates a new GoogleSubscriptionOnHold instance using the specified properties.
|
|
42927
43565
|
* @function create
|
|
@@ -42960,6 +43598,10 @@ $root.GoogleSubscriptionOnHold = (function() {
|
|
|
42960
43598
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
42961
43599
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
42962
43600
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
43601
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
43602
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
43603
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
43604
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
42963
43605
|
return writer;
|
|
42964
43606
|
};
|
|
42965
43607
|
|
|
@@ -43015,6 +43657,12 @@ $root.GoogleSubscriptionOnHold = (function() {
|
|
|
43015
43657
|
case 7:
|
|
43016
43658
|
message.paymentState = reader.int32();
|
|
43017
43659
|
break;
|
|
43660
|
+
case 8:
|
|
43661
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
43662
|
+
break;
|
|
43663
|
+
case 9:
|
|
43664
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
43665
|
+
break;
|
|
43018
43666
|
default:
|
|
43019
43667
|
reader.skipType(tag & 7);
|
|
43020
43668
|
break;
|
|
@@ -43079,6 +43727,12 @@ $root.GoogleSubscriptionOnHold = (function() {
|
|
|
43079
43727
|
case 4:
|
|
43080
43728
|
break;
|
|
43081
43729
|
}
|
|
43730
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
43731
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
43732
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
43733
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
43734
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
43735
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
43082
43736
|
return null;
|
|
43083
43737
|
};
|
|
43084
43738
|
|
|
@@ -43142,6 +43796,24 @@ $root.GoogleSubscriptionOnHold = (function() {
|
|
|
43142
43796
|
message.paymentState = 4;
|
|
43143
43797
|
break;
|
|
43144
43798
|
}
|
|
43799
|
+
if (object.freeTrialStartsAt != null)
|
|
43800
|
+
if ($util.Long)
|
|
43801
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
43802
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
43803
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
43804
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
43805
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
43806
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
43807
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
43808
|
+
if (object.freeTrialEndsAt != null)
|
|
43809
|
+
if ($util.Long)
|
|
43810
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
43811
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
43812
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
43813
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
43814
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
43815
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
43816
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
43145
43817
|
return message;
|
|
43146
43818
|
};
|
|
43147
43819
|
|
|
@@ -43174,6 +43846,16 @@ $root.GoogleSubscriptionOnHold = (function() {
|
|
|
43174
43846
|
object.productId = "";
|
|
43175
43847
|
object.autoRenewalStatus = false;
|
|
43176
43848
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
43849
|
+
if ($util.Long) {
|
|
43850
|
+
var long = new $util.Long(0, 0, true);
|
|
43851
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
43852
|
+
} else
|
|
43853
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
43854
|
+
if ($util.Long) {
|
|
43855
|
+
var long = new $util.Long(0, 0, true);
|
|
43856
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
43857
|
+
} else
|
|
43858
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
43177
43859
|
}
|
|
43178
43860
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
43179
43861
|
object.id = message.id;
|
|
@@ -43195,6 +43877,16 @@ $root.GoogleSubscriptionOnHold = (function() {
|
|
|
43195
43877
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
43196
43878
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
43197
43879
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
43880
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
43881
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
43882
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
43883
|
+
else
|
|
43884
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
43885
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
43886
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
43887
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
43888
|
+
else
|
|
43889
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
43198
43890
|
return object;
|
|
43199
43891
|
};
|
|
43200
43892
|
|
|
@@ -43225,6 +43917,8 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
|
|
|
43225
43917
|
* @property {string|null} [productId] GoogleSubscriptionInGracePeriod productId
|
|
43226
43918
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionInGracePeriod autoRenewalStatus
|
|
43227
43919
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionInGracePeriod paymentState
|
|
43920
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionInGracePeriod freeTrialStartsAt
|
|
43921
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionInGracePeriod freeTrialEndsAt
|
|
43228
43922
|
*/
|
|
43229
43923
|
|
|
43230
43924
|
/**
|
|
@@ -43298,6 +43992,22 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
|
|
|
43298
43992
|
*/
|
|
43299
43993
|
GoogleSubscriptionInGracePeriod.prototype.paymentState = 0;
|
|
43300
43994
|
|
|
43995
|
+
/**
|
|
43996
|
+
* GoogleSubscriptionInGracePeriod freeTrialStartsAt.
|
|
43997
|
+
* @member {number|Long} freeTrialStartsAt
|
|
43998
|
+
* @memberof GoogleSubscriptionInGracePeriod
|
|
43999
|
+
* @instance
|
|
44000
|
+
*/
|
|
44001
|
+
GoogleSubscriptionInGracePeriod.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
44002
|
+
|
|
44003
|
+
/**
|
|
44004
|
+
* GoogleSubscriptionInGracePeriod freeTrialEndsAt.
|
|
44005
|
+
* @member {number|Long} freeTrialEndsAt
|
|
44006
|
+
* @memberof GoogleSubscriptionInGracePeriod
|
|
44007
|
+
* @instance
|
|
44008
|
+
*/
|
|
44009
|
+
GoogleSubscriptionInGracePeriod.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
44010
|
+
|
|
43301
44011
|
/**
|
|
43302
44012
|
* Creates a new GoogleSubscriptionInGracePeriod instance using the specified properties.
|
|
43303
44013
|
* @function create
|
|
@@ -43336,6 +44046,10 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
|
|
|
43336
44046
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
43337
44047
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
43338
44048
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
44049
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
44050
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
44051
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
44052
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
43339
44053
|
return writer;
|
|
43340
44054
|
};
|
|
43341
44055
|
|
|
@@ -43391,6 +44105,12 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
|
|
|
43391
44105
|
case 7:
|
|
43392
44106
|
message.paymentState = reader.int32();
|
|
43393
44107
|
break;
|
|
44108
|
+
case 8:
|
|
44109
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
44110
|
+
break;
|
|
44111
|
+
case 9:
|
|
44112
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
44113
|
+
break;
|
|
43394
44114
|
default:
|
|
43395
44115
|
reader.skipType(tag & 7);
|
|
43396
44116
|
break;
|
|
@@ -43455,6 +44175,12 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
|
|
|
43455
44175
|
case 4:
|
|
43456
44176
|
break;
|
|
43457
44177
|
}
|
|
44178
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
44179
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
44180
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
44181
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
44182
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
44183
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
43458
44184
|
return null;
|
|
43459
44185
|
};
|
|
43460
44186
|
|
|
@@ -43518,6 +44244,24 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
|
|
|
43518
44244
|
message.paymentState = 4;
|
|
43519
44245
|
break;
|
|
43520
44246
|
}
|
|
44247
|
+
if (object.freeTrialStartsAt != null)
|
|
44248
|
+
if ($util.Long)
|
|
44249
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
44250
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
44251
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
44252
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
44253
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
44254
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
44255
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
44256
|
+
if (object.freeTrialEndsAt != null)
|
|
44257
|
+
if ($util.Long)
|
|
44258
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
44259
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
44260
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
44261
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
44262
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
44263
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
44264
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
43521
44265
|
return message;
|
|
43522
44266
|
};
|
|
43523
44267
|
|
|
@@ -43550,6 +44294,16 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
|
|
|
43550
44294
|
object.productId = "";
|
|
43551
44295
|
object.autoRenewalStatus = false;
|
|
43552
44296
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
44297
|
+
if ($util.Long) {
|
|
44298
|
+
var long = new $util.Long(0, 0, true);
|
|
44299
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
44300
|
+
} else
|
|
44301
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
44302
|
+
if ($util.Long) {
|
|
44303
|
+
var long = new $util.Long(0, 0, true);
|
|
44304
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
44305
|
+
} else
|
|
44306
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
43553
44307
|
}
|
|
43554
44308
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
43555
44309
|
object.id = message.id;
|
|
@@ -43571,6 +44325,16 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
|
|
|
43571
44325
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
43572
44326
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
43573
44327
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
44328
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
44329
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
44330
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
44331
|
+
else
|
|
44332
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
44333
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
44334
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
44335
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
44336
|
+
else
|
|
44337
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
43574
44338
|
return object;
|
|
43575
44339
|
};
|
|
43576
44340
|
|
|
@@ -43601,6 +44365,8 @@ $root.GoogleSubscriptionRestarted = (function() {
|
|
|
43601
44365
|
* @property {string|null} [productId] GoogleSubscriptionRestarted productId
|
|
43602
44366
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRestarted autoRenewalStatus
|
|
43603
44367
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRestarted paymentState
|
|
44368
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRestarted freeTrialStartsAt
|
|
44369
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRestarted freeTrialEndsAt
|
|
43604
44370
|
*/
|
|
43605
44371
|
|
|
43606
44372
|
/**
|
|
@@ -43674,6 +44440,22 @@ $root.GoogleSubscriptionRestarted = (function() {
|
|
|
43674
44440
|
*/
|
|
43675
44441
|
GoogleSubscriptionRestarted.prototype.paymentState = 0;
|
|
43676
44442
|
|
|
44443
|
+
/**
|
|
44444
|
+
* GoogleSubscriptionRestarted freeTrialStartsAt.
|
|
44445
|
+
* @member {number|Long} freeTrialStartsAt
|
|
44446
|
+
* @memberof GoogleSubscriptionRestarted
|
|
44447
|
+
* @instance
|
|
44448
|
+
*/
|
|
44449
|
+
GoogleSubscriptionRestarted.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
44450
|
+
|
|
44451
|
+
/**
|
|
44452
|
+
* GoogleSubscriptionRestarted freeTrialEndsAt.
|
|
44453
|
+
* @member {number|Long} freeTrialEndsAt
|
|
44454
|
+
* @memberof GoogleSubscriptionRestarted
|
|
44455
|
+
* @instance
|
|
44456
|
+
*/
|
|
44457
|
+
GoogleSubscriptionRestarted.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
44458
|
+
|
|
43677
44459
|
/**
|
|
43678
44460
|
* Creates a new GoogleSubscriptionRestarted instance using the specified properties.
|
|
43679
44461
|
* @function create
|
|
@@ -43712,6 +44494,10 @@ $root.GoogleSubscriptionRestarted = (function() {
|
|
|
43712
44494
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
43713
44495
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
43714
44496
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
44497
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
44498
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
44499
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
44500
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
43715
44501
|
return writer;
|
|
43716
44502
|
};
|
|
43717
44503
|
|
|
@@ -43767,6 +44553,12 @@ $root.GoogleSubscriptionRestarted = (function() {
|
|
|
43767
44553
|
case 7:
|
|
43768
44554
|
message.paymentState = reader.int32();
|
|
43769
44555
|
break;
|
|
44556
|
+
case 8:
|
|
44557
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
44558
|
+
break;
|
|
44559
|
+
case 9:
|
|
44560
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
44561
|
+
break;
|
|
43770
44562
|
default:
|
|
43771
44563
|
reader.skipType(tag & 7);
|
|
43772
44564
|
break;
|
|
@@ -43831,6 +44623,12 @@ $root.GoogleSubscriptionRestarted = (function() {
|
|
|
43831
44623
|
case 4:
|
|
43832
44624
|
break;
|
|
43833
44625
|
}
|
|
44626
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
44627
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
44628
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
44629
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
44630
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
44631
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
43834
44632
|
return null;
|
|
43835
44633
|
};
|
|
43836
44634
|
|
|
@@ -43894,6 +44692,24 @@ $root.GoogleSubscriptionRestarted = (function() {
|
|
|
43894
44692
|
message.paymentState = 4;
|
|
43895
44693
|
break;
|
|
43896
44694
|
}
|
|
44695
|
+
if (object.freeTrialStartsAt != null)
|
|
44696
|
+
if ($util.Long)
|
|
44697
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
44698
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
44699
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
44700
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
44701
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
44702
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
44703
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
44704
|
+
if (object.freeTrialEndsAt != null)
|
|
44705
|
+
if ($util.Long)
|
|
44706
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
44707
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
44708
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
44709
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
44710
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
44711
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
44712
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
43897
44713
|
return message;
|
|
43898
44714
|
};
|
|
43899
44715
|
|
|
@@ -43926,6 +44742,16 @@ $root.GoogleSubscriptionRestarted = (function() {
|
|
|
43926
44742
|
object.productId = "";
|
|
43927
44743
|
object.autoRenewalStatus = false;
|
|
43928
44744
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
44745
|
+
if ($util.Long) {
|
|
44746
|
+
var long = new $util.Long(0, 0, true);
|
|
44747
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
44748
|
+
} else
|
|
44749
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
44750
|
+
if ($util.Long) {
|
|
44751
|
+
var long = new $util.Long(0, 0, true);
|
|
44752
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
44753
|
+
} else
|
|
44754
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
43929
44755
|
}
|
|
43930
44756
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
43931
44757
|
object.id = message.id;
|
|
@@ -43947,6 +44773,16 @@ $root.GoogleSubscriptionRestarted = (function() {
|
|
|
43947
44773
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
43948
44774
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
43949
44775
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
44776
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
44777
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
44778
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
44779
|
+
else
|
|
44780
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
44781
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
44782
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
44783
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
44784
|
+
else
|
|
44785
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
43950
44786
|
return object;
|
|
43951
44787
|
};
|
|
43952
44788
|
|
|
@@ -43977,6 +44813,8 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
|
|
|
43977
44813
|
* @property {string|null} [productId] GoogleSubscriptionPriceChangeConfirmed productId
|
|
43978
44814
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPriceChangeConfirmed autoRenewalStatus
|
|
43979
44815
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPriceChangeConfirmed paymentState
|
|
44816
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPriceChangeConfirmed freeTrialStartsAt
|
|
44817
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPriceChangeConfirmed freeTrialEndsAt
|
|
43980
44818
|
*/
|
|
43981
44819
|
|
|
43982
44820
|
/**
|
|
@@ -44050,6 +44888,22 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
|
|
|
44050
44888
|
*/
|
|
44051
44889
|
GoogleSubscriptionPriceChangeConfirmed.prototype.paymentState = 0;
|
|
44052
44890
|
|
|
44891
|
+
/**
|
|
44892
|
+
* GoogleSubscriptionPriceChangeConfirmed freeTrialStartsAt.
|
|
44893
|
+
* @member {number|Long} freeTrialStartsAt
|
|
44894
|
+
* @memberof GoogleSubscriptionPriceChangeConfirmed
|
|
44895
|
+
* @instance
|
|
44896
|
+
*/
|
|
44897
|
+
GoogleSubscriptionPriceChangeConfirmed.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
44898
|
+
|
|
44899
|
+
/**
|
|
44900
|
+
* GoogleSubscriptionPriceChangeConfirmed freeTrialEndsAt.
|
|
44901
|
+
* @member {number|Long} freeTrialEndsAt
|
|
44902
|
+
* @memberof GoogleSubscriptionPriceChangeConfirmed
|
|
44903
|
+
* @instance
|
|
44904
|
+
*/
|
|
44905
|
+
GoogleSubscriptionPriceChangeConfirmed.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
44906
|
+
|
|
44053
44907
|
/**
|
|
44054
44908
|
* Creates a new GoogleSubscriptionPriceChangeConfirmed instance using the specified properties.
|
|
44055
44909
|
* @function create
|
|
@@ -44088,6 +44942,10 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
|
|
|
44088
44942
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
44089
44943
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
44090
44944
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
44945
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
44946
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
44947
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
44948
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
44091
44949
|
return writer;
|
|
44092
44950
|
};
|
|
44093
44951
|
|
|
@@ -44143,6 +45001,12 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
|
|
|
44143
45001
|
case 7:
|
|
44144
45002
|
message.paymentState = reader.int32();
|
|
44145
45003
|
break;
|
|
45004
|
+
case 8:
|
|
45005
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
45006
|
+
break;
|
|
45007
|
+
case 9:
|
|
45008
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
45009
|
+
break;
|
|
44146
45010
|
default:
|
|
44147
45011
|
reader.skipType(tag & 7);
|
|
44148
45012
|
break;
|
|
@@ -44207,6 +45071,12 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
|
|
|
44207
45071
|
case 4:
|
|
44208
45072
|
break;
|
|
44209
45073
|
}
|
|
45074
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
45075
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
45076
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
45077
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
45078
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
45079
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
44210
45080
|
return null;
|
|
44211
45081
|
};
|
|
44212
45082
|
|
|
@@ -44270,6 +45140,24 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
|
|
|
44270
45140
|
message.paymentState = 4;
|
|
44271
45141
|
break;
|
|
44272
45142
|
}
|
|
45143
|
+
if (object.freeTrialStartsAt != null)
|
|
45144
|
+
if ($util.Long)
|
|
45145
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
45146
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
45147
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
45148
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
45149
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
45150
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
45151
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
45152
|
+
if (object.freeTrialEndsAt != null)
|
|
45153
|
+
if ($util.Long)
|
|
45154
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
45155
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
45156
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
45157
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
45158
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
45159
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
45160
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
44273
45161
|
return message;
|
|
44274
45162
|
};
|
|
44275
45163
|
|
|
@@ -44302,6 +45190,16 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
|
|
|
44302
45190
|
object.productId = "";
|
|
44303
45191
|
object.autoRenewalStatus = false;
|
|
44304
45192
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
45193
|
+
if ($util.Long) {
|
|
45194
|
+
var long = new $util.Long(0, 0, true);
|
|
45195
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
45196
|
+
} else
|
|
45197
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
45198
|
+
if ($util.Long) {
|
|
45199
|
+
var long = new $util.Long(0, 0, true);
|
|
45200
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
45201
|
+
} else
|
|
45202
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
44305
45203
|
}
|
|
44306
45204
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
44307
45205
|
object.id = message.id;
|
|
@@ -44323,6 +45221,16 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
|
|
|
44323
45221
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
44324
45222
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
44325
45223
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
45224
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
45225
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
45226
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
45227
|
+
else
|
|
45228
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
45229
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
45230
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
45231
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
45232
|
+
else
|
|
45233
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
44326
45234
|
return object;
|
|
44327
45235
|
};
|
|
44328
45236
|
|
|
@@ -44353,6 +45261,8 @@ $root.GoogleSubscriptionDeferred = (function() {
|
|
|
44353
45261
|
* @property {string|null} [productId] GoogleSubscriptionDeferred productId
|
|
44354
45262
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionDeferred autoRenewalStatus
|
|
44355
45263
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionDeferred paymentState
|
|
45264
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionDeferred freeTrialStartsAt
|
|
45265
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionDeferred freeTrialEndsAt
|
|
44356
45266
|
*/
|
|
44357
45267
|
|
|
44358
45268
|
/**
|
|
@@ -44426,6 +45336,22 @@ $root.GoogleSubscriptionDeferred = (function() {
|
|
|
44426
45336
|
*/
|
|
44427
45337
|
GoogleSubscriptionDeferred.prototype.paymentState = 0;
|
|
44428
45338
|
|
|
45339
|
+
/**
|
|
45340
|
+
* GoogleSubscriptionDeferred freeTrialStartsAt.
|
|
45341
|
+
* @member {number|Long} freeTrialStartsAt
|
|
45342
|
+
* @memberof GoogleSubscriptionDeferred
|
|
45343
|
+
* @instance
|
|
45344
|
+
*/
|
|
45345
|
+
GoogleSubscriptionDeferred.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
45346
|
+
|
|
45347
|
+
/**
|
|
45348
|
+
* GoogleSubscriptionDeferred freeTrialEndsAt.
|
|
45349
|
+
* @member {number|Long} freeTrialEndsAt
|
|
45350
|
+
* @memberof GoogleSubscriptionDeferred
|
|
45351
|
+
* @instance
|
|
45352
|
+
*/
|
|
45353
|
+
GoogleSubscriptionDeferred.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
45354
|
+
|
|
44429
45355
|
/**
|
|
44430
45356
|
* Creates a new GoogleSubscriptionDeferred instance using the specified properties.
|
|
44431
45357
|
* @function create
|
|
@@ -44464,6 +45390,10 @@ $root.GoogleSubscriptionDeferred = (function() {
|
|
|
44464
45390
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
44465
45391
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
44466
45392
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
45393
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
45394
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
45395
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
45396
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
44467
45397
|
return writer;
|
|
44468
45398
|
};
|
|
44469
45399
|
|
|
@@ -44519,6 +45449,12 @@ $root.GoogleSubscriptionDeferred = (function() {
|
|
|
44519
45449
|
case 7:
|
|
44520
45450
|
message.paymentState = reader.int32();
|
|
44521
45451
|
break;
|
|
45452
|
+
case 8:
|
|
45453
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
45454
|
+
break;
|
|
45455
|
+
case 9:
|
|
45456
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
45457
|
+
break;
|
|
44522
45458
|
default:
|
|
44523
45459
|
reader.skipType(tag & 7);
|
|
44524
45460
|
break;
|
|
@@ -44583,6 +45519,12 @@ $root.GoogleSubscriptionDeferred = (function() {
|
|
|
44583
45519
|
case 4:
|
|
44584
45520
|
break;
|
|
44585
45521
|
}
|
|
45522
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
45523
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
45524
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
45525
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
45526
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
45527
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
44586
45528
|
return null;
|
|
44587
45529
|
};
|
|
44588
45530
|
|
|
@@ -44646,6 +45588,24 @@ $root.GoogleSubscriptionDeferred = (function() {
|
|
|
44646
45588
|
message.paymentState = 4;
|
|
44647
45589
|
break;
|
|
44648
45590
|
}
|
|
45591
|
+
if (object.freeTrialStartsAt != null)
|
|
45592
|
+
if ($util.Long)
|
|
45593
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
45594
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
45595
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
45596
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
45597
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
45598
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
45599
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
45600
|
+
if (object.freeTrialEndsAt != null)
|
|
45601
|
+
if ($util.Long)
|
|
45602
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
45603
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
45604
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
45605
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
45606
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
45607
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
45608
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
44649
45609
|
return message;
|
|
44650
45610
|
};
|
|
44651
45611
|
|
|
@@ -44678,6 +45638,16 @@ $root.GoogleSubscriptionDeferred = (function() {
|
|
|
44678
45638
|
object.productId = "";
|
|
44679
45639
|
object.autoRenewalStatus = false;
|
|
44680
45640
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
45641
|
+
if ($util.Long) {
|
|
45642
|
+
var long = new $util.Long(0, 0, true);
|
|
45643
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
45644
|
+
} else
|
|
45645
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
45646
|
+
if ($util.Long) {
|
|
45647
|
+
var long = new $util.Long(0, 0, true);
|
|
45648
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
45649
|
+
} else
|
|
45650
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
44681
45651
|
}
|
|
44682
45652
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
44683
45653
|
object.id = message.id;
|
|
@@ -44699,6 +45669,16 @@ $root.GoogleSubscriptionDeferred = (function() {
|
|
|
44699
45669
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
44700
45670
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
44701
45671
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
45672
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
45673
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
45674
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
45675
|
+
else
|
|
45676
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
45677
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
45678
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
45679
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
45680
|
+
else
|
|
45681
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
44702
45682
|
return object;
|
|
44703
45683
|
};
|
|
44704
45684
|
|
|
@@ -44729,6 +45709,8 @@ $root.GoogleSubscriptionPaused = (function() {
|
|
|
44729
45709
|
* @property {string|null} [productId] GoogleSubscriptionPaused productId
|
|
44730
45710
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPaused autoRenewalStatus
|
|
44731
45711
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPaused paymentState
|
|
45712
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPaused freeTrialStartsAt
|
|
45713
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPaused freeTrialEndsAt
|
|
44732
45714
|
*/
|
|
44733
45715
|
|
|
44734
45716
|
/**
|
|
@@ -44802,6 +45784,22 @@ $root.GoogleSubscriptionPaused = (function() {
|
|
|
44802
45784
|
*/
|
|
44803
45785
|
GoogleSubscriptionPaused.prototype.paymentState = 0;
|
|
44804
45786
|
|
|
45787
|
+
/**
|
|
45788
|
+
* GoogleSubscriptionPaused freeTrialStartsAt.
|
|
45789
|
+
* @member {number|Long} freeTrialStartsAt
|
|
45790
|
+
* @memberof GoogleSubscriptionPaused
|
|
45791
|
+
* @instance
|
|
45792
|
+
*/
|
|
45793
|
+
GoogleSubscriptionPaused.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
45794
|
+
|
|
45795
|
+
/**
|
|
45796
|
+
* GoogleSubscriptionPaused freeTrialEndsAt.
|
|
45797
|
+
* @member {number|Long} freeTrialEndsAt
|
|
45798
|
+
* @memberof GoogleSubscriptionPaused
|
|
45799
|
+
* @instance
|
|
45800
|
+
*/
|
|
45801
|
+
GoogleSubscriptionPaused.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
45802
|
+
|
|
44805
45803
|
/**
|
|
44806
45804
|
* Creates a new GoogleSubscriptionPaused instance using the specified properties.
|
|
44807
45805
|
* @function create
|
|
@@ -44840,6 +45838,10 @@ $root.GoogleSubscriptionPaused = (function() {
|
|
|
44840
45838
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
44841
45839
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
44842
45840
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
45841
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
45842
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
45843
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
45844
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
44843
45845
|
return writer;
|
|
44844
45846
|
};
|
|
44845
45847
|
|
|
@@ -44895,6 +45897,12 @@ $root.GoogleSubscriptionPaused = (function() {
|
|
|
44895
45897
|
case 7:
|
|
44896
45898
|
message.paymentState = reader.int32();
|
|
44897
45899
|
break;
|
|
45900
|
+
case 8:
|
|
45901
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
45902
|
+
break;
|
|
45903
|
+
case 9:
|
|
45904
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
45905
|
+
break;
|
|
44898
45906
|
default:
|
|
44899
45907
|
reader.skipType(tag & 7);
|
|
44900
45908
|
break;
|
|
@@ -44959,6 +45967,12 @@ $root.GoogleSubscriptionPaused = (function() {
|
|
|
44959
45967
|
case 4:
|
|
44960
45968
|
break;
|
|
44961
45969
|
}
|
|
45970
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
45971
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
45972
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
45973
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
45974
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
45975
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
44962
45976
|
return null;
|
|
44963
45977
|
};
|
|
44964
45978
|
|
|
@@ -45022,6 +46036,24 @@ $root.GoogleSubscriptionPaused = (function() {
|
|
|
45022
46036
|
message.paymentState = 4;
|
|
45023
46037
|
break;
|
|
45024
46038
|
}
|
|
46039
|
+
if (object.freeTrialStartsAt != null)
|
|
46040
|
+
if ($util.Long)
|
|
46041
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
46042
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
46043
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
46044
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
46045
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
46046
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
46047
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
46048
|
+
if (object.freeTrialEndsAt != null)
|
|
46049
|
+
if ($util.Long)
|
|
46050
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
46051
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
46052
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
46053
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
46054
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
46055
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
46056
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
45025
46057
|
return message;
|
|
45026
46058
|
};
|
|
45027
46059
|
|
|
@@ -45054,6 +46086,16 @@ $root.GoogleSubscriptionPaused = (function() {
|
|
|
45054
46086
|
object.productId = "";
|
|
45055
46087
|
object.autoRenewalStatus = false;
|
|
45056
46088
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
46089
|
+
if ($util.Long) {
|
|
46090
|
+
var long = new $util.Long(0, 0, true);
|
|
46091
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
46092
|
+
} else
|
|
46093
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
46094
|
+
if ($util.Long) {
|
|
46095
|
+
var long = new $util.Long(0, 0, true);
|
|
46096
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
46097
|
+
} else
|
|
46098
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
45057
46099
|
}
|
|
45058
46100
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
45059
46101
|
object.id = message.id;
|
|
@@ -45075,6 +46117,16 @@ $root.GoogleSubscriptionPaused = (function() {
|
|
|
45075
46117
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
45076
46118
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
45077
46119
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
46120
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
46121
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
46122
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
46123
|
+
else
|
|
46124
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
46125
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
46126
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
46127
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
46128
|
+
else
|
|
46129
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
45078
46130
|
return object;
|
|
45079
46131
|
};
|
|
45080
46132
|
|
|
@@ -45105,6 +46157,8 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
|
|
|
45105
46157
|
* @property {string|null} [productId] GoogleSubscriptionPauseScheduleChanged productId
|
|
45106
46158
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPauseScheduleChanged autoRenewalStatus
|
|
45107
46159
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPauseScheduleChanged paymentState
|
|
46160
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPauseScheduleChanged freeTrialStartsAt
|
|
46161
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPauseScheduleChanged freeTrialEndsAt
|
|
45108
46162
|
*/
|
|
45109
46163
|
|
|
45110
46164
|
/**
|
|
@@ -45178,6 +46232,22 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
|
|
|
45178
46232
|
*/
|
|
45179
46233
|
GoogleSubscriptionPauseScheduleChanged.prototype.paymentState = 0;
|
|
45180
46234
|
|
|
46235
|
+
/**
|
|
46236
|
+
* GoogleSubscriptionPauseScheduleChanged freeTrialStartsAt.
|
|
46237
|
+
* @member {number|Long} freeTrialStartsAt
|
|
46238
|
+
* @memberof GoogleSubscriptionPauseScheduleChanged
|
|
46239
|
+
* @instance
|
|
46240
|
+
*/
|
|
46241
|
+
GoogleSubscriptionPauseScheduleChanged.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
46242
|
+
|
|
46243
|
+
/**
|
|
46244
|
+
* GoogleSubscriptionPauseScheduleChanged freeTrialEndsAt.
|
|
46245
|
+
* @member {number|Long} freeTrialEndsAt
|
|
46246
|
+
* @memberof GoogleSubscriptionPauseScheduleChanged
|
|
46247
|
+
* @instance
|
|
46248
|
+
*/
|
|
46249
|
+
GoogleSubscriptionPauseScheduleChanged.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
46250
|
+
|
|
45181
46251
|
/**
|
|
45182
46252
|
* Creates a new GoogleSubscriptionPauseScheduleChanged instance using the specified properties.
|
|
45183
46253
|
* @function create
|
|
@@ -45216,6 +46286,10 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
|
|
|
45216
46286
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
45217
46287
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
45218
46288
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
46289
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
46290
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
46291
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
46292
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
45219
46293
|
return writer;
|
|
45220
46294
|
};
|
|
45221
46295
|
|
|
@@ -45271,6 +46345,12 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
|
|
|
45271
46345
|
case 7:
|
|
45272
46346
|
message.paymentState = reader.int32();
|
|
45273
46347
|
break;
|
|
46348
|
+
case 8:
|
|
46349
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
46350
|
+
break;
|
|
46351
|
+
case 9:
|
|
46352
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
46353
|
+
break;
|
|
45274
46354
|
default:
|
|
45275
46355
|
reader.skipType(tag & 7);
|
|
45276
46356
|
break;
|
|
@@ -45335,6 +46415,12 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
|
|
|
45335
46415
|
case 4:
|
|
45336
46416
|
break;
|
|
45337
46417
|
}
|
|
46418
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
46419
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
46420
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
46421
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
46422
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
46423
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
45338
46424
|
return null;
|
|
45339
46425
|
};
|
|
45340
46426
|
|
|
@@ -45398,6 +46484,24 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
|
|
|
45398
46484
|
message.paymentState = 4;
|
|
45399
46485
|
break;
|
|
45400
46486
|
}
|
|
46487
|
+
if (object.freeTrialStartsAt != null)
|
|
46488
|
+
if ($util.Long)
|
|
46489
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
46490
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
46491
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
46492
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
46493
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
46494
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
46495
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
46496
|
+
if (object.freeTrialEndsAt != null)
|
|
46497
|
+
if ($util.Long)
|
|
46498
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
46499
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
46500
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
46501
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
46502
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
46503
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
46504
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
45401
46505
|
return message;
|
|
45402
46506
|
};
|
|
45403
46507
|
|
|
@@ -45430,6 +46534,16 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
|
|
|
45430
46534
|
object.productId = "";
|
|
45431
46535
|
object.autoRenewalStatus = false;
|
|
45432
46536
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
46537
|
+
if ($util.Long) {
|
|
46538
|
+
var long = new $util.Long(0, 0, true);
|
|
46539
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
46540
|
+
} else
|
|
46541
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
46542
|
+
if ($util.Long) {
|
|
46543
|
+
var long = new $util.Long(0, 0, true);
|
|
46544
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
46545
|
+
} else
|
|
46546
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
45433
46547
|
}
|
|
45434
46548
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
45435
46549
|
object.id = message.id;
|
|
@@ -45451,6 +46565,16 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
|
|
|
45451
46565
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
45452
46566
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
45453
46567
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
46568
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
46569
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
46570
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
46571
|
+
else
|
|
46572
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
46573
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
46574
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
46575
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
46576
|
+
else
|
|
46577
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
45454
46578
|
return object;
|
|
45455
46579
|
};
|
|
45456
46580
|
|
|
@@ -45481,6 +46605,8 @@ $root.GoogleSubscriptionRevoked = (function() {
|
|
|
45481
46605
|
* @property {string|null} [productId] GoogleSubscriptionRevoked productId
|
|
45482
46606
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRevoked autoRenewalStatus
|
|
45483
46607
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRevoked paymentState
|
|
46608
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRevoked freeTrialStartsAt
|
|
46609
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRevoked freeTrialEndsAt
|
|
45484
46610
|
*/
|
|
45485
46611
|
|
|
45486
46612
|
/**
|
|
@@ -45554,6 +46680,22 @@ $root.GoogleSubscriptionRevoked = (function() {
|
|
|
45554
46680
|
*/
|
|
45555
46681
|
GoogleSubscriptionRevoked.prototype.paymentState = 0;
|
|
45556
46682
|
|
|
46683
|
+
/**
|
|
46684
|
+
* GoogleSubscriptionRevoked freeTrialStartsAt.
|
|
46685
|
+
* @member {number|Long} freeTrialStartsAt
|
|
46686
|
+
* @memberof GoogleSubscriptionRevoked
|
|
46687
|
+
* @instance
|
|
46688
|
+
*/
|
|
46689
|
+
GoogleSubscriptionRevoked.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
46690
|
+
|
|
46691
|
+
/**
|
|
46692
|
+
* GoogleSubscriptionRevoked freeTrialEndsAt.
|
|
46693
|
+
* @member {number|Long} freeTrialEndsAt
|
|
46694
|
+
* @memberof GoogleSubscriptionRevoked
|
|
46695
|
+
* @instance
|
|
46696
|
+
*/
|
|
46697
|
+
GoogleSubscriptionRevoked.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
46698
|
+
|
|
45557
46699
|
/**
|
|
45558
46700
|
* Creates a new GoogleSubscriptionRevoked instance using the specified properties.
|
|
45559
46701
|
* @function create
|
|
@@ -45592,6 +46734,10 @@ $root.GoogleSubscriptionRevoked = (function() {
|
|
|
45592
46734
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
45593
46735
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
45594
46736
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
46737
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
46738
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
46739
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
46740
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
45595
46741
|
return writer;
|
|
45596
46742
|
};
|
|
45597
46743
|
|
|
@@ -45647,6 +46793,12 @@ $root.GoogleSubscriptionRevoked = (function() {
|
|
|
45647
46793
|
case 7:
|
|
45648
46794
|
message.paymentState = reader.int32();
|
|
45649
46795
|
break;
|
|
46796
|
+
case 8:
|
|
46797
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
46798
|
+
break;
|
|
46799
|
+
case 9:
|
|
46800
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
46801
|
+
break;
|
|
45650
46802
|
default:
|
|
45651
46803
|
reader.skipType(tag & 7);
|
|
45652
46804
|
break;
|
|
@@ -45711,6 +46863,12 @@ $root.GoogleSubscriptionRevoked = (function() {
|
|
|
45711
46863
|
case 4:
|
|
45712
46864
|
break;
|
|
45713
46865
|
}
|
|
46866
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
46867
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
46868
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
46869
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
46870
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
46871
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
45714
46872
|
return null;
|
|
45715
46873
|
};
|
|
45716
46874
|
|
|
@@ -45774,6 +46932,24 @@ $root.GoogleSubscriptionRevoked = (function() {
|
|
|
45774
46932
|
message.paymentState = 4;
|
|
45775
46933
|
break;
|
|
45776
46934
|
}
|
|
46935
|
+
if (object.freeTrialStartsAt != null)
|
|
46936
|
+
if ($util.Long)
|
|
46937
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
46938
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
46939
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
46940
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
46941
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
46942
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
46943
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
46944
|
+
if (object.freeTrialEndsAt != null)
|
|
46945
|
+
if ($util.Long)
|
|
46946
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
46947
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
46948
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
46949
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
46950
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
46951
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
46952
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
45777
46953
|
return message;
|
|
45778
46954
|
};
|
|
45779
46955
|
|
|
@@ -45806,6 +46982,16 @@ $root.GoogleSubscriptionRevoked = (function() {
|
|
|
45806
46982
|
object.productId = "";
|
|
45807
46983
|
object.autoRenewalStatus = false;
|
|
45808
46984
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
46985
|
+
if ($util.Long) {
|
|
46986
|
+
var long = new $util.Long(0, 0, true);
|
|
46987
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
46988
|
+
} else
|
|
46989
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
46990
|
+
if ($util.Long) {
|
|
46991
|
+
var long = new $util.Long(0, 0, true);
|
|
46992
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
46993
|
+
} else
|
|
46994
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
45809
46995
|
}
|
|
45810
46996
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
45811
46997
|
object.id = message.id;
|
|
@@ -45827,6 +47013,16 @@ $root.GoogleSubscriptionRevoked = (function() {
|
|
|
45827
47013
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
45828
47014
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
45829
47015
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
47016
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
47017
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
47018
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
47019
|
+
else
|
|
47020
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
47021
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
47022
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
47023
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
47024
|
+
else
|
|
47025
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
45830
47026
|
return object;
|
|
45831
47027
|
};
|
|
45832
47028
|
|
|
@@ -45857,6 +47053,8 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
45857
47053
|
* @property {string|null} [productId] GoogleSubscriptionExpired productId
|
|
45858
47054
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionExpired autoRenewalStatus
|
|
45859
47055
|
* @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionExpired paymentState
|
|
47056
|
+
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionExpired freeTrialStartsAt
|
|
47057
|
+
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionExpired freeTrialEndsAt
|
|
45860
47058
|
*/
|
|
45861
47059
|
|
|
45862
47060
|
/**
|
|
@@ -45930,6 +47128,22 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
45930
47128
|
*/
|
|
45931
47129
|
GoogleSubscriptionExpired.prototype.paymentState = 0;
|
|
45932
47130
|
|
|
47131
|
+
/**
|
|
47132
|
+
* GoogleSubscriptionExpired freeTrialStartsAt.
|
|
47133
|
+
* @member {number|Long} freeTrialStartsAt
|
|
47134
|
+
* @memberof GoogleSubscriptionExpired
|
|
47135
|
+
* @instance
|
|
47136
|
+
*/
|
|
47137
|
+
GoogleSubscriptionExpired.prototype.freeTrialStartsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
47138
|
+
|
|
47139
|
+
/**
|
|
47140
|
+
* GoogleSubscriptionExpired freeTrialEndsAt.
|
|
47141
|
+
* @member {number|Long} freeTrialEndsAt
|
|
47142
|
+
* @memberof GoogleSubscriptionExpired
|
|
47143
|
+
* @instance
|
|
47144
|
+
*/
|
|
47145
|
+
GoogleSubscriptionExpired.prototype.freeTrialEndsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
47146
|
+
|
|
45933
47147
|
/**
|
|
45934
47148
|
* Creates a new GoogleSubscriptionExpired instance using the specified properties.
|
|
45935
47149
|
* @function create
|
|
@@ -45968,6 +47182,10 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
45968
47182
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
|
|
45969
47183
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
45970
47184
|
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.paymentState);
|
|
47185
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
47186
|
+
writer.uint32(/* id 8, wireType 0 =*/64).uint64(message.freeTrialStartsAt);
|
|
47187
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
47188
|
+
writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.freeTrialEndsAt);
|
|
45971
47189
|
return writer;
|
|
45972
47190
|
};
|
|
45973
47191
|
|
|
@@ -46023,6 +47241,12 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
46023
47241
|
case 7:
|
|
46024
47242
|
message.paymentState = reader.int32();
|
|
46025
47243
|
break;
|
|
47244
|
+
case 8:
|
|
47245
|
+
message.freeTrialStartsAt = reader.uint64();
|
|
47246
|
+
break;
|
|
47247
|
+
case 9:
|
|
47248
|
+
message.freeTrialEndsAt = reader.uint64();
|
|
47249
|
+
break;
|
|
46026
47250
|
default:
|
|
46027
47251
|
reader.skipType(tag & 7);
|
|
46028
47252
|
break;
|
|
@@ -46087,6 +47311,12 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
46087
47311
|
case 4:
|
|
46088
47312
|
break;
|
|
46089
47313
|
}
|
|
47314
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
47315
|
+
if (!$util.isInteger(message.freeTrialStartsAt) && !(message.freeTrialStartsAt && $util.isInteger(message.freeTrialStartsAt.low) && $util.isInteger(message.freeTrialStartsAt.high)))
|
|
47316
|
+
return "freeTrialStartsAt: integer|Long expected";
|
|
47317
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
47318
|
+
if (!$util.isInteger(message.freeTrialEndsAt) && !(message.freeTrialEndsAt && $util.isInteger(message.freeTrialEndsAt.low) && $util.isInteger(message.freeTrialEndsAt.high)))
|
|
47319
|
+
return "freeTrialEndsAt: integer|Long expected";
|
|
46090
47320
|
return null;
|
|
46091
47321
|
};
|
|
46092
47322
|
|
|
@@ -46150,6 +47380,24 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
46150
47380
|
message.paymentState = 4;
|
|
46151
47381
|
break;
|
|
46152
47382
|
}
|
|
47383
|
+
if (object.freeTrialStartsAt != null)
|
|
47384
|
+
if ($util.Long)
|
|
47385
|
+
(message.freeTrialStartsAt = $util.Long.fromValue(object.freeTrialStartsAt)).unsigned = true;
|
|
47386
|
+
else if (typeof object.freeTrialStartsAt === "string")
|
|
47387
|
+
message.freeTrialStartsAt = parseInt(object.freeTrialStartsAt, 10);
|
|
47388
|
+
else if (typeof object.freeTrialStartsAt === "number")
|
|
47389
|
+
message.freeTrialStartsAt = object.freeTrialStartsAt;
|
|
47390
|
+
else if (typeof object.freeTrialStartsAt === "object")
|
|
47391
|
+
message.freeTrialStartsAt = new $util.LongBits(object.freeTrialStartsAt.low >>> 0, object.freeTrialStartsAt.high >>> 0).toNumber(true);
|
|
47392
|
+
if (object.freeTrialEndsAt != null)
|
|
47393
|
+
if ($util.Long)
|
|
47394
|
+
(message.freeTrialEndsAt = $util.Long.fromValue(object.freeTrialEndsAt)).unsigned = true;
|
|
47395
|
+
else if (typeof object.freeTrialEndsAt === "string")
|
|
47396
|
+
message.freeTrialEndsAt = parseInt(object.freeTrialEndsAt, 10);
|
|
47397
|
+
else if (typeof object.freeTrialEndsAt === "number")
|
|
47398
|
+
message.freeTrialEndsAt = object.freeTrialEndsAt;
|
|
47399
|
+
else if (typeof object.freeTrialEndsAt === "object")
|
|
47400
|
+
message.freeTrialEndsAt = new $util.LongBits(object.freeTrialEndsAt.low >>> 0, object.freeTrialEndsAt.high >>> 0).toNumber(true);
|
|
46153
47401
|
return message;
|
|
46154
47402
|
};
|
|
46155
47403
|
|
|
@@ -46182,6 +47430,16 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
46182
47430
|
object.productId = "";
|
|
46183
47431
|
object.autoRenewalStatus = false;
|
|
46184
47432
|
object.paymentState = options.enums === String ? "GOOGLE_PAYMENT_STATE_UNKNOWN" : 0;
|
|
47433
|
+
if ($util.Long) {
|
|
47434
|
+
var long = new $util.Long(0, 0, true);
|
|
47435
|
+
object.freeTrialStartsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
47436
|
+
} else
|
|
47437
|
+
object.freeTrialStartsAt = options.longs === String ? "0" : 0;
|
|
47438
|
+
if ($util.Long) {
|
|
47439
|
+
var long = new $util.Long(0, 0, true);
|
|
47440
|
+
object.freeTrialEndsAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
47441
|
+
} else
|
|
47442
|
+
object.freeTrialEndsAt = options.longs === String ? "0" : 0;
|
|
46185
47443
|
}
|
|
46186
47444
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
46187
47445
|
object.id = message.id;
|
|
@@ -46203,6 +47461,16 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
46203
47461
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
46204
47462
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
46205
47463
|
object.paymentState = options.enums === String ? $root.googleReceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
47464
|
+
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
47465
|
+
if (typeof message.freeTrialStartsAt === "number")
|
|
47466
|
+
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
47467
|
+
else
|
|
47468
|
+
object.freeTrialStartsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialStartsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialStartsAt.low >>> 0, message.freeTrialStartsAt.high >>> 0).toNumber(true) : message.freeTrialStartsAt;
|
|
47469
|
+
if (message.freeTrialEndsAt != null && message.hasOwnProperty("freeTrialEndsAt"))
|
|
47470
|
+
if (typeof message.freeTrialEndsAt === "number")
|
|
47471
|
+
object.freeTrialEndsAt = options.longs === String ? String(message.freeTrialEndsAt) : message.freeTrialEndsAt;
|
|
47472
|
+
else
|
|
47473
|
+
object.freeTrialEndsAt = options.longs === String ? $util.Long.prototype.toString.call(message.freeTrialEndsAt) : options.longs === Number ? new $util.LongBits(message.freeTrialEndsAt.low >>> 0, message.freeTrialEndsAt.high >>> 0).toNumber(true) : message.freeTrialEndsAt;
|
|
46206
47474
|
return object;
|
|
46207
47475
|
};
|
|
46208
47476
|
|