@headspace/protos-events 1.478.0 → 1.479.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 +0 -18
- package/lib/index.js +0 -66
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -42795,9 +42795,6 @@ export interface ISubscriptionCreated {
|
|
|
42795
42795
|
|
|
42796
42796
|
/** SubscriptionCreated productSku */
|
|
42797
42797
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42798
|
-
|
|
42799
|
-
/** SubscriptionCreated orgId */
|
|
42800
|
-
orgId?: (number|null);
|
|
42801
42798
|
}
|
|
42802
42799
|
|
|
42803
42800
|
/** Represents a SubscriptionCreated. */
|
|
@@ -42857,9 +42854,6 @@ export class SubscriptionCreated implements ISubscriptionCreated {
|
|
|
42857
42854
|
/** SubscriptionCreated productSku. */
|
|
42858
42855
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42859
42856
|
|
|
42860
|
-
/** SubscriptionCreated orgId. */
|
|
42861
|
-
public orgId: number;
|
|
42862
|
-
|
|
42863
42857
|
/**
|
|
42864
42858
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
42865
42859
|
* @param [properties] Properties to set
|
|
@@ -42987,9 +42981,6 @@ export interface ISubscriptionCancelled {
|
|
|
42987
42981
|
|
|
42988
42982
|
/** SubscriptionCancelled productSku */
|
|
42989
42983
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42990
|
-
|
|
42991
|
-
/** SubscriptionCancelled orgId */
|
|
42992
|
-
orgId?: (number|null);
|
|
42993
42984
|
}
|
|
42994
42985
|
|
|
42995
42986
|
/** Represents a SubscriptionCancelled. */
|
|
@@ -43055,9 +43046,6 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
43055
43046
|
/** SubscriptionCancelled productSku. */
|
|
43056
43047
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
43057
43048
|
|
|
43058
|
-
/** SubscriptionCancelled orgId. */
|
|
43059
|
-
public orgId: number;
|
|
43060
|
-
|
|
43061
43049
|
/**
|
|
43062
43050
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
43063
43051
|
* @param [properties] Properties to set
|
|
@@ -44451,9 +44439,6 @@ export interface ISubscriptionAmended {
|
|
|
44451
44439
|
|
|
44452
44440
|
/** SubscriptionAmended productSku */
|
|
44453
44441
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
44454
|
-
|
|
44455
|
-
/** SubscriptionAmended orgId */
|
|
44456
|
-
orgId?: (number|null);
|
|
44457
44442
|
}
|
|
44458
44443
|
|
|
44459
44444
|
/** Represents a SubscriptionAmended. */
|
|
@@ -44513,9 +44498,6 @@ export class SubscriptionAmended implements ISubscriptionAmended {
|
|
|
44513
44498
|
/** SubscriptionAmended productSku. */
|
|
44514
44499
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
44515
44500
|
|
|
44516
|
-
/** SubscriptionAmended orgId. */
|
|
44517
|
-
public orgId: number;
|
|
44518
|
-
|
|
44519
44501
|
/**
|
|
44520
44502
|
* Creates a new SubscriptionAmended instance using the specified properties.
|
|
44521
44503
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -120000,7 +120000,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120000
120000
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCreated terms
|
|
120001
120001
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCreated membership
|
|
120002
120002
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCreated productSku
|
|
120003
|
-
* @property {number|null} [orgId] SubscriptionCreated orgId
|
|
120004
120003
|
*/
|
|
120005
120004
|
|
|
120006
120005
|
/**
|
|
@@ -120148,14 +120147,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120148
120147
|
*/
|
|
120149
120148
|
SubscriptionCreated.prototype.productSku = null;
|
|
120150
120149
|
|
|
120151
|
-
/**
|
|
120152
|
-
* SubscriptionCreated orgId.
|
|
120153
|
-
* @member {number} orgId
|
|
120154
|
-
* @memberof SubscriptionCreated
|
|
120155
|
-
* @instance
|
|
120156
|
-
*/
|
|
120157
|
-
SubscriptionCreated.prototype.orgId = 0;
|
|
120158
|
-
|
|
120159
120150
|
/**
|
|
120160
120151
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
120161
120152
|
* @function create
|
|
@@ -120217,8 +120208,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120217
120208
|
writer.uint32(/* id 15, wireType 0 =*/120).int32(message.membership);
|
|
120218
120209
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
120219
120210
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
120220
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120221
|
-
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.orgId);
|
|
120222
120211
|
return writer;
|
|
120223
120212
|
};
|
|
120224
120213
|
|
|
@@ -120310,9 +120299,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120310
120299
|
case 16:
|
|
120311
120300
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
120312
120301
|
break;
|
|
120313
|
-
case 17:
|
|
120314
|
-
message.orgId = reader.int32();
|
|
120315
|
-
break;
|
|
120316
120302
|
default:
|
|
120317
120303
|
reader.skipType(tag & 7);
|
|
120318
120304
|
break;
|
|
@@ -120445,9 +120431,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120445
120431
|
if (error)
|
|
120446
120432
|
return "productSku." + error;
|
|
120447
120433
|
}
|
|
120448
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120449
|
-
if (!$util.isInteger(message.orgId))
|
|
120450
|
-
return "orgId: integer expected";
|
|
120451
120434
|
return null;
|
|
120452
120435
|
};
|
|
120453
120436
|
|
|
@@ -120624,8 +120607,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120624
120607
|
throw TypeError(".SubscriptionCreated.productSku: object expected");
|
|
120625
120608
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
120626
120609
|
}
|
|
120627
|
-
if (object.orgId != null)
|
|
120628
|
-
message.orgId = object.orgId | 0;
|
|
120629
120610
|
return message;
|
|
120630
120611
|
};
|
|
120631
120612
|
|
|
@@ -120677,7 +120658,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120677
120658
|
object.isQueuedSubscription = false;
|
|
120678
120659
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
120679
120660
|
object.productSku = null;
|
|
120680
|
-
object.orgId = 0;
|
|
120681
120661
|
}
|
|
120682
120662
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
120683
120663
|
object.id = message.id;
|
|
@@ -120729,8 +120709,6 @@ $root.SubscriptionCreated = (function() {
|
|
|
120729
120709
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
120730
120710
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
120731
120711
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
120732
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
120733
|
-
object.orgId = message.orgId;
|
|
120734
120712
|
return object;
|
|
120735
120713
|
};
|
|
120736
120714
|
|
|
@@ -120772,7 +120750,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
120772
120750
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCancelled terms
|
|
120773
120751
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCancelled membership
|
|
120774
120752
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCancelled productSku
|
|
120775
|
-
* @property {number|null} [orgId] SubscriptionCancelled orgId
|
|
120776
120753
|
*/
|
|
120777
120754
|
|
|
120778
120755
|
/**
|
|
@@ -120936,14 +120913,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
120936
120913
|
*/
|
|
120937
120914
|
SubscriptionCancelled.prototype.productSku = null;
|
|
120938
120915
|
|
|
120939
|
-
/**
|
|
120940
|
-
* SubscriptionCancelled orgId.
|
|
120941
|
-
* @member {number} orgId
|
|
120942
|
-
* @memberof SubscriptionCancelled
|
|
120943
|
-
* @instance
|
|
120944
|
-
*/
|
|
120945
|
-
SubscriptionCancelled.prototype.orgId = 0;
|
|
120946
|
-
|
|
120947
120916
|
/**
|
|
120948
120917
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
120949
120918
|
* @function create
|
|
@@ -121009,8 +120978,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121009
120978
|
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.membership);
|
|
121010
120979
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
121011
120980
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
121012
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
121013
|
-
writer.uint32(/* id 19, wireType 0 =*/152).int32(message.orgId);
|
|
121014
120981
|
return writer;
|
|
121015
120982
|
};
|
|
121016
120983
|
|
|
@@ -121108,9 +121075,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121108
121075
|
case 18:
|
|
121109
121076
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
121110
121077
|
break;
|
|
121111
|
-
case 19:
|
|
121112
|
-
message.orgId = reader.int32();
|
|
121113
|
-
break;
|
|
121114
121078
|
default:
|
|
121115
121079
|
reader.skipType(tag & 7);
|
|
121116
121080
|
break;
|
|
@@ -121257,9 +121221,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121257
121221
|
if (error)
|
|
121258
121222
|
return "productSku." + error;
|
|
121259
121223
|
}
|
|
121260
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
121261
|
-
if (!$util.isInteger(message.orgId))
|
|
121262
|
-
return "orgId: integer expected";
|
|
121263
121224
|
return null;
|
|
121264
121225
|
};
|
|
121265
121226
|
|
|
@@ -121462,8 +121423,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121462
121423
|
throw TypeError(".SubscriptionCancelled.productSku: object expected");
|
|
121463
121424
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
121464
121425
|
}
|
|
121465
|
-
if (object.orgId != null)
|
|
121466
|
-
message.orgId = object.orgId | 0;
|
|
121467
121426
|
return message;
|
|
121468
121427
|
};
|
|
121469
121428
|
|
|
@@ -121521,7 +121480,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121521
121480
|
object.renewalCount = options.longs === String ? "0" : 0;
|
|
121522
121481
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
121523
121482
|
object.productSku = null;
|
|
121524
|
-
object.orgId = 0;
|
|
121525
121483
|
}
|
|
121526
121484
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
121527
121485
|
object.id = message.id;
|
|
@@ -121580,8 +121538,6 @@ $root.SubscriptionCancelled = (function() {
|
|
|
121580
121538
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
121581
121539
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
121582
121540
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
121583
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
121584
|
-
object.orgId = message.orgId;
|
|
121585
121541
|
return object;
|
|
121586
121542
|
};
|
|
121587
121543
|
|
|
@@ -126493,7 +126449,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126493
126449
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionAmended terms
|
|
126494
126450
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionAmended membership
|
|
126495
126451
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionAmended productSku
|
|
126496
|
-
* @property {number|null} [orgId] SubscriptionAmended orgId
|
|
126497
126452
|
*/
|
|
126498
126453
|
|
|
126499
126454
|
/**
|
|
@@ -126641,14 +126596,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126641
126596
|
*/
|
|
126642
126597
|
SubscriptionAmended.prototype.productSku = null;
|
|
126643
126598
|
|
|
126644
|
-
/**
|
|
126645
|
-
* SubscriptionAmended orgId.
|
|
126646
|
-
* @member {number} orgId
|
|
126647
|
-
* @memberof SubscriptionAmended
|
|
126648
|
-
* @instance
|
|
126649
|
-
*/
|
|
126650
|
-
SubscriptionAmended.prototype.orgId = 0;
|
|
126651
|
-
|
|
126652
126599
|
/**
|
|
126653
126600
|
* Creates a new SubscriptionAmended instance using the specified properties.
|
|
126654
126601
|
* @function create
|
|
@@ -126710,8 +126657,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126710
126657
|
writer.uint32(/* id 16, wireType 0 =*/128).int32(message.membership);
|
|
126711
126658
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
126712
126659
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
126713
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
126714
|
-
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.orgId);
|
|
126715
126660
|
return writer;
|
|
126716
126661
|
};
|
|
126717
126662
|
|
|
@@ -126803,9 +126748,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126803
126748
|
case 17:
|
|
126804
126749
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
126805
126750
|
break;
|
|
126806
|
-
case 18:
|
|
126807
|
-
message.orgId = reader.int32();
|
|
126808
|
-
break;
|
|
126809
126751
|
default:
|
|
126810
126752
|
reader.skipType(tag & 7);
|
|
126811
126753
|
break;
|
|
@@ -126938,9 +126880,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
126938
126880
|
if (error)
|
|
126939
126881
|
return "productSku." + error;
|
|
126940
126882
|
}
|
|
126941
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
126942
|
-
if (!$util.isInteger(message.orgId))
|
|
126943
|
-
return "orgId: integer expected";
|
|
126944
126883
|
return null;
|
|
126945
126884
|
};
|
|
126946
126885
|
|
|
@@ -127124,8 +127063,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
127124
127063
|
throw TypeError(".SubscriptionAmended.productSku: object expected");
|
|
127125
127064
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
127126
127065
|
}
|
|
127127
|
-
if (object.orgId != null)
|
|
127128
|
-
message.orgId = object.orgId | 0;
|
|
127129
127066
|
return message;
|
|
127130
127067
|
};
|
|
127131
127068
|
|
|
@@ -127181,7 +127118,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
127181
127118
|
object.id = 0;
|
|
127182
127119
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
127183
127120
|
object.productSku = null;
|
|
127184
|
-
object.orgId = 0;
|
|
127185
127121
|
}
|
|
127186
127122
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
127187
127123
|
if (typeof message.updatedOn === "number")
|
|
@@ -127236,8 +127172,6 @@ $root.SubscriptionAmended = (function() {
|
|
|
127236
127172
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
127237
127173
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
127238
127174
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
127239
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
127240
|
-
object.orgId = message.orgId;
|
|
127241
127175
|
return object;
|
|
127242
127176
|
};
|
|
127243
127177
|
|
package/package.json
CHANGED