@onereach/billing-shared 11.12.0 → 11.13.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.
@@ -21,4 +21,5 @@ __exportStar(require("./audit"), exports);
21
21
  __exportStar(require("./category-namespace"), exports);
22
22
  __exportStar(require("./journal-entry-status"), exports);
23
23
  __exportStar(require("./date-operator"), exports);
24
+ __exportStar(require("./progressive-tiers"), exports);
24
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,2CAAyB;AACzB,6CAA2B;AAC3B,0CAAwB;AACxB,uDAAqC;AACrC,yDAAuC;AACvC,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,2CAAyB;AACzB,6CAA2B;AAC3B,0CAAwB;AACxB,uDAAqC;AACrC,yDAAuC;AACvC,kDAAgC;AAChC,sDAAoC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PricingType = exports.DateType = exports.PricingRuleType = void 0;
4
+ var PricingRuleType;
5
+ (function (PricingRuleType) {
6
+ PricingRuleType["RANGE_BASED"] = "range_based";
7
+ PricingRuleType["UP_TO"] = "up_to";
8
+ })(PricingRuleType || (exports.PricingRuleType = PricingRuleType = {}));
9
+ var DateType;
10
+ (function (DateType) {
11
+ DateType["MONTHLY"] = "monthly";
12
+ DateType["ACCUMULATIVE"] = "accumulative";
13
+ })(DateType || (exports.DateType = DateType = {}));
14
+ var PricingType;
15
+ (function (PricingType) {
16
+ PricingType["UNITS"] = "units";
17
+ PricingType["SPENT"] = "spent";
18
+ })(PricingType || (exports.PricingType = PricingType = {}));
19
+ //# sourceMappingURL=progressive-tiers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progressive-tiers.js","sourceRoot":"","sources":["../../../src/enums/progressive-tiers.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAC3B,kCAAe,CAAA;AACjB,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAED,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,+BAAmB,CAAA;IACnB,yCAA6B,CAAA;AAC/B,CAAC,EAHW,QAAQ,wBAAR,QAAQ,QAGnB;AAED,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,8BAAe,CAAA;IACf,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
@@ -5,4 +5,5 @@ export * from './audit';
5
5
  export * from './category-namespace';
6
6
  export * from './journal-entry-status';
7
7
  export * from './date-operator';
8
+ export * from './progressive-tiers';
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,16 @@
1
+ export var PricingRuleType;
2
+ (function (PricingRuleType) {
3
+ PricingRuleType["RANGE_BASED"] = "range_based";
4
+ PricingRuleType["UP_TO"] = "up_to";
5
+ })(PricingRuleType || (PricingRuleType = {}));
6
+ export var DateType;
7
+ (function (DateType) {
8
+ DateType["MONTHLY"] = "monthly";
9
+ DateType["ACCUMULATIVE"] = "accumulative";
10
+ })(DateType || (DateType = {}));
11
+ export var PricingType;
12
+ (function (PricingType) {
13
+ PricingType["UNITS"] = "units";
14
+ PricingType["SPENT"] = "spent";
15
+ })(PricingType || (PricingType = {}));
16
+ //# sourceMappingURL=progressive-tiers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progressive-tiers.js","sourceRoot":"","sources":["../../../src/enums/progressive-tiers.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAC3B,kCAAe,CAAA;AACjB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAED,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,+BAAmB,CAAA;IACnB,yCAA6B,CAAA;AAC/B,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAED,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,8BAAe,CAAA;IACf,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB"}
@@ -5,4 +5,5 @@ export * from './audit';
5
5
  export * from './category-namespace';
6
6
  export * from './journal-entry-status';
7
7
  export * from './date-operator';
8
+ export * from './progressive-tiers';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,13 @@
1
+ export declare enum PricingRuleType {
2
+ RANGE_BASED = "range_based",
3
+ UP_TO = "up_to"
4
+ }
5
+ export declare enum DateType {
6
+ MONTHLY = "monthly",
7
+ ACCUMULATIVE = "accumulative"
8
+ }
9
+ export declare enum PricingType {
10
+ UNITS = "units",
11
+ SPENT = "spent"
12
+ }
13
+ //# sourceMappingURL=progressive-tiers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progressive-tiers.d.ts","sourceRoot":"","sources":["../../../src/enums/progressive-tiers.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;CAChB;AAED,oBAAY,QAAQ;IAClB,OAAO,YAAY;IACnB,YAAY,iBAAiB;CAC9B;AAED,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/billing-shared",
3
- "version": "11.12.0",
3
+ "version": "11.13.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -5,3 +5,4 @@ export * from './audit';
5
5
  export * from './category-namespace';
6
6
  export * from './journal-entry-status';
7
7
  export * from './date-operator';
8
+ export * from './progressive-tiers';
@@ -0,0 +1,14 @@
1
+ export enum PricingRuleType {
2
+ RANGE_BASED = 'range_based',
3
+ UP_TO = 'up_to',
4
+ }
5
+
6
+ export enum DateType {
7
+ MONTHLY = 'monthly',
8
+ ACCUMULATIVE = 'accumulative',
9
+ }
10
+
11
+ export enum PricingType {
12
+ UNITS = 'units',
13
+ SPENT = 'spent',
14
+ }