import { GridColDef } from "@mui/x-data-grid"; export const allTransactionDummyData = [ { id: 1, userId: 17, merchandId: 100987998, transactionId: 1049131973, depositMethod: "Card", status: "Completed", // options: [ // { value: "Pending", label: "Pending" }, // { value: "Completed", label: "Completed" }, // { value: "Inprogress", label: "Inprogress" }, // { value: "Error", label: "Error" }, // ], amount: 4000, currency: "EUR", dateTime: "2025-06-18 10:10:30", errorInfo: "-", fraudScore: "frad score 1234", }, { id: 2, userId: 17, merchandId: 100987998, transactionId: 1049131973, depositMethod: "Card", status: "Completed", // options: [ // { value: "Pending", label: "Pending" }, // { value: "Completed", label: "Completed" }, // { value: "Inprogress", label: "Inprogress" }, // { value: "Error", label: "Error" }, // ], amount: 4000, currency: "EUR", dateTime: "2025-06-18 10:10:30", errorInfo: "-", fraudScore: "frad score 1234", }, { id: 3, userId: 17, merchandId: 100987997, transactionId: 1049131973, depositMethod: "Card", status: "Completed", // options: [ // { value: "Pending", label: "Pending" }, // { value: "Completed", label: "Completed" }, // { value: "Inprogress", label: "Inprogress" }, // { value: "Error", label: "Error" }, // ], amount: 4000, currency: "EUR", dateTime: "2025-06-18 10:10:30", errorInfo: "-", fraudScore: "frad score 1234", }, { id: 4, userId: 19, merchandId: 100987997, transactionId: 1049136973, depositMethod: "Card", status: "Completed", // options: [ // { value: "Pending", label: "Pending" }, // { value: "Completed", label: "Completed" }, // { value: "Inprogress", label: "Inprogress" }, // { value: "Error", label: "Error" }, // ], amount: 4000, currency: "EUR", dateTime: "2025-06-18 10:10:30", errorInfo: "-", fraudScore: "frad score 1234", }, { id: 5, userId: 19, merchandId: 100987998, transactionId: 1049131973, depositMethod: "Card", status: "Completed", // options: [ // { value: "Pending", label: "Pending" }, // { value: "Completed", label: "Completed" }, // { value: "Inprogress", label: "Inprogress" }, // { value: "Error", label: "Error" }, // ], amount: 4000, currency: "EUR", dateTime: "2025-06-18 10:10:30", errorInfo: "-", fraudScore: "frad score 1234", }, { id: 6, userId: 27, merchandId: 100987997, transactionId: 1049131973, depositMethod: "Card", status: "Pending", // options: [ // { value: "Pending", label: "Pending" }, // { value: "Completed", label: "Completed" }, // { value: "Inprogress", label: "Inprogress" }, // { value: "Error", label: "Error" }, // ], amount: 4000, currency: "EUR", dateTime: "2025-06-18 10:10:30", errorInfo: "-", fraudScore: "frad score 1234", }, { id: 7, userId: 175, merchandId: 100987938, transactionId: 1049136973, depositMethod: "Card", status: "Pending", // options: [ // { value: "Pending", label: "Pending" }, // { value: "Completed", label: "Completed" }, // { value: "Inprogress", label: "Inprogress" }, // { value: "Error", label: "Error" }, // ], amount: 4000, currency: "EUR", dateTime: "2025-06-18 10:10:30", errorInfo: "-", fraudScore: "frad score 1234", }, { id: 8, userId: 172, merchandId: 100987938, transactionId: 1049131973, depositMethod: "Card", status: "Pending", // options: [ // { value: "Pending", label: "Pending" }, // { value: "Completed", label: "Completed" }, // { value: "Inprogress", label: "Inprogress" }, // { value: "Error", label: "Error" }, // ], amount: 4000, currency: "EUR", dateTime: "2025-06-12 10:10:30", errorInfo: "-", fraudScore: "frad score 1234", }, { id: 9, userId: 174, merchandId: 100987938, transactionId: 1049131973, depositMethod: "Bank Transfer", status: "Inprogress", // options: [ // { value: "Pending", label: "Pending" }, // { value: "Completed", label: "Completed" }, // { value: "Inprogress", label: "Inprogress" }, // { value: "Error", label: "Error" }, // ], amount: 4000, currency: "EUR", dateTime: "2025-06-17 10:10:30", errorInfo: "-", fraudScore: "frad score 1234", }, { id: 10, userId: 7, merchandId: 100987998, transactionId: 1049131973, depositMethod: "Bank Transfer", status: "Inprogress", // options: [ // { value: "Pending", label: "Pending" }, // { value: "Completed", label: "Completed" }, // { value: "Inprogress", label: "Inprogress" }, // { value: "Error", label: "Error" }, // ], amount: 4000, currency: "EUR", dateTime: "2025-06-17 10:10:30", errorInfo: "-", fraudScore: "frad score 1234", }, { id: 11, userId: 1, merchandId: 100987998, transactionId: 1049131973, depositMethod: "Bank Transfer", status: "Error", // options: [ // { value: "Pending", label: "Pending" }, // { value: "Completed", label: "Completed" }, // { value: "Inprogress", label: "Inprogress" }, // { value: "Error", label: "Error" }, // ], amount: 4000, currency: "EUR", dateTime: "2025-06-17 10:10:30", errorInfo: "-", fraudScore: "frad score 1234", }, ]; export const allTransactionsColumns: GridColDef[] = [ { field: "userId", headerName: "User ID", width: 130 }, { field: "merchandId", headerName: "Merchant ID", width: 130 }, { field: "transactionId", headerName: "Transaction ID", width: 130 }, { field: "depositMethod", headerName: "Deposit Method", width: 130 }, { field: "status", headerName: "Status", width: 130 }, // { field: "actions", headerName: "Actions", width: 150 }, { field: "amount", headerName: "Amount", width: 130 }, { field: "currency", headerName: "Currency", width: 130 }, { field: "dateTime", headerName: "Date / Time", width: 130 }, { field: "errorInfo", headerName: "Error Info", width: 130 }, { field: "fraudScore", headerName: "Fraud Score", width: 130 }, ]; export const allTransactionsExtraColumns: GridColDef[] = [ { field: "currency", headerName: "Currency", width: 130 }, { field: "errorInfo", headerName: "Error Info", width: 130 }, { field: "fraudScore", headerName: "Fraud Score", width: 130 }, ]; export const extraColumns = ["currency", "errorInfo", "fraudScore"]; export const allTransactionsSearchLabels = [ { label: "User", field: "userId", type: "text" }, { label: "Transaction ID", field: "transactionId", type: "text" }, { label: "Transaction Reference ID", field: "transactionReferenceId", type: "text", }, { label: "Currency", field: "currency", type: "select", options: ["USD", "EUR", "GBP"], }, { label: "Status", field: "status", type: "select", options: ["Pending", "Inprogress", "Completed", "Failed"], }, { label: "Payment Method", field: "depositMethod", type: "select", options: ["Card", "Bank Transfer"], }, { label: "Date / Time", field: "dateTime", type: "date" }, ];