mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
automate the schedule
This commit is contained in:
@@ -53,6 +53,10 @@ export enum BookingStatus {
|
||||
FullyExecuted = "FULLY_EXECUTED",
|
||||
PnrGenerated = "PNR_GENERATED",
|
||||
PaymentVerificationInProgress = "PAYMENT_VERIFICATION_IN_PROGRESS",
|
||||
/** Selected in a batch and notified to pay within the 1h window. */
|
||||
AwaitingPayment = "AWAITING_PAYMENT",
|
||||
/** Missed the 1h pay window — recoverable via move/cancel (no re-approval). */
|
||||
Expired = "EXPIRED",
|
||||
Paid = "PAID",
|
||||
InTransit = "IN_TRANSIT",
|
||||
Completed = "COMPLETED",
|
||||
@@ -113,6 +117,13 @@ export enum TrainScheduleStatus {
|
||||
Cancelled = "CANCELLED",
|
||||
}
|
||||
|
||||
/** Whether a schedule is still accepting / holding bookings (orthogonal to its operational status). */
|
||||
export enum ScheduleBookingWindow {
|
||||
Open = "OPEN",
|
||||
Full = "FULL",
|
||||
Closed = "CLOSED",
|
||||
}
|
||||
|
||||
export enum AllocationLoadType {
|
||||
Container = "CONTAINER",
|
||||
Bulk = "BULK",
|
||||
|
||||
Reference in New Issue
Block a user