9 lines
389 B
TypeScript
9 lines
389 B
TypeScript
|
|
import { UniqueID } from "@common/domain";
|
||
|
|
import { Collection, Result } from "@common/helpers";
|
||
|
|
import { CustomerInvoice } from "../aggregates";
|
||
|
|
|
||
|
|
export interface ICustomerInvoiceService {
|
||
|
|
findCustomerInvoices(transaction?: any): Promise<Result<Collection<CustomerInvoice>, Error>>;
|
||
|
|
findCustomerInvoiceById(invoiceId: UniqueID, transaction?: any): Promise<Result<CustomerInvoice>>;
|
||
|
|
}
|