mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 04:15:43 +00:00
changes export flow
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
IsInt,
|
||||
IsOptional,
|
||||
IsString,
|
||||
IsUUID,
|
||||
Max,
|
||||
Min,
|
||||
MinLength,
|
||||
@@ -93,6 +94,17 @@ export class RequestOperationDto {
|
||||
})
|
||||
@IsDateString()
|
||||
scheduledDate!: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description:
|
||||
'EXPORT rail only: the specific train (schedule id) the customer picked ' +
|
||||
'from GET /bookings/:id/export-trains. The reserve path locks onto this ' +
|
||||
'train instead of earliest-first; 409 if it no longer fits. Ignored for ' +
|
||||
'import/domestic/road bookings.',
|
||||
})
|
||||
@IsOptional()
|
||||
@IsUUID()
|
||||
trainScheduleId?: string;
|
||||
}
|
||||
|
||||
export class OperationReviewDto {
|
||||
|
||||
Reference in New Issue
Block a user