@readytomog/contracts 1.6.3 → 1.6.4

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.
@@ -4,9 +4,9 @@ export declare enum EventTypeEnum {
4
4
  PAYMENT_FAILED = "invoice.payment_failed"
5
5
  }
6
6
  export declare enum BillingReasonEnum {
7
- subscription_cycle = 0
7
+ subscription_cycle = "subscription_cycle"
8
8
  }
9
9
  export declare enum BillingPeriod {
10
- monthly = 0,
11
- annualy = 1
10
+ monthly = "monthly",
11
+ annualy = "annualy"
12
12
  }
@@ -9,10 +9,10 @@ var EventTypeEnum;
9
9
  })(EventTypeEnum || (exports.EventTypeEnum = EventTypeEnum = {}));
10
10
  var BillingReasonEnum;
11
11
  (function (BillingReasonEnum) {
12
- BillingReasonEnum[BillingReasonEnum["subscription_cycle"] = 0] = "subscription_cycle";
12
+ BillingReasonEnum["subscription_cycle"] = "subscription_cycle";
13
13
  })(BillingReasonEnum || (exports.BillingReasonEnum = BillingReasonEnum = {}));
14
14
  var BillingPeriod;
15
15
  (function (BillingPeriod) {
16
- BillingPeriod[BillingPeriod["monthly"] = 0] = "monthly";
17
- BillingPeriod[BillingPeriod["annualy"] = 1] = "annualy";
16
+ BillingPeriod["monthly"] = "monthly";
17
+ BillingPeriod["annualy"] = "annualy";
18
18
  })(BillingPeriod || (exports.BillingPeriod = BillingPeriod = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readytomog/contracts",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "Protobuf definitions and generated Typescript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",