mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 14:38:12 +00:00
feat(bookings): add estimated shipment date handling and validation for binding shipment day
This commit is contained in:
@@ -646,8 +646,10 @@ export interface CreateBookingDto {
|
||||
companyId?: string | undefined;
|
||||
trainId?: string | undefined;
|
||||
trainScheduleId?: string | undefined;
|
||||
/** Optional for general contracts — they pick the date per order, not at creation. */
|
||||
/** Binding shipment day — set at the operation-request step, not at creation. */
|
||||
scheduledDate?: string | undefined;
|
||||
/** Non-binding shipment-date estimate captured in the booking wizard. */
|
||||
estimatedShipmentDate?: string | undefined;
|
||||
/** Defaults to ONE_TIME. GENERAL_CONTRACT creates an umbrella contract. */
|
||||
bookingType?: BookingType | undefined;
|
||||
contractType: string;
|
||||
|
||||
Reference in New Issue
Block a user