mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 21:48:18 +00:00
feat(bookings): add agent-driven clearance flow with forwarder/transit-agent panels and BookingClearedByAgent migration
This commit is contained in:
@@ -898,6 +898,12 @@ export interface IBooking extends BaseEntity {
|
||||
handoverAwaitingSignature?: boolean;
|
||||
|
||||
customsClearingEnabled?: boolean;
|
||||
/**
|
||||
* Without-customs booking handed to a registered clearing agent (forwarder):
|
||||
* it runs the phased clearance workflow with the forwarder in GL Ethiopia's
|
||||
* place and the Djibouti agent it named in GL Djibouti's.
|
||||
*/
|
||||
clearedByAgent?: boolean;
|
||||
// (multi-truck self-haul lives in ICustomerTruck[], fetched via the
|
||||
// /customer-trucks endpoint; the fields above are the booking-level flag.)
|
||||
customsClearingAgent?: string | null;
|
||||
@@ -1213,6 +1219,12 @@ export interface ClearanceView {
|
||||
phase?: ContractDocPhase | null;
|
||||
milestones?: IClearanceMilestone[];
|
||||
nextAction?: ClearanceNextAction | null;
|
||||
/**
|
||||
* Handed to a registered clearing agent (forwarder): it does GL Ethiopia's
|
||||
* steps and the Djibouti agent it named does GL Djibouti's. The Release
|
||||
* Order does not wait for the declaration on such a booking.
|
||||
*/
|
||||
clearedByAgent?: boolean;
|
||||
dutyRequired?: boolean | null;
|
||||
roHold?: boolean;
|
||||
roHoldReason?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user