Pre-declaration Djibouti GL assignee request flow

This commit is contained in:
Marshal
2026-07-28 09:01:23 +00:00
parent 653d5782ee
commit e1c831211f
18 changed files with 593 additions and 20 deletions

View File

@@ -332,6 +332,18 @@ export const bookingsService = {
return unwrap(response.data) as Freight.ClearanceView;
},
/** GL ET asks Djibouti to name the officer handling the shipment in transit. */
requestTransitAssignee: (id: string, note?: string) =>
postBooking<BookingDetail>(B.CLEARANCE_TRANSIT_ASSIGNEE_REQUEST(id), {
note,
}),
/** GL Djibouti names (or changes) that officer — unblocks the declaration. */
assignTransitAssignee: (id: string, assignee: string) =>
postBooking<BookingDetail>(B.CLEARANCE_TRANSIT_ASSIGNEE_ASSIGN(id), {
assignee,
}),
uploadDeclaration: async (
id: string,
files: Record<string, File | null>,