@headspace/protos-events 1.564.0 → 1.565.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +58 -58
- package/lib/index.js +123 -123
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -19141,20 +19141,20 @@ $root.subscription = (function() {
|
|
|
19141
19141
|
return subscription;
|
|
19142
19142
|
})();
|
|
19143
19143
|
|
|
19144
|
-
$root.
|
|
19144
|
+
$root.applereceipt = (function() {
|
|
19145
19145
|
|
|
19146
19146
|
/**
|
|
19147
|
-
* Namespace
|
|
19148
|
-
* @name
|
|
19147
|
+
* Namespace applereceipt.
|
|
19148
|
+
* @name applereceipt
|
|
19149
19149
|
* @namespace
|
|
19150
19150
|
*/
|
|
19151
|
-
var
|
|
19151
|
+
var applereceipt = {};
|
|
19152
19152
|
|
|
19153
|
-
|
|
19153
|
+
applereceipt.IosSubscriptionTerm = (function() {
|
|
19154
19154
|
|
|
19155
19155
|
/**
|
|
19156
19156
|
* Properties of an IosSubscriptionTerm.
|
|
19157
|
-
* @memberof
|
|
19157
|
+
* @memberof applereceipt
|
|
19158
19158
|
* @interface IIosSubscriptionTerm
|
|
19159
19159
|
* @property {number|Long|null} [startsAt] IosSubscriptionTerm startsAt
|
|
19160
19160
|
* @property {number|Long|null} [endsAt] IosSubscriptionTerm endsAt
|
|
@@ -19163,11 +19163,11 @@ $root.appleReceipt = (function() {
|
|
|
19163
19163
|
|
|
19164
19164
|
/**
|
|
19165
19165
|
* Constructs a new IosSubscriptionTerm.
|
|
19166
|
-
* @memberof
|
|
19166
|
+
* @memberof applereceipt
|
|
19167
19167
|
* @classdesc Represents an IosSubscriptionTerm.
|
|
19168
19168
|
* @implements IIosSubscriptionTerm
|
|
19169
19169
|
* @constructor
|
|
19170
|
-
* @param {
|
|
19170
|
+
* @param {applereceipt.IIosSubscriptionTerm=} [properties] Properties to set
|
|
19171
19171
|
*/
|
|
19172
19172
|
function IosSubscriptionTerm(properties) {
|
|
19173
19173
|
if (properties)
|
|
@@ -19179,7 +19179,7 @@ $root.appleReceipt = (function() {
|
|
|
19179
19179
|
/**
|
|
19180
19180
|
* IosSubscriptionTerm startsAt.
|
|
19181
19181
|
* @member {number|Long} startsAt
|
|
19182
|
-
* @memberof
|
|
19182
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19183
19183
|
* @instance
|
|
19184
19184
|
*/
|
|
19185
19185
|
IosSubscriptionTerm.prototype.startsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
@@ -19187,7 +19187,7 @@ $root.appleReceipt = (function() {
|
|
|
19187
19187
|
/**
|
|
19188
19188
|
* IosSubscriptionTerm endsAt.
|
|
19189
19189
|
* @member {number|Long} endsAt
|
|
19190
|
-
* @memberof
|
|
19190
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19191
19191
|
* @instance
|
|
19192
19192
|
*/
|
|
19193
19193
|
IosSubscriptionTerm.prototype.endsAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
@@ -19195,7 +19195,7 @@ $root.appleReceipt = (function() {
|
|
|
19195
19195
|
/**
|
|
19196
19196
|
* IosSubscriptionTerm isFreeTrial.
|
|
19197
19197
|
* @member {boolean} isFreeTrial
|
|
19198
|
-
* @memberof
|
|
19198
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19199
19199
|
* @instance
|
|
19200
19200
|
*/
|
|
19201
19201
|
IosSubscriptionTerm.prototype.isFreeTrial = false;
|
|
@@ -19203,21 +19203,21 @@ $root.appleReceipt = (function() {
|
|
|
19203
19203
|
/**
|
|
19204
19204
|
* Creates a new IosSubscriptionTerm instance using the specified properties.
|
|
19205
19205
|
* @function create
|
|
19206
|
-
* @memberof
|
|
19206
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19207
19207
|
* @static
|
|
19208
|
-
* @param {
|
|
19209
|
-
* @returns {
|
|
19208
|
+
* @param {applereceipt.IIosSubscriptionTerm=} [properties] Properties to set
|
|
19209
|
+
* @returns {applereceipt.IosSubscriptionTerm} IosSubscriptionTerm instance
|
|
19210
19210
|
*/
|
|
19211
19211
|
IosSubscriptionTerm.create = function create(properties) {
|
|
19212
19212
|
return new IosSubscriptionTerm(properties);
|
|
19213
19213
|
};
|
|
19214
19214
|
|
|
19215
19215
|
/**
|
|
19216
|
-
* Encodes the specified IosSubscriptionTerm message. Does not implicitly {@link
|
|
19216
|
+
* Encodes the specified IosSubscriptionTerm message. Does not implicitly {@link applereceipt.IosSubscriptionTerm.verify|verify} messages.
|
|
19217
19217
|
* @function encode
|
|
19218
|
-
* @memberof
|
|
19218
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19219
19219
|
* @static
|
|
19220
|
-
* @param {
|
|
19220
|
+
* @param {applereceipt.IIosSubscriptionTerm} message IosSubscriptionTerm message or plain object to encode
|
|
19221
19221
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19222
19222
|
* @returns {$protobuf.Writer} Writer
|
|
19223
19223
|
*/
|
|
@@ -19234,11 +19234,11 @@ $root.appleReceipt = (function() {
|
|
|
19234
19234
|
};
|
|
19235
19235
|
|
|
19236
19236
|
/**
|
|
19237
|
-
* Encodes the specified IosSubscriptionTerm message, length delimited. Does not implicitly {@link
|
|
19237
|
+
* Encodes the specified IosSubscriptionTerm message, length delimited. Does not implicitly {@link applereceipt.IosSubscriptionTerm.verify|verify} messages.
|
|
19238
19238
|
* @function encodeDelimited
|
|
19239
|
-
* @memberof
|
|
19239
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19240
19240
|
* @static
|
|
19241
|
-
* @param {
|
|
19241
|
+
* @param {applereceipt.IIosSubscriptionTerm} message IosSubscriptionTerm message or plain object to encode
|
|
19242
19242
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19243
19243
|
* @returns {$protobuf.Writer} Writer
|
|
19244
19244
|
*/
|
|
@@ -19249,18 +19249,18 @@ $root.appleReceipt = (function() {
|
|
|
19249
19249
|
/**
|
|
19250
19250
|
* Decodes an IosSubscriptionTerm message from the specified reader or buffer.
|
|
19251
19251
|
* @function decode
|
|
19252
|
-
* @memberof
|
|
19252
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19253
19253
|
* @static
|
|
19254
19254
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19255
19255
|
* @param {number} [length] Message length if known beforehand
|
|
19256
|
-
* @returns {
|
|
19256
|
+
* @returns {applereceipt.IosSubscriptionTerm} IosSubscriptionTerm
|
|
19257
19257
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19258
19258
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19259
19259
|
*/
|
|
19260
19260
|
IosSubscriptionTerm.decode = function decode(reader, length) {
|
|
19261
19261
|
if (!(reader instanceof $Reader))
|
|
19262
19262
|
reader = $Reader.create(reader);
|
|
19263
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
19263
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.applereceipt.IosSubscriptionTerm();
|
|
19264
19264
|
while (reader.pos < end) {
|
|
19265
19265
|
var tag = reader.uint32();
|
|
19266
19266
|
switch (tag >>> 3) {
|
|
@@ -19284,10 +19284,10 @@ $root.appleReceipt = (function() {
|
|
|
19284
19284
|
/**
|
|
19285
19285
|
* Decodes an IosSubscriptionTerm message from the specified reader or buffer, length delimited.
|
|
19286
19286
|
* @function decodeDelimited
|
|
19287
|
-
* @memberof
|
|
19287
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19288
19288
|
* @static
|
|
19289
19289
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19290
|
-
* @returns {
|
|
19290
|
+
* @returns {applereceipt.IosSubscriptionTerm} IosSubscriptionTerm
|
|
19291
19291
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19292
19292
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19293
19293
|
*/
|
|
@@ -19300,7 +19300,7 @@ $root.appleReceipt = (function() {
|
|
|
19300
19300
|
/**
|
|
19301
19301
|
* Verifies an IosSubscriptionTerm message.
|
|
19302
19302
|
* @function verify
|
|
19303
|
-
* @memberof
|
|
19303
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19304
19304
|
* @static
|
|
19305
19305
|
* @param {Object.<string,*>} message Plain object to verify
|
|
19306
19306
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
@@ -19323,15 +19323,15 @@ $root.appleReceipt = (function() {
|
|
|
19323
19323
|
/**
|
|
19324
19324
|
* Creates an IosSubscriptionTerm message from a plain object. Also converts values to their respective internal types.
|
|
19325
19325
|
* @function fromObject
|
|
19326
|
-
* @memberof
|
|
19326
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19327
19327
|
* @static
|
|
19328
19328
|
* @param {Object.<string,*>} object Plain object
|
|
19329
|
-
* @returns {
|
|
19329
|
+
* @returns {applereceipt.IosSubscriptionTerm} IosSubscriptionTerm
|
|
19330
19330
|
*/
|
|
19331
19331
|
IosSubscriptionTerm.fromObject = function fromObject(object) {
|
|
19332
|
-
if (object instanceof $root.
|
|
19332
|
+
if (object instanceof $root.applereceipt.IosSubscriptionTerm)
|
|
19333
19333
|
return object;
|
|
19334
|
-
var message = new $root.
|
|
19334
|
+
var message = new $root.applereceipt.IosSubscriptionTerm();
|
|
19335
19335
|
if (object.startsAt != null)
|
|
19336
19336
|
if ($util.Long)
|
|
19337
19337
|
(message.startsAt = $util.Long.fromValue(object.startsAt)).unsigned = true;
|
|
@@ -19358,9 +19358,9 @@ $root.appleReceipt = (function() {
|
|
|
19358
19358
|
/**
|
|
19359
19359
|
* Creates a plain object from an IosSubscriptionTerm message. Also converts values to other types if specified.
|
|
19360
19360
|
* @function toObject
|
|
19361
|
-
* @memberof
|
|
19361
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19362
19362
|
* @static
|
|
19363
|
-
* @param {
|
|
19363
|
+
* @param {applereceipt.IosSubscriptionTerm} message IosSubscriptionTerm
|
|
19364
19364
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
19365
19365
|
* @returns {Object.<string,*>} Plain object
|
|
19366
19366
|
*/
|
|
@@ -19399,7 +19399,7 @@ $root.appleReceipt = (function() {
|
|
|
19399
19399
|
/**
|
|
19400
19400
|
* Converts this IosSubscriptionTerm to JSON.
|
|
19401
19401
|
* @function toJSON
|
|
19402
|
-
* @memberof
|
|
19402
|
+
* @memberof applereceipt.IosSubscriptionTerm
|
|
19403
19403
|
* @instance
|
|
19404
19404
|
* @returns {Object.<string,*>} JSON object
|
|
19405
19405
|
*/
|
|
@@ -19412,13 +19412,13 @@ $root.appleReceipt = (function() {
|
|
|
19412
19412
|
|
|
19413
19413
|
/**
|
|
19414
19414
|
* IosSubscriptionTag enum.
|
|
19415
|
-
* @name
|
|
19415
|
+
* @name applereceipt.IosSubscriptionTag
|
|
19416
19416
|
* @enum {string}
|
|
19417
19417
|
* @property {number} IOSTAG_UNKNOWN=0 IOSTAG_UNKNOWN value
|
|
19418
19418
|
* @property {number} IOSTAG_FREE_TRIAL=1 IOSTAG_FREE_TRIAL value
|
|
19419
19419
|
* @property {number} IOSTAG_ACTIVE_GRACE_PERIOD=2 IOSTAG_ACTIVE_GRACE_PERIOD value
|
|
19420
19420
|
*/
|
|
19421
|
-
|
|
19421
|
+
applereceipt.IosSubscriptionTag = (function() {
|
|
19422
19422
|
var valuesById = {}, values = Object.create(valuesById);
|
|
19423
19423
|
values[valuesById[0] = "IOSTAG_UNKNOWN"] = 0;
|
|
19424
19424
|
values[valuesById[1] = "IOSTAG_FREE_TRIAL"] = 1;
|
|
@@ -19428,13 +19428,13 @@ $root.appleReceipt = (function() {
|
|
|
19428
19428
|
|
|
19429
19429
|
/**
|
|
19430
19430
|
* IosSubscriptionAutoRenewalStatus enum.
|
|
19431
|
-
* @name
|
|
19431
|
+
* @name applereceipt.IosSubscriptionAutoRenewalStatus
|
|
19432
19432
|
* @enum {string}
|
|
19433
19433
|
* @property {number} UNKNOWN=0 UNKNOWN value
|
|
19434
19434
|
* @property {number} ACTIVE=1 ACTIVE value
|
|
19435
19435
|
* @property {number} CANCELLED=2 CANCELLED value
|
|
19436
19436
|
*/
|
|
19437
|
-
|
|
19437
|
+
applereceipt.IosSubscriptionAutoRenewalStatus = (function() {
|
|
19438
19438
|
var valuesById = {}, values = Object.create(valuesById);
|
|
19439
19439
|
values[valuesById[0] = "UNKNOWN"] = 0;
|
|
19440
19440
|
values[valuesById[1] = "ACTIVE"] = 1;
|
|
@@ -19442,21 +19442,21 @@ $root.appleReceipt = (function() {
|
|
|
19442
19442
|
return values;
|
|
19443
19443
|
})();
|
|
19444
19444
|
|
|
19445
|
-
return
|
|
19445
|
+
return applereceipt;
|
|
19446
19446
|
})();
|
|
19447
19447
|
|
|
19448
|
-
$root.
|
|
19448
|
+
$root.googlereceipt = (function() {
|
|
19449
19449
|
|
|
19450
19450
|
/**
|
|
19451
|
-
* Namespace
|
|
19452
|
-
* @name
|
|
19451
|
+
* Namespace googlereceipt.
|
|
19452
|
+
* @name googlereceipt
|
|
19453
19453
|
* @namespace
|
|
19454
19454
|
*/
|
|
19455
|
-
var
|
|
19455
|
+
var googlereceipt = {};
|
|
19456
19456
|
|
|
19457
19457
|
/**
|
|
19458
19458
|
* GoogleSubscriptionPaymentState enum.
|
|
19459
|
-
* @name
|
|
19459
|
+
* @name googlereceipt.GoogleSubscriptionPaymentState
|
|
19460
19460
|
* @enum {string}
|
|
19461
19461
|
* @property {number} GOOGLE_PAYMENT_STATE_UNKNOWN=0 GOOGLE_PAYMENT_STATE_UNKNOWN value
|
|
19462
19462
|
* @property {number} GOOGLE_PAYMENT_PENDING=1 GOOGLE_PAYMENT_PENDING value
|
|
@@ -19464,7 +19464,7 @@ $root.googleReceipt = (function() {
|
|
|
19464
19464
|
* @property {number} GOOGLE_FREE_TRIAL=3 GOOGLE_FREE_TRIAL value
|
|
19465
19465
|
* @property {number} GOOGLE_PENDING_DEFERRED_UPGRADE_OR_DOWNGRADE=4 GOOGLE_PENDING_DEFERRED_UPGRADE_OR_DOWNGRADE value
|
|
19466
19466
|
*/
|
|
19467
|
-
|
|
19467
|
+
googlereceipt.GoogleSubscriptionPaymentState = (function() {
|
|
19468
19468
|
var valuesById = {}, values = Object.create(valuesById);
|
|
19469
19469
|
values[valuesById[0] = "GOOGLE_PAYMENT_STATE_UNKNOWN"] = 0;
|
|
19470
19470
|
values[valuesById[1] = "GOOGLE_PAYMENT_PENDING"] = 1;
|
|
@@ -19474,7 +19474,7 @@ $root.googleReceipt = (function() {
|
|
|
19474
19474
|
return values;
|
|
19475
19475
|
})();
|
|
19476
19476
|
|
|
19477
|
-
return
|
|
19477
|
+
return googlereceipt;
|
|
19478
19478
|
})();
|
|
19479
19479
|
|
|
19480
19480
|
$root.productcatalog = (function() {
|
|
@@ -91670,9 +91670,9 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
91670
91670
|
* @property {number|Long|null} [startsAt] IosSubscriptionCreated startsAt
|
|
91671
91671
|
* @property {string|null} [userId] IosSubscriptionCreated userId
|
|
91672
91672
|
* @property {string|null} [productId] IosSubscriptionCreated productId
|
|
91673
|
-
* @property {
|
|
91674
|
-
* @property {Array.<
|
|
91675
|
-
* @property {Array.<
|
|
91673
|
+
* @property {applereceipt.IosSubscriptionAutoRenewalStatus|null} [autoRenewalStatus] IosSubscriptionCreated autoRenewalStatus
|
|
91674
|
+
* @property {Array.<applereceipt.IosSubscriptionTag>|null} [tags] IosSubscriptionCreated tags
|
|
91675
|
+
* @property {Array.<applereceipt.IIosSubscriptionTerm>|null} [terms] IosSubscriptionCreated terms
|
|
91676
91676
|
*/
|
|
91677
91677
|
|
|
91678
91678
|
/**
|
|
@@ -91734,7 +91734,7 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
91734
91734
|
|
|
91735
91735
|
/**
|
|
91736
91736
|
* IosSubscriptionCreated autoRenewalStatus.
|
|
91737
|
-
* @member {
|
|
91737
|
+
* @member {applereceipt.IosSubscriptionAutoRenewalStatus} autoRenewalStatus
|
|
91738
91738
|
* @memberof IosSubscriptionCreated
|
|
91739
91739
|
* @instance
|
|
91740
91740
|
*/
|
|
@@ -91742,7 +91742,7 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
91742
91742
|
|
|
91743
91743
|
/**
|
|
91744
91744
|
* IosSubscriptionCreated tags.
|
|
91745
|
-
* @member {Array.<
|
|
91745
|
+
* @member {Array.<applereceipt.IosSubscriptionTag>} tags
|
|
91746
91746
|
* @memberof IosSubscriptionCreated
|
|
91747
91747
|
* @instance
|
|
91748
91748
|
*/
|
|
@@ -91750,7 +91750,7 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
91750
91750
|
|
|
91751
91751
|
/**
|
|
91752
91752
|
* IosSubscriptionCreated terms.
|
|
91753
|
-
* @member {Array.<
|
|
91753
|
+
* @member {Array.<applereceipt.IIosSubscriptionTerm>} terms
|
|
91754
91754
|
* @memberof IosSubscriptionCreated
|
|
91755
91755
|
* @instance
|
|
91756
91756
|
*/
|
|
@@ -91796,7 +91796,7 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
91796
91796
|
}
|
|
91797
91797
|
if (message.terms != null && message.terms.length)
|
|
91798
91798
|
for (var i = 0; i < message.terms.length; ++i)
|
|
91799
|
-
$root.
|
|
91799
|
+
$root.applereceipt.IosSubscriptionTerm.encode(message.terms[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
91800
91800
|
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
91801
91801
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.productId);
|
|
91802
91802
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
@@ -91866,7 +91866,7 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
91866
91866
|
case 6:
|
|
91867
91867
|
if (!(message.terms && message.terms.length))
|
|
91868
91868
|
message.terms = [];
|
|
91869
|
-
message.terms.push($root.
|
|
91869
|
+
message.terms.push($root.applereceipt.IosSubscriptionTerm.decode(reader, reader.uint32()));
|
|
91870
91870
|
break;
|
|
91871
91871
|
default:
|
|
91872
91872
|
reader.skipType(tag & 7);
|
|
@@ -91944,7 +91944,7 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
91944
91944
|
if (!Array.isArray(message.terms))
|
|
91945
91945
|
return "terms: array expected";
|
|
91946
91946
|
for (var i = 0; i < message.terms.length; ++i) {
|
|
91947
|
-
var error = $root.
|
|
91947
|
+
var error = $root.applereceipt.IosSubscriptionTerm.verify(message.terms[i]);
|
|
91948
91948
|
if (error)
|
|
91949
91949
|
return "terms." + error;
|
|
91950
91950
|
}
|
|
@@ -92030,7 +92030,7 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
92030
92030
|
for (var i = 0; i < object.terms.length; ++i) {
|
|
92031
92031
|
if (typeof object.terms[i] !== "object")
|
|
92032
92032
|
throw TypeError(".IosSubscriptionCreated.terms: object expected");
|
|
92033
|
-
message.terms[i] = $root.
|
|
92033
|
+
message.terms[i] = $root.applereceipt.IosSubscriptionTerm.fromObject(object.terms[i]);
|
|
92034
92034
|
}
|
|
92035
92035
|
}
|
|
92036
92036
|
return message;
|
|
@@ -92086,17 +92086,17 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
92086
92086
|
if (message.tags && message.tags.length) {
|
|
92087
92087
|
object.tags = [];
|
|
92088
92088
|
for (var j = 0; j < message.tags.length; ++j)
|
|
92089
|
-
object.tags[j] = options.enums === String ? $root.
|
|
92089
|
+
object.tags[j] = options.enums === String ? $root.applereceipt.IosSubscriptionTag[message.tags[j]] : message.tags[j];
|
|
92090
92090
|
}
|
|
92091
92091
|
if (message.terms && message.terms.length) {
|
|
92092
92092
|
object.terms = [];
|
|
92093
92093
|
for (var j = 0; j < message.terms.length; ++j)
|
|
92094
|
-
object.terms[j] = $root.
|
|
92094
|
+
object.terms[j] = $root.applereceipt.IosSubscriptionTerm.toObject(message.terms[j], options);
|
|
92095
92095
|
}
|
|
92096
92096
|
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
92097
92097
|
object.productId = message.productId;
|
|
92098
92098
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
92099
|
-
object.autoRenewalStatus = options.enums === String ? $root.
|
|
92099
|
+
object.autoRenewalStatus = options.enums === String ? $root.applereceipt.IosSubscriptionAutoRenewalStatus[message.autoRenewalStatus] : message.autoRenewalStatus;
|
|
92100
92100
|
return object;
|
|
92101
92101
|
};
|
|
92102
92102
|
|
|
@@ -92125,9 +92125,9 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
92125
92125
|
* @property {number|Long|null} [startsAt] IosSubscriptionRenewed startsAt
|
|
92126
92126
|
* @property {string|null} [userId] IosSubscriptionRenewed userId
|
|
92127
92127
|
* @property {string|null} [productId] IosSubscriptionRenewed productId
|
|
92128
|
-
* @property {
|
|
92129
|
-
* @property {Array.<
|
|
92130
|
-
* @property {Array.<
|
|
92128
|
+
* @property {applereceipt.IosSubscriptionAutoRenewalStatus|null} [autoRenewalStatus] IosSubscriptionRenewed autoRenewalStatus
|
|
92129
|
+
* @property {Array.<applereceipt.IosSubscriptionTag>|null} [tags] IosSubscriptionRenewed tags
|
|
92130
|
+
* @property {Array.<applereceipt.IIosSubscriptionTerm>|null} [terms] IosSubscriptionRenewed terms
|
|
92131
92131
|
*/
|
|
92132
92132
|
|
|
92133
92133
|
/**
|
|
@@ -92189,7 +92189,7 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
92189
92189
|
|
|
92190
92190
|
/**
|
|
92191
92191
|
* IosSubscriptionRenewed autoRenewalStatus.
|
|
92192
|
-
* @member {
|
|
92192
|
+
* @member {applereceipt.IosSubscriptionAutoRenewalStatus} autoRenewalStatus
|
|
92193
92193
|
* @memberof IosSubscriptionRenewed
|
|
92194
92194
|
* @instance
|
|
92195
92195
|
*/
|
|
@@ -92197,7 +92197,7 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
92197
92197
|
|
|
92198
92198
|
/**
|
|
92199
92199
|
* IosSubscriptionRenewed tags.
|
|
92200
|
-
* @member {Array.<
|
|
92200
|
+
* @member {Array.<applereceipt.IosSubscriptionTag>} tags
|
|
92201
92201
|
* @memberof IosSubscriptionRenewed
|
|
92202
92202
|
* @instance
|
|
92203
92203
|
*/
|
|
@@ -92205,7 +92205,7 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
92205
92205
|
|
|
92206
92206
|
/**
|
|
92207
92207
|
* IosSubscriptionRenewed terms.
|
|
92208
|
-
* @member {Array.<
|
|
92208
|
+
* @member {Array.<applereceipt.IIosSubscriptionTerm>} terms
|
|
92209
92209
|
* @memberof IosSubscriptionRenewed
|
|
92210
92210
|
* @instance
|
|
92211
92211
|
*/
|
|
@@ -92251,7 +92251,7 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
92251
92251
|
}
|
|
92252
92252
|
if (message.terms != null && message.terms.length)
|
|
92253
92253
|
for (var i = 0; i < message.terms.length; ++i)
|
|
92254
|
-
$root.
|
|
92254
|
+
$root.applereceipt.IosSubscriptionTerm.encode(message.terms[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
92255
92255
|
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
92256
92256
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.productId);
|
|
92257
92257
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
@@ -92321,7 +92321,7 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
92321
92321
|
case 6:
|
|
92322
92322
|
if (!(message.terms && message.terms.length))
|
|
92323
92323
|
message.terms = [];
|
|
92324
|
-
message.terms.push($root.
|
|
92324
|
+
message.terms.push($root.applereceipt.IosSubscriptionTerm.decode(reader, reader.uint32()));
|
|
92325
92325
|
break;
|
|
92326
92326
|
default:
|
|
92327
92327
|
reader.skipType(tag & 7);
|
|
@@ -92399,7 +92399,7 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
92399
92399
|
if (!Array.isArray(message.terms))
|
|
92400
92400
|
return "terms: array expected";
|
|
92401
92401
|
for (var i = 0; i < message.terms.length; ++i) {
|
|
92402
|
-
var error = $root.
|
|
92402
|
+
var error = $root.applereceipt.IosSubscriptionTerm.verify(message.terms[i]);
|
|
92403
92403
|
if (error)
|
|
92404
92404
|
return "terms." + error;
|
|
92405
92405
|
}
|
|
@@ -92485,7 +92485,7 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
92485
92485
|
for (var i = 0; i < object.terms.length; ++i) {
|
|
92486
92486
|
if (typeof object.terms[i] !== "object")
|
|
92487
92487
|
throw TypeError(".IosSubscriptionRenewed.terms: object expected");
|
|
92488
|
-
message.terms[i] = $root.
|
|
92488
|
+
message.terms[i] = $root.applereceipt.IosSubscriptionTerm.fromObject(object.terms[i]);
|
|
92489
92489
|
}
|
|
92490
92490
|
}
|
|
92491
92491
|
return message;
|
|
@@ -92541,17 +92541,17 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
92541
92541
|
if (message.tags && message.tags.length) {
|
|
92542
92542
|
object.tags = [];
|
|
92543
92543
|
for (var j = 0; j < message.tags.length; ++j)
|
|
92544
|
-
object.tags[j] = options.enums === String ? $root.
|
|
92544
|
+
object.tags[j] = options.enums === String ? $root.applereceipt.IosSubscriptionTag[message.tags[j]] : message.tags[j];
|
|
92545
92545
|
}
|
|
92546
92546
|
if (message.terms && message.terms.length) {
|
|
92547
92547
|
object.terms = [];
|
|
92548
92548
|
for (var j = 0; j < message.terms.length; ++j)
|
|
92549
|
-
object.terms[j] = $root.
|
|
92549
|
+
object.terms[j] = $root.applereceipt.IosSubscriptionTerm.toObject(message.terms[j], options);
|
|
92550
92550
|
}
|
|
92551
92551
|
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
92552
92552
|
object.productId = message.productId;
|
|
92553
92553
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
92554
|
-
object.autoRenewalStatus = options.enums === String ? $root.
|
|
92554
|
+
object.autoRenewalStatus = options.enums === String ? $root.applereceipt.IosSubscriptionAutoRenewalStatus[message.autoRenewalStatus] : message.autoRenewalStatus;
|
|
92555
92555
|
return object;
|
|
92556
92556
|
};
|
|
92557
92557
|
|
|
@@ -92580,9 +92580,9 @@ $root.IosSubscriptionAutoRenewalUpdated = (function() {
|
|
|
92580
92580
|
* @property {number|Long|null} [startsAt] IosSubscriptionAutoRenewalUpdated startsAt
|
|
92581
92581
|
* @property {string|null} [userId] IosSubscriptionAutoRenewalUpdated userId
|
|
92582
92582
|
* @property {string|null} [productId] IosSubscriptionAutoRenewalUpdated productId
|
|
92583
|
-
* @property {
|
|
92584
|
-
* @property {Array.<
|
|
92585
|
-
* @property {Array.<
|
|
92583
|
+
* @property {applereceipt.IosSubscriptionAutoRenewalStatus|null} [autoRenewalStatus] IosSubscriptionAutoRenewalUpdated autoRenewalStatus
|
|
92584
|
+
* @property {Array.<applereceipt.IosSubscriptionTag>|null} [tags] IosSubscriptionAutoRenewalUpdated tags
|
|
92585
|
+
* @property {Array.<applereceipt.IIosSubscriptionTerm>|null} [terms] IosSubscriptionAutoRenewalUpdated terms
|
|
92586
92586
|
*/
|
|
92587
92587
|
|
|
92588
92588
|
/**
|
|
@@ -92644,7 +92644,7 @@ $root.IosSubscriptionAutoRenewalUpdated = (function() {
|
|
|
92644
92644
|
|
|
92645
92645
|
/**
|
|
92646
92646
|
* IosSubscriptionAutoRenewalUpdated autoRenewalStatus.
|
|
92647
|
-
* @member {
|
|
92647
|
+
* @member {applereceipt.IosSubscriptionAutoRenewalStatus} autoRenewalStatus
|
|
92648
92648
|
* @memberof IosSubscriptionAutoRenewalUpdated
|
|
92649
92649
|
* @instance
|
|
92650
92650
|
*/
|
|
@@ -92652,7 +92652,7 @@ $root.IosSubscriptionAutoRenewalUpdated = (function() {
|
|
|
92652
92652
|
|
|
92653
92653
|
/**
|
|
92654
92654
|
* IosSubscriptionAutoRenewalUpdated tags.
|
|
92655
|
-
* @member {Array.<
|
|
92655
|
+
* @member {Array.<applereceipt.IosSubscriptionTag>} tags
|
|
92656
92656
|
* @memberof IosSubscriptionAutoRenewalUpdated
|
|
92657
92657
|
* @instance
|
|
92658
92658
|
*/
|
|
@@ -92660,7 +92660,7 @@ $root.IosSubscriptionAutoRenewalUpdated = (function() {
|
|
|
92660
92660
|
|
|
92661
92661
|
/**
|
|
92662
92662
|
* IosSubscriptionAutoRenewalUpdated terms.
|
|
92663
|
-
* @member {Array.<
|
|
92663
|
+
* @member {Array.<applereceipt.IIosSubscriptionTerm>} terms
|
|
92664
92664
|
* @memberof IosSubscriptionAutoRenewalUpdated
|
|
92665
92665
|
* @instance
|
|
92666
92666
|
*/
|
|
@@ -92706,7 +92706,7 @@ $root.IosSubscriptionAutoRenewalUpdated = (function() {
|
|
|
92706
92706
|
}
|
|
92707
92707
|
if (message.terms != null && message.terms.length)
|
|
92708
92708
|
for (var i = 0; i < message.terms.length; ++i)
|
|
92709
|
-
$root.
|
|
92709
|
+
$root.applereceipt.IosSubscriptionTerm.encode(message.terms[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
92710
92710
|
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
92711
92711
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.productId);
|
|
92712
92712
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
@@ -92776,7 +92776,7 @@ $root.IosSubscriptionAutoRenewalUpdated = (function() {
|
|
|
92776
92776
|
case 6:
|
|
92777
92777
|
if (!(message.terms && message.terms.length))
|
|
92778
92778
|
message.terms = [];
|
|
92779
|
-
message.terms.push($root.
|
|
92779
|
+
message.terms.push($root.applereceipt.IosSubscriptionTerm.decode(reader, reader.uint32()));
|
|
92780
92780
|
break;
|
|
92781
92781
|
default:
|
|
92782
92782
|
reader.skipType(tag & 7);
|
|
@@ -92854,7 +92854,7 @@ $root.IosSubscriptionAutoRenewalUpdated = (function() {
|
|
|
92854
92854
|
if (!Array.isArray(message.terms))
|
|
92855
92855
|
return "terms: array expected";
|
|
92856
92856
|
for (var i = 0; i < message.terms.length; ++i) {
|
|
92857
|
-
var error = $root.
|
|
92857
|
+
var error = $root.applereceipt.IosSubscriptionTerm.verify(message.terms[i]);
|
|
92858
92858
|
if (error)
|
|
92859
92859
|
return "terms." + error;
|
|
92860
92860
|
}
|
|
@@ -92940,7 +92940,7 @@ $root.IosSubscriptionAutoRenewalUpdated = (function() {
|
|
|
92940
92940
|
for (var i = 0; i < object.terms.length; ++i) {
|
|
92941
92941
|
if (typeof object.terms[i] !== "object")
|
|
92942
92942
|
throw TypeError(".IosSubscriptionAutoRenewalUpdated.terms: object expected");
|
|
92943
|
-
message.terms[i] = $root.
|
|
92943
|
+
message.terms[i] = $root.applereceipt.IosSubscriptionTerm.fromObject(object.terms[i]);
|
|
92944
92944
|
}
|
|
92945
92945
|
}
|
|
92946
92946
|
return message;
|
|
@@ -92996,17 +92996,17 @@ $root.IosSubscriptionAutoRenewalUpdated = (function() {
|
|
|
92996
92996
|
if (message.tags && message.tags.length) {
|
|
92997
92997
|
object.tags = [];
|
|
92998
92998
|
for (var j = 0; j < message.tags.length; ++j)
|
|
92999
|
-
object.tags[j] = options.enums === String ? $root.
|
|
92999
|
+
object.tags[j] = options.enums === String ? $root.applereceipt.IosSubscriptionTag[message.tags[j]] : message.tags[j];
|
|
93000
93000
|
}
|
|
93001
93001
|
if (message.terms && message.terms.length) {
|
|
93002
93002
|
object.terms = [];
|
|
93003
93003
|
for (var j = 0; j < message.terms.length; ++j)
|
|
93004
|
-
object.terms[j] = $root.
|
|
93004
|
+
object.terms[j] = $root.applereceipt.IosSubscriptionTerm.toObject(message.terms[j], options);
|
|
93005
93005
|
}
|
|
93006
93006
|
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
93007
93007
|
object.productId = message.productId;
|
|
93008
93008
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
93009
|
-
object.autoRenewalStatus = options.enums === String ? $root.
|
|
93009
|
+
object.autoRenewalStatus = options.enums === String ? $root.applereceipt.IosSubscriptionAutoRenewalStatus[message.autoRenewalStatus] : message.autoRenewalStatus;
|
|
93010
93010
|
return object;
|
|
93011
93011
|
};
|
|
93012
93012
|
|
|
@@ -114326,7 +114326,7 @@ $root.GoogleSubscriptionPurchased = (function() {
|
|
|
114326
114326
|
* @property {string|null} [userId] GoogleSubscriptionPurchased userId
|
|
114327
114327
|
* @property {string|null} [productId] GoogleSubscriptionPurchased productId
|
|
114328
114328
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPurchased autoRenewalStatus
|
|
114329
|
-
* @property {
|
|
114329
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPurchased paymentState
|
|
114330
114330
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPurchased freeTrialStartsAt
|
|
114331
114331
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPurchased freeTrialEndsAt
|
|
114332
114332
|
*/
|
|
@@ -114396,7 +114396,7 @@ $root.GoogleSubscriptionPurchased = (function() {
|
|
|
114396
114396
|
|
|
114397
114397
|
/**
|
|
114398
114398
|
* GoogleSubscriptionPurchased paymentState.
|
|
114399
|
-
* @member {
|
|
114399
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
114400
114400
|
* @memberof GoogleSubscriptionPurchased
|
|
114401
114401
|
* @instance
|
|
114402
114402
|
*/
|
|
@@ -114734,7 +114734,7 @@ $root.GoogleSubscriptionPurchased = (function() {
|
|
|
114734
114734
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
114735
114735
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
114736
114736
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
114737
|
-
object.paymentState = options.enums === String ? $root.
|
|
114737
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
114738
114738
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
114739
114739
|
if (typeof message.freeTrialStartsAt === "number")
|
|
114740
114740
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -114774,7 +114774,7 @@ $root.GoogleSubscriptionRenewed = (function() {
|
|
|
114774
114774
|
* @property {string|null} [userId] GoogleSubscriptionRenewed userId
|
|
114775
114775
|
* @property {string|null} [productId] GoogleSubscriptionRenewed productId
|
|
114776
114776
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRenewed autoRenewalStatus
|
|
114777
|
-
* @property {
|
|
114777
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRenewed paymentState
|
|
114778
114778
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRenewed freeTrialStartsAt
|
|
114779
114779
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRenewed freeTrialEndsAt
|
|
114780
114780
|
*/
|
|
@@ -114844,7 +114844,7 @@ $root.GoogleSubscriptionRenewed = (function() {
|
|
|
114844
114844
|
|
|
114845
114845
|
/**
|
|
114846
114846
|
* GoogleSubscriptionRenewed paymentState.
|
|
114847
|
-
* @member {
|
|
114847
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
114848
114848
|
* @memberof GoogleSubscriptionRenewed
|
|
114849
114849
|
* @instance
|
|
114850
114850
|
*/
|
|
@@ -115182,7 +115182,7 @@ $root.GoogleSubscriptionRenewed = (function() {
|
|
|
115182
115182
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
115183
115183
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
115184
115184
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
115185
|
-
object.paymentState = options.enums === String ? $root.
|
|
115185
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
115186
115186
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
115187
115187
|
if (typeof message.freeTrialStartsAt === "number")
|
|
115188
115188
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -115222,7 +115222,7 @@ $root.GoogleSubscriptionCancelled = (function() {
|
|
|
115222
115222
|
* @property {string|null} [userId] GoogleSubscriptionCancelled userId
|
|
115223
115223
|
* @property {string|null} [productId] GoogleSubscriptionCancelled productId
|
|
115224
115224
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionCancelled autoRenewalStatus
|
|
115225
|
-
* @property {
|
|
115225
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionCancelled paymentState
|
|
115226
115226
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionCancelled freeTrialStartsAt
|
|
115227
115227
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionCancelled freeTrialEndsAt
|
|
115228
115228
|
*/
|
|
@@ -115292,7 +115292,7 @@ $root.GoogleSubscriptionCancelled = (function() {
|
|
|
115292
115292
|
|
|
115293
115293
|
/**
|
|
115294
115294
|
* GoogleSubscriptionCancelled paymentState.
|
|
115295
|
-
* @member {
|
|
115295
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
115296
115296
|
* @memberof GoogleSubscriptionCancelled
|
|
115297
115297
|
* @instance
|
|
115298
115298
|
*/
|
|
@@ -115630,7 +115630,7 @@ $root.GoogleSubscriptionCancelled = (function() {
|
|
|
115630
115630
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
115631
115631
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
115632
115632
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
115633
|
-
object.paymentState = options.enums === String ? $root.
|
|
115633
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
115634
115634
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
115635
115635
|
if (typeof message.freeTrialStartsAt === "number")
|
|
115636
115636
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -115670,7 +115670,7 @@ $root.GoogleSubscriptionRecovered = (function() {
|
|
|
115670
115670
|
* @property {string|null} [userId] GoogleSubscriptionRecovered userId
|
|
115671
115671
|
* @property {string|null} [productId] GoogleSubscriptionRecovered productId
|
|
115672
115672
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRecovered autoRenewalStatus
|
|
115673
|
-
* @property {
|
|
115673
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRecovered paymentState
|
|
115674
115674
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRecovered freeTrialStartsAt
|
|
115675
115675
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRecovered freeTrialEndsAt
|
|
115676
115676
|
*/
|
|
@@ -115740,7 +115740,7 @@ $root.GoogleSubscriptionRecovered = (function() {
|
|
|
115740
115740
|
|
|
115741
115741
|
/**
|
|
115742
115742
|
* GoogleSubscriptionRecovered paymentState.
|
|
115743
|
-
* @member {
|
|
115743
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
115744
115744
|
* @memberof GoogleSubscriptionRecovered
|
|
115745
115745
|
* @instance
|
|
115746
115746
|
*/
|
|
@@ -116078,7 +116078,7 @@ $root.GoogleSubscriptionRecovered = (function() {
|
|
|
116078
116078
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
116079
116079
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
116080
116080
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
116081
|
-
object.paymentState = options.enums === String ? $root.
|
|
116081
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
116082
116082
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
116083
116083
|
if (typeof message.freeTrialStartsAt === "number")
|
|
116084
116084
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -116118,7 +116118,7 @@ $root.GoogleSubscriptionOnHold = (function() {
|
|
|
116118
116118
|
* @property {string|null} [userId] GoogleSubscriptionOnHold userId
|
|
116119
116119
|
* @property {string|null} [productId] GoogleSubscriptionOnHold productId
|
|
116120
116120
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionOnHold autoRenewalStatus
|
|
116121
|
-
* @property {
|
|
116121
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionOnHold paymentState
|
|
116122
116122
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionOnHold freeTrialStartsAt
|
|
116123
116123
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionOnHold freeTrialEndsAt
|
|
116124
116124
|
*/
|
|
@@ -116188,7 +116188,7 @@ $root.GoogleSubscriptionOnHold = (function() {
|
|
|
116188
116188
|
|
|
116189
116189
|
/**
|
|
116190
116190
|
* GoogleSubscriptionOnHold paymentState.
|
|
116191
|
-
* @member {
|
|
116191
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
116192
116192
|
* @memberof GoogleSubscriptionOnHold
|
|
116193
116193
|
* @instance
|
|
116194
116194
|
*/
|
|
@@ -116526,7 +116526,7 @@ $root.GoogleSubscriptionOnHold = (function() {
|
|
|
116526
116526
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
116527
116527
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
116528
116528
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
116529
|
-
object.paymentState = options.enums === String ? $root.
|
|
116529
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
116530
116530
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
116531
116531
|
if (typeof message.freeTrialStartsAt === "number")
|
|
116532
116532
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -116566,7 +116566,7 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
|
|
|
116566
116566
|
* @property {string|null} [userId] GoogleSubscriptionInGracePeriod userId
|
|
116567
116567
|
* @property {string|null} [productId] GoogleSubscriptionInGracePeriod productId
|
|
116568
116568
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionInGracePeriod autoRenewalStatus
|
|
116569
|
-
* @property {
|
|
116569
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionInGracePeriod paymentState
|
|
116570
116570
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionInGracePeriod freeTrialStartsAt
|
|
116571
116571
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionInGracePeriod freeTrialEndsAt
|
|
116572
116572
|
*/
|
|
@@ -116636,7 +116636,7 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
|
|
|
116636
116636
|
|
|
116637
116637
|
/**
|
|
116638
116638
|
* GoogleSubscriptionInGracePeriod paymentState.
|
|
116639
|
-
* @member {
|
|
116639
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
116640
116640
|
* @memberof GoogleSubscriptionInGracePeriod
|
|
116641
116641
|
* @instance
|
|
116642
116642
|
*/
|
|
@@ -116974,7 +116974,7 @@ $root.GoogleSubscriptionInGracePeriod = (function() {
|
|
|
116974
116974
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
116975
116975
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
116976
116976
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
116977
|
-
object.paymentState = options.enums === String ? $root.
|
|
116977
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
116978
116978
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
116979
116979
|
if (typeof message.freeTrialStartsAt === "number")
|
|
116980
116980
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -117014,7 +117014,7 @@ $root.GoogleSubscriptionRestarted = (function() {
|
|
|
117014
117014
|
* @property {string|null} [userId] GoogleSubscriptionRestarted userId
|
|
117015
117015
|
* @property {string|null} [productId] GoogleSubscriptionRestarted productId
|
|
117016
117016
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRestarted autoRenewalStatus
|
|
117017
|
-
* @property {
|
|
117017
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRestarted paymentState
|
|
117018
117018
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRestarted freeTrialStartsAt
|
|
117019
117019
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRestarted freeTrialEndsAt
|
|
117020
117020
|
*/
|
|
@@ -117084,7 +117084,7 @@ $root.GoogleSubscriptionRestarted = (function() {
|
|
|
117084
117084
|
|
|
117085
117085
|
/**
|
|
117086
117086
|
* GoogleSubscriptionRestarted paymentState.
|
|
117087
|
-
* @member {
|
|
117087
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
117088
117088
|
* @memberof GoogleSubscriptionRestarted
|
|
117089
117089
|
* @instance
|
|
117090
117090
|
*/
|
|
@@ -117422,7 +117422,7 @@ $root.GoogleSubscriptionRestarted = (function() {
|
|
|
117422
117422
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
117423
117423
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
117424
117424
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
117425
|
-
object.paymentState = options.enums === String ? $root.
|
|
117425
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
117426
117426
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
117427
117427
|
if (typeof message.freeTrialStartsAt === "number")
|
|
117428
117428
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -117462,7 +117462,7 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
|
|
|
117462
117462
|
* @property {string|null} [userId] GoogleSubscriptionPriceChangeConfirmed userId
|
|
117463
117463
|
* @property {string|null} [productId] GoogleSubscriptionPriceChangeConfirmed productId
|
|
117464
117464
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPriceChangeConfirmed autoRenewalStatus
|
|
117465
|
-
* @property {
|
|
117465
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPriceChangeConfirmed paymentState
|
|
117466
117466
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPriceChangeConfirmed freeTrialStartsAt
|
|
117467
117467
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPriceChangeConfirmed freeTrialEndsAt
|
|
117468
117468
|
*/
|
|
@@ -117532,7 +117532,7 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
|
|
|
117532
117532
|
|
|
117533
117533
|
/**
|
|
117534
117534
|
* GoogleSubscriptionPriceChangeConfirmed paymentState.
|
|
117535
|
-
* @member {
|
|
117535
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
117536
117536
|
* @memberof GoogleSubscriptionPriceChangeConfirmed
|
|
117537
117537
|
* @instance
|
|
117538
117538
|
*/
|
|
@@ -117870,7 +117870,7 @@ $root.GoogleSubscriptionPriceChangeConfirmed = (function() {
|
|
|
117870
117870
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
117871
117871
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
117872
117872
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
117873
|
-
object.paymentState = options.enums === String ? $root.
|
|
117873
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
117874
117874
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
117875
117875
|
if (typeof message.freeTrialStartsAt === "number")
|
|
117876
117876
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -117910,7 +117910,7 @@ $root.GoogleSubscriptionDeferred = (function() {
|
|
|
117910
117910
|
* @property {string|null} [userId] GoogleSubscriptionDeferred userId
|
|
117911
117911
|
* @property {string|null} [productId] GoogleSubscriptionDeferred productId
|
|
117912
117912
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionDeferred autoRenewalStatus
|
|
117913
|
-
* @property {
|
|
117913
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionDeferred paymentState
|
|
117914
117914
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionDeferred freeTrialStartsAt
|
|
117915
117915
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionDeferred freeTrialEndsAt
|
|
117916
117916
|
*/
|
|
@@ -117980,7 +117980,7 @@ $root.GoogleSubscriptionDeferred = (function() {
|
|
|
117980
117980
|
|
|
117981
117981
|
/**
|
|
117982
117982
|
* GoogleSubscriptionDeferred paymentState.
|
|
117983
|
-
* @member {
|
|
117983
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
117984
117984
|
* @memberof GoogleSubscriptionDeferred
|
|
117985
117985
|
* @instance
|
|
117986
117986
|
*/
|
|
@@ -118318,7 +118318,7 @@ $root.GoogleSubscriptionDeferred = (function() {
|
|
|
118318
118318
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
118319
118319
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
118320
118320
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
118321
|
-
object.paymentState = options.enums === String ? $root.
|
|
118321
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
118322
118322
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
118323
118323
|
if (typeof message.freeTrialStartsAt === "number")
|
|
118324
118324
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -118358,7 +118358,7 @@ $root.GoogleSubscriptionPaused = (function() {
|
|
|
118358
118358
|
* @property {string|null} [userId] GoogleSubscriptionPaused userId
|
|
118359
118359
|
* @property {string|null} [productId] GoogleSubscriptionPaused productId
|
|
118360
118360
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPaused autoRenewalStatus
|
|
118361
|
-
* @property {
|
|
118361
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPaused paymentState
|
|
118362
118362
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPaused freeTrialStartsAt
|
|
118363
118363
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPaused freeTrialEndsAt
|
|
118364
118364
|
*/
|
|
@@ -118428,7 +118428,7 @@ $root.GoogleSubscriptionPaused = (function() {
|
|
|
118428
118428
|
|
|
118429
118429
|
/**
|
|
118430
118430
|
* GoogleSubscriptionPaused paymentState.
|
|
118431
|
-
* @member {
|
|
118431
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
118432
118432
|
* @memberof GoogleSubscriptionPaused
|
|
118433
118433
|
* @instance
|
|
118434
118434
|
*/
|
|
@@ -118766,7 +118766,7 @@ $root.GoogleSubscriptionPaused = (function() {
|
|
|
118766
118766
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
118767
118767
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
118768
118768
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
118769
|
-
object.paymentState = options.enums === String ? $root.
|
|
118769
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
118770
118770
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
118771
118771
|
if (typeof message.freeTrialStartsAt === "number")
|
|
118772
118772
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -118806,7 +118806,7 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
|
|
|
118806
118806
|
* @property {string|null} [userId] GoogleSubscriptionPauseScheduleChanged userId
|
|
118807
118807
|
* @property {string|null} [productId] GoogleSubscriptionPauseScheduleChanged productId
|
|
118808
118808
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionPauseScheduleChanged autoRenewalStatus
|
|
118809
|
-
* @property {
|
|
118809
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionPauseScheduleChanged paymentState
|
|
118810
118810
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionPauseScheduleChanged freeTrialStartsAt
|
|
118811
118811
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionPauseScheduleChanged freeTrialEndsAt
|
|
118812
118812
|
*/
|
|
@@ -118876,7 +118876,7 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
|
|
|
118876
118876
|
|
|
118877
118877
|
/**
|
|
118878
118878
|
* GoogleSubscriptionPauseScheduleChanged paymentState.
|
|
118879
|
-
* @member {
|
|
118879
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
118880
118880
|
* @memberof GoogleSubscriptionPauseScheduleChanged
|
|
118881
118881
|
* @instance
|
|
118882
118882
|
*/
|
|
@@ -119214,7 +119214,7 @@ $root.GoogleSubscriptionPauseScheduleChanged = (function() {
|
|
|
119214
119214
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
119215
119215
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
119216
119216
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
119217
|
-
object.paymentState = options.enums === String ? $root.
|
|
119217
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
119218
119218
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
119219
119219
|
if (typeof message.freeTrialStartsAt === "number")
|
|
119220
119220
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -119254,7 +119254,7 @@ $root.GoogleSubscriptionRevoked = (function() {
|
|
|
119254
119254
|
* @property {string|null} [userId] GoogleSubscriptionRevoked userId
|
|
119255
119255
|
* @property {string|null} [productId] GoogleSubscriptionRevoked productId
|
|
119256
119256
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionRevoked autoRenewalStatus
|
|
119257
|
-
* @property {
|
|
119257
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionRevoked paymentState
|
|
119258
119258
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionRevoked freeTrialStartsAt
|
|
119259
119259
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionRevoked freeTrialEndsAt
|
|
119260
119260
|
*/
|
|
@@ -119324,7 +119324,7 @@ $root.GoogleSubscriptionRevoked = (function() {
|
|
|
119324
119324
|
|
|
119325
119325
|
/**
|
|
119326
119326
|
* GoogleSubscriptionRevoked paymentState.
|
|
119327
|
-
* @member {
|
|
119327
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
119328
119328
|
* @memberof GoogleSubscriptionRevoked
|
|
119329
119329
|
* @instance
|
|
119330
119330
|
*/
|
|
@@ -119662,7 +119662,7 @@ $root.GoogleSubscriptionRevoked = (function() {
|
|
|
119662
119662
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
119663
119663
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
119664
119664
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
119665
|
-
object.paymentState = options.enums === String ? $root.
|
|
119665
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
119666
119666
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
119667
119667
|
if (typeof message.freeTrialStartsAt === "number")
|
|
119668
119668
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|
|
@@ -119702,7 +119702,7 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
119702
119702
|
* @property {string|null} [userId] GoogleSubscriptionExpired userId
|
|
119703
119703
|
* @property {string|null} [productId] GoogleSubscriptionExpired productId
|
|
119704
119704
|
* @property {boolean|null} [autoRenewalStatus] GoogleSubscriptionExpired autoRenewalStatus
|
|
119705
|
-
* @property {
|
|
119705
|
+
* @property {googlereceipt.GoogleSubscriptionPaymentState|null} [paymentState] GoogleSubscriptionExpired paymentState
|
|
119706
119706
|
* @property {number|Long|null} [freeTrialStartsAt] GoogleSubscriptionExpired freeTrialStartsAt
|
|
119707
119707
|
* @property {number|Long|null} [freeTrialEndsAt] GoogleSubscriptionExpired freeTrialEndsAt
|
|
119708
119708
|
*/
|
|
@@ -119772,7 +119772,7 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
119772
119772
|
|
|
119773
119773
|
/**
|
|
119774
119774
|
* GoogleSubscriptionExpired paymentState.
|
|
119775
|
-
* @member {
|
|
119775
|
+
* @member {googlereceipt.GoogleSubscriptionPaymentState} paymentState
|
|
119776
119776
|
* @memberof GoogleSubscriptionExpired
|
|
119777
119777
|
* @instance
|
|
119778
119778
|
*/
|
|
@@ -120110,7 +120110,7 @@ $root.GoogleSubscriptionExpired = (function() {
|
|
|
120110
120110
|
if (message.autoRenewalStatus != null && message.hasOwnProperty("autoRenewalStatus"))
|
|
120111
120111
|
object.autoRenewalStatus = message.autoRenewalStatus;
|
|
120112
120112
|
if (message.paymentState != null && message.hasOwnProperty("paymentState"))
|
|
120113
|
-
object.paymentState = options.enums === String ? $root.
|
|
120113
|
+
object.paymentState = options.enums === String ? $root.googlereceipt.GoogleSubscriptionPaymentState[message.paymentState] : message.paymentState;
|
|
120114
120114
|
if (message.freeTrialStartsAt != null && message.hasOwnProperty("freeTrialStartsAt"))
|
|
120115
120115
|
if (typeof message.freeTrialStartsAt === "number")
|
|
120116
120116
|
object.freeTrialStartsAt = options.longs === String ? String(message.freeTrialStartsAt) : message.freeTrialStartsAt;
|