@zimyo/manage 0.3.6 → 0.3.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.
@@ -1,5 +1,5 @@
1
1
  type overviewPropTypes = {
2
2
  onTabChange: (value: number) => void;
3
3
  };
4
- declare const NewOverview: (props: overviewPropTypes) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const NewOverview: (props: overviewPropTypes) => import("react/jsx-runtime").JSX.Element;
5
5
  export default NewOverview;
@@ -1,3 +1,50 @@
1
1
 
2
- declare const CardView: () => import("react/jsx-runtime").JSX.Element;
2
+ type OverviewData = {
3
+ employee_details: {
4
+ active_employee: number;
5
+ total_employee: number;
6
+ percentage: number;
7
+ };
8
+ wallet: {
9
+ balance: number;
10
+ openingBalance: number;
11
+ percentage: number | null;
12
+ };
13
+ orgInfo: {
14
+ org_code: string;
15
+ org_name: string;
16
+ org_address: string;
17
+ gstin: string;
18
+ email_id: string[];
19
+ mobile_number: string;
20
+ client_id: number;
21
+ country: string;
22
+ state: string;
23
+ city: string;
24
+ zip_code: string;
25
+ address_1: string | null;
26
+ address_2: string | null;
27
+ };
28
+ planDetails: {
29
+ current_plan: string;
30
+ billing_cycle: number;
31
+ plan_cost: number;
32
+ plan_expiring_date: string;
33
+ };
34
+ addOnProduct: AddOnProduct[];
35
+ plan_id: number;
36
+ add_on_id: string[];
37
+ usageCredit: any[];
38
+ };
39
+ type AddOnProduct = {
40
+ product_id: number;
41
+ product_name: string;
42
+ short_product_name: string;
43
+ modules_ids: number[];
44
+ subscription_id: number;
45
+ };
46
+ type CardViewProps = {
47
+ overviewData?: OverviewData;
48
+ };
49
+ declare const CardView: ({ overviewData }: CardViewProps) => import("react/jsx-runtime").JSX.Element;
3
50
  export default CardView;
@@ -1,6 +1,51 @@
1
1
 
2
2
  type overviewPropTypes = {
3
3
  onTabChange: (value: number) => void;
4
+ overviewData: OverviewData;
4
5
  };
5
- declare const SubscriptionPricing: (props: overviewPropTypes) => import("react/jsx-runtime").JSX.Element;
6
+ type OverviewData = {
7
+ employee_details: {
8
+ active_employee: number;
9
+ total_employee: number;
10
+ percentage: number;
11
+ };
12
+ wallet: {
13
+ balance: number;
14
+ openingBalance: number;
15
+ percentage: number | null;
16
+ };
17
+ orgInfo: {
18
+ org_code: string;
19
+ org_name: string;
20
+ org_address: string;
21
+ gstin: string;
22
+ email_id: string[];
23
+ mobile_number: string;
24
+ client_id: number;
25
+ country: string;
26
+ state: string;
27
+ city: string;
28
+ zip_code: string;
29
+ address_1: string | null;
30
+ address_2: string | null;
31
+ };
32
+ planDetails: {
33
+ current_plan: string;
34
+ billing_cycle: number;
35
+ plan_cost: number;
36
+ plan_expiring_date: string;
37
+ };
38
+ addOnProduct: AddOnProduct[];
39
+ plan_id: number;
40
+ add_on_id: string[];
41
+ usageCredit: any[];
42
+ };
43
+ type AddOnProduct = {
44
+ product_id: number;
45
+ product_name: string;
46
+ short_product_name: string;
47
+ modules_ids: number[];
48
+ subscription_id: number;
49
+ };
50
+ export declare const SubscriptionPricing: (props: overviewPropTypes) => import("react/jsx-runtime").JSX.Element;
6
51
  export default SubscriptionPricing;