Last mile confirmation request , approval, payment Feature

This commit is contained in:
Hagernesh
2026-08-05 19:58:41 +00:00
parent 37d0cc966a
commit 1f4d659ffb
26 changed files with 1334 additions and 8 deletions

View File

@@ -233,6 +233,20 @@ export enum LoadingStatus {
Unloaded = "UNLOADED",
}
/**
* Pre-approval last-mile confirmation lifecycle, fired when a train departs
* Djibouti: the customer confirms which containers go via EDR last-mile, then
* the Truck & Machinery chief approves (truck available) or rejects (reason).
* Approval creates/reuses the execution `LastMile` record — this status set is
* intentionally separate from `LAST_MILE_STATUSES`.
*/
export enum LastMileRequestStatus {
AwaitingConfirmation = "AWAITING_CONFIRMATION",
Submitted = "SUBMITTED",
Approved = "APPROVED",
Rejected = "REJECTED",
}
export enum WagonStatus {
Available = "AVAILABLE",
Assigned = "ASSIGNED",