changes export flow

This commit is contained in:
Marshal
2026-07-30 11:30:34 +00:00
parent b671f07ce6
commit 2ca04b8f98
47 changed files with 1195 additions and 74 deletions

View File

@@ -61,13 +61,20 @@ export class UpdateTrainSchedulingGlobalRulesDto {
@Min(0)
docReviewMinutes?: number;
@ApiPropertyOptional({ example: 60 })
@ApiPropertyOptional({ example: 60, description: 'IMPORT/DOMESTIC customer pay window, minutes' })
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(1)
paymentWindowMinutes?: number;
@ApiPropertyOptional({ example: 60, description: 'EXPORT customer pay window, minutes' })
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(1)
exportPaymentWindowMinutes?: number;
// Booking-close offsets: minutes before departure the window shuts. The UI
// enters days/hours/minutes and converts to minutes. 0 or null clears the
// offset (close at departure). Nullable so it can be explicitly cleared.