2025-09-24 17:30:35 +00:00
|
|
|
import { z } from "zod/v4";
|
2025-09-24 15:09:37 +00:00
|
|
|
|
2025-09-24 17:30:35 +00:00
|
|
|
import {
|
|
|
|
|
GetCustomerInvoiceByIdResponseSchema,
|
|
|
|
|
ListCustomerInvoicesResponseDTO,
|
|
|
|
|
} from "@erp/customer-invoices/common";
|
2025-09-24 15:09:37 +00:00
|
|
|
|
|
|
|
|
/*export const CustomerCreateSchema = CreateCustomerRequestSchema;
|
2025-09-24 17:30:35 +00:00
|
|
|
export const CustomerUpdateSchema = UpdateCustomerByIdRequestSchema;*/
|
|
|
|
|
export const CustomerSchema = GetCustomerInvoiceByIdResponseSchema.omit({
|
2025-09-24 15:09:37 +00:00
|
|
|
metadata: true,
|
|
|
|
|
});
|
|
|
|
|
|
2025-09-24 17:30:35 +00:00
|
|
|
export type CustomerInvoiceData = z.infer<typeof CustomerSchema>;
|
2025-09-24 15:09:37 +00:00
|
|
|
|
|
|
|
|
export type CustomerInvoicesListData = ListCustomerInvoicesResponseDTO;
|