@zimyo/manage 0.3.2 → 0.3.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.
Files changed (87) hide show
  1. package/dist/App.d.ts +2 -2
  2. package/dist/components/customComponents/CustomCard/index.d.ts +2 -1
  3. package/dist/components/customComponents/CustomFilter/index.d.ts +2 -1
  4. package/dist/components/customComponents/CustomSearch/index.d.ts +2 -1
  5. package/dist/components/customComponents/PageHeading/index.d.ts +3 -2
  6. package/dist/components/manage/Subscription/PaymentRecords/PaymentRecords.d.ts +1 -1
  7. package/dist/components/manage/Subscription/SubscriptionPricing/CardView/CardView.d.ts +1 -1
  8. package/dist/components/manage/Subscription/SubscriptionPricing/ComparePlans/ComparePlans.d.ts +1 -1
  9. package/dist/components/manage/Subscription/SubscriptionPricing/SubscriptionPricing.d.ts +1 -1
  10. package/dist/components/ui/Alert/Alert.d.ts +2 -1
  11. package/dist/components/ui/DatePicker/DatePicker.d.ts +1 -0
  12. package/dist/components/ui/Loader/Loader.d.ts +1 -1
  13. package/dist/index.d.ts +1 -1
  14. package/dist/main.cjs +326 -302
  15. package/dist/main.d.ts +16 -16
  16. package/dist/main.js +38346 -34596
  17. package/dist/node_modules/html-dom-parser/esm/types.d.ts +3 -0
  18. package/dist/shared/hooks/useFetch.d.ts +9 -8
  19. package/dist/shared/providers/AppProvider.d.ts +3 -2
  20. package/dist/shared/providers/AuthProvider.d.ts +2 -1
  21. package/dist/shared/services/http.d.ts +4 -4
  22. package/dist/shared/types/backend.types.d.ts +2 -1
  23. package/dist/shared/zustand/alert.store.d.ts +2 -1
  24. package/dist/shared/zustand/session.store.d.ts +1 -1
  25. package/dist/src/App.d.ts +4 -0
  26. package/dist/src/components/customComponents/CustomCard/index.d.ts +13 -0
  27. package/dist/src/components/customComponents/CustomFilter/index.d.ts +24 -0
  28. package/dist/src/components/customComponents/CustomSearch/index.d.ts +10 -0
  29. package/dist/src/components/customComponents/CustomTooltip/index.d.ts +10 -0
  30. package/dist/src/components/customComponents/PageHeading/index.d.ts +23 -0
  31. package/dist/src/components/manage/Subscription/BillingSubscription/BillingSubscription.d.ts +1 -0
  32. package/dist/src/components/manage/Subscription/Consumption/Consumption.d.ts +1 -0
  33. package/dist/src/components/manage/Subscription/Invoices/Invoices.d.ts +1 -0
  34. package/dist/src/components/manage/Subscription/Invoices/constant.d.ts +4 -0
  35. package/dist/src/components/manage/Subscription/Ledger/Ledger.d.ts +1 -0
  36. package/dist/src/components/manage/Subscription/Mail/Mail.d.ts +1 -0
  37. package/dist/src/components/manage/Subscription/NewOverview/NewOverview.d.ts +5 -0
  38. package/dist/src/components/manage/Subscription/Overview/Overview.d.ts +5 -0
  39. package/dist/src/components/manage/Subscription/PaymentMethod/PaymentMethod.d.ts +1 -0
  40. package/dist/src/components/manage/Subscription/PaymentRecords/PaymentRecords.d.ts +6 -0
  41. package/dist/src/components/manage/Subscription/PaymentRecords/TableView/Table.d.ts +1 -0
  42. package/dist/src/components/manage/Subscription/PlansOverview/PlansOverview.d.ts +50 -0
  43. package/dist/src/components/manage/Subscription/PlansOverview/constant.d.ts +4 -0
  44. package/dist/src/components/manage/Subscription/ProductUpdates/ProductUpdates.d.ts +1 -0
  45. package/dist/src/components/manage/Subscription/ServiceDeskLogs/ServiceDeskLogs.d.ts +1 -0
  46. package/dist/src/components/manage/Subscription/SubscribedPlan/SubscribedPlan.d.ts +5 -0
  47. package/dist/src/components/manage/Subscription/SubscriptionPricing/CardView/CardView.d.ts +3 -0
  48. package/dist/src/components/manage/Subscription/SubscriptionPricing/ComparePlans/ComparePlans.d.ts +3 -0
  49. package/dist/src/components/manage/Subscription/SubscriptionPricing/SubscriptionPricing.d.ts +6 -0
  50. package/dist/src/components/manage/Subscription/TempPayment/TempPayment.d.ts +1 -0
  51. package/dist/src/components/manage/Subscription/TempPayment/constant.d.ts +5 -0
  52. package/dist/src/components/manage/Subscription/UpcomingSubscription/UpcomingSubscription.d.ts +1 -0
  53. package/dist/src/components/manage/Subscription/UpcomingSubscription/constant.d.ts +4 -0
  54. package/dist/src/components/manage/Subscription/Wallet/Wallet.d.ts +1 -0
  55. package/dist/src/components/manage/Subscription/Wallet/constant.d.ts +8 -0
  56. package/dist/src/components/ui/Alert/Alert.d.ts +6 -0
  57. package/dist/src/components/ui/DatePicker/DatePicker.d.ts +4 -0
  58. package/dist/src/components/ui/Loader/Loader.d.ts +7 -0
  59. package/dist/src/components/ui/NoDataFound/NoDataFound.d.ts +5 -0
  60. package/dist/src/components/ui/OrgDetailsCard/OrgDetailsCard.d.ts +20 -0
  61. package/dist/src/components/ui/OverviewCard/OverviewCard.d.ts +4 -0
  62. package/dist/src/components/ui/TextReducingTooltipComponent/TextReducingTooltipComponent.d.ts +10 -0
  63. package/dist/src/components/ui/TopUpWalletModal/TopUpWalletModal.d.ts +6 -0
  64. package/dist/src/index.d.ts +1 -0
  65. package/dist/src/main.d.ts +16 -0
  66. package/dist/src/shared/constants/constant.d.ts +41 -0
  67. package/dist/src/shared/constants/endpoints.d.ts +24 -0
  68. package/dist/src/shared/constants/form-types.d.ts +44 -0
  69. package/dist/src/shared/constants/status.d.ts +4 -0
  70. package/dist/src/shared/constants/time.d.ts +53 -0
  71. package/dist/src/shared/hooks/useConstants.d.ts +1 -0
  72. package/dist/src/shared/hooks/useDownloadBufferFile.d.ts +7 -0
  73. package/dist/src/shared/hooks/useErrorAlert.d.ts +1 -0
  74. package/dist/src/shared/hooks/useFetch.d.ts +124 -0
  75. package/dist/src/shared/hooks/useFilterParsedValue.d.ts +6 -0
  76. package/dist/src/shared/hooks/useLoading.d.ts +1 -0
  77. package/dist/src/shared/hooks/useMutation.d.ts +18 -0
  78. package/dist/src/shared/hooks/useSuccessAlert.d.ts +1 -0
  79. package/dist/src/shared/providers/AppProvider.d.ts +14 -0
  80. package/dist/src/shared/providers/AuthProvider.d.ts +11 -0
  81. package/dist/src/shared/services/cashfree-payments.d.ts +1 -0
  82. package/dist/src/shared/services/http.d.ts +11 -0
  83. package/dist/src/shared/types/backend.types.d.ts +20 -0
  84. package/dist/src/shared/utils/utils.d.ts +25 -0
  85. package/dist/src/shared/zustand/alert.store.d.ts +20 -0
  86. package/dist/src/shared/zustand/session.store.d.ts +22 -0
  87. package/package.json +2 -1
@@ -0,0 +1,3 @@
1
+ import type { Comment, Element, ProcessingInstruction, Text } from 'domhandler';
2
+ export type { Comment, Element, ProcessingInstruction, Text };
3
+ export type DOMNode = Comment | Element | ProcessingInstruction | Text;
@@ -1,6 +1,7 @@
1
- import { AxiosResponse } from "axios";
2
- import { UseQueryOptions } from "react-query";
3
- import { HttpServiceType } from "@services/http";
1
+ import { AxiosResponse } from 'axios';
2
+ import { UseQueryOptions } from 'react-query';
3
+ import { HttpServiceType } from '../services/http';
4
+
4
5
  export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: AbortSignal | undefined) => Promise<AxiosResponse<any, any>>, apiPromiseArgs: HttpServiceType, key: any, queryOptions?: Omit<UseQueryOptions<any, any, any, any>, "queryKey" | "queryFn">) => {
5
6
  data: undefined;
6
7
  error: null;
@@ -22,7 +23,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
22
23
  isPreviousData: boolean;
23
24
  isRefetching: boolean;
24
25
  isStale: boolean;
25
- refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
26
+ refetch: <TPageData>(options?: import('react-query').RefetchOptions & import('react-query').RefetchQueryFilters<TPageData>) => Promise<import('react-query').QueryObserverResult<any, any>>;
26
27
  remove: () => void;
27
28
  rq_data: any;
28
29
  } | {
@@ -46,7 +47,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
46
47
  isPreviousData: boolean;
47
48
  isRefetching: boolean;
48
49
  isStale: boolean;
49
- refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
50
+ refetch: <TPageData>(options?: import('react-query').RefetchOptions & import('react-query').RefetchQueryFilters<TPageData>) => Promise<import('react-query').QueryObserverResult<any, any>>;
50
51
  remove: () => void;
51
52
  rq_data: any;
52
53
  } | {
@@ -70,7 +71,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
70
71
  isPreviousData: boolean;
71
72
  isRefetching: boolean;
72
73
  isStale: boolean;
73
- refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
74
+ refetch: <TPageData>(options?: import('react-query').RefetchOptions & import('react-query').RefetchQueryFilters<TPageData>) => Promise<import('react-query').QueryObserverResult<any, any>>;
74
75
  remove: () => void;
75
76
  rq_data: any;
76
77
  } | {
@@ -94,7 +95,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
94
95
  isPreviousData: boolean;
95
96
  isRefetching: boolean;
96
97
  isStale: boolean;
97
- refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
98
+ refetch: <TPageData>(options?: import('react-query').RefetchOptions & import('react-query').RefetchQueryFilters<TPageData>) => Promise<import('react-query').QueryObserverResult<any, any>>;
98
99
  remove: () => void;
99
100
  rq_data: any;
100
101
  } | {
@@ -118,7 +119,7 @@ export declare const useFetch: (apiPromise: (options: HttpServiceType, signal: A
118
119
  isPreviousData: boolean;
119
120
  isRefetching: boolean;
120
121
  isStale: boolean;
121
- refetch: <TPageData>(options?: import("react-query").RefetchOptions & import("react-query").RefetchQueryFilters<TPageData>) => Promise<import("react-query").QueryObserverResult<any, any>>;
122
+ refetch: <TPageData>(options?: import('react-query').RefetchOptions & import('react-query').RefetchQueryFilters<TPageData>) => Promise<import('react-query').QueryObserverResult<any, any>>;
122
123
  remove: () => void;
123
124
  rq_data: any;
124
125
  };
@@ -1,5 +1,6 @@
1
- import { ReactNode } from "react";
2
- import { QueryClient } from "react-query";
1
+ import { ReactNode } from 'react';
2
+ import { QueryClient } from 'react-query';
3
+
3
4
  interface AuthProviderProps {
4
5
  queryClient: QueryClient;
5
6
  token: string;
@@ -1,4 +1,5 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
+
2
3
  declare const AuthProvider: ({ children, token, LOGIN_BASE_URL, API_BASE_URL, ASSETS_BASE_URL, HRMS_BASE_URL, mode, }: {
3
4
  token: string;
4
5
  LOGIN_BASE_URL: string;
@@ -5,7 +5,7 @@ export type HttpServiceType = {
5
5
  params?: any;
6
6
  isNativeEndpoint?: boolean;
7
7
  };
8
- export declare const getService: ({ url, token, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
9
- export declare const postService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
10
- export declare const patchService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
11
- export declare const deleteService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
8
+ export declare const getService: ({ url, token, params }: HttpServiceType) => Promise<import('axios').AxiosResponse<any, any>>;
9
+ export declare const postService: ({ url, token, data, params }: HttpServiceType) => Promise<import('axios').AxiosResponse<any, any>>;
10
+ export declare const patchService: ({ url, token, data, params }: HttpServiceType) => Promise<import('axios').AxiosResponse<any, any>>;
11
+ export declare const deleteService: ({ url, token, data, params }: HttpServiceType) => Promise<import('axios').AxiosResponse<any, any>>;
@@ -1,4 +1,5 @@
1
- import { AxiosError, AxiosResponse } from "axios";
1
+ import { AxiosError, AxiosResponse } from 'axios';
2
+
2
3
  export type UserType = any;
3
4
  export type BackendResponseType<T> = AxiosResponse<{
4
5
  error: boolean;
@@ -1,4 +1,5 @@
1
1
  import { AlertColor } from '@mui/material';
2
+
2
3
  type State = {
3
4
  alert: {
4
5
  isLoading: boolean;
@@ -16,5 +17,5 @@ type Actions = {
16
17
  }) => void;
17
18
  clearAlert: () => void;
18
19
  };
19
- export declare const useAlertStore: import("zustand").UseBoundStore<import("zustand").StoreApi<State & Actions>>;
20
+ export declare const useAlertStore: import('zustand').UseBoundStore<import('zustand').StoreApi<State & Actions>>;
20
21
  export {};
@@ -18,5 +18,5 @@ type Actions = {
18
18
  }) => void;
19
19
  clearSession: () => void;
20
20
  };
21
- export declare const useSessionStore: import("zustand").UseBoundStore<import("zustand").StoreApi<State & Actions>>;
21
+ export declare const useSessionStore: import('zustand').UseBoundStore<import('zustand').StoreApi<State & Actions>>;
22
22
  export {};
@@ -0,0 +1,4 @@
1
+ import "./App.css";
2
+ export declare const theme: import("@mui/material").Theme;
3
+ declare function App(): import("react/jsx-runtime").JSX.Element;
4
+ export default App;
@@ -0,0 +1,13 @@
1
+ import React, { ReactElement, ReactNode } from "react";
2
+ export declare const CardLabel: ({ label, icon }: {
3
+ label: string | ReactElement;
4
+ icon?: ReactElement;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ interface Props {
7
+ children: ReactNode;
8
+ className?: string;
9
+ title?: string;
10
+ icon?: React.ReactElement;
11
+ }
12
+ declare const CustomCard: React.FC<Props>;
13
+ export default CustomCard;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ export interface SelectOption {
3
+ id: string | number;
4
+ name: string;
5
+ }
6
+ export interface SelectConfig {
7
+ id: string;
8
+ name: string;
9
+ options: SelectOption[];
10
+ multiple?: boolean;
11
+ placeholder?: string;
12
+ }
13
+ interface FilterProps {
14
+ showSearch?: boolean;
15
+ searchPlaceholder?: string;
16
+ searchValue?: string;
17
+ onSearchChange?: (id: string) => void;
18
+ filters?: SelectConfig[];
19
+ filterValues?: Record<string, string | number | (string | number)[]>;
20
+ onSelectChange?: (id: string, value: string | number | (string | number)[]) => void;
21
+ className?: string;
22
+ }
23
+ declare const CustomFilter: React.FC<FilterProps>;
24
+ export default CustomFilter;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ interface Props {
3
+ getSearchValue: (search: string) => void;
4
+ className?: string;
5
+ delay?: number;
6
+ placeholder?: string;
7
+ defaultValue?: string;
8
+ }
9
+ declare const CustomSearch: React.FC<Props>;
10
+ export default CustomSearch;
@@ -0,0 +1,10 @@
1
+ interface Props {
2
+ data: string;
3
+ limit?: number;
4
+ doNotShowTooltip?: boolean;
5
+ arrow?: boolean;
6
+ endAdornment?: string;
7
+ startAdornment?: string;
8
+ }
9
+ declare function CustomTooltip({ data, limit, doNotShowTooltip, arrow, endAdornment, startAdornment, }: Props): import("react/jsx-runtime").JSX.Element;
10
+ export default CustomTooltip;
@@ -0,0 +1,23 @@
1
+ import React, { ReactElement } from "react";
2
+ import { ButtonProps } from "@zimyo/ui";
3
+ type PageHeadingButtonConfig = {
4
+ variant?: ButtonProps["variant"];
5
+ color?: ButtonProps["color"];
6
+ label?: string;
7
+ size?: ButtonProps["size"];
8
+ startIcon?: React.ReactNode;
9
+ endIcon?: React.ReactNode;
10
+ sx?: object;
11
+ onClick?: () => void;
12
+ disabled?: boolean;
13
+ isVisible?: boolean;
14
+ };
15
+ type PageHeadingProps = {
16
+ heading?: string | ReactElement;
17
+ className?: string;
18
+ actionButtons?: PageHeadingButtonConfig[];
19
+ filters?: ReactElement;
20
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
21
+ };
22
+ declare const PageHeading: React.FC<PageHeadingProps>;
23
+ export default PageHeading;
@@ -0,0 +1 @@
1
+ export declare const BillingSubscription: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const SubscriptionConsumption: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const CustomerInvoices: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const SCREEN_TYPES: {
2
+ LIST_VIEW: string;
3
+ INVOICE_VIEW: string;
4
+ };
@@ -0,0 +1 @@
1
+ export declare const Ledger: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const Mail: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ type overviewPropTypes = {
2
+ onTabChange: (value: number) => void;
3
+ };
4
+ declare const NewOverview: (props: overviewPropTypes) => import("react/jsx-runtime").JSX.Element;
5
+ export default NewOverview;
@@ -0,0 +1,5 @@
1
+ type overviewPropTypes = {
2
+ onTabChange: (value: number) => void;
3
+ };
4
+ export declare const SubscriptionOverview: (props: overviewPropTypes) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1 @@
1
+ export declare const SubscriptionPaymentMethod: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import "./PaymentRecords.css";
2
+ type overviewPropTypes = {
3
+ onTabChange: (value: number) => void;
4
+ };
5
+ declare const PaymentRecords: (props: overviewPropTypes) => import("react/jsx-runtime").JSX.Element;
6
+ export default PaymentRecords;
@@ -0,0 +1,50 @@
1
+ type plansOverviewPropTypes = {
2
+ onTabChange: (value: number) => void;
3
+ overviewData: OverviewData;
4
+ };
5
+ type OverviewData = {
6
+ employee_details: {
7
+ active_employee: number;
8
+ total_employee: number;
9
+ percentage: number;
10
+ };
11
+ wallet: {
12
+ balance: number;
13
+ openingBalance: number;
14
+ percentage: number | null;
15
+ };
16
+ orgInfo: {
17
+ org_code: string;
18
+ org_name: string;
19
+ org_address: string;
20
+ gstin: string;
21
+ email_id: string[];
22
+ mobile_number: string;
23
+ client_id: number;
24
+ country: string;
25
+ state: string;
26
+ city: string;
27
+ zip_code: string;
28
+ address_1: string | null;
29
+ address_2: string | null;
30
+ };
31
+ planDetails: {
32
+ current_plan: string;
33
+ billing_cycle: number;
34
+ plan_cost: number;
35
+ plan_expiring_date: string;
36
+ };
37
+ addOnProduct: AddOnProduct[];
38
+ plan_id: number;
39
+ add_on_id: string[];
40
+ usageCredit: any[];
41
+ };
42
+ type AddOnProduct = {
43
+ product_id: number;
44
+ product_name: string;
45
+ short_product_name: string;
46
+ modules_ids: number[];
47
+ subscription_id: number;
48
+ };
49
+ export declare const PlansOverview: (props: plansOverviewPropTypes) => import("react/jsx-runtime").JSX.Element;
50
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const ADD_ON_ACTIONS: {
2
+ REMOVE: string;
3
+ ADD: string;
4
+ };
@@ -0,0 +1 @@
1
+ export declare const ProductUpdates: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ServiceDeskLogs: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ type subscribedPlanPropTypes = {
2
+ onTabChange: (value: number) => void;
3
+ };
4
+ export declare const SubscriptionPlans: (props: subscribedPlanPropTypes) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,3 @@
1
+ import './CardView.css';
2
+ declare const CardView: () => import("react/jsx-runtime").JSX.Element;
3
+ export default CardView;
@@ -0,0 +1,3 @@
1
+ import './ComparePlans.css';
2
+ declare const ComparePlans: () => import("react/jsx-runtime").JSX.Element;
3
+ export default ComparePlans;
@@ -0,0 +1,6 @@
1
+ import './SubscriptionPricing.css';
2
+ type overviewPropTypes = {
3
+ onTabChange: (value: number) => void;
4
+ };
5
+ declare const SubscriptionPricing: (props: overviewPropTypes) => import("react/jsx-runtime").JSX.Element;
6
+ export default SubscriptionPricing;
@@ -0,0 +1 @@
1
+ export declare const TempPayment: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const SCREEN_TYPES: {
2
+ LIST_VIEW: string;
3
+ INVOICE_VIEW: string;
4
+ };
5
+ export declare const PAYMENT_TYPE: Record<string, string>;
@@ -0,0 +1 @@
1
+ export declare const UpcomingInvoices: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare const SCREEN_TYPES: {
2
+ LIST_VIEW: string;
3
+ INVOICE_VIEW: string;
4
+ };
@@ -0,0 +1 @@
1
+ export declare const SubscriptionWallet: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export declare const WALLET_AMOUMT_ACTIONS: {
2
+ ADD: string;
3
+ WITHDRAW: string;
4
+ };
5
+ export declare const TRNSACTIONS_TYPES: {
6
+ label: string;
7
+ value: string;
8
+ }[];
@@ -0,0 +1,6 @@
1
+ import { AlertColor } from "@mui/material";
2
+ declare const AlertComponent: (props: {
3
+ type: AlertColor | undefined | string;
4
+ message?: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export default AlertComponent;
@@ -0,0 +1,4 @@
1
+ import { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
2
+ import { Dayjs } from 'dayjs';
3
+ declare const XDatePicker: (props: DatePickerProps<Dayjs>) => import("react/jsx-runtime").JSX.Element;
4
+ export default XDatePicker;
@@ -0,0 +1,7 @@
1
+ import "./Loader.css";
2
+ type props = {
3
+ visible: boolean;
4
+ type?: "component" | "table" | "skeleton";
5
+ };
6
+ export declare const Loader: ({ visible, type }: props) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,5 @@
1
+ declare const NoDataComponent: ({ message, imgStyles, }: {
2
+ message: string;
3
+ imgStyles?: any;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ export default NoDataComponent;
@@ -0,0 +1,20 @@
1
+ interface orgDetailsState {
2
+ org_name?: string;
3
+ mobile_number?: string;
4
+ gstin?: string;
5
+ }
6
+ interface props extends orgDetailsState {
7
+ email_id?: string[];
8
+ client_id?: number | string;
9
+ org_address?: string;
10
+ country?: number | string;
11
+ state?: number | string;
12
+ city?: string;
13
+ address_1?: string;
14
+ address_2?: string;
15
+ zip_code?: string;
16
+ }
17
+ declare const OrgDetailsCard: ({ orgDetails }: {
18
+ orgDetails: props;
19
+ }) => import("react/jsx-runtime").JSX.Element;
20
+ export default OrgDetailsCard;
@@ -0,0 +1,4 @@
1
+ declare const OverviewCard: ({ data }: {
2
+ data: any;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default OverviewCard;
@@ -0,0 +1,10 @@
1
+ declare function TextReducingTooltipComponent({ data, limit, doNotShowTooltip, arrow, endAdornment, startAdornment, styleOverrides }: {
2
+ data?: string;
3
+ limit?: number;
4
+ doNotShowTooltip?: boolean;
5
+ arrow?: boolean;
6
+ endAdornment?: string;
7
+ startAdornment?: string;
8
+ styleOverrides?: {};
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export default TextReducingTooltipComponent;
@@ -0,0 +1,6 @@
1
+ type topupWalletModalProps = {
2
+ open: boolean;
3
+ setIsOpen: (value: boolean) => void;
4
+ };
5
+ declare const TopUpWalletModal: (props: topupWalletModalProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default TopUpWalletModal;
@@ -0,0 +1 @@
1
+ import './index.css';
@@ -0,0 +1,16 @@
1
+ import "./index.css";
2
+ export { default as ManageProvider } from "@/shared/providers/AppProvider";
3
+ export { SubscriptionConsumption } from "@/components/manage/Subscription/Consumption/Consumption";
4
+ export { CustomerInvoices } from "@/components/manage/Subscription/Invoices/Invoices";
5
+ export { SubscriptionOverview } from "@/components/manage/Subscription/Overview/Overview";
6
+ export { SubscriptionPaymentMethod } from "@/components/manage/Subscription/PaymentMethod/PaymentMethod";
7
+ export { PlansOverview } from "@/components/manage/Subscription/PlansOverview/PlansOverview";
8
+ export { SubscriptionPlans } from "@/components/manage/Subscription/SubscribedPlan/SubscribedPlan";
9
+ export { SubscriptionWallet } from "@/components/manage/Subscription/Wallet/Wallet";
10
+ export { BillingSubscription } from "@/components/manage/Subscription/BillingSubscription/BillingSubscription";
11
+ export { Mail } from "@/components/manage/Subscription/Mail/Mail";
12
+ export { UpcomingInvoices } from "@/components/manage/Subscription/UpcomingSubscription/UpcomingSubscription";
13
+ export { ServiceDeskLogs } from "@/components/manage/Subscription/ServiceDeskLogs/ServiceDeskLogs";
14
+ export { Ledger } from "@/components/manage/Subscription/Ledger/Ledger";
15
+ export { TempPayment } from "@/components/manage/Subscription/TempPayment/TempPayment";
16
+ export { ProductUpdates } from "@/components/manage/Subscription/ProductUpdates/ProductUpdates";
@@ -0,0 +1,41 @@
1
+ export declare const CHART_TYPES: {
2
+ LINE: string;
3
+ MULTI_LINE: string;
4
+ COLUMN: string;
5
+ STACKED_COLUMN: string;
6
+ GROUPED_COLUMN: string;
7
+ BAR: string;
8
+ STACKED_BAR: string;
9
+ GROUPED_BAR: string;
10
+ DOUGHNUT: string;
11
+ PIE: string;
12
+ AREA: string;
13
+ STACKED_AREA: string;
14
+ FUNNEL: string;
15
+ HEAT_MAP: string;
16
+ TABLE: string;
17
+ CARD: string;
18
+ LIST: string;
19
+ GAUGE: string;
20
+ };
21
+ export declare const VALID_DATA_TYPES: {
22
+ NUMBER: string;
23
+ STRING: string;
24
+ ARRAY: string;
25
+ OBJECT: string;
26
+ NULL: string;
27
+ UNDEFINED: string;
28
+ BOOLEAN: string;
29
+ FUNCTION: string;
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: Record<number, string>;
41
+ export declare const CURRENCY_MAP: Record<any, string>;
@@ -0,0 +1,24 @@
1
+ export declare const AUTHENTICATE_USER = "/user";
2
+ /**HELPER */
3
+ export declare const COUNTRY_LIST = "helper/country_list";
4
+ export declare const STATE_LIST = "helper/state_list";
5
+ /**SUBSCRIPTION */
6
+ export declare const SUBSCRIPTION_OVERVIEW = "subscription/overview";
7
+ export declare const CUSTOMER_SUBSCRIPTION = "subscription/customer-subscription";
8
+ export declare const MANAGE_PLANS = "subscription/manage-plans";
9
+ export declare const TRANSCTION_HISTORY = "subscription/transaction-history";
10
+ export declare const ADD_WALLET_AMOUMT = "subscription/add-money-wallet-customer";
11
+ export declare const CUSTOMER_INVOICES = "subscription/customer-invoice";
12
+ export declare const CLIENT_CONSUMPTION = "subscription/client-consumption";
13
+ export declare const MODIFY_SUBSCRIPTION = "subscription/customer-modify-subscription";
14
+ export declare const CHECK_CASHFREE_PAYMENT_SUCCESS = "secure/subscribe-payment-status";
15
+ export declare const RENEW_SUBSCRIPTION = "subscription/renew-subscription";
16
+ export declare const UPDATE_ORG_DETAILS = "subscription/update-org-details";
17
+ export declare const BILLING_INVOICE = "subscription/account-invoice";
18
+ export declare const ADDON_CLIENT_LIST = "subscription/addonclient_list";
19
+ export declare const SUBSCRIPTION_UPDATE_STATUS = "subscription/update-subscription-status";
20
+ export declare const CUSTOMER_MAILS = "customer/communication_email-list";
21
+ export declare const SD_STATUS_WISE_COUNT = "email/status-wise-count";
22
+ export declare const SD_EMAIL_TICKET_LIST = "email/list";
23
+ export declare const TRANSACTION_HISTORY_LEDGER = "subscription/ledger";
24
+ export declare const TRANSACTION_HISTORY_PAYMENT_HISTORY = "subscription/payment-history";
@@ -0,0 +1,44 @@
1
+ export declare const DYNAMIC_FORM_INPUT_TYPES: {
2
+ TEXT: "text";
3
+ NUMBER: "number";
4
+ TEXTAREA: "textarea";
5
+ SELECT: "select";
6
+ MULTI_SELECT: "multi-select";
7
+ CHECKBOX: "checkbox";
8
+ RADIO: "radio";
9
+ FILE: "file";
10
+ TIME: "time";
11
+ DATE: "date";
12
+ DATE_TIME: "date-time";
13
+ DATE_RANGE: "date-range";
14
+ SWITCH: "switch";
15
+ TEL: "tel";
16
+ URL: "url";
17
+ EMAIL: "email";
18
+ NUMERIC: "numeric";
19
+ DECIMAL: "decimal";
20
+ SEARCH: "search";
21
+ EDITOR: "editor";
22
+ };
23
+ export declare const FORM_MASTER_TYPES: {
24
+ TEXT: string;
25
+ NUMBER: string;
26
+ TEXTAREA: string;
27
+ SELECT: string;
28
+ MULTI_SELECT: string;
29
+ CHECKBOX: string;
30
+ RADIO: string;
31
+ FILE: string;
32
+ TIME: string;
33
+ DATE: string;
34
+ DATE_TIME: string;
35
+ DATE_RANGE: string;
36
+ SWITCH: string;
37
+ TEL: string;
38
+ URL: string;
39
+ EMAIL: string;
40
+ NUMERIC: string;
41
+ DECIMAL: string;
42
+ SEARCH: string;
43
+ EDITOR: string;
44
+ };
@@ -0,0 +1,4 @@
1
+ export declare const STATUS_TYPES: {
2
+ SUCCESS: string;
3
+ ERROR: string;
4
+ };