Uecko_ERP/apps/server/archive/contexts/customer-billing/domain/services/customer-invoice-service.interface.ts
2025-05-09 12:45:32 +02:00

9 lines
395 B
TypeScript

import { UniqueID } from "@/core/common/domain";
import { Collection, Result } from "@repo/rdx-utils";
import { CustomerInvoice } from "../aggregates";
export interface ICustomerInvoiceService {
findCustomerInvoices(transaction?: any): Promise<Result<Collection<CustomerInvoice>, Error>>;
findCustomerInvoiceById(invoiceId: UniqueID, transaction?: any): Promise<Result<CustomerInvoice>>;
}