2025-04-22 15:09:57 +00:00
|
|
|
import { UniqueID } from "core/common/domain";
|
|
|
|
|
import { Collection, Result } from "core/common/helpers";
|
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>>;
|
|
|
|
|
}
|