接入V4房型信息展示模型

This commit is contained in:
andy
2026-07-21 09:04:13 +07:00
parent 1d593f05fd
commit 8d181ee8ad
21 changed files with 1390 additions and 77 deletions

View File

@@ -363,6 +363,47 @@ export interface ReservationV4TaskCardFieldResult {
control_hint: string | null
}
export interface ReservationV4RoomInformationRoomItem extends ReservationRecord {
room_type_code?: string | null
room_count?: number | string | null
}
export interface ReservationV4RoomInformationValues extends ReservationRecord {
group_block_name?: string | null
fit_name?: string | null
arrival_date?: string | null
departure_date?: string | null
nights?: number | string | null
rate_code?: string | null
breakfast_included?: boolean | null
group_booking_status?: string | null
group_booking_status_label?: string | null
block_id?: string | null
confirmation_number?: string | null
room_items?: ReservationV4RoomInformationRoomItem[] | null
}
export interface ReservationV4RoomInformationChange {
field: string
before: unknown
after: unknown
}
export interface ReservationV4RoomInformationStatusOption {
code: string
label: string
}
export interface ReservationV4RoomInformationDisplayModel extends ReservationRecord {
event_type: string | null
booking_type: string | null
current_values: ReservationV4RoomInformationValues
proposed_values: ReservationV4RoomInformationValues
final_values: ReservationV4RoomInformationValues
change_summary: ReservationV4RoomInformationChange[]
group_booking_status_options: ReservationV4RoomInformationStatusOption[]
}
export interface ReservationV4TaskCardResult {
card_id: string
card_type: ReservationV4CardType