Files
ipv6-sims/types/admin-submission.ts
2026-05-19 12:48:41 +07:00

26 lines
812 B
TypeScript

export type SubmissionStatus = "approved" | "pending" | "rejected";
/** One row in the admin requests table (registration or feedback). */
export type AdminRequestRow = {
id: string;
submittedAt: string;
displayDate: string;
fullName: string;
jobTitle: string;
company: string;
segment: string;
email: string;
phone: string;
status: SubmissionStatus;
notes: string;
/** Optional: where the row came from (not shown in table yet). */
source?: "registration" | "feedback";
paymentStatus?: "not_required" | "payment_pending" | "paid" | "payment_failed" | "payment_cancelled";
paypalOrderId?: string;
paypalCaptureId?: string;
paymentAmount?: number;
paymentCurrency?: string;
/** ISO string representation of payment completion timestamp. */
paymentCompletedAt?: string;
};