"use client"

import { Wallet } from "lucide-react"

import { CashBalanceLogTable } from "@/components/xml-apis/cash-balance-log/components/cash-balance-log-table"
import { useCashBalanceLog } from "@/components/xml-apis/cash-balance-log/hooks/use-cash-balance-log"
import { createXmlApiListPage } from "@/components/xml-apis/shared/create-xml-api-list-page"
import type { CashBalanceLogRow } from "@/components/xml-apis/cash-balance-log/types"

export const CashBalanceLogListPage = createXmlApiListPage<CashBalanceLogRow>({
  icon: Wallet,
  title: "Cash Balance Log",
  description: "Review cash balance fetch results by API, bank, and process.",
  breadcrumbLabel: "Cash Balance Log",
  useList: useCashBalanceLog,
  Table: CashBalanceLogTable,
})
