mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 11:18:17 +00:00
changes on transit agent
This commit is contained in:
@@ -74,6 +74,20 @@ export class TransitAgentsController {
|
||||
return this.transitAgentsService.findForwarderOptions();
|
||||
}
|
||||
|
||||
/**
|
||||
* The Djibouti roster, id + name only, for the clearing agent on a booking
|
||||
* to name the transit officer. Also before `:id` for the same reason.
|
||||
*/
|
||||
@Get("djibouti-options")
|
||||
@PortalCustomer()
|
||||
@ApiOperation({
|
||||
summary:
|
||||
"List active Djibouti transit agents (id + name) an assigned clearing agent can hand the transit leg to",
|
||||
})
|
||||
findDjiboutiOptions() {
|
||||
return this.transitAgentsService.findDjiboutiOptions();
|
||||
}
|
||||
|
||||
@Get(":id")
|
||||
@RuleEngineView("transit-agents")
|
||||
@ApiOperation({ summary: "Get a transit agent by ID" })
|
||||
|
||||
Reference in New Issue
Block a user