Uecko_ERP/apps/server/archive/contexts/customer-billing/domain/services/customer-invoice-service.interface.ts

9 lines
395 B
TypeScript
Raw Normal View History

2025-05-02 21:43:51 +00:00
import { UniqueID } from "@/core/common/domain";
2025-05-09 10:45:32 +00:00
import { Collection, Result } from "@repo/rdx-utils";
2025-02-25 15:25:30 +00:00
import { CustomerInvoice } from "../aggregates";
export interface ICustomerInvoiceService {
findCustomerInvoices(transaction?: any): Promise<Result<Collection<CustomerInvoice>, Error>>;
findCustomerInvoiceById(invoiceId: UniqueID, transaction?: any): Promise<Result<CustomerInvoice>>;
}