@headspace/protos-events 1.410.0 → 1.411.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 -6
- package/lib/index.js +0 -22
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7443,9 +7443,6 @@ export namespace subscription {
|
|
|
7443
7443
|
/** Properties of a Plan. */
|
|
7444
7444
|
interface IPlan {
|
|
7445
7445
|
|
|
7446
|
-
/** Plan id */
|
|
7447
|
-
id?: (number|null);
|
|
7448
|
-
|
|
7449
7446
|
/** Plan description */
|
|
7450
7447
|
description?: (string|null);
|
|
7451
7448
|
|
|
@@ -7480,9 +7477,6 @@ export namespace subscription {
|
|
|
7480
7477
|
*/
|
|
7481
7478
|
constructor(properties?: subscription.IPlan);
|
|
7482
7479
|
|
|
7483
|
-
/** Plan id. */
|
|
7484
|
-
public id: number;
|
|
7485
|
-
|
|
7486
7480
|
/** Plan description. */
|
|
7487
7481
|
public description: string;
|
|
7488
7482
|
|
package/lib/index.js
CHANGED
|
@@ -17607,7 +17607,6 @@ $root.subscription = (function() {
|
|
|
17607
17607
|
* Properties of a Plan.
|
|
17608
17608
|
* @memberof subscription
|
|
17609
17609
|
* @interface IPlan
|
|
17610
|
-
* @property {number|null} [id] Plan id
|
|
17611
17610
|
* @property {string|null} [description] Plan description
|
|
17612
17611
|
* @property {number|null} [termLength] Plan termLength
|
|
17613
17612
|
* @property {string|null} [name] Plan name
|
|
@@ -17633,14 +17632,6 @@ $root.subscription = (function() {
|
|
|
17633
17632
|
this[keys[i]] = properties[keys[i]];
|
|
17634
17633
|
}
|
|
17635
17634
|
|
|
17636
|
-
/**
|
|
17637
|
-
* Plan id.
|
|
17638
|
-
* @member {number} id
|
|
17639
|
-
* @memberof subscription.Plan
|
|
17640
|
-
* @instance
|
|
17641
|
-
*/
|
|
17642
|
-
Plan.prototype.id = 0;
|
|
17643
|
-
|
|
17644
17635
|
/**
|
|
17645
17636
|
* Plan description.
|
|
17646
17637
|
* @member {string} description
|
|
@@ -17729,8 +17720,6 @@ $root.subscription = (function() {
|
|
|
17729
17720
|
Plan.encode = function encode(message, writer) {
|
|
17730
17721
|
if (!writer)
|
|
17731
17722
|
writer = $Writer.create();
|
|
17732
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
17733
|
-
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.id);
|
|
17734
17723
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
17735
17724
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.description);
|
|
17736
17725
|
if (message.termLength != null && message.hasOwnProperty("termLength"))
|
|
@@ -17781,9 +17770,6 @@ $root.subscription = (function() {
|
|
|
17781
17770
|
while (reader.pos < end) {
|
|
17782
17771
|
var tag = reader.uint32();
|
|
17783
17772
|
switch (tag >>> 3) {
|
|
17784
|
-
case 1:
|
|
17785
|
-
message.id = reader.int32();
|
|
17786
|
-
break;
|
|
17787
17773
|
case 2:
|
|
17788
17774
|
message.description = reader.string();
|
|
17789
17775
|
break;
|
|
@@ -17843,9 +17829,6 @@ $root.subscription = (function() {
|
|
|
17843
17829
|
Plan.verify = function verify(message) {
|
|
17844
17830
|
if (typeof message !== "object" || message === null)
|
|
17845
17831
|
return "object expected";
|
|
17846
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
17847
|
-
if (!$util.isInteger(message.id))
|
|
17848
|
-
return "id: integer expected";
|
|
17849
17832
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
17850
17833
|
if (!$util.isString(message.description))
|
|
17851
17834
|
return "description: string expected";
|
|
@@ -17885,8 +17868,6 @@ $root.subscription = (function() {
|
|
|
17885
17868
|
if (object instanceof $root.subscription.Plan)
|
|
17886
17869
|
return object;
|
|
17887
17870
|
var message = new $root.subscription.Plan();
|
|
17888
|
-
if (object.id != null)
|
|
17889
|
-
message.id = object.id | 0;
|
|
17890
17871
|
if (object.description != null)
|
|
17891
17872
|
message.description = String(object.description);
|
|
17892
17873
|
if (object.termLength != null)
|
|
@@ -17920,7 +17901,6 @@ $root.subscription = (function() {
|
|
|
17920
17901
|
options = {};
|
|
17921
17902
|
var object = {};
|
|
17922
17903
|
if (options.defaults) {
|
|
17923
|
-
object.id = 0;
|
|
17924
17904
|
object.description = "";
|
|
17925
17905
|
object.termLength = 0;
|
|
17926
17906
|
object.name = "";
|
|
@@ -17930,8 +17910,6 @@ $root.subscription = (function() {
|
|
|
17930
17910
|
object.renewalTermLength = 0;
|
|
17931
17911
|
object.serviceActivationDelay = 0;
|
|
17932
17912
|
}
|
|
17933
|
-
if (message.id != null && message.hasOwnProperty("id"))
|
|
17934
|
-
object.id = message.id;
|
|
17935
17913
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
17936
17914
|
object.description = message.description;
|
|
17937
17915
|
if (message.termLength != null && message.hasOwnProperty("termLength"))
|
package/package.json
CHANGED