@headspace/protos-events 1.218.0 → 1.220.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 +14 -1
- package/lib/index.js +146 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2114,7 +2114,8 @@ export namespace subscription {
|
|
|
2114
2114
|
SUBSTATE_FREE_TRIAL = 3,
|
|
2115
2115
|
SUBSTATE_PAYING = 4,
|
|
2116
2116
|
SUBSTATE_GRACE = 6,
|
|
2117
|
-
SUBSTATE_CANCELLED = 5
|
|
2117
|
+
SUBSTATE_CANCELLED = 5,
|
|
2118
|
+
SUBSTATE_PAYMENT_PENDING = 7
|
|
2118
2119
|
}
|
|
2119
2120
|
|
|
2120
2121
|
/** SubscriptionMemberState enum. */
|
|
@@ -16258,6 +16259,9 @@ export interface ISleepcastCreated {
|
|
|
16258
16259
|
|
|
16259
16260
|
/** SleepcastCreated createdAt */
|
|
16260
16261
|
createdAt?: (number|Long|null);
|
|
16262
|
+
|
|
16263
|
+
/** SleepcastCreated tags */
|
|
16264
|
+
tags?: ({ [k: string]: contentful.ITags }|null);
|
|
16261
16265
|
}
|
|
16262
16266
|
|
|
16263
16267
|
/** Represents a SleepcastCreated. */
|
|
@@ -16284,6 +16288,9 @@ export class SleepcastCreated implements ISleepcastCreated {
|
|
|
16284
16288
|
/** SleepcastCreated createdAt. */
|
|
16285
16289
|
public createdAt: (number|Long);
|
|
16286
16290
|
|
|
16291
|
+
/** SleepcastCreated tags. */
|
|
16292
|
+
public tags: { [k: string]: contentful.ITags };
|
|
16293
|
+
|
|
16287
16294
|
/**
|
|
16288
16295
|
* Creates a new SleepcastCreated instance using the specified properties.
|
|
16289
16296
|
* @param [properties] Properties to set
|
|
@@ -16372,6 +16379,9 @@ export interface ISleepcastUpdated {
|
|
|
16372
16379
|
|
|
16373
16380
|
/** SleepcastUpdated updatedAt */
|
|
16374
16381
|
updatedAt?: (number|Long|null);
|
|
16382
|
+
|
|
16383
|
+
/** SleepcastUpdated tags */
|
|
16384
|
+
tags?: ({ [k: string]: contentful.ITags }|null);
|
|
16375
16385
|
}
|
|
16376
16386
|
|
|
16377
16387
|
/** Represents a SleepcastUpdated. */
|
|
@@ -16398,6 +16408,9 @@ export class SleepcastUpdated implements ISleepcastUpdated {
|
|
|
16398
16408
|
/** SleepcastUpdated updatedAt. */
|
|
16399
16409
|
public updatedAt: (number|Long);
|
|
16400
16410
|
|
|
16411
|
+
/** SleepcastUpdated tags. */
|
|
16412
|
+
public tags: { [k: string]: contentful.ITags };
|
|
16413
|
+
|
|
16401
16414
|
/**
|
|
16402
16415
|
* Creates a new SleepcastUpdated instance using the specified properties.
|
|
16403
16416
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -4841,6 +4841,7 @@ $root.subscription = (function() {
|
|
|
4841
4841
|
* @property {number} SUBSTATE_PAYING=4 SUBSTATE_PAYING value
|
|
4842
4842
|
* @property {number} SUBSTATE_GRACE=6 SUBSTATE_GRACE value
|
|
4843
4843
|
* @property {number} SUBSTATE_CANCELLED=5 SUBSTATE_CANCELLED value
|
|
4844
|
+
* @property {number} SUBSTATE_PAYMENT_PENDING=7 SUBSTATE_PAYMENT_PENDING value
|
|
4844
4845
|
*/
|
|
4845
4846
|
subscription.SubscriptionState = (function() {
|
|
4846
4847
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -4851,6 +4852,7 @@ $root.subscription = (function() {
|
|
|
4851
4852
|
values[valuesById[4] = "SUBSTATE_PAYING"] = 4;
|
|
4852
4853
|
values[valuesById[6] = "SUBSTATE_GRACE"] = 6;
|
|
4853
4854
|
values[valuesById[5] = "SUBSTATE_CANCELLED"] = 5;
|
|
4855
|
+
values[valuesById[7] = "SUBSTATE_PAYMENT_PENDING"] = 7;
|
|
4854
4856
|
return values;
|
|
4855
4857
|
})();
|
|
4856
4858
|
|
|
@@ -45149,6 +45151,7 @@ $root.SleepcastCreated = (function() {
|
|
|
45149
45151
|
* @property {number|null} [tileBackgroundMediaId] SleepcastCreated tileBackgroundMediaId
|
|
45150
45152
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] SleepcastCreated accessGroup
|
|
45151
45153
|
* @property {number|Long|null} [createdAt] SleepcastCreated createdAt
|
|
45154
|
+
* @property {Object.<string,contentful.ITags>|null} [tags] SleepcastCreated tags
|
|
45152
45155
|
*/
|
|
45153
45156
|
|
|
45154
45157
|
/**
|
|
@@ -45161,6 +45164,7 @@ $root.SleepcastCreated = (function() {
|
|
|
45161
45164
|
*/
|
|
45162
45165
|
function SleepcastCreated(properties) {
|
|
45163
45166
|
this.accessGroup = [];
|
|
45167
|
+
this.tags = {};
|
|
45164
45168
|
if (properties)
|
|
45165
45169
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
45166
45170
|
if (properties[keys[i]] != null)
|
|
@@ -45207,6 +45211,14 @@ $root.SleepcastCreated = (function() {
|
|
|
45207
45211
|
*/
|
|
45208
45212
|
SleepcastCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
45209
45213
|
|
|
45214
|
+
/**
|
|
45215
|
+
* SleepcastCreated tags.
|
|
45216
|
+
* @member {Object.<string,contentful.ITags>} tags
|
|
45217
|
+
* @memberof SleepcastCreated
|
|
45218
|
+
* @instance
|
|
45219
|
+
*/
|
|
45220
|
+
SleepcastCreated.prototype.tags = $util.emptyObject;
|
|
45221
|
+
|
|
45210
45222
|
/**
|
|
45211
45223
|
* Creates a new SleepcastCreated instance using the specified properties.
|
|
45212
45224
|
* @function create
|
|
@@ -45242,6 +45254,11 @@ $root.SleepcastCreated = (function() {
|
|
|
45242
45254
|
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
45243
45255
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
45244
45256
|
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.createdAt);
|
|
45257
|
+
if (message.tags != null && message.hasOwnProperty("tags"))
|
|
45258
|
+
for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) {
|
|
45259
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
45260
|
+
$root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
45261
|
+
}
|
|
45245
45262
|
return writer;
|
|
45246
45263
|
};
|
|
45247
45264
|
|
|
@@ -45272,7 +45289,7 @@ $root.SleepcastCreated = (function() {
|
|
|
45272
45289
|
SleepcastCreated.decode = function decode(reader, length) {
|
|
45273
45290
|
if (!(reader instanceof $Reader))
|
|
45274
45291
|
reader = $Reader.create(reader);
|
|
45275
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SleepcastCreated();
|
|
45292
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SleepcastCreated(), key;
|
|
45276
45293
|
while (reader.pos < end) {
|
|
45277
45294
|
var tag = reader.uint32();
|
|
45278
45295
|
switch (tag >>> 3) {
|
|
@@ -45293,6 +45310,14 @@ $root.SleepcastCreated = (function() {
|
|
|
45293
45310
|
case 5:
|
|
45294
45311
|
message.createdAt = reader.uint64();
|
|
45295
45312
|
break;
|
|
45313
|
+
case 6:
|
|
45314
|
+
reader.skip().pos++;
|
|
45315
|
+
if (message.tags === $util.emptyObject)
|
|
45316
|
+
message.tags = {};
|
|
45317
|
+
key = reader.string();
|
|
45318
|
+
reader.pos++;
|
|
45319
|
+
message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
|
|
45320
|
+
break;
|
|
45296
45321
|
default:
|
|
45297
45322
|
reader.skipType(tag & 7);
|
|
45298
45323
|
break;
|
|
@@ -45349,6 +45374,16 @@ $root.SleepcastCreated = (function() {
|
|
|
45349
45374
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
45350
45375
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
45351
45376
|
return "createdAt: integer|Long expected";
|
|
45377
|
+
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
45378
|
+
if (!$util.isObject(message.tags))
|
|
45379
|
+
return "tags: object expected";
|
|
45380
|
+
var key = Object.keys(message.tags);
|
|
45381
|
+
for (var i = 0; i < key.length; ++i) {
|
|
45382
|
+
var error = $root.contentful.Tags.verify(message.tags[key[i]]);
|
|
45383
|
+
if (error)
|
|
45384
|
+
return "tags." + error;
|
|
45385
|
+
}
|
|
45386
|
+
}
|
|
45352
45387
|
return null;
|
|
45353
45388
|
};
|
|
45354
45389
|
|
|
@@ -45389,6 +45424,16 @@ $root.SleepcastCreated = (function() {
|
|
|
45389
45424
|
message.createdAt = object.createdAt;
|
|
45390
45425
|
else if (typeof object.createdAt === "object")
|
|
45391
45426
|
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
45427
|
+
if (object.tags) {
|
|
45428
|
+
if (typeof object.tags !== "object")
|
|
45429
|
+
throw TypeError(".SleepcastCreated.tags: object expected");
|
|
45430
|
+
message.tags = {};
|
|
45431
|
+
for (var keys = Object.keys(object.tags), i = 0; i < keys.length; ++i) {
|
|
45432
|
+
if (typeof object.tags[keys[i]] !== "object")
|
|
45433
|
+
throw TypeError(".SleepcastCreated.tags: object expected");
|
|
45434
|
+
message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
|
|
45435
|
+
}
|
|
45436
|
+
}
|
|
45392
45437
|
return message;
|
|
45393
45438
|
};
|
|
45394
45439
|
|
|
@@ -45407,6 +45452,8 @@ $root.SleepcastCreated = (function() {
|
|
|
45407
45452
|
var object = {};
|
|
45408
45453
|
if (options.arrays || options.defaults)
|
|
45409
45454
|
object.accessGroup = [];
|
|
45455
|
+
if (options.objects || options.defaults)
|
|
45456
|
+
object.tags = {};
|
|
45410
45457
|
if (options.defaults) {
|
|
45411
45458
|
object.slug = "";
|
|
45412
45459
|
object.entityId = 0;
|
|
@@ -45433,6 +45480,12 @@ $root.SleepcastCreated = (function() {
|
|
|
45433
45480
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
45434
45481
|
else
|
|
45435
45482
|
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
45483
|
+
var keys2;
|
|
45484
|
+
if (message.tags && (keys2 = Object.keys(message.tags)).length) {
|
|
45485
|
+
object.tags = {};
|
|
45486
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
45487
|
+
object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
|
|
45488
|
+
}
|
|
45436
45489
|
return object;
|
|
45437
45490
|
};
|
|
45438
45491
|
|
|
@@ -45461,6 +45514,7 @@ $root.SleepcastUpdated = (function() {
|
|
|
45461
45514
|
* @property {number|null} [tileBackgroundMediaId] SleepcastUpdated tileBackgroundMediaId
|
|
45462
45515
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroup] SleepcastUpdated accessGroup
|
|
45463
45516
|
* @property {number|Long|null} [updatedAt] SleepcastUpdated updatedAt
|
|
45517
|
+
* @property {Object.<string,contentful.ITags>|null} [tags] SleepcastUpdated tags
|
|
45464
45518
|
*/
|
|
45465
45519
|
|
|
45466
45520
|
/**
|
|
@@ -45473,6 +45527,7 @@ $root.SleepcastUpdated = (function() {
|
|
|
45473
45527
|
*/
|
|
45474
45528
|
function SleepcastUpdated(properties) {
|
|
45475
45529
|
this.accessGroup = [];
|
|
45530
|
+
this.tags = {};
|
|
45476
45531
|
if (properties)
|
|
45477
45532
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
45478
45533
|
if (properties[keys[i]] != null)
|
|
@@ -45519,6 +45574,14 @@ $root.SleepcastUpdated = (function() {
|
|
|
45519
45574
|
*/
|
|
45520
45575
|
SleepcastUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
45521
45576
|
|
|
45577
|
+
/**
|
|
45578
|
+
* SleepcastUpdated tags.
|
|
45579
|
+
* @member {Object.<string,contentful.ITags>} tags
|
|
45580
|
+
* @memberof SleepcastUpdated
|
|
45581
|
+
* @instance
|
|
45582
|
+
*/
|
|
45583
|
+
SleepcastUpdated.prototype.tags = $util.emptyObject;
|
|
45584
|
+
|
|
45522
45585
|
/**
|
|
45523
45586
|
* Creates a new SleepcastUpdated instance using the specified properties.
|
|
45524
45587
|
* @function create
|
|
@@ -45554,6 +45617,11 @@ $root.SleepcastUpdated = (function() {
|
|
|
45554
45617
|
$root.contentful.SlugReference.encode(message.accessGroup[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
45555
45618
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
45556
45619
|
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.updatedAt);
|
|
45620
|
+
if (message.tags != null && message.hasOwnProperty("tags"))
|
|
45621
|
+
for (var keys = Object.keys(message.tags), i = 0; i < keys.length; ++i) {
|
|
45622
|
+
writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
45623
|
+
$root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
45624
|
+
}
|
|
45557
45625
|
return writer;
|
|
45558
45626
|
};
|
|
45559
45627
|
|
|
@@ -45584,7 +45652,7 @@ $root.SleepcastUpdated = (function() {
|
|
|
45584
45652
|
SleepcastUpdated.decode = function decode(reader, length) {
|
|
45585
45653
|
if (!(reader instanceof $Reader))
|
|
45586
45654
|
reader = $Reader.create(reader);
|
|
45587
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SleepcastUpdated();
|
|
45655
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SleepcastUpdated(), key;
|
|
45588
45656
|
while (reader.pos < end) {
|
|
45589
45657
|
var tag = reader.uint32();
|
|
45590
45658
|
switch (tag >>> 3) {
|
|
@@ -45605,6 +45673,14 @@ $root.SleepcastUpdated = (function() {
|
|
|
45605
45673
|
case 5:
|
|
45606
45674
|
message.updatedAt = reader.uint64();
|
|
45607
45675
|
break;
|
|
45676
|
+
case 6:
|
|
45677
|
+
reader.skip().pos++;
|
|
45678
|
+
if (message.tags === $util.emptyObject)
|
|
45679
|
+
message.tags = {};
|
|
45680
|
+
key = reader.string();
|
|
45681
|
+
reader.pos++;
|
|
45682
|
+
message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
|
|
45683
|
+
break;
|
|
45608
45684
|
default:
|
|
45609
45685
|
reader.skipType(tag & 7);
|
|
45610
45686
|
break;
|
|
@@ -45661,6 +45737,16 @@ $root.SleepcastUpdated = (function() {
|
|
|
45661
45737
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
45662
45738
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
45663
45739
|
return "updatedAt: integer|Long expected";
|
|
45740
|
+
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
45741
|
+
if (!$util.isObject(message.tags))
|
|
45742
|
+
return "tags: object expected";
|
|
45743
|
+
var key = Object.keys(message.tags);
|
|
45744
|
+
for (var i = 0; i < key.length; ++i) {
|
|
45745
|
+
var error = $root.contentful.Tags.verify(message.tags[key[i]]);
|
|
45746
|
+
if (error)
|
|
45747
|
+
return "tags." + error;
|
|
45748
|
+
}
|
|
45749
|
+
}
|
|
45664
45750
|
return null;
|
|
45665
45751
|
};
|
|
45666
45752
|
|
|
@@ -45701,6 +45787,16 @@ $root.SleepcastUpdated = (function() {
|
|
|
45701
45787
|
message.updatedAt = object.updatedAt;
|
|
45702
45788
|
else if (typeof object.updatedAt === "object")
|
|
45703
45789
|
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
45790
|
+
if (object.tags) {
|
|
45791
|
+
if (typeof object.tags !== "object")
|
|
45792
|
+
throw TypeError(".SleepcastUpdated.tags: object expected");
|
|
45793
|
+
message.tags = {};
|
|
45794
|
+
for (var keys = Object.keys(object.tags), i = 0; i < keys.length; ++i) {
|
|
45795
|
+
if (typeof object.tags[keys[i]] !== "object")
|
|
45796
|
+
throw TypeError(".SleepcastUpdated.tags: object expected");
|
|
45797
|
+
message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
|
|
45798
|
+
}
|
|
45799
|
+
}
|
|
45704
45800
|
return message;
|
|
45705
45801
|
};
|
|
45706
45802
|
|
|
@@ -45719,6 +45815,8 @@ $root.SleepcastUpdated = (function() {
|
|
|
45719
45815
|
var object = {};
|
|
45720
45816
|
if (options.arrays || options.defaults)
|
|
45721
45817
|
object.accessGroup = [];
|
|
45818
|
+
if (options.objects || options.defaults)
|
|
45819
|
+
object.tags = {};
|
|
45722
45820
|
if (options.defaults) {
|
|
45723
45821
|
object.slug = "";
|
|
45724
45822
|
object.entityId = 0;
|
|
@@ -45745,6 +45843,12 @@ $root.SleepcastUpdated = (function() {
|
|
|
45745
45843
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
45746
45844
|
else
|
|
45747
45845
|
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
45846
|
+
var keys2;
|
|
45847
|
+
if (message.tags && (keys2 = Object.keys(message.tags)).length) {
|
|
45848
|
+
object.tags = {};
|
|
45849
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
45850
|
+
object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
|
|
45851
|
+
}
|
|
45748
45852
|
return object;
|
|
45749
45853
|
};
|
|
45750
45854
|
|
|
@@ -69014,6 +69118,7 @@ $root.SubscriptionCreated = (function() {
|
|
|
69014
69118
|
case 4:
|
|
69015
69119
|
case 6:
|
|
69016
69120
|
case 5:
|
|
69121
|
+
case 7:
|
|
69017
69122
|
break;
|
|
69018
69123
|
}
|
|
69019
69124
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -69170,6 +69275,10 @@ $root.SubscriptionCreated = (function() {
|
|
|
69170
69275
|
case 5:
|
|
69171
69276
|
message.subscriptionState = 5;
|
|
69172
69277
|
break;
|
|
69278
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
69279
|
+
case 7:
|
|
69280
|
+
message.subscriptionState = 7;
|
|
69281
|
+
break;
|
|
69173
69282
|
}
|
|
69174
69283
|
if (object.labels) {
|
|
69175
69284
|
if (!Array.isArray(object.labels))
|
|
@@ -69737,6 +69846,7 @@ $root.SubscriptionCancelled = (function() {
|
|
|
69737
69846
|
case 4:
|
|
69738
69847
|
case 6:
|
|
69739
69848
|
case 5:
|
|
69849
|
+
case 7:
|
|
69740
69850
|
break;
|
|
69741
69851
|
}
|
|
69742
69852
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -69912,6 +70022,10 @@ $root.SubscriptionCancelled = (function() {
|
|
|
69912
70022
|
case 5:
|
|
69913
70023
|
message.subscriptionState = 5;
|
|
69914
70024
|
break;
|
|
70025
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
70026
|
+
case 7:
|
|
70027
|
+
message.subscriptionState = 7;
|
|
70028
|
+
break;
|
|
69915
70029
|
}
|
|
69916
70030
|
if (object.labels) {
|
|
69917
70031
|
if (!Array.isArray(object.labels))
|
|
@@ -70457,6 +70571,7 @@ $root.SubscriptionRenewed = (function() {
|
|
|
70457
70571
|
case 4:
|
|
70458
70572
|
case 6:
|
|
70459
70573
|
case 5:
|
|
70574
|
+
case 7:
|
|
70460
70575
|
break;
|
|
70461
70576
|
}
|
|
70462
70577
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -70613,6 +70728,10 @@ $root.SubscriptionRenewed = (function() {
|
|
|
70613
70728
|
case 5:
|
|
70614
70729
|
message.subscriptionState = 5;
|
|
70615
70730
|
break;
|
|
70731
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
70732
|
+
case 7:
|
|
70733
|
+
message.subscriptionState = 7;
|
|
70734
|
+
break;
|
|
70616
70735
|
}
|
|
70617
70736
|
if (object.labels) {
|
|
70618
70737
|
if (!Array.isArray(object.labels))
|
|
@@ -72174,6 +72293,7 @@ $root.SubscriptionGraced = (function() {
|
|
|
72174
72293
|
case 4:
|
|
72175
72294
|
case 6:
|
|
72176
72295
|
case 5:
|
|
72296
|
+
case 7:
|
|
72177
72297
|
break;
|
|
72178
72298
|
}
|
|
72179
72299
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -72330,6 +72450,10 @@ $root.SubscriptionGraced = (function() {
|
|
|
72330
72450
|
case 5:
|
|
72331
72451
|
message.subscriptionState = 5;
|
|
72332
72452
|
break;
|
|
72453
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
72454
|
+
case 7:
|
|
72455
|
+
message.subscriptionState = 7;
|
|
72456
|
+
break;
|
|
72333
72457
|
}
|
|
72334
72458
|
if (object.labels) {
|
|
72335
72459
|
if (!Array.isArray(object.labels))
|
|
@@ -72866,6 +72990,7 @@ $root.SubscriptionStarted = (function() {
|
|
|
72866
72990
|
case 4:
|
|
72867
72991
|
case 6:
|
|
72868
72992
|
case 5:
|
|
72993
|
+
case 7:
|
|
72869
72994
|
break;
|
|
72870
72995
|
}
|
|
72871
72996
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -73023,6 +73148,10 @@ $root.SubscriptionStarted = (function() {
|
|
|
73023
73148
|
case 5:
|
|
73024
73149
|
message.subscriptionState = 5;
|
|
73025
73150
|
break;
|
|
73151
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
73152
|
+
case 7:
|
|
73153
|
+
message.subscriptionState = 7;
|
|
73154
|
+
break;
|
|
73026
73155
|
}
|
|
73027
73156
|
if (object.labels) {
|
|
73028
73157
|
if (!Array.isArray(object.labels))
|
|
@@ -73584,6 +73713,7 @@ $root.SubscriptionEnded = (function() {
|
|
|
73584
73713
|
case 4:
|
|
73585
73714
|
case 6:
|
|
73586
73715
|
case 5:
|
|
73716
|
+
case 7:
|
|
73587
73717
|
break;
|
|
73588
73718
|
}
|
|
73589
73719
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -73755,6 +73885,10 @@ $root.SubscriptionEnded = (function() {
|
|
|
73755
73885
|
case 5:
|
|
73756
73886
|
message.subscriptionState = 5;
|
|
73757
73887
|
break;
|
|
73888
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
73889
|
+
case 7:
|
|
73890
|
+
message.subscriptionState = 7;
|
|
73891
|
+
break;
|
|
73758
73892
|
}
|
|
73759
73893
|
if (object.labels) {
|
|
73760
73894
|
if (!Array.isArray(object.labels))
|
|
@@ -74296,6 +74430,7 @@ $root.SubscriptionRecovered = (function() {
|
|
|
74296
74430
|
case 4:
|
|
74297
74431
|
case 6:
|
|
74298
74432
|
case 5:
|
|
74433
|
+
case 7:
|
|
74299
74434
|
break;
|
|
74300
74435
|
}
|
|
74301
74436
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -74453,6 +74588,10 @@ $root.SubscriptionRecovered = (function() {
|
|
|
74453
74588
|
case 5:
|
|
74454
74589
|
message.subscriptionState = 5;
|
|
74455
74590
|
break;
|
|
74591
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
74592
|
+
case 7:
|
|
74593
|
+
message.subscriptionState = 7;
|
|
74594
|
+
break;
|
|
74456
74595
|
}
|
|
74457
74596
|
if (object.labels) {
|
|
74458
74597
|
if (!Array.isArray(object.labels))
|
|
@@ -74991,6 +75130,7 @@ $root.SubscriptionAmended = (function() {
|
|
|
74991
75130
|
case 4:
|
|
74992
75131
|
case 6:
|
|
74993
75132
|
case 5:
|
|
75133
|
+
case 7:
|
|
74994
75134
|
break;
|
|
74995
75135
|
}
|
|
74996
75136
|
if (message.labels != null && message.hasOwnProperty("labels")) {
|
|
@@ -75148,6 +75288,10 @@ $root.SubscriptionAmended = (function() {
|
|
|
75148
75288
|
case 5:
|
|
75149
75289
|
message.subscriptionState = 5;
|
|
75150
75290
|
break;
|
|
75291
|
+
case "SUBSTATE_PAYMENT_PENDING":
|
|
75292
|
+
case 7:
|
|
75293
|
+
message.subscriptionState = 7;
|
|
75294
|
+
break;
|
|
75151
75295
|
}
|
|
75152
75296
|
if (object.labels) {
|
|
75153
75297
|
if (!Array.isArray(object.labels))
|
package/package.json
CHANGED