@headspace/protos-events 1.91.0 → 1.92.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 +24 -0
- package/lib/index.js +144 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -9022,6 +9022,9 @@ export interface ISubscriptionGraced {
|
|
|
9022
9022
|
|
|
9023
9023
|
/** SubscriptionGraced labels */
|
|
9024
9024
|
labels?: (subscription.SubscriptionLabels[]|null);
|
|
9025
|
+
|
|
9026
|
+
/** SubscriptionGraced renewalCount */
|
|
9027
|
+
renewalCount?: (number|Long|null);
|
|
9025
9028
|
}
|
|
9026
9029
|
|
|
9027
9030
|
/** Represents a SubscriptionGraced. */
|
|
@@ -9069,6 +9072,9 @@ export class SubscriptionGraced implements ISubscriptionGraced {
|
|
|
9069
9072
|
/** SubscriptionGraced labels. */
|
|
9070
9073
|
public labels: subscription.SubscriptionLabels[];
|
|
9071
9074
|
|
|
9075
|
+
/** SubscriptionGraced renewalCount. */
|
|
9076
|
+
public renewalCount: (number|Long);
|
|
9077
|
+
|
|
9072
9078
|
/**
|
|
9073
9079
|
* Creates a new SubscriptionGraced instance using the specified properties.
|
|
9074
9080
|
* @param [properties] Properties to set
|
|
@@ -9175,6 +9181,9 @@ export interface ISubscriptionStarted {
|
|
|
9175
9181
|
|
|
9176
9182
|
/** SubscriptionStarted labels */
|
|
9177
9183
|
labels?: (subscription.SubscriptionLabels[]|null);
|
|
9184
|
+
|
|
9185
|
+
/** SubscriptionStarted renewalCount */
|
|
9186
|
+
renewalCount?: (number|Long|null);
|
|
9178
9187
|
}
|
|
9179
9188
|
|
|
9180
9189
|
/** Represents a SubscriptionStarted. */
|
|
@@ -9219,6 +9228,9 @@ export class SubscriptionStarted implements ISubscriptionStarted {
|
|
|
9219
9228
|
/** SubscriptionStarted labels. */
|
|
9220
9229
|
public labels: subscription.SubscriptionLabels[];
|
|
9221
9230
|
|
|
9231
|
+
/** SubscriptionStarted renewalCount. */
|
|
9232
|
+
public renewalCount: (number|Long);
|
|
9233
|
+
|
|
9222
9234
|
/**
|
|
9223
9235
|
* Creates a new SubscriptionStarted instance using the specified properties.
|
|
9224
9236
|
* @param [properties] Properties to set
|
|
@@ -9328,6 +9340,9 @@ export interface ISubscriptionEnded {
|
|
|
9328
9340
|
|
|
9329
9341
|
/** SubscriptionEnded labels */
|
|
9330
9342
|
labels?: (subscription.SubscriptionLabels[]|null);
|
|
9343
|
+
|
|
9344
|
+
/** SubscriptionEnded renewalCount */
|
|
9345
|
+
renewalCount?: (number|Long|null);
|
|
9331
9346
|
}
|
|
9332
9347
|
|
|
9333
9348
|
/** Represents a SubscriptionEnded. */
|
|
@@ -9375,6 +9390,9 @@ export class SubscriptionEnded implements ISubscriptionEnded {
|
|
|
9375
9390
|
/** SubscriptionEnded labels. */
|
|
9376
9391
|
public labels: subscription.SubscriptionLabels[];
|
|
9377
9392
|
|
|
9393
|
+
/** SubscriptionEnded renewalCount. */
|
|
9394
|
+
public renewalCount: (number|Long);
|
|
9395
|
+
|
|
9378
9396
|
/**
|
|
9379
9397
|
* Creates a new SubscriptionEnded instance using the specified properties.
|
|
9380
9398
|
* @param [properties] Properties to set
|
|
@@ -9481,6 +9499,9 @@ export interface ISubscriptionRecovered {
|
|
|
9481
9499
|
|
|
9482
9500
|
/** SubscriptionRecovered labels */
|
|
9483
9501
|
labels?: (subscription.SubscriptionLabels[]|null);
|
|
9502
|
+
|
|
9503
|
+
/** SubscriptionRecovered renewalCount */
|
|
9504
|
+
renewalCount?: (number|Long|null);
|
|
9484
9505
|
}
|
|
9485
9506
|
|
|
9486
9507
|
/** Represents a SubscriptionRecovered. */
|
|
@@ -9525,6 +9546,9 @@ export class SubscriptionRecovered implements ISubscriptionRecovered {
|
|
|
9525
9546
|
/** SubscriptionRecovered labels. */
|
|
9526
9547
|
public labels: subscription.SubscriptionLabels[];
|
|
9527
9548
|
|
|
9549
|
+
/** SubscriptionRecovered renewalCount. */
|
|
9550
|
+
public renewalCount: (number|Long);
|
|
9551
|
+
|
|
9528
9552
|
/**
|
|
9529
9553
|
* Creates a new SubscriptionRecovered instance using the specified properties.
|
|
9530
9554
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -23199,6 +23199,7 @@ $root.SubscriptionGraced = (function() {
|
|
|
23199
23199
|
* @property {subscription.IPlan|null} [plan] SubscriptionGraced plan
|
|
23200
23200
|
* @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionGraced subscriptionState
|
|
23201
23201
|
* @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionGraced labels
|
|
23202
|
+
* @property {number|Long|null} [renewalCount] SubscriptionGraced renewalCount
|
|
23202
23203
|
*/
|
|
23203
23204
|
|
|
23204
23205
|
/**
|
|
@@ -23313,6 +23314,14 @@ $root.SubscriptionGraced = (function() {
|
|
|
23313
23314
|
*/
|
|
23314
23315
|
SubscriptionGraced.prototype.labels = $util.emptyArray;
|
|
23315
23316
|
|
|
23317
|
+
/**
|
|
23318
|
+
* SubscriptionGraced renewalCount.
|
|
23319
|
+
* @member {number|Long} renewalCount
|
|
23320
|
+
* @memberof SubscriptionGraced
|
|
23321
|
+
* @instance
|
|
23322
|
+
*/
|
|
23323
|
+
SubscriptionGraced.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
23324
|
+
|
|
23316
23325
|
/**
|
|
23317
23326
|
* Creates a new SubscriptionGraced instance using the specified properties.
|
|
23318
23327
|
* @function create
|
|
@@ -23365,6 +23374,8 @@ $root.SubscriptionGraced = (function() {
|
|
|
23365
23374
|
writer.int32(message.labels[i]);
|
|
23366
23375
|
writer.ldelim();
|
|
23367
23376
|
}
|
|
23377
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
23378
|
+
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.renewalCount);
|
|
23368
23379
|
return writer;
|
|
23369
23380
|
};
|
|
23370
23381
|
|
|
@@ -23442,6 +23453,9 @@ $root.SubscriptionGraced = (function() {
|
|
|
23442
23453
|
} else
|
|
23443
23454
|
message.labels.push(reader.int32());
|
|
23444
23455
|
break;
|
|
23456
|
+
case 13:
|
|
23457
|
+
message.renewalCount = reader.uint64();
|
|
23458
|
+
break;
|
|
23445
23459
|
default:
|
|
23446
23460
|
reader.skipType(tag & 7);
|
|
23447
23461
|
break;
|
|
@@ -23548,6 +23562,9 @@ $root.SubscriptionGraced = (function() {
|
|
|
23548
23562
|
break;
|
|
23549
23563
|
}
|
|
23550
23564
|
}
|
|
23565
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
23566
|
+
if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
|
|
23567
|
+
return "renewalCount: integer|Long expected";
|
|
23551
23568
|
return null;
|
|
23552
23569
|
};
|
|
23553
23570
|
|
|
@@ -23693,6 +23710,15 @@ $root.SubscriptionGraced = (function() {
|
|
|
23693
23710
|
break;
|
|
23694
23711
|
}
|
|
23695
23712
|
}
|
|
23713
|
+
if (object.renewalCount != null)
|
|
23714
|
+
if ($util.Long)
|
|
23715
|
+
(message.renewalCount = $util.Long.fromValue(object.renewalCount)).unsigned = true;
|
|
23716
|
+
else if (typeof object.renewalCount === "string")
|
|
23717
|
+
message.renewalCount = parseInt(object.renewalCount, 10);
|
|
23718
|
+
else if (typeof object.renewalCount === "number")
|
|
23719
|
+
message.renewalCount = object.renewalCount;
|
|
23720
|
+
else if (typeof object.renewalCount === "object")
|
|
23721
|
+
message.renewalCount = new $util.LongBits(object.renewalCount.low >>> 0, object.renewalCount.high >>> 0).toNumber(true);
|
|
23696
23722
|
return message;
|
|
23697
23723
|
};
|
|
23698
23724
|
|
|
@@ -23739,6 +23765,11 @@ $root.SubscriptionGraced = (function() {
|
|
|
23739
23765
|
object.autoRenewalStatus = options.enums === String ? "UNKNOWN_STATUS" : 0;
|
|
23740
23766
|
object.plan = null;
|
|
23741
23767
|
object.subscriptionState = options.enums === String ? "SUBSTATE_UNKNOWN" : 0;
|
|
23768
|
+
if ($util.Long) {
|
|
23769
|
+
var long = new $util.Long(0, 0, true);
|
|
23770
|
+
object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
23771
|
+
} else
|
|
23772
|
+
object.renewalCount = options.longs === String ? "0" : 0;
|
|
23742
23773
|
}
|
|
23743
23774
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
23744
23775
|
object.id = message.id;
|
|
@@ -23779,6 +23810,11 @@ $root.SubscriptionGraced = (function() {
|
|
|
23779
23810
|
for (var j = 0; j < message.labels.length; ++j)
|
|
23780
23811
|
object.labels[j] = options.enums === String ? $root.subscription.SubscriptionLabels[message.labels[j]] : message.labels[j];
|
|
23781
23812
|
}
|
|
23813
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
23814
|
+
if (typeof message.renewalCount === "number")
|
|
23815
|
+
object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
|
|
23816
|
+
else
|
|
23817
|
+
object.renewalCount = options.longs === String ? $util.Long.prototype.toString.call(message.renewalCount) : options.longs === Number ? new $util.LongBits(message.renewalCount.low >>> 0, message.renewalCount.high >>> 0).toNumber(true) : message.renewalCount;
|
|
23782
23818
|
return object;
|
|
23783
23819
|
};
|
|
23784
23820
|
|
|
@@ -23813,6 +23849,7 @@ $root.SubscriptionStarted = (function() {
|
|
|
23813
23849
|
* @property {subscription.IPlan|null} [plan] SubscriptionStarted plan
|
|
23814
23850
|
* @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionStarted subscriptionState
|
|
23815
23851
|
* @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionStarted labels
|
|
23852
|
+
* @property {number|Long|null} [renewalCount] SubscriptionStarted renewalCount
|
|
23816
23853
|
*/
|
|
23817
23854
|
|
|
23818
23855
|
/**
|
|
@@ -23919,6 +23956,14 @@ $root.SubscriptionStarted = (function() {
|
|
|
23919
23956
|
*/
|
|
23920
23957
|
SubscriptionStarted.prototype.labels = $util.emptyArray;
|
|
23921
23958
|
|
|
23959
|
+
/**
|
|
23960
|
+
* SubscriptionStarted renewalCount.
|
|
23961
|
+
* @member {number|Long} renewalCount
|
|
23962
|
+
* @memberof SubscriptionStarted
|
|
23963
|
+
* @instance
|
|
23964
|
+
*/
|
|
23965
|
+
SubscriptionStarted.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
23966
|
+
|
|
23922
23967
|
/**
|
|
23923
23968
|
* Creates a new SubscriptionStarted instance using the specified properties.
|
|
23924
23969
|
* @function create
|
|
@@ -23969,6 +24014,8 @@ $root.SubscriptionStarted = (function() {
|
|
|
23969
24014
|
writer.int32(message.labels[i]);
|
|
23970
24015
|
writer.ldelim();
|
|
23971
24016
|
}
|
|
24017
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
24018
|
+
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.renewalCount);
|
|
23972
24019
|
return writer;
|
|
23973
24020
|
};
|
|
23974
24021
|
|
|
@@ -24043,6 +24090,9 @@ $root.SubscriptionStarted = (function() {
|
|
|
24043
24090
|
} else
|
|
24044
24091
|
message.labels.push(reader.int32());
|
|
24045
24092
|
break;
|
|
24093
|
+
case 13:
|
|
24094
|
+
message.renewalCount = reader.uint64();
|
|
24095
|
+
break;
|
|
24046
24096
|
default:
|
|
24047
24097
|
reader.skipType(tag & 7);
|
|
24048
24098
|
break;
|
|
@@ -24146,6 +24196,9 @@ $root.SubscriptionStarted = (function() {
|
|
|
24146
24196
|
break;
|
|
24147
24197
|
}
|
|
24148
24198
|
}
|
|
24199
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
24200
|
+
if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
|
|
24201
|
+
return "renewalCount: integer|Long expected";
|
|
24149
24202
|
return null;
|
|
24150
24203
|
};
|
|
24151
24204
|
|
|
@@ -24289,6 +24342,15 @@ $root.SubscriptionStarted = (function() {
|
|
|
24289
24342
|
break;
|
|
24290
24343
|
}
|
|
24291
24344
|
}
|
|
24345
|
+
if (object.renewalCount != null)
|
|
24346
|
+
if ($util.Long)
|
|
24347
|
+
(message.renewalCount = $util.Long.fromValue(object.renewalCount)).unsigned = true;
|
|
24348
|
+
else if (typeof object.renewalCount === "string")
|
|
24349
|
+
message.renewalCount = parseInt(object.renewalCount, 10);
|
|
24350
|
+
else if (typeof object.renewalCount === "number")
|
|
24351
|
+
message.renewalCount = object.renewalCount;
|
|
24352
|
+
else if (typeof object.renewalCount === "object")
|
|
24353
|
+
message.renewalCount = new $util.LongBits(object.renewalCount.low >>> 0, object.renewalCount.high >>> 0).toNumber(true);
|
|
24292
24354
|
return message;
|
|
24293
24355
|
};
|
|
24294
24356
|
|
|
@@ -24334,6 +24396,11 @@ $root.SubscriptionStarted = (function() {
|
|
|
24334
24396
|
object.autoRenewalStatus = options.enums === String ? "UNKNOWN_STATUS" : 0;
|
|
24335
24397
|
object.plan = null;
|
|
24336
24398
|
object.subscriptionState = options.enums === String ? "SUBSTATE_UNKNOWN" : 0;
|
|
24399
|
+
if ($util.Long) {
|
|
24400
|
+
var long = new $util.Long(0, 0, true);
|
|
24401
|
+
object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
24402
|
+
} else
|
|
24403
|
+
object.renewalCount = options.longs === String ? "0" : 0;
|
|
24337
24404
|
}
|
|
24338
24405
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
24339
24406
|
if (typeof message.updatedOn === "number")
|
|
@@ -24372,6 +24439,11 @@ $root.SubscriptionStarted = (function() {
|
|
|
24372
24439
|
for (var j = 0; j < message.labels.length; ++j)
|
|
24373
24440
|
object.labels[j] = options.enums === String ? $root.subscription.SubscriptionLabels[message.labels[j]] : message.labels[j];
|
|
24374
24441
|
}
|
|
24442
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
24443
|
+
if (typeof message.renewalCount === "number")
|
|
24444
|
+
object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
|
|
24445
|
+
else
|
|
24446
|
+
object.renewalCount = options.longs === String ? $util.Long.prototype.toString.call(message.renewalCount) : options.longs === Number ? new $util.LongBits(message.renewalCount.low >>> 0, message.renewalCount.high >>> 0).toNumber(true) : message.renewalCount;
|
|
24375
24447
|
return object;
|
|
24376
24448
|
};
|
|
24377
24449
|
|
|
@@ -24407,6 +24479,7 @@ $root.SubscriptionEnded = (function() {
|
|
|
24407
24479
|
* @property {subscription.CancellationType|null} [cancellationType] SubscriptionEnded cancellationType
|
|
24408
24480
|
* @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionEnded subscriptionState
|
|
24409
24481
|
* @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionEnded labels
|
|
24482
|
+
* @property {number|Long|null} [renewalCount] SubscriptionEnded renewalCount
|
|
24410
24483
|
*/
|
|
24411
24484
|
|
|
24412
24485
|
/**
|
|
@@ -24521,6 +24594,14 @@ $root.SubscriptionEnded = (function() {
|
|
|
24521
24594
|
*/
|
|
24522
24595
|
SubscriptionEnded.prototype.labels = $util.emptyArray;
|
|
24523
24596
|
|
|
24597
|
+
/**
|
|
24598
|
+
* SubscriptionEnded renewalCount.
|
|
24599
|
+
* @member {number|Long} renewalCount
|
|
24600
|
+
* @memberof SubscriptionEnded
|
|
24601
|
+
* @instance
|
|
24602
|
+
*/
|
|
24603
|
+
SubscriptionEnded.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
24604
|
+
|
|
24524
24605
|
/**
|
|
24525
24606
|
* Creates a new SubscriptionEnded instance using the specified properties.
|
|
24526
24607
|
* @function create
|
|
@@ -24573,6 +24654,8 @@ $root.SubscriptionEnded = (function() {
|
|
|
24573
24654
|
writer.int32(message.labels[i]);
|
|
24574
24655
|
writer.ldelim();
|
|
24575
24656
|
}
|
|
24657
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
24658
|
+
writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.renewalCount);
|
|
24576
24659
|
return writer;
|
|
24577
24660
|
};
|
|
24578
24661
|
|
|
@@ -24650,6 +24733,9 @@ $root.SubscriptionEnded = (function() {
|
|
|
24650
24733
|
} else
|
|
24651
24734
|
message.labels.push(reader.int32());
|
|
24652
24735
|
break;
|
|
24736
|
+
case 14:
|
|
24737
|
+
message.renewalCount = reader.uint64();
|
|
24738
|
+
break;
|
|
24653
24739
|
default:
|
|
24654
24740
|
reader.skipType(tag & 7);
|
|
24655
24741
|
break;
|
|
@@ -24762,6 +24848,9 @@ $root.SubscriptionEnded = (function() {
|
|
|
24762
24848
|
break;
|
|
24763
24849
|
}
|
|
24764
24850
|
}
|
|
24851
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
24852
|
+
if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
|
|
24853
|
+
return "renewalCount: integer|Long expected";
|
|
24765
24854
|
return null;
|
|
24766
24855
|
};
|
|
24767
24856
|
|
|
@@ -24919,6 +25008,15 @@ $root.SubscriptionEnded = (function() {
|
|
|
24919
25008
|
break;
|
|
24920
25009
|
}
|
|
24921
25010
|
}
|
|
25011
|
+
if (object.renewalCount != null)
|
|
25012
|
+
if ($util.Long)
|
|
25013
|
+
(message.renewalCount = $util.Long.fromValue(object.renewalCount)).unsigned = true;
|
|
25014
|
+
else if (typeof object.renewalCount === "string")
|
|
25015
|
+
message.renewalCount = parseInt(object.renewalCount, 10);
|
|
25016
|
+
else if (typeof object.renewalCount === "number")
|
|
25017
|
+
message.renewalCount = object.renewalCount;
|
|
25018
|
+
else if (typeof object.renewalCount === "object")
|
|
25019
|
+
message.renewalCount = new $util.LongBits(object.renewalCount.low >>> 0, object.renewalCount.high >>> 0).toNumber(true);
|
|
24922
25020
|
return message;
|
|
24923
25021
|
};
|
|
24924
25022
|
|
|
@@ -24965,6 +25063,11 @@ $root.SubscriptionEnded = (function() {
|
|
|
24965
25063
|
object.plan = null;
|
|
24966
25064
|
object.cancellationType = options.enums === String ? "CT_UNKNOWN" : 0;
|
|
24967
25065
|
object.subscriptionState = options.enums === String ? "SUBSTATE_UNKNOWN" : 0;
|
|
25066
|
+
if ($util.Long) {
|
|
25067
|
+
var long = new $util.Long(0, 0, true);
|
|
25068
|
+
object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
25069
|
+
} else
|
|
25070
|
+
object.renewalCount = options.longs === String ? "0" : 0;
|
|
24968
25071
|
}
|
|
24969
25072
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
24970
25073
|
if (typeof message.updatedOn === "number")
|
|
@@ -25005,6 +25108,11 @@ $root.SubscriptionEnded = (function() {
|
|
|
25005
25108
|
for (var j = 0; j < message.labels.length; ++j)
|
|
25006
25109
|
object.labels[j] = options.enums === String ? $root.subscription.SubscriptionLabels[message.labels[j]] : message.labels[j];
|
|
25007
25110
|
}
|
|
25111
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
25112
|
+
if (typeof message.renewalCount === "number")
|
|
25113
|
+
object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
|
|
25114
|
+
else
|
|
25115
|
+
object.renewalCount = options.longs === String ? $util.Long.prototype.toString.call(message.renewalCount) : options.longs === Number ? new $util.LongBits(message.renewalCount.low >>> 0, message.renewalCount.high >>> 0).toNumber(true) : message.renewalCount;
|
|
25008
25116
|
return object;
|
|
25009
25117
|
};
|
|
25010
25118
|
|
|
@@ -25039,6 +25147,7 @@ $root.SubscriptionRecovered = (function() {
|
|
|
25039
25147
|
* @property {subscription.IPlan|null} [plan] SubscriptionRecovered plan
|
|
25040
25148
|
* @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionRecovered subscriptionState
|
|
25041
25149
|
* @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionRecovered labels
|
|
25150
|
+
* @property {number|Long|null} [renewalCount] SubscriptionRecovered renewalCount
|
|
25042
25151
|
*/
|
|
25043
25152
|
|
|
25044
25153
|
/**
|
|
@@ -25145,6 +25254,14 @@ $root.SubscriptionRecovered = (function() {
|
|
|
25145
25254
|
*/
|
|
25146
25255
|
SubscriptionRecovered.prototype.labels = $util.emptyArray;
|
|
25147
25256
|
|
|
25257
|
+
/**
|
|
25258
|
+
* SubscriptionRecovered renewalCount.
|
|
25259
|
+
* @member {number|Long} renewalCount
|
|
25260
|
+
* @memberof SubscriptionRecovered
|
|
25261
|
+
* @instance
|
|
25262
|
+
*/
|
|
25263
|
+
SubscriptionRecovered.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
25264
|
+
|
|
25148
25265
|
/**
|
|
25149
25266
|
* Creates a new SubscriptionRecovered instance using the specified properties.
|
|
25150
25267
|
* @function create
|
|
@@ -25195,6 +25312,8 @@ $root.SubscriptionRecovered = (function() {
|
|
|
25195
25312
|
writer.int32(message.labels[i]);
|
|
25196
25313
|
writer.ldelim();
|
|
25197
25314
|
}
|
|
25315
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
25316
|
+
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.renewalCount);
|
|
25198
25317
|
return writer;
|
|
25199
25318
|
};
|
|
25200
25319
|
|
|
@@ -25269,6 +25388,9 @@ $root.SubscriptionRecovered = (function() {
|
|
|
25269
25388
|
} else
|
|
25270
25389
|
message.labels.push(reader.int32());
|
|
25271
25390
|
break;
|
|
25391
|
+
case 13:
|
|
25392
|
+
message.renewalCount = reader.uint64();
|
|
25393
|
+
break;
|
|
25272
25394
|
default:
|
|
25273
25395
|
reader.skipType(tag & 7);
|
|
25274
25396
|
break;
|
|
@@ -25372,6 +25494,9 @@ $root.SubscriptionRecovered = (function() {
|
|
|
25372
25494
|
break;
|
|
25373
25495
|
}
|
|
25374
25496
|
}
|
|
25497
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
25498
|
+
if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
|
|
25499
|
+
return "renewalCount: integer|Long expected";
|
|
25375
25500
|
return null;
|
|
25376
25501
|
};
|
|
25377
25502
|
|
|
@@ -25515,6 +25640,15 @@ $root.SubscriptionRecovered = (function() {
|
|
|
25515
25640
|
break;
|
|
25516
25641
|
}
|
|
25517
25642
|
}
|
|
25643
|
+
if (object.renewalCount != null)
|
|
25644
|
+
if ($util.Long)
|
|
25645
|
+
(message.renewalCount = $util.Long.fromValue(object.renewalCount)).unsigned = true;
|
|
25646
|
+
else if (typeof object.renewalCount === "string")
|
|
25647
|
+
message.renewalCount = parseInt(object.renewalCount, 10);
|
|
25648
|
+
else if (typeof object.renewalCount === "number")
|
|
25649
|
+
message.renewalCount = object.renewalCount;
|
|
25650
|
+
else if (typeof object.renewalCount === "object")
|
|
25651
|
+
message.renewalCount = new $util.LongBits(object.renewalCount.low >>> 0, object.renewalCount.high >>> 0).toNumber(true);
|
|
25518
25652
|
return message;
|
|
25519
25653
|
};
|
|
25520
25654
|
|
|
@@ -25560,6 +25694,11 @@ $root.SubscriptionRecovered = (function() {
|
|
|
25560
25694
|
object.autoRenewalStatus = options.enums === String ? "UNKNOWN_STATUS" : 0;
|
|
25561
25695
|
object.plan = null;
|
|
25562
25696
|
object.subscriptionState = options.enums === String ? "SUBSTATE_UNKNOWN" : 0;
|
|
25697
|
+
if ($util.Long) {
|
|
25698
|
+
var long = new $util.Long(0, 0, true);
|
|
25699
|
+
object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
25700
|
+
} else
|
|
25701
|
+
object.renewalCount = options.longs === String ? "0" : 0;
|
|
25563
25702
|
}
|
|
25564
25703
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
25565
25704
|
if (typeof message.updatedOn === "number")
|
|
@@ -25598,6 +25737,11 @@ $root.SubscriptionRecovered = (function() {
|
|
|
25598
25737
|
for (var j = 0; j < message.labels.length; ++j)
|
|
25599
25738
|
object.labels[j] = options.enums === String ? $root.subscription.SubscriptionLabels[message.labels[j]] : message.labels[j];
|
|
25600
25739
|
}
|
|
25740
|
+
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
25741
|
+
if (typeof message.renewalCount === "number")
|
|
25742
|
+
object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
|
|
25743
|
+
else
|
|
25744
|
+
object.renewalCount = options.longs === String ? $util.Long.prototype.toString.call(message.renewalCount) : options.longs === Number ? new $util.LongBits(message.renewalCount.low >>> 0, message.renewalCount.high >>> 0).toNumber(true) : message.renewalCount;
|
|
25601
25745
|
return object;
|
|
25602
25746
|
};
|
|
25603
25747
|
|
package/package.json
CHANGED