/**
 * 수주 관련 컴포넌트 및 API 함수
 */

// API Actions
export {
  getOrders,
  getOrderById,
  createOrder,
  createOrderFromQuote,
  updateOrder,
  deleteOrder,
  deleteOrders,
  updateOrderStatus,
  getOrderStats,
  createProductionOrder,
  revertProductionOrder,
  revertOrderConfirmation,
  checkBendingStock,
  getQuoteByIdForSelect,
  type Order,
  type BendingStockItem,
  type OrderItem as OrderItemApi,
  type OrderFormData as OrderApiFormData,
  type OrderItemFormData,
  type OrderStats,
  type OrderNode,
  type OrderStatus,
  type QuotationForSelect,
  type QuotationItem,
} from "./actions";

// Components
export { OrderRegistration, type OrderFormData } from "./OrderRegistration";
export { QuotationSelectDialog } from "./QuotationSelectDialog";
export { ItemAddDialog, type OrderItem } from "./ItemAddDialog";

// 문서 컴포넌트
export {
  ContractDocument,
  TransactionDocument,
  PurchaseOrderDocument,
  OrderDocumentModal,
  type OrderDocumentType,
  type OrderDocumentData,
} from "./documents";

// V2 상세/수정 컴포넌트
export { OrderSalesDetailView } from "./OrderSalesDetailView";
export { OrderSalesDetailEdit } from "./OrderSalesDetailEdit";