const { object, string, number } = require("yup");
const customerTransactionSchema = object().shape({
page: number().default(1),
customerId: string().required(),
type: string().oneOf(["CREDIT", "DEBIT", "ALL"]).default("ALL"),
});
module.exports = { customerTransactionSchema };