mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 23:35:42 +00:00
feat: enhance booking management with shipping line support and cargo handling improvements
This commit is contained in:
@@ -111,6 +111,14 @@ export class FilterBookingDto {
|
||||
@IsIn(['true', 'false'])
|
||||
isGovernment?: 'true' | 'false';
|
||||
|
||||
@ApiPropertyOptional({
|
||||
enum: ['SHIPPING_LINE', 'CUSTOMER'],
|
||||
description: 'Who booked: a shipping line (owned by shipping_line_company_id) or an ordinary customer company',
|
||||
})
|
||||
@IsOptional()
|
||||
@IsIn(['SHIPPING_LINE', 'CUSTOMER'])
|
||||
customerKind?: 'SHIPPING_LINE' | 'CUSTOMER';
|
||||
|
||||
@ApiPropertyOptional({
|
||||
enum: ['true', 'false'],
|
||||
description: 'Filter customs vs self-clearance (non-customs) bookings',
|
||||
|
||||
Reference in New Issue
Block a user