M33: enforce booking readiness workflow
This commit is contained in:
@@ -92,7 +92,11 @@ class CreateBookingRequest(BaseModel):
|
||||
vehicle_ref: str = Field(min_length=3, max_length=20)
|
||||
starts_at: datetime
|
||||
ends_at: datetime
|
||||
requirements_complete: bool = True
|
||||
requirements_complete: bool = False
|
||||
|
||||
|
||||
class CompleteBookingRequirementsRequest(BaseModel):
|
||||
confirmation: str = Field(min_length=3, max_length=500)
|
||||
|
||||
|
||||
class CustomerOptionOut(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user