michangarrito/apps/backend/dist/modules/sales/dto/sale.dto.d.ts
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

25 lines
565 B
TypeScript

export declare class SaleItemDto {
productId: string;
quantity: number;
discountPercent?: number;
}
export declare class CreateSaleDto {
items: SaleItemDto[];
paymentMethodId?: string;
amountReceived: number;
customerName?: string;
customerPhone?: string;
notes?: string;
deviceInfo?: Record<string, unknown>;
}
export declare class CancelSaleDto {
reason: string;
}
export declare class SalesFilterDto {
startDate?: string;
endDate?: string;
status?: string;
ticketNumber?: string;
limit?: number;
}