/**
 * Generated by orval v8.9.1 🍺
 * Do not edit manually.
 * Api
 * EHSAN Closed Donation Loop API
 * OpenAPI spec version: 0.1.0
 */
import type { DonationRequestNeedType } from './donationRequestNeedType';
import type { DonationRequestSource } from './donationRequestSource';
import type { DonationRequestStatus } from './donationRequestStatus';
import type { DonationRequestWhatsappStatus } from './donationRequestWhatsappStatus';

export interface DonationRequest {
  id: string;
  caseId: string;
  beneficiaryName: string;
  nationalId: string;
  phone: string;
  source: DonationRequestSource;
  sourceName: string;
  needType: DonationRequestNeedType;
  requestedAmount: number;
  collectedAmount: number;
  description: string;
  status: DonationRequestStatus;
  currentStep: number;
  /** @nullable */
  donorId?: string | null;
  /** @nullable */
  donorName?: string | null;
  /** @nullable */
  thankYouMessage?: string | null;
  /** @nullable */
  whatsappStatus?: DonationRequestWhatsappStatus;
  /** @nullable */
  whatsappSentAt?: string | null;
  /** @nullable */
  rejectionReason?: string | null;
  createdAt: string;
  updatedAt: string;
}
