@headspace/protos-events 1.101.0 → 1.102.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 +12 -0
- package/lib/index.js +44 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4722,6 +4722,9 @@ export interface IIosSubscriptionCreated {
|
|
|
4722
4722
|
/** IosSubscriptionCreated userId */
|
|
4723
4723
|
userId?: (string|null);
|
|
4724
4724
|
|
|
4725
|
+
/** IosSubscriptionCreated productId */
|
|
4726
|
+
productId?: (string|null);
|
|
4727
|
+
|
|
4725
4728
|
/** IosSubscriptionCreated tags */
|
|
4726
4729
|
tags?: (appleReceipt.IosSubscriptionTag[]|null);
|
|
4727
4730
|
|
|
@@ -4750,6 +4753,9 @@ export class IosSubscriptionCreated implements IIosSubscriptionCreated {
|
|
|
4750
4753
|
/** IosSubscriptionCreated userId. */
|
|
4751
4754
|
public userId: string;
|
|
4752
4755
|
|
|
4756
|
+
/** IosSubscriptionCreated productId. */
|
|
4757
|
+
public productId: string;
|
|
4758
|
+
|
|
4753
4759
|
/** IosSubscriptionCreated tags. */
|
|
4754
4760
|
public tags: appleReceipt.IosSubscriptionTag[];
|
|
4755
4761
|
|
|
@@ -4842,6 +4848,9 @@ export interface IIosSubscriptionRenewed {
|
|
|
4842
4848
|
/** IosSubscriptionRenewed userId */
|
|
4843
4849
|
userId?: (string|null);
|
|
4844
4850
|
|
|
4851
|
+
/** IosSubscriptionRenewed productId */
|
|
4852
|
+
productId?: (string|null);
|
|
4853
|
+
|
|
4845
4854
|
/** IosSubscriptionRenewed tags */
|
|
4846
4855
|
tags?: (appleReceipt.IosSubscriptionTag[]|null);
|
|
4847
4856
|
|
|
@@ -4870,6 +4879,9 @@ export class IosSubscriptionRenewed implements IIosSubscriptionRenewed {
|
|
|
4870
4879
|
/** IosSubscriptionRenewed userId. */
|
|
4871
4880
|
public userId: string;
|
|
4872
4881
|
|
|
4882
|
+
/** IosSubscriptionRenewed productId. */
|
|
4883
|
+
public productId: string;
|
|
4884
|
+
|
|
4873
4885
|
/** IosSubscriptionRenewed tags. */
|
|
4874
4886
|
public tags: appleReceipt.IosSubscriptionTag[];
|
|
4875
4887
|
|
package/lib/index.js
CHANGED
|
@@ -11795,6 +11795,7 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
11795
11795
|
* @property {number|Long|null} [endsAt] IosSubscriptionCreated endsAt
|
|
11796
11796
|
* @property {number|Long|null} [startsAt] IosSubscriptionCreated startsAt
|
|
11797
11797
|
* @property {string|null} [userId] IosSubscriptionCreated userId
|
|
11798
|
+
* @property {string|null} [productId] IosSubscriptionCreated productId
|
|
11798
11799
|
* @property {Array.<appleReceipt.IosSubscriptionTag>|null} [tags] IosSubscriptionCreated tags
|
|
11799
11800
|
* @property {Array.<appleReceipt.IIosSubscriptionTerm>|null} [terms] IosSubscriptionCreated terms
|
|
11800
11801
|
*/
|
|
@@ -11848,6 +11849,14 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
11848
11849
|
*/
|
|
11849
11850
|
IosSubscriptionCreated.prototype.userId = "";
|
|
11850
11851
|
|
|
11852
|
+
/**
|
|
11853
|
+
* IosSubscriptionCreated productId.
|
|
11854
|
+
* @member {string} productId
|
|
11855
|
+
* @memberof IosSubscriptionCreated
|
|
11856
|
+
* @instance
|
|
11857
|
+
*/
|
|
11858
|
+
IosSubscriptionCreated.prototype.productId = "";
|
|
11859
|
+
|
|
11851
11860
|
/**
|
|
11852
11861
|
* IosSubscriptionCreated tags.
|
|
11853
11862
|
* @member {Array.<appleReceipt.IosSubscriptionTag>} tags
|
|
@@ -11905,6 +11914,8 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
11905
11914
|
if (message.terms != null && message.terms.length)
|
|
11906
11915
|
for (var i = 0; i < message.terms.length; ++i)
|
|
11907
11916
|
$root.appleReceipt.IosSubscriptionTerm.encode(message.terms[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
11917
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
11918
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.productId);
|
|
11908
11919
|
return writer;
|
|
11909
11920
|
};
|
|
11910
11921
|
|
|
@@ -11951,6 +11962,9 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
11951
11962
|
case 4:
|
|
11952
11963
|
message.userId = reader.string();
|
|
11953
11964
|
break;
|
|
11965
|
+
case 7:
|
|
11966
|
+
message.productId = reader.string();
|
|
11967
|
+
break;
|
|
11954
11968
|
case 5:
|
|
11955
11969
|
if (!(message.tags && message.tags.length))
|
|
11956
11970
|
message.tags = [];
|
|
@@ -12013,6 +12027,9 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
12013
12027
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
12014
12028
|
if (!$util.isString(message.userId))
|
|
12015
12029
|
return "userId: string expected";
|
|
12030
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
12031
|
+
if (!$util.isString(message.productId))
|
|
12032
|
+
return "productId: string expected";
|
|
12016
12033
|
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
12017
12034
|
if (!Array.isArray(message.tags))
|
|
12018
12035
|
return "tags: array expected";
|
|
@@ -12071,6 +12088,8 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
12071
12088
|
message.startsAt = new $util.LongBits(object.startsAt.low >>> 0, object.startsAt.high >>> 0).toNumber(true);
|
|
12072
12089
|
if (object.userId != null)
|
|
12073
12090
|
message.userId = String(object.userId);
|
|
12091
|
+
if (object.productId != null)
|
|
12092
|
+
message.productId = String(object.productId);
|
|
12074
12093
|
if (object.tags) {
|
|
12075
12094
|
if (!Array.isArray(object.tags))
|
|
12076
12095
|
throw TypeError(".IosSubscriptionCreated.tags: array expected");
|
|
@@ -12131,6 +12150,7 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
12131
12150
|
} else
|
|
12132
12151
|
object.startsAt = options.longs === String ? "0" : 0;
|
|
12133
12152
|
object.userId = "";
|
|
12153
|
+
object.productId = "";
|
|
12134
12154
|
}
|
|
12135
12155
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
12136
12156
|
object.id = message.id;
|
|
@@ -12156,6 +12176,8 @@ $root.IosSubscriptionCreated = (function() {
|
|
|
12156
12176
|
for (var j = 0; j < message.terms.length; ++j)
|
|
12157
12177
|
object.terms[j] = $root.appleReceipt.IosSubscriptionTerm.toObject(message.terms[j], options);
|
|
12158
12178
|
}
|
|
12179
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
12180
|
+
object.productId = message.productId;
|
|
12159
12181
|
return object;
|
|
12160
12182
|
};
|
|
12161
12183
|
|
|
@@ -12183,6 +12205,7 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
12183
12205
|
* @property {number|Long|null} [endsAt] IosSubscriptionRenewed endsAt
|
|
12184
12206
|
* @property {number|Long|null} [startsAt] IosSubscriptionRenewed startsAt
|
|
12185
12207
|
* @property {string|null} [userId] IosSubscriptionRenewed userId
|
|
12208
|
+
* @property {string|null} [productId] IosSubscriptionRenewed productId
|
|
12186
12209
|
* @property {Array.<appleReceipt.IosSubscriptionTag>|null} [tags] IosSubscriptionRenewed tags
|
|
12187
12210
|
* @property {Array.<appleReceipt.IIosSubscriptionTerm>|null} [terms] IosSubscriptionRenewed terms
|
|
12188
12211
|
*/
|
|
@@ -12236,6 +12259,14 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
12236
12259
|
*/
|
|
12237
12260
|
IosSubscriptionRenewed.prototype.userId = "";
|
|
12238
12261
|
|
|
12262
|
+
/**
|
|
12263
|
+
* IosSubscriptionRenewed productId.
|
|
12264
|
+
* @member {string} productId
|
|
12265
|
+
* @memberof IosSubscriptionRenewed
|
|
12266
|
+
* @instance
|
|
12267
|
+
*/
|
|
12268
|
+
IosSubscriptionRenewed.prototype.productId = "";
|
|
12269
|
+
|
|
12239
12270
|
/**
|
|
12240
12271
|
* IosSubscriptionRenewed tags.
|
|
12241
12272
|
* @member {Array.<appleReceipt.IosSubscriptionTag>} tags
|
|
@@ -12293,6 +12324,8 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
12293
12324
|
if (message.terms != null && message.terms.length)
|
|
12294
12325
|
for (var i = 0; i < message.terms.length; ++i)
|
|
12295
12326
|
$root.appleReceipt.IosSubscriptionTerm.encode(message.terms[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
12327
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
12328
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.productId);
|
|
12296
12329
|
return writer;
|
|
12297
12330
|
};
|
|
12298
12331
|
|
|
@@ -12339,6 +12372,9 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
12339
12372
|
case 4:
|
|
12340
12373
|
message.userId = reader.string();
|
|
12341
12374
|
break;
|
|
12375
|
+
case 7:
|
|
12376
|
+
message.productId = reader.string();
|
|
12377
|
+
break;
|
|
12342
12378
|
case 5:
|
|
12343
12379
|
if (!(message.tags && message.tags.length))
|
|
12344
12380
|
message.tags = [];
|
|
@@ -12401,6 +12437,9 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
12401
12437
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
12402
12438
|
if (!$util.isString(message.userId))
|
|
12403
12439
|
return "userId: string expected";
|
|
12440
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
12441
|
+
if (!$util.isString(message.productId))
|
|
12442
|
+
return "productId: string expected";
|
|
12404
12443
|
if (message.tags != null && message.hasOwnProperty("tags")) {
|
|
12405
12444
|
if (!Array.isArray(message.tags))
|
|
12406
12445
|
return "tags: array expected";
|
|
@@ -12459,6 +12498,8 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
12459
12498
|
message.startsAt = new $util.LongBits(object.startsAt.low >>> 0, object.startsAt.high >>> 0).toNumber(true);
|
|
12460
12499
|
if (object.userId != null)
|
|
12461
12500
|
message.userId = String(object.userId);
|
|
12501
|
+
if (object.productId != null)
|
|
12502
|
+
message.productId = String(object.productId);
|
|
12462
12503
|
if (object.tags) {
|
|
12463
12504
|
if (!Array.isArray(object.tags))
|
|
12464
12505
|
throw TypeError(".IosSubscriptionRenewed.tags: array expected");
|
|
@@ -12519,6 +12560,7 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
12519
12560
|
} else
|
|
12520
12561
|
object.startsAt = options.longs === String ? "0" : 0;
|
|
12521
12562
|
object.userId = "";
|
|
12563
|
+
object.productId = "";
|
|
12522
12564
|
}
|
|
12523
12565
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
12524
12566
|
object.id = message.id;
|
|
@@ -12544,6 +12586,8 @@ $root.IosSubscriptionRenewed = (function() {
|
|
|
12544
12586
|
for (var j = 0; j < message.terms.length; ++j)
|
|
12545
12587
|
object.terms[j] = $root.appleReceipt.IosSubscriptionTerm.toObject(message.terms[j], options);
|
|
12546
12588
|
}
|
|
12589
|
+
if (message.productId != null && message.hasOwnProperty("productId"))
|
|
12590
|
+
object.productId = message.productId;
|
|
12547
12591
|
return object;
|
|
12548
12592
|
};
|
|
12549
12593
|
|
package/package.json
CHANGED