gotrip-fx-transaction-form 1.0.120 → 1.0.122
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/index.js +8217 -8194
- package/package.json +1 -1
- package/types/components/AddTransaction/SingularCustomer.d.ts +2 -1
- package/types/components/Apps/EmbededIndividualApp.d.ts +3 -1
- package/types/constants/api-urls.d.ts +1 -0
- package/types/hooks/useAdminDashboard.d.ts +21 -0
- package/types/pages/admin/dashboard/AdminDashboard.d.ts +1 -0
- package/types/pages/guest/home.d.ts +6 -1
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@ type Props = {
|
|
|
2
2
|
onFinish: () => void;
|
|
3
3
|
onBack?: () => void;
|
|
4
4
|
showGetTicketInfo?: boolean;
|
|
5
|
+
hideBankSelection?: boolean;
|
|
5
6
|
};
|
|
6
|
-
export declare const SingularCustomer: ({ onFinish, showGetTicketInfo }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const SingularCustomer: ({ onFinish, showGetTicketInfo, hideBankSelection, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export type EmbededIndividualAppProps = {
|
|
2
2
|
apiKey: string;
|
|
3
3
|
externalCssUrl?: string;
|
|
4
|
+
hide?: string[];
|
|
5
|
+
defaultBank?: string;
|
|
4
6
|
};
|
|
5
|
-
export declare const EmbededIndividualApp: ({ apiKey, externalCssUrl }: EmbededIndividualAppProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const EmbededIndividualApp: ({ apiKey, externalCssUrl, hide, defaultBank, }: EmbededIndividualAppProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type AdminOrderMetrics = {
|
|
2
|
+
success: number;
|
|
3
|
+
paid: number;
|
|
4
|
+
sentToBankSuccess: number;
|
|
5
|
+
sentToBankError: number;
|
|
6
|
+
};
|
|
7
|
+
export type AdminCurrencyMetric = {
|
|
8
|
+
bankCode: string;
|
|
9
|
+
bankName: string;
|
|
10
|
+
currencyCode: string;
|
|
11
|
+
totalAmount: number;
|
|
12
|
+
};
|
|
13
|
+
export type AdminDashboardMetrics = {
|
|
14
|
+
orderMetrics: AdminOrderMetrics;
|
|
15
|
+
currencyMetrics: AdminCurrencyMetric[];
|
|
16
|
+
};
|
|
17
|
+
export declare const useAdminDashboard: () => {
|
|
18
|
+
loading: boolean;
|
|
19
|
+
metrics: AdminDashboardMetrics | null;
|
|
20
|
+
fetchMetrics: (startDate: string, endDate: string) => Promise<void>;
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AdminDashboard: () => import("react/jsx-runtime").JSX.Element;
|