@headspace/protos-events 1.154.0 → 1.159.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.js CHANGED
@@ -41677,6 +41677,8 @@ $root.GoogleSubscriptionPurchased = (function() {
41677
41677
  * @property {string|null} [productId] GoogleSubscriptionPurchased productId
41678
41678
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPurchased autoRenewalStatus
41679
41679
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPurchased paymentState
41680
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPurchased freeTrialStartsAt
41681
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPurchased freeTrialEndsAt
41680
41682
  */
41681
41683
 
41682
41684
  /**
@@ -41750,6 +41752,22 @@ $root.GoogleSubscriptionPurchased = (function() {
41750
41752
  */
41751
41753
  GoogleSubscriptionPurchased.prototype.paymentState = 0;
41752
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
+
41753
41771
  /**
41754
41772
  * Creates a new GoogleSubscriptionPurchased instance using the specified properties.
41755
41773
  * @function create
@@ -41788,6 +41806,10 @@ $root.GoogleSubscriptionPurchased = (function() {
41788
41806
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
41789
41807
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
41790
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);
41791
41813
  return writer;
41792
41814
  };
41793
41815
 
@@ -41843,6 +41865,12 @@ $root.GoogleSubscriptionPurchased = (function() {
41843
41865
  case 7:
41844
41866
  message.paymentState = reader.int32();
41845
41867
  break;
41868
+ case 8:
41869
+ message.freeTrialStartsAt = reader.uint64();
41870
+ break;
41871
+ case 9:
41872
+ message.freeTrialEndsAt = reader.uint64();
41873
+ break;
41846
41874
  default:
41847
41875
  reader.skipType(tag & 7);
41848
41876
  break;
@@ -41907,6 +41935,12 @@ $root.GoogleSubscriptionPurchased = (function() {
41907
41935
  case 4:
41908
41936
  break;
41909
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";
41910
41944
  return null;
41911
41945
  };
41912
41946
 
@@ -41970,6 +42004,24 @@ $root.GoogleSubscriptionPurchased = (function() {
41970
42004
  message.paymentState = 4;
41971
42005
  break;
41972
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);
41973
42025
  return message;
41974
42026
  };
41975
42027
 
@@ -42002,6 +42054,16 @@ $root.GoogleSubscriptionPurchased = (function() {
42002
42054
  object.productId = "";
42003
42055
  object.autoRenewalStatus = false;
42004
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;
42005
42067
  }
42006
42068
  if (message.id != null && message.hasOwnProperty("id"))
42007
42069
  object.id = message.id;
@@ -42023,6 +42085,16 @@ $root.GoogleSubscriptionPurchased = (function() {
42023
42085
  object.autoRenewalStatus = message.autoRenewalStatus;
42024
42086
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
42025
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;
42026
42098
  return object;
42027
42099
  };
42028
42100
 
@@ -42053,6 +42125,8 @@ $root.GoogleSubscriptionRenewed = (function() {
42053
42125
  * @property {string|null} [productId] GoogleSubscriptionRenewed productId
42054
42126
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRenewed autoRenewalStatus
42055
42127
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRenewed paymentState
42128
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRenewed freeTrialStartsAt
42129
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRenewed freeTrialEndsAt
42056
42130
  */
42057
42131
 
42058
42132
  /**
@@ -42126,6 +42200,22 @@ $root.GoogleSubscriptionRenewed = (function() {
42126
42200
  */
42127
42201
  GoogleSubscriptionRenewed.prototype.paymentState = 0;
42128
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
+
42129
42219
  /**
42130
42220
  * Creates a new GoogleSubscriptionRenewed instance using the specified properties.
42131
42221
  * @function create
@@ -42164,6 +42254,10 @@ $root.GoogleSubscriptionRenewed = (function() {
42164
42254
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
42165
42255
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
42166
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);
42167
42261
  return writer;
42168
42262
  };
42169
42263
 
@@ -42219,6 +42313,12 @@ $root.GoogleSubscriptionRenewed = (function() {
42219
42313
  case 7:
42220
42314
  message.paymentState = reader.int32();
42221
42315
  break;
42316
+ case 8:
42317
+ message.freeTrialStartsAt = reader.uint64();
42318
+ break;
42319
+ case 9:
42320
+ message.freeTrialEndsAt = reader.uint64();
42321
+ break;
42222
42322
  default:
42223
42323
  reader.skipType(tag & 7);
42224
42324
  break;
@@ -42283,6 +42383,12 @@ $root.GoogleSubscriptionRenewed = (function() {
42283
42383
  case 4:
42284
42384
  break;
42285
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";
42286
42392
  return null;
42287
42393
  };
42288
42394
 
@@ -42346,6 +42452,24 @@ $root.GoogleSubscriptionRenewed = (function() {
42346
42452
  message.paymentState = 4;
42347
42453
  break;
42348
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);
42349
42473
  return message;
42350
42474
  };
42351
42475
 
@@ -42378,6 +42502,16 @@ $root.GoogleSubscriptionRenewed = (function() {
42378
42502
  object.productId = "";
42379
42503
  object.autoRenewalStatus = false;
42380
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;
42381
42515
  }
42382
42516
  if (message.id != null && message.hasOwnProperty("id"))
42383
42517
  object.id = message.id;
@@ -42399,6 +42533,16 @@ $root.GoogleSubscriptionRenewed = (function() {
42399
42533
  object.autoRenewalStatus = message.autoRenewalStatus;
42400
42534
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
42401
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;
42402
42546
  return object;
42403
42547
  };
42404
42548
 
@@ -42429,6 +42573,8 @@ $root.GoogleSubscriptionCancelled = (function() {
42429
42573
  * @property {string|null} [productId] GoogleSubscriptionCancelled productId
42430
42574
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionCancelled autoRenewalStatus
42431
42575
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionCancelled paymentState
42576
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionCancelled freeTrialStartsAt
42577
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionCancelled freeTrialEndsAt
42432
42578
  */
42433
42579
 
42434
42580
  /**
@@ -42502,6 +42648,22 @@ $root.GoogleSubscriptionCancelled = (function() {
42502
42648
  */
42503
42649
  GoogleSubscriptionCancelled.prototype.paymentState = 0;
42504
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
+
42505
42667
  /**
42506
42668
  * Creates a new GoogleSubscriptionCancelled instance using the specified properties.
42507
42669
  * @function create
@@ -42540,6 +42702,10 @@ $root.GoogleSubscriptionCancelled = (function() {
42540
42702
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
42541
42703
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
42542
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);
42543
42709
  return writer;
42544
42710
  };
42545
42711
 
@@ -42595,6 +42761,12 @@ $root.GoogleSubscriptionCancelled = (function() {
42595
42761
  case 7:
42596
42762
  message.paymentState = reader.int32();
42597
42763
  break;
42764
+ case 8:
42765
+ message.freeTrialStartsAt = reader.uint64();
42766
+ break;
42767
+ case 9:
42768
+ message.freeTrialEndsAt = reader.uint64();
42769
+ break;
42598
42770
  default:
42599
42771
  reader.skipType(tag & 7);
42600
42772
  break;
@@ -42659,6 +42831,12 @@ $root.GoogleSubscriptionCancelled = (function() {
42659
42831
  case 4:
42660
42832
  break;
42661
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";
42662
42840
  return null;
42663
42841
  };
42664
42842
 
@@ -42722,6 +42900,24 @@ $root.GoogleSubscriptionCancelled = (function() {
42722
42900
  message.paymentState = 4;
42723
42901
  break;
42724
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);
42725
42921
  return message;
42726
42922
  };
42727
42923
 
@@ -42754,6 +42950,16 @@ $root.GoogleSubscriptionCancelled = (function() {
42754
42950
  object.productId = "";
42755
42951
  object.autoRenewalStatus = false;
42756
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;
42757
42963
  }
42758
42964
  if (message.id != null && message.hasOwnProperty("id"))
42759
42965
  object.id = message.id;
@@ -42775,6 +42981,16 @@ $root.GoogleSubscriptionCancelled = (function() {
42775
42981
  object.autoRenewalStatus = message.autoRenewalStatus;
42776
42982
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
42777
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;
42778
42994
  return object;
42779
42995
  };
42780
42996
 
@@ -42805,6 +43021,8 @@ $root.GoogleSubscriptionRecovered = (function() {
42805
43021
  * @property {string|null} [productId] GoogleSubscriptionRecovered productId
42806
43022
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRecovered autoRenewalStatus
42807
43023
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRecovered paymentState
43024
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRecovered freeTrialStartsAt
43025
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRecovered freeTrialEndsAt
42808
43026
  */
42809
43027
 
42810
43028
  /**
@@ -42878,6 +43096,22 @@ $root.GoogleSubscriptionRecovered = (function() {
42878
43096
  */
42879
43097
  GoogleSubscriptionRecovered.prototype.paymentState = 0;
42880
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
+
42881
43115
  /**
42882
43116
  * Creates a new GoogleSubscriptionRecovered instance using the specified properties.
42883
43117
  * @function create
@@ -42916,6 +43150,10 @@ $root.GoogleSubscriptionRecovered = (function() {
42916
43150
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
42917
43151
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
42918
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);
42919
43157
  return writer;
42920
43158
  };
42921
43159
 
@@ -42971,6 +43209,12 @@ $root.GoogleSubscriptionRecovered = (function() {
42971
43209
  case 7:
42972
43210
  message.paymentState = reader.int32();
42973
43211
  break;
43212
+ case 8:
43213
+ message.freeTrialStartsAt = reader.uint64();
43214
+ break;
43215
+ case 9:
43216
+ message.freeTrialEndsAt = reader.uint64();
43217
+ break;
42974
43218
  default:
42975
43219
  reader.skipType(tag & 7);
42976
43220
  break;
@@ -43035,6 +43279,12 @@ $root.GoogleSubscriptionRecovered = (function() {
43035
43279
  case 4:
43036
43280
  break;
43037
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";
43038
43288
  return null;
43039
43289
  };
43040
43290
 
@@ -43098,6 +43348,24 @@ $root.GoogleSubscriptionRecovered = (function() {
43098
43348
  message.paymentState = 4;
43099
43349
  break;
43100
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);
43101
43369
  return message;
43102
43370
  };
43103
43371
 
@@ -43130,6 +43398,16 @@ $root.GoogleSubscriptionRecovered = (function() {
43130
43398
  object.productId = "";
43131
43399
  object.autoRenewalStatus = false;
43132
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;
43133
43411
  }
43134
43412
  if (message.id != null && message.hasOwnProperty("id"))
43135
43413
  object.id = message.id;
@@ -43151,6 +43429,16 @@ $root.GoogleSubscriptionRecovered = (function() {
43151
43429
  object.autoRenewalStatus = message.autoRenewalStatus;
43152
43430
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
43153
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;
43154
43442
  return object;
43155
43443
  };
43156
43444
 
@@ -43181,6 +43469,8 @@ $root.GoogleSubscriptionOnHold = (function() {
43181
43469
  * @property {string|null} [productId] GoogleSubscriptionOnHold productId
43182
43470
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionOnHold autoRenewalStatus
43183
43471
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionOnHold paymentState
43472
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionOnHold freeTrialStartsAt
43473
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionOnHold freeTrialEndsAt
43184
43474
  */
43185
43475
 
43186
43476
  /**
@@ -43254,6 +43544,22 @@ $root.GoogleSubscriptionOnHold = (function() {
43254
43544
  */
43255
43545
  GoogleSubscriptionOnHold.prototype.paymentState = 0;
43256
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
+
43257
43563
  /**
43258
43564
  * Creates a new GoogleSubscriptionOnHold instance using the specified properties.
43259
43565
  * @function create
@@ -43292,6 +43598,10 @@ $root.GoogleSubscriptionOnHold = (function() {
43292
43598
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
43293
43599
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
43294
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);
43295
43605
  return writer;
43296
43606
  };
43297
43607
 
@@ -43347,6 +43657,12 @@ $root.GoogleSubscriptionOnHold = (function() {
43347
43657
  case 7:
43348
43658
  message.paymentState = reader.int32();
43349
43659
  break;
43660
+ case 8:
43661
+ message.freeTrialStartsAt = reader.uint64();
43662
+ break;
43663
+ case 9:
43664
+ message.freeTrialEndsAt = reader.uint64();
43665
+ break;
43350
43666
  default:
43351
43667
  reader.skipType(tag & 7);
43352
43668
  break;
@@ -43411,6 +43727,12 @@ $root.GoogleSubscriptionOnHold = (function() {
43411
43727
  case 4:
43412
43728
  break;
43413
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";
43414
43736
  return null;
43415
43737
  };
43416
43738
 
@@ -43474,6 +43796,24 @@ $root.GoogleSubscriptionOnHold = (function() {
43474
43796
  message.paymentState = 4;
43475
43797
  break;
43476
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);
43477
43817
  return message;
43478
43818
  };
43479
43819
 
@@ -43506,6 +43846,16 @@ $root.GoogleSubscriptionOnHold = (function() {
43506
43846
  object.productId = "";
43507
43847
  object.autoRenewalStatus = false;
43508
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;
43509
43859
  }
43510
43860
  if (message.id != null && message.hasOwnProperty("id"))
43511
43861
  object.id = message.id;
@@ -43527,6 +43877,16 @@ $root.GoogleSubscriptionOnHold = (function() {
43527
43877
  object.autoRenewalStatus = message.autoRenewalStatus;
43528
43878
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
43529
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;
43530
43890
  return object;
43531
43891
  };
43532
43892
 
@@ -43557,6 +43917,8 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
43557
43917
  * @property {string|null} [productId] GoogleSubscriptionInGracePeriod productId
43558
43918
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionInGracePeriod autoRenewalStatus
43559
43919
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionInGracePeriod paymentState
43920
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionInGracePeriod freeTrialStartsAt
43921
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionInGracePeriod freeTrialEndsAt
43560
43922
  */
43561
43923
 
43562
43924
  /**
@@ -43630,6 +43992,22 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
43630
43992
  */
43631
43993
  GoogleSubscriptionInGracePeriod.prototype.paymentState = 0;
43632
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
+
43633
44011
  /**
43634
44012
  * Creates a new GoogleSubscriptionInGracePeriod instance using the specified properties.
43635
44013
  * @function create
@@ -43668,6 +44046,10 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
43668
44046
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
43669
44047
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
43670
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);
43671
44053
  return writer;
43672
44054
  };
43673
44055
 
@@ -43723,6 +44105,12 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
43723
44105
  case 7:
43724
44106
  message.paymentState = reader.int32();
43725
44107
  break;
44108
+ case 8:
44109
+ message.freeTrialStartsAt = reader.uint64();
44110
+ break;
44111
+ case 9:
44112
+ message.freeTrialEndsAt = reader.uint64();
44113
+ break;
43726
44114
  default:
43727
44115
  reader.skipType(tag & 7);
43728
44116
  break;
@@ -43787,6 +44175,12 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
43787
44175
  case 4:
43788
44176
  break;
43789
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";
43790
44184
  return null;
43791
44185
  };
43792
44186
 
@@ -43850,6 +44244,24 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
43850
44244
  message.paymentState = 4;
43851
44245
  break;
43852
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);
43853
44265
  return message;
43854
44266
  };
43855
44267
 
@@ -43882,6 +44294,16 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
43882
44294
  object.productId = "";
43883
44295
  object.autoRenewalStatus = false;
43884
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;
43885
44307
  }
43886
44308
  if (message.id != null && message.hasOwnProperty("id"))
43887
44309
  object.id = message.id;
@@ -43903,6 +44325,16 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
43903
44325
  object.autoRenewalStatus = message.autoRenewalStatus;
43904
44326
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
43905
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;
43906
44338
  return object;
43907
44339
  };
43908
44340
 
@@ -43933,6 +44365,8 @@ $root.GoogleSubscriptionRestarted = (function() {
43933
44365
  * @property {string|null} [productId] GoogleSubscriptionRestarted productId
43934
44366
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRestarted autoRenewalStatus
43935
44367
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRestarted paymentState
44368
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRestarted freeTrialStartsAt
44369
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRestarted freeTrialEndsAt
43936
44370
  */
43937
44371
 
43938
44372
  /**
@@ -44006,6 +44440,22 @@ $root.GoogleSubscriptionRestarted = (function() {
44006
44440
  */
44007
44441
  GoogleSubscriptionRestarted.prototype.paymentState = 0;
44008
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
+
44009
44459
  /**
44010
44460
  * Creates a new GoogleSubscriptionRestarted instance using the specified properties.
44011
44461
  * @function create
@@ -44044,6 +44494,10 @@ $root.GoogleSubscriptionRestarted = (function() {
44044
44494
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
44045
44495
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
44046
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);
44047
44501
  return writer;
44048
44502
  };
44049
44503
 
@@ -44099,6 +44553,12 @@ $root.GoogleSubscriptionRestarted = (function() {
44099
44553
  case 7:
44100
44554
  message.paymentState = reader.int32();
44101
44555
  break;
44556
+ case 8:
44557
+ message.freeTrialStartsAt = reader.uint64();
44558
+ break;
44559
+ case 9:
44560
+ message.freeTrialEndsAt = reader.uint64();
44561
+ break;
44102
44562
  default:
44103
44563
  reader.skipType(tag & 7);
44104
44564
  break;
@@ -44163,6 +44623,12 @@ $root.GoogleSubscriptionRestarted = (function() {
44163
44623
  case 4:
44164
44624
  break;
44165
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";
44166
44632
  return null;
44167
44633
  };
44168
44634
 
@@ -44226,6 +44692,24 @@ $root.GoogleSubscriptionRestarted = (function() {
44226
44692
  message.paymentState = 4;
44227
44693
  break;
44228
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);
44229
44713
  return message;
44230
44714
  };
44231
44715
 
@@ -44258,6 +44742,16 @@ $root.GoogleSubscriptionRestarted = (function() {
44258
44742
  object.productId = "";
44259
44743
  object.autoRenewalStatus = false;
44260
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;
44261
44755
  }
44262
44756
  if (message.id != null && message.hasOwnProperty("id"))
44263
44757
  object.id = message.id;
@@ -44279,6 +44773,16 @@ $root.GoogleSubscriptionRestarted = (function() {
44279
44773
  object.autoRenewalStatus = message.autoRenewalStatus;
44280
44774
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
44281
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;
44282
44786
  return object;
44283
44787
  };
44284
44788
 
@@ -44309,6 +44813,8 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
44309
44813
  * @property {string|null} [productId] GoogleSubscriptionPriceChangeConfirmed productId
44310
44814
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPriceChangeConfirmed autoRenewalStatus
44311
44815
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPriceChangeConfirmed paymentState
44816
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPriceChangeConfirmed freeTrialStartsAt
44817
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPriceChangeConfirmed freeTrialEndsAt
44312
44818
  */
44313
44819
 
44314
44820
  /**
@@ -44382,6 +44888,22 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
44382
44888
  */
44383
44889
  GoogleSubscriptionPriceChangeConfirmed.prototype.paymentState = 0;
44384
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
+
44385
44907
  /**
44386
44908
  * Creates a new GoogleSubscriptionPriceChangeConfirmed instance using the specified properties.
44387
44909
  * @function create
@@ -44420,6 +44942,10 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
44420
44942
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
44421
44943
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
44422
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);
44423
44949
  return writer;
44424
44950
  };
44425
44951
 
@@ -44475,6 +45001,12 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
44475
45001
  case 7:
44476
45002
  message.paymentState = reader.int32();
44477
45003
  break;
45004
+ case 8:
45005
+ message.freeTrialStartsAt = reader.uint64();
45006
+ break;
45007
+ case 9:
45008
+ message.freeTrialEndsAt = reader.uint64();
45009
+ break;
44478
45010
  default:
44479
45011
  reader.skipType(tag & 7);
44480
45012
  break;
@@ -44539,6 +45071,12 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
44539
45071
  case 4:
44540
45072
  break;
44541
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";
44542
45080
  return null;
44543
45081
  };
44544
45082
 
@@ -44602,6 +45140,24 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
44602
45140
  message.paymentState = 4;
44603
45141
  break;
44604
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);
44605
45161
  return message;
44606
45162
  };
44607
45163
 
@@ -44634,6 +45190,16 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
44634
45190
  object.productId = "";
44635
45191
  object.autoRenewalStatus = false;
44636
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;
44637
45203
  }
44638
45204
  if (message.id != null && message.hasOwnProperty("id"))
44639
45205
  object.id = message.id;
@@ -44655,6 +45221,16 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
44655
45221
  object.autoRenewalStatus = message.autoRenewalStatus;
44656
45222
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
44657
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;
44658
45234
  return object;
44659
45235
  };
44660
45236
 
@@ -44685,6 +45261,8 @@ $root.GoogleSubscriptionDeferred = (function() {
44685
45261
  * @property {string|null} [productId] GoogleSubscriptionDeferred productId
44686
45262
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionDeferred autoRenewalStatus
44687
45263
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionDeferred paymentState
45264
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionDeferred freeTrialStartsAt
45265
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionDeferred freeTrialEndsAt
44688
45266
  */
44689
45267
 
44690
45268
  /**
@@ -44758,6 +45336,22 @@ $root.GoogleSubscriptionDeferred = (function() {
44758
45336
  */
44759
45337
  GoogleSubscriptionDeferred.prototype.paymentState = 0;
44760
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
+
44761
45355
  /**
44762
45356
  * Creates a new GoogleSubscriptionDeferred instance using the specified properties.
44763
45357
  * @function create
@@ -44796,6 +45390,10 @@ $root.GoogleSubscriptionDeferred = (function() {
44796
45390
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
44797
45391
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
44798
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);
44799
45397
  return writer;
44800
45398
  };
44801
45399
 
@@ -44851,6 +45449,12 @@ $root.GoogleSubscriptionDeferred = (function() {
44851
45449
  case 7:
44852
45450
  message.paymentState = reader.int32();
44853
45451
  break;
45452
+ case 8:
45453
+ message.freeTrialStartsAt = reader.uint64();
45454
+ break;
45455
+ case 9:
45456
+ message.freeTrialEndsAt = reader.uint64();
45457
+ break;
44854
45458
  default:
44855
45459
  reader.skipType(tag & 7);
44856
45460
  break;
@@ -44915,6 +45519,12 @@ $root.GoogleSubscriptionDeferred = (function() {
44915
45519
  case 4:
44916
45520
  break;
44917
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";
44918
45528
  return null;
44919
45529
  };
44920
45530
 
@@ -44978,6 +45588,24 @@ $root.GoogleSubscriptionDeferred = (function() {
44978
45588
  message.paymentState = 4;
44979
45589
  break;
44980
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);
44981
45609
  return message;
44982
45610
  };
44983
45611
 
@@ -45010,6 +45638,16 @@ $root.GoogleSubscriptionDeferred = (function() {
45010
45638
  object.productId = "";
45011
45639
  object.autoRenewalStatus = false;
45012
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;
45013
45651
  }
45014
45652
  if (message.id != null && message.hasOwnProperty("id"))
45015
45653
  object.id = message.id;
@@ -45031,6 +45669,16 @@ $root.GoogleSubscriptionDeferred = (function() {
45031
45669
  object.autoRenewalStatus = message.autoRenewalStatus;
45032
45670
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
45033
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;
45034
45682
  return object;
45035
45683
  };
45036
45684
 
@@ -45061,6 +45709,8 @@ $root.GoogleSubscriptionPaused = (function() {
45061
45709
  * @property {string|null} [productId] GoogleSubscriptionPaused productId
45062
45710
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPaused autoRenewalStatus
45063
45711
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPaused paymentState
45712
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPaused freeTrialStartsAt
45713
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPaused freeTrialEndsAt
45064
45714
  */
45065
45715
 
45066
45716
  /**
@@ -45134,6 +45784,22 @@ $root.GoogleSubscriptionPaused = (function() {
45134
45784
  */
45135
45785
  GoogleSubscriptionPaused.prototype.paymentState = 0;
45136
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
+
45137
45803
  /**
45138
45804
  * Creates a new GoogleSubscriptionPaused instance using the specified properties.
45139
45805
  * @function create
@@ -45172,6 +45838,10 @@ $root.GoogleSubscriptionPaused = (function() {
45172
45838
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
45173
45839
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
45174
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);
45175
45845
  return writer;
45176
45846
  };
45177
45847
 
@@ -45227,6 +45897,12 @@ $root.GoogleSubscriptionPaused = (function() {
45227
45897
  case 7:
45228
45898
  message.paymentState = reader.int32();
45229
45899
  break;
45900
+ case 8:
45901
+ message.freeTrialStartsAt = reader.uint64();
45902
+ break;
45903
+ case 9:
45904
+ message.freeTrialEndsAt = reader.uint64();
45905
+ break;
45230
45906
  default:
45231
45907
  reader.skipType(tag & 7);
45232
45908
  break;
@@ -45291,6 +45967,12 @@ $root.GoogleSubscriptionPaused = (function() {
45291
45967
  case 4:
45292
45968
  break;
45293
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";
45294
45976
  return null;
45295
45977
  };
45296
45978
 
@@ -45354,6 +46036,24 @@ $root.GoogleSubscriptionPaused = (function() {
45354
46036
  message.paymentState = 4;
45355
46037
  break;
45356
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);
45357
46057
  return message;
45358
46058
  };
45359
46059
 
@@ -45386,6 +46086,16 @@ $root.GoogleSubscriptionPaused = (function() {
45386
46086
  object.productId = "";
45387
46087
  object.autoRenewalStatus = false;
45388
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;
45389
46099
  }
45390
46100
  if (message.id != null && message.hasOwnProperty("id"))
45391
46101
  object.id = message.id;
@@ -45407,6 +46117,16 @@ $root.GoogleSubscriptionPaused = (function() {
45407
46117
  object.autoRenewalStatus = message.autoRenewalStatus;
45408
46118
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
45409
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;
45410
46130
  return object;
45411
46131
  };
45412
46132
 
@@ -45437,6 +46157,8 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
45437
46157
  * @property {string|null} [productId] GoogleSubscriptionPauseScheduleChanged productId
45438
46158
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPauseScheduleChanged autoRenewalStatus
45439
46159
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPauseScheduleChanged paymentState
46160
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPauseScheduleChanged freeTrialStartsAt
46161
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPauseScheduleChanged freeTrialEndsAt
45440
46162
  */
45441
46163
 
45442
46164
  /**
@@ -45510,6 +46232,22 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
45510
46232
  */
45511
46233
  GoogleSubscriptionPauseScheduleChanged.prototype.paymentState = 0;
45512
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
+
45513
46251
  /**
45514
46252
  * Creates a new GoogleSubscriptionPauseScheduleChanged instance using the specified properties.
45515
46253
  * @function create
@@ -45548,6 +46286,10 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
45548
46286
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
45549
46287
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
45550
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);
45551
46293
  return writer;
45552
46294
  };
45553
46295
 
@@ -45603,6 +46345,12 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
45603
46345
  case 7:
45604
46346
  message.paymentState = reader.int32();
45605
46347
  break;
46348
+ case 8:
46349
+ message.freeTrialStartsAt = reader.uint64();
46350
+ break;
46351
+ case 9:
46352
+ message.freeTrialEndsAt = reader.uint64();
46353
+ break;
45606
46354
  default:
45607
46355
  reader.skipType(tag & 7);
45608
46356
  break;
@@ -45667,6 +46415,12 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
45667
46415
  case 4:
45668
46416
  break;
45669
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";
45670
46424
  return null;
45671
46425
  };
45672
46426
 
@@ -45730,6 +46484,24 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
45730
46484
  message.paymentState = 4;
45731
46485
  break;
45732
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);
45733
46505
  return message;
45734
46506
  };
45735
46507
 
@@ -45762,6 +46534,16 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
45762
46534
  object.productId = "";
45763
46535
  object.autoRenewalStatus = false;
45764
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;
45765
46547
  }
45766
46548
  if (message.id != null && message.hasOwnProperty("id"))
45767
46549
  object.id = message.id;
@@ -45783,6 +46565,16 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
45783
46565
  object.autoRenewalStatus = message.autoRenewalStatus;
45784
46566
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
45785
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;
45786
46578
  return object;
45787
46579
  };
45788
46580
 
@@ -45813,6 +46605,8 @@ $root.GoogleSubscriptionRevoked = (function() {
45813
46605
  * @property {string|null} [productId] GoogleSubscriptionRevoked productId
45814
46606
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRevoked autoRenewalStatus
45815
46607
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRevoked paymentState
46608
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRevoked freeTrialStartsAt
46609
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRevoked freeTrialEndsAt
45816
46610
  */
45817
46611
 
45818
46612
  /**
@@ -45886,6 +46680,22 @@ $root.GoogleSubscriptionRevoked = (function() {
45886
46680
  */
45887
46681
  GoogleSubscriptionRevoked.prototype.paymentState = 0;
45888
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
+
45889
46699
  /**
45890
46700
  * Creates a new GoogleSubscriptionRevoked instance using the specified properties.
45891
46701
  * @function create
@@ -45924,6 +46734,10 @@ $root.GoogleSubscriptionRevoked = (function() {
45924
46734
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
45925
46735
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
45926
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);
45927
46741
  return writer;
45928
46742
  };
45929
46743
 
@@ -45979,6 +46793,12 @@ $root.GoogleSubscriptionRevoked = (function() {
45979
46793
  case 7:
45980
46794
  message.paymentState = reader.int32();
45981
46795
  break;
46796
+ case 8:
46797
+ message.freeTrialStartsAt = reader.uint64();
46798
+ break;
46799
+ case 9:
46800
+ message.freeTrialEndsAt = reader.uint64();
46801
+ break;
45982
46802
  default:
45983
46803
  reader.skipType(tag & 7);
45984
46804
  break;
@@ -46043,6 +46863,12 @@ $root.GoogleSubscriptionRevoked = (function() {
46043
46863
  case 4:
46044
46864
  break;
46045
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";
46046
46872
  return null;
46047
46873
  };
46048
46874
 
@@ -46106,6 +46932,24 @@ $root.GoogleSubscriptionRevoked = (function() {
46106
46932
  message.paymentState = 4;
46107
46933
  break;
46108
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);
46109
46953
  return message;
46110
46954
  };
46111
46955
 
@@ -46138,6 +46982,16 @@ $root.GoogleSubscriptionRevoked = (function() {
46138
46982
  object.productId = "";
46139
46983
  object.autoRenewalStatus = false;
46140
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;
46141
46995
  }
46142
46996
  if (message.id != null && message.hasOwnProperty("id"))
46143
46997
  object.id = message.id;
@@ -46159,6 +47013,16 @@ $root.GoogleSubscriptionRevoked = (function() {
46159
47013
  object.autoRenewalStatus = message.autoRenewalStatus;
46160
47014
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
46161
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;
46162
47026
  return object;
46163
47027
  };
46164
47028
 
@@ -46189,6 +47053,8 @@ $root.GoogleSubscriptionExpired = (function() {
46189
47053
  * @property {string|null} [productId] GoogleSubscriptionExpired productId
46190
47054
  * @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionExpired autoRenewalStatus
46191
47055
  * @property {googleReceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionExpired paymentState
47056
+ * @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionExpired freeTrialStartsAt
47057
+ * @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionExpired freeTrialEndsAt
46192
47058
  */
46193
47059
 
46194
47060
  /**
@@ -46262,6 +47128,22 @@ $root.GoogleSubscriptionExpired = (function() {
46262
47128
  */
46263
47129
  GoogleSubscriptionExpired.prototype.paymentState = 0;
46264
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
+
46265
47147
  /**
46266
47148
  * Creates a new GoogleSubscriptionExpired instance using the specified properties.
46267
47149
  * @function create
@@ -46300,6 +47182,10 @@ $root.GoogleSubscriptionExpired = (function() {
46300
47182
  writer.uint32(/* id 6, wireType 0 =*/48).bool(message.autoRenewalStatus);
46301
47183
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
46302
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);
46303
47189
  return writer;
46304
47190
  };
46305
47191
 
@@ -46355,6 +47241,12 @@ $root.GoogleSubscriptionExpired = (function() {
46355
47241
  case 7:
46356
47242
  message.paymentState = reader.int32();
46357
47243
  break;
47244
+ case 8:
47245
+ message.freeTrialStartsAt = reader.uint64();
47246
+ break;
47247
+ case 9:
47248
+ message.freeTrialEndsAt = reader.uint64();
47249
+ break;
46358
47250
  default:
46359
47251
  reader.skipType(tag & 7);
46360
47252
  break;
@@ -46419,6 +47311,12 @@ $root.GoogleSubscriptionExpired = (function() {
46419
47311
  case 4:
46420
47312
  break;
46421
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";
46422
47320
  return null;
46423
47321
  };
46424
47322
 
@@ -46482,6 +47380,24 @@ $root.GoogleSubscriptionExpired = (function() {
46482
47380
  message.paymentState = 4;
46483
47381
  break;
46484
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);
46485
47401
  return message;
46486
47402
  };
46487
47403
 
@@ -46514,6 +47430,16 @@ $root.GoogleSubscriptionExpired = (function() {
46514
47430
  object.productId = "";
46515
47431
  object.autoRenewalStatus = false;
46516
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;
46517
47443
  }
46518
47444
  if (message.id != null && message.hasOwnProperty("id"))
46519
47445
  object.id = message.id;
@@ -46535,6 +47461,16 @@ $root.GoogleSubscriptionExpired = (function() {
46535
47461
  object.autoRenewalStatus = message.autoRenewalStatus;
46536
47462
  if (message.paymentState != null && message.hasOwnProperty("paymentState"))
46537
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;
46538
47474
  return object;
46539
47475
  };
46540
47476