@zimyo/manage 0.2.2 → 0.2.3
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/components/manage/Subscription/Invoices/constant.d.ts +4 -0
- package/dist/main.cjs +253 -253
- package/dist/main.js +22479 -22100
- package/dist/shared/constants/constant.d.ts +18 -0
- package/dist/shared/constants/endpoints.d.ts +1 -0
- package/dist/shared/utils/utils.d.ts +5 -0
- package/package.json +2 -1
|
@@ -28,3 +28,21 @@ export declare const VALID_DATA_TYPES: {
|
|
|
28
28
|
BOOLEAN: string;
|
|
29
29
|
FUNCTION: string;
|
|
30
30
|
};
|
|
31
|
+
export declare const INVOICE_PAYMENT_STATUS: {
|
|
32
|
+
DRAFT: number;
|
|
33
|
+
PAID: number;
|
|
34
|
+
PARTIALLY_PAID: number;
|
|
35
|
+
DECLINE: number;
|
|
36
|
+
DUE: number;
|
|
37
|
+
OVERDUE: number;
|
|
38
|
+
UNPAID: number;
|
|
39
|
+
};
|
|
40
|
+
export declare const INVOICE_PAID_STATUS_COLOR: {
|
|
41
|
+
0: string;
|
|
42
|
+
1: string;
|
|
43
|
+
2: string;
|
|
44
|
+
3: string;
|
|
45
|
+
4: string;
|
|
46
|
+
5: string;
|
|
47
|
+
6: string;
|
|
48
|
+
};
|
|
@@ -14,3 +14,4 @@ export declare const MODIFY_SUBSCRIPTION = "subscription/customer-modify-subscri
|
|
|
14
14
|
export declare const CHECK_CASHFREE_PAYMENT_SUCCESS = "secure/subscribe-payment-status";
|
|
15
15
|
export declare const RENEW_SUBSCRIPTION = "subscription/renew-subscription";
|
|
16
16
|
export declare const UPDATE_ORG_DETAILS = "subscription/update-org-details";
|
|
17
|
+
export declare const BILLING_INVOICE = "billing/invoice";
|
|
@@ -17,4 +17,9 @@ export declare class util {
|
|
|
17
17
|
static convertToMinutes: (timeString: string) => number;
|
|
18
18
|
static getDarkenColor: (color: string, factor?: number) => string;
|
|
19
19
|
static cashfreePayment: (sessionId: string, BASE_URL: string | undefined, suceesCallback: () => void, errorCallback: (value: string) => void, mode?: string) => Promise<void>;
|
|
20
|
+
static downloadFileFromBuffer: (payload: {
|
|
21
|
+
buffer64: string;
|
|
22
|
+
file: string;
|
|
23
|
+
contentType: string;
|
|
24
|
+
}) => void;
|
|
20
25
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zimyo/manage",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"react": "^17.0.1",
|
|
43
43
|
"react-dom": "^17.0.1",
|
|
44
44
|
"react-icons": "^5.2.1",
|
|
45
|
+
"react-if": "^4.1.5",
|
|
45
46
|
"react-query": "^3.39.3",
|
|
46
47
|
"tinycolor2": "^1.6.0",
|
|
47
48
|
"zustand": "^4.5.4"
|