@onereach/billing-shared 11.5.0 → 11.6.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/dist/cjs/enums/customer.js +14 -1
- package/dist/cjs/enums/customer.js.map +1 -1
- package/dist/esm/enums/customer.js +13 -0
- package/dist/esm/enums/customer.js.map +1 -1
- package/dist/types/enums/customer.d.ts +11 -0
- package/dist/types/enums/customer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/enums/customer.ts +14 -0
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerPaymentStrategies = void 0;
|
|
3
|
+
exports.CustomerInvoicingStatuses = exports.CustomerStatuses = exports.CustomerPaymentStrategies = void 0;
|
|
4
4
|
var CustomerPaymentStrategies;
|
|
5
5
|
(function (CustomerPaymentStrategies) {
|
|
6
6
|
CustomerPaymentStrategies["postpayment"] = "postpayment";
|
|
7
7
|
CustomerPaymentStrategies["prepayment"] = "prepayment";
|
|
8
8
|
})(CustomerPaymentStrategies || (exports.CustomerPaymentStrategies = CustomerPaymentStrategies = {}));
|
|
9
|
+
var CustomerStatuses;
|
|
10
|
+
(function (CustomerStatuses) {
|
|
11
|
+
CustomerStatuses["active"] = "active";
|
|
12
|
+
CustomerStatuses["inactive"] = "inactive";
|
|
13
|
+
CustomerStatuses["suspended"] = "suspended";
|
|
14
|
+
CustomerStatuses["trial"] = "trial";
|
|
15
|
+
CustomerStatuses["deleted"] = "DELETED";
|
|
16
|
+
})(CustomerStatuses || (exports.CustomerStatuses = CustomerStatuses = {}));
|
|
17
|
+
var CustomerInvoicingStatuses;
|
|
18
|
+
(function (CustomerInvoicingStatuses) {
|
|
19
|
+
CustomerInvoicingStatuses["qa"] = "qa";
|
|
20
|
+
CustomerInvoicingStatuses["live"] = "live";
|
|
21
|
+
})(CustomerInvoicingStatuses || (exports.CustomerInvoicingStatuses = CustomerInvoicingStatuses = {}));
|
|
9
22
|
//# sourceMappingURL=customer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.js","sourceRoot":"","sources":["../../../src/enums/customer.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,wDAA2B,CAAA;IAC3B,sDAAyB,CAAA;AAC3B,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC"}
|
|
1
|
+
{"version":3,"file":"customer.js","sourceRoot":"","sources":["../../../src/enums/customer.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,wDAA2B,CAAA;IAC3B,sDAAyB,CAAA;AAC3B,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC;AAED,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,qCAAiB,CAAA;IACjB,yCAAqB,CAAA;IACrB,2CAAuB,CAAA;IACvB,mCAAe,CAAA;IACf,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,sCAAS,CAAA;IACT,0CAAa,CAAA;AACf,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC"}
|
|
@@ -3,4 +3,17 @@ export var CustomerPaymentStrategies;
|
|
|
3
3
|
CustomerPaymentStrategies["postpayment"] = "postpayment";
|
|
4
4
|
CustomerPaymentStrategies["prepayment"] = "prepayment";
|
|
5
5
|
})(CustomerPaymentStrategies || (CustomerPaymentStrategies = {}));
|
|
6
|
+
export var CustomerStatuses;
|
|
7
|
+
(function (CustomerStatuses) {
|
|
8
|
+
CustomerStatuses["active"] = "active";
|
|
9
|
+
CustomerStatuses["inactive"] = "inactive";
|
|
10
|
+
CustomerStatuses["suspended"] = "suspended";
|
|
11
|
+
CustomerStatuses["trial"] = "trial";
|
|
12
|
+
CustomerStatuses["deleted"] = "DELETED";
|
|
13
|
+
})(CustomerStatuses || (CustomerStatuses = {}));
|
|
14
|
+
export var CustomerInvoicingStatuses;
|
|
15
|
+
(function (CustomerInvoicingStatuses) {
|
|
16
|
+
CustomerInvoicingStatuses["qa"] = "qa";
|
|
17
|
+
CustomerInvoicingStatuses["live"] = "live";
|
|
18
|
+
})(CustomerInvoicingStatuses || (CustomerInvoicingStatuses = {}));
|
|
6
19
|
//# sourceMappingURL=customer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.js","sourceRoot":"","sources":["../../../src/enums/customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,wDAA2B,CAAA;IAC3B,sDAAyB,CAAA;AAC3B,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC"}
|
|
1
|
+
{"version":3,"file":"customer.js","sourceRoot":"","sources":["../../../src/enums/customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,wDAA2B,CAAA;IAC3B,sDAAyB,CAAA;AAC3B,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC;AAED,MAAM,CAAN,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,qCAAiB,CAAA;IACjB,yCAAqB,CAAA;IACrB,2CAAuB,CAAA;IACvB,mCAAe,CAAA;IACf,uCAAmB,CAAA;AACrB,CAAC,EANW,gBAAgB,KAAhB,gBAAgB,QAM3B;AAED,MAAM,CAAN,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,sCAAS,CAAA;IACT,0CAAa,CAAA;AACf,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,QAGpC"}
|
|
@@ -2,4 +2,15 @@ export declare enum CustomerPaymentStrategies {
|
|
|
2
2
|
postpayment = "postpayment",
|
|
3
3
|
prepayment = "prepayment"
|
|
4
4
|
}
|
|
5
|
+
export declare enum CustomerStatuses {
|
|
6
|
+
active = "active",
|
|
7
|
+
inactive = "inactive",
|
|
8
|
+
suspended = "suspended",
|
|
9
|
+
trial = "trial",
|
|
10
|
+
deleted = "DELETED"
|
|
11
|
+
}
|
|
12
|
+
export declare enum CustomerInvoicingStatuses {
|
|
13
|
+
qa = "qa",
|
|
14
|
+
live = "live"
|
|
15
|
+
}
|
|
5
16
|
//# sourceMappingURL=customer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../src/enums/customer.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB;IACnC,WAAW,gBAAgB;IAC3B,UAAU,eAAe;CAC1B"}
|
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../src/enums/customer.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB;IACnC,WAAW,gBAAgB;IAC3B,UAAU,eAAe;CAC1B;AAED,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,oBAAY,yBAAyB;IACnC,EAAE,OAAO;IACT,IAAI,SAAS;CACd"}
|
package/package.json
CHANGED
package/src/enums/customer.ts
CHANGED
|
@@ -2,3 +2,17 @@ export enum CustomerPaymentStrategies {
|
|
|
2
2
|
postpayment = 'postpayment',
|
|
3
3
|
prepayment = 'prepayment',
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
export enum CustomerStatuses {
|
|
7
|
+
active = 'active',
|
|
8
|
+
inactive = 'inactive',
|
|
9
|
+
suspended = 'suspended',
|
|
10
|
+
trial = 'trial',
|
|
11
|
+
deleted = 'DELETED',
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export enum CustomerInvoicingStatuses {
|
|
15
|
+
qa = 'qa',
|
|
16
|
+
live = 'live',
|
|
17
|
+
}
|
|
18
|
+
|