Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
30 lines
778 B
TypeScript
30 lines
778 B
TypeScript
import { SaleItem } from './sale-item.entity';
|
|
import { PaymentMethod } from '../../payments/entities/payment-method.entity';
|
|
export declare enum SaleStatus {
|
|
COMPLETED = "completed",
|
|
CANCELLED = "cancelled",
|
|
REFUNDED = "refunded"
|
|
}
|
|
export declare class Sale {
|
|
id: string;
|
|
tenantId: string;
|
|
ticketNumber: string;
|
|
subtotal: number;
|
|
taxAmount: number;
|
|
discountAmount: number;
|
|
total: number;
|
|
paymentMethodId: string;
|
|
amountReceived: number;
|
|
changeAmount: number;
|
|
status: SaleStatus;
|
|
cancelledAt: Date;
|
|
cancelReason: string;
|
|
customerName: string;
|
|
customerPhone: string;
|
|
notes: string;
|
|
deviceInfo: Record<string, unknown>;
|
|
createdAt: Date;
|
|
items: SaleItem[];
|
|
paymentMethod: PaymentMethod;
|
|
}
|