@headspace/protos-events 1.167.0 → 1.169.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 +30 -0
- package/lib/index.js +112 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7488,6 +7488,9 @@ export interface IContentfulActivityVariationCreated {
|
|
|
7488
7488
|
/** ContentfulActivityVariationCreated media */
|
|
7489
7489
|
media?: ({ [k: string]: contentful.IIdReference }|null);
|
|
7490
7490
|
|
|
7491
|
+
/** ContentfulActivityVariationCreated locale */
|
|
7492
|
+
locale?: (string|null);
|
|
7493
|
+
|
|
7491
7494
|
/** ContentfulActivityVariationCreated createdAt */
|
|
7492
7495
|
createdAt?: (number|Long|null);
|
|
7493
7496
|
}
|
|
@@ -7510,6 +7513,9 @@ export class ContentfulActivityVariationCreated implements IContentfulActivityVa
|
|
|
7510
7513
|
/** ContentfulActivityVariationCreated media. */
|
|
7511
7514
|
public media: { [k: string]: contentful.IIdReference };
|
|
7512
7515
|
|
|
7516
|
+
/** ContentfulActivityVariationCreated locale. */
|
|
7517
|
+
public locale: string;
|
|
7518
|
+
|
|
7513
7519
|
/** ContentfulActivityVariationCreated createdAt. */
|
|
7514
7520
|
public createdAt: (number|Long);
|
|
7515
7521
|
|
|
@@ -7596,6 +7602,9 @@ export interface IContentfulActivityVariationUpdated {
|
|
|
7596
7602
|
/** ContentfulActivityVariationUpdated media */
|
|
7597
7603
|
media?: ({ [k: string]: contentful.IIdReference }|null);
|
|
7598
7604
|
|
|
7605
|
+
/** ContentfulActivityVariationUpdated locale */
|
|
7606
|
+
locale?: (string|null);
|
|
7607
|
+
|
|
7599
7608
|
/** ContentfulActivityVariationUpdated updatedAt */
|
|
7600
7609
|
updatedAt?: (number|Long|null);
|
|
7601
7610
|
}
|
|
@@ -7618,6 +7627,9 @@ export class ContentfulActivityVariationUpdated implements IContentfulActivityVa
|
|
|
7618
7627
|
/** ContentfulActivityVariationUpdated media. */
|
|
7619
7628
|
public media: { [k: string]: contentful.IIdReference };
|
|
7620
7629
|
|
|
7630
|
+
/** ContentfulActivityVariationUpdated locale. */
|
|
7631
|
+
public locale: string;
|
|
7632
|
+
|
|
7621
7633
|
/** ContentfulActivityVariationUpdated updatedAt. */
|
|
7622
7634
|
public updatedAt: (number|Long);
|
|
7623
7635
|
|
|
@@ -21696,6 +21708,9 @@ export interface ISubscriptionStarted {
|
|
|
21696
21708
|
|
|
21697
21709
|
/** SubscriptionStarted renewalCount */
|
|
21698
21710
|
renewalCount?: (number|Long|null);
|
|
21711
|
+
|
|
21712
|
+
/** SubscriptionStarted id */
|
|
21713
|
+
id?: (number|null);
|
|
21699
21714
|
}
|
|
21700
21715
|
|
|
21701
21716
|
/** Represents a SubscriptionStarted. */
|
|
@@ -21743,6 +21758,9 @@ export class SubscriptionStarted implements ISubscriptionStarted {
|
|
|
21743
21758
|
/** SubscriptionStarted renewalCount. */
|
|
21744
21759
|
public renewalCount: (number|Long);
|
|
21745
21760
|
|
|
21761
|
+
/** SubscriptionStarted id. */
|
|
21762
|
+
public id: number;
|
|
21763
|
+
|
|
21746
21764
|
/**
|
|
21747
21765
|
* Creates a new SubscriptionStarted instance using the specified properties.
|
|
21748
21766
|
* @param [properties] Properties to set
|
|
@@ -21855,6 +21873,9 @@ export interface ISubscriptionEnded {
|
|
|
21855
21873
|
|
|
21856
21874
|
/** SubscriptionEnded renewalCount */
|
|
21857
21875
|
renewalCount?: (number|Long|null);
|
|
21876
|
+
|
|
21877
|
+
/** SubscriptionEnded id */
|
|
21878
|
+
id?: (number|null);
|
|
21858
21879
|
}
|
|
21859
21880
|
|
|
21860
21881
|
/** Represents a SubscriptionEnded. */
|
|
@@ -21905,6 +21926,9 @@ export class SubscriptionEnded implements ISubscriptionEnded {
|
|
|
21905
21926
|
/** SubscriptionEnded renewalCount. */
|
|
21906
21927
|
public renewalCount: (number|Long);
|
|
21907
21928
|
|
|
21929
|
+
/** SubscriptionEnded id. */
|
|
21930
|
+
public id: number;
|
|
21931
|
+
|
|
21908
21932
|
/**
|
|
21909
21933
|
* Creates a new SubscriptionEnded instance using the specified properties.
|
|
21910
21934
|
* @param [properties] Properties to set
|
|
@@ -22014,6 +22038,9 @@ export interface ISubscriptionRecovered {
|
|
|
22014
22038
|
|
|
22015
22039
|
/** SubscriptionRecovered renewalCount */
|
|
22016
22040
|
renewalCount?: (number|Long|null);
|
|
22041
|
+
|
|
22042
|
+
/** SubscriptionRecovered id */
|
|
22043
|
+
id?: (number|null);
|
|
22017
22044
|
}
|
|
22018
22045
|
|
|
22019
22046
|
/** Represents a SubscriptionRecovered. */
|
|
@@ -22061,6 +22088,9 @@ export class SubscriptionRecovered implements ISubscriptionRecovered {
|
|
|
22061
22088
|
/** SubscriptionRecovered renewalCount. */
|
|
22062
22089
|
public renewalCount: (number|Long);
|
|
22063
22090
|
|
|
22091
|
+
/** SubscriptionRecovered id. */
|
|
22092
|
+
public id: number;
|
|
22093
|
+
|
|
22064
22094
|
/**
|
|
22065
22095
|
* Creates a new SubscriptionRecovered instance using the specified properties.
|
|
22066
22096
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -19806,6 +19806,7 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
19806
19806
|
* @property {string|null} [slug] ContentfulActivityVariationCreated slug
|
|
19807
19807
|
* @property {Object.<string,number>|null} [duration] ContentfulActivityVariationCreated duration
|
|
19808
19808
|
* @property {Object.<string,contentful.IIdReference>|null} [media] ContentfulActivityVariationCreated media
|
|
19809
|
+
* @property {string|null} [locale] ContentfulActivityVariationCreated locale
|
|
19809
19810
|
* @property {number|Long|null} [createdAt] ContentfulActivityVariationCreated createdAt
|
|
19810
19811
|
*/
|
|
19811
19812
|
|
|
@@ -19850,6 +19851,14 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
19850
19851
|
*/
|
|
19851
19852
|
ContentfulActivityVariationCreated.prototype.media = $util.emptyObject;
|
|
19852
19853
|
|
|
19854
|
+
/**
|
|
19855
|
+
* ContentfulActivityVariationCreated locale.
|
|
19856
|
+
* @member {string} locale
|
|
19857
|
+
* @memberof ContentfulActivityVariationCreated
|
|
19858
|
+
* @instance
|
|
19859
|
+
*/
|
|
19860
|
+
ContentfulActivityVariationCreated.prototype.locale = "";
|
|
19861
|
+
|
|
19853
19862
|
/**
|
|
19854
19863
|
* ContentfulActivityVariationCreated createdAt.
|
|
19855
19864
|
* @member {number|Long} createdAt
|
|
@@ -19892,8 +19901,10 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
19892
19901
|
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
19893
19902
|
$root.contentful.IdReference.encode(message.media[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
19894
19903
|
}
|
|
19904
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
19905
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.locale);
|
|
19895
19906
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
19896
|
-
writer.uint32(/* id
|
|
19907
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.createdAt);
|
|
19897
19908
|
return writer;
|
|
19898
19909
|
};
|
|
19899
19910
|
|
|
@@ -19948,6 +19959,9 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
19948
19959
|
message.media[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
19949
19960
|
break;
|
|
19950
19961
|
case 4:
|
|
19962
|
+
message.locale = reader.string();
|
|
19963
|
+
break;
|
|
19964
|
+
case 5:
|
|
19951
19965
|
message.createdAt = reader.uint64();
|
|
19952
19966
|
break;
|
|
19953
19967
|
default:
|
|
@@ -20006,6 +20020,9 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
20006
20020
|
return "media." + error;
|
|
20007
20021
|
}
|
|
20008
20022
|
}
|
|
20023
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
20024
|
+
if (!$util.isString(message.locale))
|
|
20025
|
+
return "locale: string expected";
|
|
20009
20026
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
20010
20027
|
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
20011
20028
|
return "createdAt: integer|Long expected";
|
|
@@ -20043,6 +20060,8 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
20043
20060
|
message.media[keys[i]] = $root.contentful.IdReference.fromObject(object.media[keys[i]]);
|
|
20044
20061
|
}
|
|
20045
20062
|
}
|
|
20063
|
+
if (object.locale != null)
|
|
20064
|
+
message.locale = String(object.locale);
|
|
20046
20065
|
if (object.createdAt != null)
|
|
20047
20066
|
if ($util.Long)
|
|
20048
20067
|
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
@@ -20074,6 +20093,7 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
20074
20093
|
}
|
|
20075
20094
|
if (options.defaults) {
|
|
20076
20095
|
object.slug = "";
|
|
20096
|
+
object.locale = "";
|
|
20077
20097
|
if ($util.Long) {
|
|
20078
20098
|
var long = new $util.Long(0, 0, true);
|
|
20079
20099
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -20093,6 +20113,8 @@ $root.ContentfulActivityVariationCreated = (function() {
|
|
|
20093
20113
|
for (var j = 0; j < keys2.length; ++j)
|
|
20094
20114
|
object.media[keys2[j]] = $root.contentful.IdReference.toObject(message.media[keys2[j]], options);
|
|
20095
20115
|
}
|
|
20116
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
20117
|
+
object.locale = message.locale;
|
|
20096
20118
|
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
20097
20119
|
if (typeof message.createdAt === "number")
|
|
20098
20120
|
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
@@ -20124,6 +20146,7 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20124
20146
|
* @property {string|null} [slug] ContentfulActivityVariationUpdated slug
|
|
20125
20147
|
* @property {Object.<string,number>|null} [duration] ContentfulActivityVariationUpdated duration
|
|
20126
20148
|
* @property {Object.<string,contentful.IIdReference>|null} [media] ContentfulActivityVariationUpdated media
|
|
20149
|
+
* @property {string|null} [locale] ContentfulActivityVariationUpdated locale
|
|
20127
20150
|
* @property {number|Long|null} [updatedAt] ContentfulActivityVariationUpdated updatedAt
|
|
20128
20151
|
*/
|
|
20129
20152
|
|
|
@@ -20168,6 +20191,14 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20168
20191
|
*/
|
|
20169
20192
|
ContentfulActivityVariationUpdated.prototype.media = $util.emptyObject;
|
|
20170
20193
|
|
|
20194
|
+
/**
|
|
20195
|
+
* ContentfulActivityVariationUpdated locale.
|
|
20196
|
+
* @member {string} locale
|
|
20197
|
+
* @memberof ContentfulActivityVariationUpdated
|
|
20198
|
+
* @instance
|
|
20199
|
+
*/
|
|
20200
|
+
ContentfulActivityVariationUpdated.prototype.locale = "";
|
|
20201
|
+
|
|
20171
20202
|
/**
|
|
20172
20203
|
* ContentfulActivityVariationUpdated updatedAt.
|
|
20173
20204
|
* @member {number|Long} updatedAt
|
|
@@ -20210,8 +20241,10 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20210
20241
|
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
20211
20242
|
$root.contentful.IdReference.encode(message.media[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
20212
20243
|
}
|
|
20244
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
20245
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.locale);
|
|
20213
20246
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
20214
|
-
writer.uint32(/* id
|
|
20247
|
+
writer.uint32(/* id 5, wireType 0 =*/40).uint64(message.updatedAt);
|
|
20215
20248
|
return writer;
|
|
20216
20249
|
};
|
|
20217
20250
|
|
|
@@ -20266,6 +20299,9 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20266
20299
|
message.media[key] = $root.contentful.IdReference.decode(reader, reader.uint32());
|
|
20267
20300
|
break;
|
|
20268
20301
|
case 4:
|
|
20302
|
+
message.locale = reader.string();
|
|
20303
|
+
break;
|
|
20304
|
+
case 5:
|
|
20269
20305
|
message.updatedAt = reader.uint64();
|
|
20270
20306
|
break;
|
|
20271
20307
|
default:
|
|
@@ -20324,6 +20360,9 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20324
20360
|
return "media." + error;
|
|
20325
20361
|
}
|
|
20326
20362
|
}
|
|
20363
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
20364
|
+
if (!$util.isString(message.locale))
|
|
20365
|
+
return "locale: string expected";
|
|
20327
20366
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
20328
20367
|
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
20329
20368
|
return "updatedAt: integer|Long expected";
|
|
@@ -20361,6 +20400,8 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20361
20400
|
message.media[keys[i]] = $root.contentful.IdReference.fromObject(object.media[keys[i]]);
|
|
20362
20401
|
}
|
|
20363
20402
|
}
|
|
20403
|
+
if (object.locale != null)
|
|
20404
|
+
message.locale = String(object.locale);
|
|
20364
20405
|
if (object.updatedAt != null)
|
|
20365
20406
|
if ($util.Long)
|
|
20366
20407
|
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
@@ -20392,6 +20433,7 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20392
20433
|
}
|
|
20393
20434
|
if (options.defaults) {
|
|
20394
20435
|
object.slug = "";
|
|
20436
|
+
object.locale = "";
|
|
20395
20437
|
if ($util.Long) {
|
|
20396
20438
|
var long = new $util.Long(0, 0, true);
|
|
20397
20439
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
@@ -20411,6 +20453,8 @@ $root.ContentfulActivityVariationUpdated = (function() {
|
|
|
20411
20453
|
for (var j = 0; j < keys2.length; ++j)
|
|
20412
20454
|
object.media[keys2[j]] = $root.contentful.IdReference.toObject(message.media[keys2[j]], options);
|
|
20413
20455
|
}
|
|
20456
|
+
if (message.locale != null && message.hasOwnProperty("locale"))
|
|
20457
|
+
object.locale = message.locale;
|
|
20414
20458
|
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
20415
20459
|
if (typeof message.updatedAt === "number")
|
|
20416
20460
|
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
@@ -60307,6 +60351,7 @@ $root.SubscriptionStarted = (function() {
|
|
|
60307
60351
|
* @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionStarted subscriptionState
|
|
60308
60352
|
* @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionStarted labels
|
|
60309
60353
|
* @property {number|Long|null} [renewalCount] SubscriptionStarted renewalCount
|
|
60354
|
+
* @property {number|null} [id] SubscriptionStarted id
|
|
60310
60355
|
*/
|
|
60311
60356
|
|
|
60312
60357
|
/**
|
|
@@ -60421,6 +60466,14 @@ $root.SubscriptionStarted = (function() {
|
|
|
60421
60466
|
*/
|
|
60422
60467
|
SubscriptionStarted.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
60423
60468
|
|
|
60469
|
+
/**
|
|
60470
|
+
* SubscriptionStarted id.
|
|
60471
|
+
* @member {number} id
|
|
60472
|
+
* @memberof SubscriptionStarted
|
|
60473
|
+
* @instance
|
|
60474
|
+
*/
|
|
60475
|
+
SubscriptionStarted.prototype.id = 0;
|
|
60476
|
+
|
|
60424
60477
|
/**
|
|
60425
60478
|
* Creates a new SubscriptionStarted instance using the specified properties.
|
|
60426
60479
|
* @function create
|
|
@@ -60473,6 +60526,8 @@ $root.SubscriptionStarted = (function() {
|
|
|
60473
60526
|
}
|
|
60474
60527
|
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
60475
60528
|
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.renewalCount);
|
|
60529
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
60530
|
+
writer.uint32(/* id 14, wireType 0 =*/112).uint32(message.id);
|
|
60476
60531
|
return writer;
|
|
60477
60532
|
};
|
|
60478
60533
|
|
|
@@ -60550,6 +60605,9 @@ $root.SubscriptionStarted = (function() {
|
|
|
60550
60605
|
case 13:
|
|
60551
60606
|
message.renewalCount = reader.uint64();
|
|
60552
60607
|
break;
|
|
60608
|
+
case 14:
|
|
60609
|
+
message.id = reader.uint32();
|
|
60610
|
+
break;
|
|
60553
60611
|
default:
|
|
60554
60612
|
reader.skipType(tag & 7);
|
|
60555
60613
|
break;
|
|
@@ -60656,6 +60714,9 @@ $root.SubscriptionStarted = (function() {
|
|
|
60656
60714
|
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
60657
60715
|
if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
|
|
60658
60716
|
return "renewalCount: integer|Long expected";
|
|
60717
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
60718
|
+
if (!$util.isInteger(message.id))
|
|
60719
|
+
return "id: integer expected";
|
|
60659
60720
|
return null;
|
|
60660
60721
|
};
|
|
60661
60722
|
|
|
@@ -60808,6 +60869,8 @@ $root.SubscriptionStarted = (function() {
|
|
|
60808
60869
|
message.renewalCount = object.renewalCount;
|
|
60809
60870
|
else if (typeof object.renewalCount === "object")
|
|
60810
60871
|
message.renewalCount = new $util.LongBits(object.renewalCount.low >>> 0, object.renewalCount.high >>> 0).toNumber(true);
|
|
60872
|
+
if (object.id != null)
|
|
60873
|
+
message.id = object.id >>> 0;
|
|
60811
60874
|
return message;
|
|
60812
60875
|
};
|
|
60813
60876
|
|
|
@@ -60858,6 +60921,7 @@ $root.SubscriptionStarted = (function() {
|
|
|
60858
60921
|
object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
60859
60922
|
} else
|
|
60860
60923
|
object.renewalCount = options.longs === String ? "0" : 0;
|
|
60924
|
+
object.id = 0;
|
|
60861
60925
|
}
|
|
60862
60926
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
60863
60927
|
if (typeof message.updatedOn === "number")
|
|
@@ -60901,6 +60965,8 @@ $root.SubscriptionStarted = (function() {
|
|
|
60901
60965
|
object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
|
|
60902
60966
|
else
|
|
60903
60967
|
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;
|
|
60968
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
60969
|
+
object.id = message.id;
|
|
60904
60970
|
return object;
|
|
60905
60971
|
};
|
|
60906
60972
|
|
|
@@ -60937,6 +61003,7 @@ $root.SubscriptionEnded = (function() {
|
|
|
60937
61003
|
* @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionEnded subscriptionState
|
|
60938
61004
|
* @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionEnded labels
|
|
60939
61005
|
* @property {number|Long|null} [renewalCount] SubscriptionEnded renewalCount
|
|
61006
|
+
* @property {number|null} [id] SubscriptionEnded id
|
|
60940
61007
|
*/
|
|
60941
61008
|
|
|
60942
61009
|
/**
|
|
@@ -61059,6 +61126,14 @@ $root.SubscriptionEnded = (function() {
|
|
|
61059
61126
|
*/
|
|
61060
61127
|
SubscriptionEnded.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
61061
61128
|
|
|
61129
|
+
/**
|
|
61130
|
+
* SubscriptionEnded id.
|
|
61131
|
+
* @member {number} id
|
|
61132
|
+
* @memberof SubscriptionEnded
|
|
61133
|
+
* @instance
|
|
61134
|
+
*/
|
|
61135
|
+
SubscriptionEnded.prototype.id = 0;
|
|
61136
|
+
|
|
61062
61137
|
/**
|
|
61063
61138
|
* Creates a new SubscriptionEnded instance using the specified properties.
|
|
61064
61139
|
* @function create
|
|
@@ -61113,6 +61188,8 @@ $root.SubscriptionEnded = (function() {
|
|
|
61113
61188
|
}
|
|
61114
61189
|
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
61115
61190
|
writer.uint32(/* id 14, wireType 0 =*/112).uint64(message.renewalCount);
|
|
61191
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
61192
|
+
writer.uint32(/* id 15, wireType 0 =*/120).uint32(message.id);
|
|
61116
61193
|
return writer;
|
|
61117
61194
|
};
|
|
61118
61195
|
|
|
@@ -61193,6 +61270,9 @@ $root.SubscriptionEnded = (function() {
|
|
|
61193
61270
|
case 14:
|
|
61194
61271
|
message.renewalCount = reader.uint64();
|
|
61195
61272
|
break;
|
|
61273
|
+
case 15:
|
|
61274
|
+
message.id = reader.uint32();
|
|
61275
|
+
break;
|
|
61196
61276
|
default:
|
|
61197
61277
|
reader.skipType(tag & 7);
|
|
61198
61278
|
break;
|
|
@@ -61308,6 +61388,9 @@ $root.SubscriptionEnded = (function() {
|
|
|
61308
61388
|
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
61309
61389
|
if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
|
|
61310
61390
|
return "renewalCount: integer|Long expected";
|
|
61391
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
61392
|
+
if (!$util.isInteger(message.id))
|
|
61393
|
+
return "id: integer expected";
|
|
61311
61394
|
return null;
|
|
61312
61395
|
};
|
|
61313
61396
|
|
|
@@ -61474,6 +61557,8 @@ $root.SubscriptionEnded = (function() {
|
|
|
61474
61557
|
message.renewalCount = object.renewalCount;
|
|
61475
61558
|
else if (typeof object.renewalCount === "object")
|
|
61476
61559
|
message.renewalCount = new $util.LongBits(object.renewalCount.low >>> 0, object.renewalCount.high >>> 0).toNumber(true);
|
|
61560
|
+
if (object.id != null)
|
|
61561
|
+
message.id = object.id >>> 0;
|
|
61477
61562
|
return message;
|
|
61478
61563
|
};
|
|
61479
61564
|
|
|
@@ -61525,6 +61610,7 @@ $root.SubscriptionEnded = (function() {
|
|
|
61525
61610
|
object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
61526
61611
|
} else
|
|
61527
61612
|
object.renewalCount = options.longs === String ? "0" : 0;
|
|
61613
|
+
object.id = 0;
|
|
61528
61614
|
}
|
|
61529
61615
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
61530
61616
|
if (typeof message.updatedOn === "number")
|
|
@@ -61570,6 +61656,8 @@ $root.SubscriptionEnded = (function() {
|
|
|
61570
61656
|
object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
|
|
61571
61657
|
else
|
|
61572
61658
|
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;
|
|
61659
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
61660
|
+
object.id = message.id;
|
|
61573
61661
|
return object;
|
|
61574
61662
|
};
|
|
61575
61663
|
|
|
@@ -61605,6 +61693,7 @@ $root.SubscriptionRecovered = (function() {
|
|
|
61605
61693
|
* @property {subscription.SubscriptionState|null} [subscriptionState] SubscriptionRecovered subscriptionState
|
|
61606
61694
|
* @property {Array.<subscription.SubscriptionLabels>|null} [labels] SubscriptionRecovered labels
|
|
61607
61695
|
* @property {number|Long|null} [renewalCount] SubscriptionRecovered renewalCount
|
|
61696
|
+
* @property {number|null} [id] SubscriptionRecovered id
|
|
61608
61697
|
*/
|
|
61609
61698
|
|
|
61610
61699
|
/**
|
|
@@ -61719,6 +61808,14 @@ $root.SubscriptionRecovered = (function() {
|
|
|
61719
61808
|
*/
|
|
61720
61809
|
SubscriptionRecovered.prototype.renewalCount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
61721
61810
|
|
|
61811
|
+
/**
|
|
61812
|
+
* SubscriptionRecovered id.
|
|
61813
|
+
* @member {number} id
|
|
61814
|
+
* @memberof SubscriptionRecovered
|
|
61815
|
+
* @instance
|
|
61816
|
+
*/
|
|
61817
|
+
SubscriptionRecovered.prototype.id = 0;
|
|
61818
|
+
|
|
61722
61819
|
/**
|
|
61723
61820
|
* Creates a new SubscriptionRecovered instance using the specified properties.
|
|
61724
61821
|
* @function create
|
|
@@ -61771,6 +61868,8 @@ $root.SubscriptionRecovered = (function() {
|
|
|
61771
61868
|
}
|
|
61772
61869
|
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
61773
61870
|
writer.uint32(/* id 13, wireType 0 =*/104).uint64(message.renewalCount);
|
|
61871
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
61872
|
+
writer.uint32(/* id 14, wireType 0 =*/112).uint32(message.id);
|
|
61774
61873
|
return writer;
|
|
61775
61874
|
};
|
|
61776
61875
|
|
|
@@ -61848,6 +61947,9 @@ $root.SubscriptionRecovered = (function() {
|
|
|
61848
61947
|
case 13:
|
|
61849
61948
|
message.renewalCount = reader.uint64();
|
|
61850
61949
|
break;
|
|
61950
|
+
case 14:
|
|
61951
|
+
message.id = reader.uint32();
|
|
61952
|
+
break;
|
|
61851
61953
|
default:
|
|
61852
61954
|
reader.skipType(tag & 7);
|
|
61853
61955
|
break;
|
|
@@ -61954,6 +62056,9 @@ $root.SubscriptionRecovered = (function() {
|
|
|
61954
62056
|
if (message.renewalCount != null && message.hasOwnProperty("renewalCount"))
|
|
61955
62057
|
if (!$util.isInteger(message.renewalCount) && !(message.renewalCount && $util.isInteger(message.renewalCount.low) && $util.isInteger(message.renewalCount.high)))
|
|
61956
62058
|
return "renewalCount: integer|Long expected";
|
|
62059
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
62060
|
+
if (!$util.isInteger(message.id))
|
|
62061
|
+
return "id: integer expected";
|
|
61957
62062
|
return null;
|
|
61958
62063
|
};
|
|
61959
62064
|
|
|
@@ -62106,6 +62211,8 @@ $root.SubscriptionRecovered = (function() {
|
|
|
62106
62211
|
message.renewalCount = object.renewalCount;
|
|
62107
62212
|
else if (typeof object.renewalCount === "object")
|
|
62108
62213
|
message.renewalCount = new $util.LongBits(object.renewalCount.low >>> 0, object.renewalCount.high >>> 0).toNumber(true);
|
|
62214
|
+
if (object.id != null)
|
|
62215
|
+
message.id = object.id >>> 0;
|
|
62109
62216
|
return message;
|
|
62110
62217
|
};
|
|
62111
62218
|
|
|
@@ -62156,6 +62263,7 @@ $root.SubscriptionRecovered = (function() {
|
|
|
62156
62263
|
object.renewalCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
62157
62264
|
} else
|
|
62158
62265
|
object.renewalCount = options.longs === String ? "0" : 0;
|
|
62266
|
+
object.id = 0;
|
|
62159
62267
|
}
|
|
62160
62268
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
62161
62269
|
if (typeof message.updatedOn === "number")
|
|
@@ -62199,6 +62307,8 @@ $root.SubscriptionRecovered = (function() {
|
|
|
62199
62307
|
object.renewalCount = options.longs === String ? String(message.renewalCount) : message.renewalCount;
|
|
62200
62308
|
else
|
|
62201
62309
|
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;
|
|
62310
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
62311
|
+
object.id = message.id;
|
|
62202
62312
|
return object;
|
|
62203
62313
|
};
|
|
62204
62314
|
|
package/package.json
CHANGED