@zimyo/manage 0.0.6 → 0.0.8
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/Overview/Overview.d.ts +5 -1
- package/dist/components/manage/Subscription/PlansOverview/PlansOverview.d.ts +5 -1
- package/dist/components/manage/Subscription/SubscribedPlan/SubscribedPlan.d.ts +5 -1
- package/dist/components/ui/Alert/Alert.d.ts +1 -1
- package/dist/components/ui/NoDataFound/NoDataFound.d.ts +5 -0
- package/dist/main.cjs +276 -249
- package/dist/main.js +22308 -21888
- package/dist/shared/constants/endpoints.d.ts +3 -1
- package/dist/shared/constants/status.d.ts +4 -0
- package/dist/shared/hooks/useMutation.d.ts +1 -1
- package/dist/shared/services/cashfree-payments.d.ts +1 -0
- package/dist/shared/zustand/alert.store.d.ts +2 -2
- package/package.json +2 -1
|
@@ -4,6 +4,8 @@ export declare const SUBSCRIPTION_OVERVIEW = "subscription/overview";
|
|
|
4
4
|
export declare const CUSTOMER_SUBSCRIPTION = "subscription/customer-subscription";
|
|
5
5
|
export declare const MANAGE_PLANS = "subscription/manage-plans";
|
|
6
6
|
export declare const TRANSCTION_HISTORY = "subscription/transaction-history";
|
|
7
|
-
export declare const ADD_WALLET_AMOUMT = "
|
|
7
|
+
export declare const ADD_WALLET_AMOUMT = "subscription/add-money-wallet-customer";
|
|
8
8
|
export declare const CUSTOMER_INVOICES = "subscription/customer-invoice";
|
|
9
9
|
export declare const CLIENT_CONSUMPTION = "subscription/client-consumption";
|
|
10
|
+
export declare const MODIFY_SUBSCRIPTION = "subscription/customer-modify-subscription";
|
|
11
|
+
export declare const CHECK_CASHFREE_PAYMENT_SUCCESS = "subscription/subscribe-payment-status";
|
|
@@ -12,7 +12,7 @@ export declare function useConfigurableMutation<TData = unknown, TError = Backen
|
|
|
12
12
|
type messageFormatterFn = (props: any) => string;
|
|
13
13
|
export declare const useConfigurableSubmit: ({ url, token, method, baseURL, successCallback, errorCallback, onSettledCallback, debounceTime, errorMessageFormatter, successMessageFormatter, }: {
|
|
14
14
|
url: string;
|
|
15
|
-
token
|
|
15
|
+
token?: string;
|
|
16
16
|
method?: string;
|
|
17
17
|
baseURL?: string;
|
|
18
18
|
successCallback?: (props: any) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/**@ts-ignore */
|
|
@@ -2,14 +2,14 @@ import { AlertColor } from '@mui/material';
|
|
|
2
2
|
type State = {
|
|
3
3
|
alert: {
|
|
4
4
|
isLoading: boolean;
|
|
5
|
-
type?: AlertColor;
|
|
5
|
+
type?: AlertColor | string;
|
|
6
6
|
message?: string;
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
type Actions = {
|
|
10
10
|
pushAlert: (payload: {
|
|
11
11
|
message?: string;
|
|
12
|
-
type: AlertColor;
|
|
12
|
+
type: AlertColor | string;
|
|
13
13
|
}) => void;
|
|
14
14
|
setLoading: (payload: {
|
|
15
15
|
isLoading: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zimyo/manage",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"dist"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
+
"@cashfreepayments/cashfree-js": "^1.0.5",
|
|
34
35
|
"@mui/x-date-pickers": "^7.9.0",
|
|
35
36
|
"@zimyo/components": "^4.2.5",
|
|
36
37
|
"@zimyo/design-system": "^4.0.0",
|