@headspace/protos-events 1.467.0 → 1.468.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 +18 -0
- package/lib/index.js +66 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -42330,6 +42330,9 @@ export interface ISubscriptionCreated {
|
|
|
42330
42330
|
|
|
42331
42331
|
/** SubscriptionCreated productSku */
|
|
42332
42332
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42333
|
+
|
|
42334
|
+
/** SubscriptionCreated orgId */
|
|
42335
|
+
orgId?: (number|null);
|
|
42333
42336
|
}
|
|
42334
42337
|
|
|
42335
42338
|
/** Represents a SubscriptionCreated. */
|
|
@@ -42389,6 +42392,9 @@ export class SubscriptionCreated implements ISubscriptionCreated {
|
|
|
42389
42392
|
/** SubscriptionCreated productSku. */
|
|
42390
42393
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42391
42394
|
|
|
42395
|
+
/** SubscriptionCreated orgId. */
|
|
42396
|
+
public orgId: number;
|
|
42397
|
+
|
|
42392
42398
|
/**
|
|
42393
42399
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
42394
42400
|
* @param [properties] Properties to set
|
|
@@ -42516,6 +42522,9 @@ export interface ISubscriptionCancelled {
|
|
|
42516
42522
|
|
|
42517
42523
|
/** SubscriptionCancelled productSku */
|
|
42518
42524
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42525
|
+
|
|
42526
|
+
/** SubscriptionCancelled orgId */
|
|
42527
|
+
orgId?: (number|null);
|
|
42519
42528
|
}
|
|
42520
42529
|
|
|
42521
42530
|
/** Represents a SubscriptionCancelled. */
|
|
@@ -42581,6 +42590,9 @@ export class SubscriptionCancelled implements ISubscriptionCancelled {
|
|
|
42581
42590
|
/** SubscriptionCancelled productSku. */
|
|
42582
42591
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
42583
42592
|
|
|
42593
|
+
/** SubscriptionCancelled orgId. */
|
|
42594
|
+
public orgId: number;
|
|
42595
|
+
|
|
42584
42596
|
/**
|
|
42585
42597
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
42586
42598
|
* @param [properties] Properties to set
|
|
@@ -43974,6 +43986,9 @@ export interface ISubscriptionAmended {
|
|
|
43974
43986
|
|
|
43975
43987
|
/** SubscriptionAmended productSku */
|
|
43976
43988
|
productSku?: (subscription.ISubscriptionProductSku|null);
|
|
43989
|
+
|
|
43990
|
+
/** SubscriptionAmended orgId */
|
|
43991
|
+
orgId?: (number|null);
|
|
43977
43992
|
}
|
|
43978
43993
|
|
|
43979
43994
|
/** Represents a SubscriptionAmended. */
|
|
@@ -44033,6 +44048,9 @@ export class SubscriptionAmended implements ISubscriptionAmended {
|
|
|
44033
44048
|
/** SubscriptionAmended productSku. */
|
|
44034
44049
|
public productSku?: (subscription.ISubscriptionProductSku|null);
|
|
44035
44050
|
|
|
44051
|
+
/** SubscriptionAmended orgId. */
|
|
44052
|
+
public orgId: number;
|
|
44053
|
+
|
|
44036
44054
|
/**
|
|
44037
44055
|
* Creates a new SubscriptionAmended instance using the specified properties.
|
|
44038
44056
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -118381,6 +118381,7 @@ $root.SubscriptionCreated = (function() {
|
|
|
118381
118381
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCreated terms
|
|
118382
118382
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCreated membership
|
|
118383
118383
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCreated productSku
|
|
118384
|
+
* @property {number|null} [orgId] SubscriptionCreated orgId
|
|
118384
118385
|
*/
|
|
118385
118386
|
|
|
118386
118387
|
/**
|
|
@@ -118528,6 +118529,14 @@ $root.SubscriptionCreated = (function() {
|
|
|
118528
118529
|
*/
|
|
118529
118530
|
SubscriptionCreated.prototype.productSku = null;
|
|
118530
118531
|
|
|
118532
|
+
/**
|
|
118533
|
+
* SubscriptionCreated orgId.
|
|
118534
|
+
* @member {number} orgId
|
|
118535
|
+
* @memberof SubscriptionCreated
|
|
118536
|
+
* @instance
|
|
118537
|
+
*/
|
|
118538
|
+
SubscriptionCreated.prototype.orgId = 0;
|
|
118539
|
+
|
|
118531
118540
|
/**
|
|
118532
118541
|
* Creates a new SubscriptionCreated instance using the specified properties.
|
|
118533
118542
|
* @function create
|
|
@@ -118589,6 +118598,8 @@ $root.SubscriptionCreated = (function() {
|
|
|
118589
118598
|
writer.uint32(/* id 15, wireType 0 =*/120).int32(message.membership);
|
|
118590
118599
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
118591
118600
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
|
|
118601
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
118602
|
+
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.orgId);
|
|
118592
118603
|
return writer;
|
|
118593
118604
|
};
|
|
118594
118605
|
|
|
@@ -118680,6 +118691,9 @@ $root.SubscriptionCreated = (function() {
|
|
|
118680
118691
|
case 16:
|
|
118681
118692
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
118682
118693
|
break;
|
|
118694
|
+
case 17:
|
|
118695
|
+
message.orgId = reader.int32();
|
|
118696
|
+
break;
|
|
118683
118697
|
default:
|
|
118684
118698
|
reader.skipType(tag & 7);
|
|
118685
118699
|
break;
|
|
@@ -118812,6 +118826,9 @@ $root.SubscriptionCreated = (function() {
|
|
|
118812
118826
|
if (error)
|
|
118813
118827
|
return "productSku." + error;
|
|
118814
118828
|
}
|
|
118829
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
118830
|
+
if (!$util.isInteger(message.orgId))
|
|
118831
|
+
return "orgId: integer expected";
|
|
118815
118832
|
return null;
|
|
118816
118833
|
};
|
|
118817
118834
|
|
|
@@ -118988,6 +119005,8 @@ $root.SubscriptionCreated = (function() {
|
|
|
118988
119005
|
throw TypeError(".SubscriptionCreated.productSku: object expected");
|
|
118989
119006
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
118990
119007
|
}
|
|
119008
|
+
if (object.orgId != null)
|
|
119009
|
+
message.orgId = object.orgId | 0;
|
|
118991
119010
|
return message;
|
|
118992
119011
|
};
|
|
118993
119012
|
|
|
@@ -119039,6 +119058,7 @@ $root.SubscriptionCreated = (function() {
|
|
|
119039
119058
|
object.isQueuedSubscription = false;
|
|
119040
119059
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
119041
119060
|
object.productSku = null;
|
|
119061
|
+
object.orgId = 0;
|
|
119042
119062
|
}
|
|
119043
119063
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
119044
119064
|
object.id = message.id;
|
|
@@ -119090,6 +119110,8 @@ $root.SubscriptionCreated = (function() {
|
|
|
119090
119110
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
119091
119111
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
119092
119112
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
119113
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
119114
|
+
object.orgId = message.orgId;
|
|
119093
119115
|
return object;
|
|
119094
119116
|
};
|
|
119095
119117
|
|
|
@@ -119131,6 +119153,7 @@ $root.SubscriptionCancelled = (function() {
|
|
|
119131
119153
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionCancelled terms
|
|
119132
119154
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionCancelled membership
|
|
119133
119155
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionCancelled productSku
|
|
119156
|
+
* @property {number|null} [orgId] SubscriptionCancelled orgId
|
|
119134
119157
|
*/
|
|
119135
119158
|
|
|
119136
119159
|
/**
|
|
@@ -119294,6 +119317,14 @@ $root.SubscriptionCancelled = (function() {
|
|
|
119294
119317
|
*/
|
|
119295
119318
|
SubscriptionCancelled.prototype.productSku = null;
|
|
119296
119319
|
|
|
119320
|
+
/**
|
|
119321
|
+
* SubscriptionCancelled orgId.
|
|
119322
|
+
* @member {number} orgId
|
|
119323
|
+
* @memberof SubscriptionCancelled
|
|
119324
|
+
* @instance
|
|
119325
|
+
*/
|
|
119326
|
+
SubscriptionCancelled.prototype.orgId = 0;
|
|
119327
|
+
|
|
119297
119328
|
/**
|
|
119298
119329
|
* Creates a new SubscriptionCancelled instance using the specified properties.
|
|
119299
119330
|
* @function create
|
|
@@ -119359,6 +119390,8 @@ $root.SubscriptionCancelled = (function() {
|
|
|
119359
119390
|
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.membership);
|
|
119360
119391
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
119361
119392
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 18, wireType 2 =*/146).fork()).ldelim();
|
|
119393
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
119394
|
+
writer.uint32(/* id 19, wireType 0 =*/152).int32(message.orgId);
|
|
119362
119395
|
return writer;
|
|
119363
119396
|
};
|
|
119364
119397
|
|
|
@@ -119456,6 +119489,9 @@ $root.SubscriptionCancelled = (function() {
|
|
|
119456
119489
|
case 18:
|
|
119457
119490
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
119458
119491
|
break;
|
|
119492
|
+
case 19:
|
|
119493
|
+
message.orgId = reader.int32();
|
|
119494
|
+
break;
|
|
119459
119495
|
default:
|
|
119460
119496
|
reader.skipType(tag & 7);
|
|
119461
119497
|
break;
|
|
@@ -119602,6 +119638,9 @@ $root.SubscriptionCancelled = (function() {
|
|
|
119602
119638
|
if (error)
|
|
119603
119639
|
return "productSku." + error;
|
|
119604
119640
|
}
|
|
119641
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
119642
|
+
if (!$util.isInteger(message.orgId))
|
|
119643
|
+
return "orgId: integer expected";
|
|
119605
119644
|
return null;
|
|
119606
119645
|
};
|
|
119607
119646
|
|
|
@@ -119804,6 +119843,8 @@ $root.SubscriptionCancelled = (function() {
|
|
|
119804
119843
|
throw TypeError(".SubscriptionCancelled.productSku: object expected");
|
|
119805
119844
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
119806
119845
|
}
|
|
119846
|
+
if (object.orgId != null)
|
|
119847
|
+
message.orgId = object.orgId | 0;
|
|
119807
119848
|
return message;
|
|
119808
119849
|
};
|
|
119809
119850
|
|
|
@@ -119861,6 +119902,7 @@ $root.SubscriptionCancelled = (function() {
|
|
|
119861
119902
|
object.renewalCount = options.longs === String ? "0" : 0;
|
|
119862
119903
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
119863
119904
|
object.productSku = null;
|
|
119905
|
+
object.orgId = 0;
|
|
119864
119906
|
}
|
|
119865
119907
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
119866
119908
|
object.id = message.id;
|
|
@@ -119919,6 +119961,8 @@ $root.SubscriptionCancelled = (function() {
|
|
|
119919
119961
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
119920
119962
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
119921
119963
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
119964
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
119965
|
+
object.orgId = message.orgId;
|
|
119922
119966
|
return object;
|
|
119923
119967
|
};
|
|
119924
119968
|
|
|
@@ -124830,6 +124874,7 @@ $root.SubscriptionAmended = (function() {
|
|
|
124830
124874
|
* @property {Array.<subscription.ITerm>|null} [terms] SubscriptionAmended terms
|
|
124831
124875
|
* @property {subscription.SubscriptionMembership|null} [membership] SubscriptionAmended membership
|
|
124832
124876
|
* @property {subscription.ISubscriptionProductSku|null} [productSku] SubscriptionAmended productSku
|
|
124877
|
+
* @property {number|null} [orgId] SubscriptionAmended orgId
|
|
124833
124878
|
*/
|
|
124834
124879
|
|
|
124835
124880
|
/**
|
|
@@ -124977,6 +125022,14 @@ $root.SubscriptionAmended = (function() {
|
|
|
124977
125022
|
*/
|
|
124978
125023
|
SubscriptionAmended.prototype.productSku = null;
|
|
124979
125024
|
|
|
125025
|
+
/**
|
|
125026
|
+
* SubscriptionAmended orgId.
|
|
125027
|
+
* @member {number} orgId
|
|
125028
|
+
* @memberof SubscriptionAmended
|
|
125029
|
+
* @instance
|
|
125030
|
+
*/
|
|
125031
|
+
SubscriptionAmended.prototype.orgId = 0;
|
|
125032
|
+
|
|
124980
125033
|
/**
|
|
124981
125034
|
* Creates a new SubscriptionAmended instance using the specified properties.
|
|
124982
125035
|
* @function create
|
|
@@ -125038,6 +125091,8 @@ $root.SubscriptionAmended = (function() {
|
|
|
125038
125091
|
writer.uint32(/* id 16, wireType 0 =*/128).int32(message.membership);
|
|
125039
125092
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
125040
125093
|
$root.subscription.SubscriptionProductSku.encode(message.productSku, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
125094
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
125095
|
+
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.orgId);
|
|
125041
125096
|
return writer;
|
|
125042
125097
|
};
|
|
125043
125098
|
|
|
@@ -125129,6 +125184,9 @@ $root.SubscriptionAmended = (function() {
|
|
|
125129
125184
|
case 17:
|
|
125130
125185
|
message.productSku = $root.subscription.SubscriptionProductSku.decode(reader, reader.uint32());
|
|
125131
125186
|
break;
|
|
125187
|
+
case 18:
|
|
125188
|
+
message.orgId = reader.int32();
|
|
125189
|
+
break;
|
|
125132
125190
|
default:
|
|
125133
125191
|
reader.skipType(tag & 7);
|
|
125134
125192
|
break;
|
|
@@ -125261,6 +125319,9 @@ $root.SubscriptionAmended = (function() {
|
|
|
125261
125319
|
if (error)
|
|
125262
125320
|
return "productSku." + error;
|
|
125263
125321
|
}
|
|
125322
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
125323
|
+
if (!$util.isInteger(message.orgId))
|
|
125324
|
+
return "orgId: integer expected";
|
|
125264
125325
|
return null;
|
|
125265
125326
|
};
|
|
125266
125327
|
|
|
@@ -125444,6 +125505,8 @@ $root.SubscriptionAmended = (function() {
|
|
|
125444
125505
|
throw TypeError(".SubscriptionAmended.productSku: object expected");
|
|
125445
125506
|
message.productSku = $root.subscription.SubscriptionProductSku.fromObject(object.productSku);
|
|
125446
125507
|
}
|
|
125508
|
+
if (object.orgId != null)
|
|
125509
|
+
message.orgId = object.orgId | 0;
|
|
125447
125510
|
return message;
|
|
125448
125511
|
};
|
|
125449
125512
|
|
|
@@ -125499,6 +125562,7 @@ $root.SubscriptionAmended = (function() {
|
|
|
125499
125562
|
object.id = 0;
|
|
125500
125563
|
object.membership = options.enums === String ? "PRIMARY" : 0;
|
|
125501
125564
|
object.productSku = null;
|
|
125565
|
+
object.orgId = 0;
|
|
125502
125566
|
}
|
|
125503
125567
|
if (message.updatedOn != null && message.hasOwnProperty("updatedOn"))
|
|
125504
125568
|
if (typeof message.updatedOn === "number")
|
|
@@ -125553,6 +125617,8 @@ $root.SubscriptionAmended = (function() {
|
|
|
125553
125617
|
object.membership = options.enums === String ? $root.subscription.SubscriptionMembership[message.membership] : message.membership;
|
|
125554
125618
|
if (message.productSku != null && message.hasOwnProperty("productSku"))
|
|
125555
125619
|
object.productSku = $root.subscription.SubscriptionProductSku.toObject(message.productSku, options);
|
|
125620
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
125621
|
+
object.orgId = message.orgId;
|
|
125556
125622
|
return object;
|
|
125557
125623
|
};
|
|
125558
125624
|
|
package/package.json
CHANGED