实现V4订单详情总览页
This commit is contained in:
@@ -246,6 +246,36 @@ export interface ReservationV4CardCounts {
|
||||
confirmed_count: number
|
||||
}
|
||||
|
||||
export interface ReservationOrderV4RoomSummary {
|
||||
room_type_code: string | null
|
||||
room_count: number | null
|
||||
}
|
||||
|
||||
export interface ReservationOrderV4OverviewResult {
|
||||
account_code: string | null
|
||||
account_name: string | null
|
||||
market_code: string | null
|
||||
source_code: string | null
|
||||
arrival_date: string | null
|
||||
departure_date: string | null
|
||||
rate_code: string | null
|
||||
room_items: ReservationOrderV4RoomSummary[]
|
||||
trace_card_status: ReservationV4CardStatus | string | null
|
||||
rooming_list_card_status: ReservationV4CardStatus | string | null
|
||||
payment_card_status: ReservationV4CardStatus | string | null
|
||||
latest_confirmed_at: string | null
|
||||
}
|
||||
|
||||
export type ReservationOrderV4NextActionType = 'CONFIRM' | 'REVIEW' | 'NONE' | string
|
||||
|
||||
export interface ReservationOrderV4NextActionResult {
|
||||
order_task_id: string | null
|
||||
card_id: string | null
|
||||
action_type: ReservationOrderV4NextActionType | null
|
||||
action_status: ReservationV4CardStatus | string | null
|
||||
open_order_task_count: number | null
|
||||
}
|
||||
|
||||
export interface ReservationV4ActionAvailability {
|
||||
blocked: boolean
|
||||
read_only: boolean
|
||||
@@ -453,6 +483,7 @@ export interface ReservationV4OrderTaskTimelineItem {
|
||||
order_ref: string | null
|
||||
order_task_status: ReservationV4OrderTaskStatus | string
|
||||
card_counts: ReservationV4CardCounts
|
||||
cards: ReservationOrderV4TaskCardTimelineItem[]
|
||||
source_message_summary: ReservationV4SourceMessageSummary | null
|
||||
source_received_at: string | null
|
||||
created_at: string | null
|
||||
@@ -460,8 +491,24 @@ export interface ReservationV4OrderTaskTimelineItem {
|
||||
latest_activity_at: string | null
|
||||
}
|
||||
|
||||
export interface ReservationOrderV4TaskCardTimelineItem {
|
||||
card_id: string
|
||||
card_type: ReservationV4CardType | string
|
||||
event_type: string | null
|
||||
source_event_index: number | null
|
||||
card_sort_order: number | null
|
||||
card_status: ReservationV4CardStatus | string
|
||||
review_status: string | null
|
||||
confirmed_by: string | null
|
||||
confirmed_at: string | null
|
||||
latest_activity_at: string | null
|
||||
}
|
||||
|
||||
export interface ReservationOrderDetailResult {
|
||||
order: ReservationOrderSummaryResult
|
||||
order_overview: ReservationOrderV4OverviewResult | null
|
||||
next_v4_action: ReservationOrderV4NextActionResult | null
|
||||
related_source_messages: ReservationV4SourceMessageSummary[]
|
||||
tasks: ReservationOrderTaskTimelineItem[]
|
||||
v4_order_tasks: ReservationV4OrderTaskTimelineItem[]
|
||||
warnings: string[]
|
||||
|
||||
Reference in New Issue
Block a user