接入V4任务卡目录查询
This commit is contained in:
@@ -184,6 +184,39 @@ export interface ReservationV4OrderTaskListFilters {
|
||||
page_size?: number
|
||||
}
|
||||
|
||||
export type ReservationV4CatalogType = 'ACCOUNT' | 'ROOM_TYPE' | 'RATE_CODE' | string
|
||||
|
||||
export interface ReservationV4CatalogLookupFilters {
|
||||
hotel_id?: string
|
||||
keyword?: string
|
||||
page_num?: number
|
||||
page_size?: number
|
||||
}
|
||||
|
||||
export interface ReservationV4CatalogLookupItem {
|
||||
code: string
|
||||
display_name: string
|
||||
status: string | null
|
||||
catalog_source: string | null
|
||||
market_code: string | null
|
||||
market_name: string | null
|
||||
source_code: string | null
|
||||
source_name: string | null
|
||||
adult_capacity: number | null
|
||||
pricing_available: boolean | null
|
||||
}
|
||||
|
||||
export interface ReservationV4CatalogLookupResult {
|
||||
hotel_id: string
|
||||
catalog_type: ReservationV4CatalogType
|
||||
catalog_source: string | null
|
||||
catalog_version: string | null
|
||||
stale: boolean
|
||||
items: ReservationV4CatalogLookupItem[]
|
||||
page: ReservationPageResult
|
||||
warnings: string[]
|
||||
}
|
||||
|
||||
export interface ReservationV4SourceMessageSummary {
|
||||
source_message_id: string
|
||||
hotel_id: string
|
||||
@@ -406,9 +439,22 @@ export interface ReservationOrderTaskTimelineItem {
|
||||
created_at: string | null
|
||||
}
|
||||
|
||||
export interface ReservationV4OrderTaskTimelineItem {
|
||||
order_task_id: string
|
||||
order_ref: string | null
|
||||
order_task_status: ReservationV4OrderTaskStatus | string
|
||||
card_counts: ReservationV4CardCounts
|
||||
source_message_summary: ReservationV4SourceMessageSummary | null
|
||||
source_received_at: string | null
|
||||
created_at: string | null
|
||||
updated_at: string | null
|
||||
latest_activity_at: string | null
|
||||
}
|
||||
|
||||
export interface ReservationOrderDetailResult {
|
||||
order: ReservationOrderSummaryResult
|
||||
tasks: ReservationOrderTaskTimelineItem[]
|
||||
v4_order_tasks: ReservationV4OrderTaskTimelineItem[]
|
||||
warnings: string[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user