import { Product } from '../schemas/product.schema';
import { ReturnProcessQuestionKey } from './return-process-question-key';

/**
 * Interface representing information collected during a return process.
 * This interface captures various aspects of a return request including
 * condition details, reasons, and related product information.
 */
export interface ReturnInfo {
  /**
   * Comment / Anmerkung
   */
  comment?: string;

  /**
   * Item condition / Artikelzustand
   */
  itemCondition?: string;

  /**
   * Other product / Anderer Artikel
   */
  otherProduct?: Product;

  /**
   * Return details / Rückgabedetails
   */
  returnDetails?: Partial<Record<ReturnProcessQuestionKey, unknown>>;

  /**
   * Return reason / Rückgabegrund
   */
  returnReason?: string;
}
