forked from UKSOURCE/ipv6
26 lines
812 B
TypeScript
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;
|
|
};
|