import type { SupportedCurrencies } from './index.ts'; import type { Locale } from '../services/index.ts'; export type WaitingSearch = { bathrooms: number | null; bedrooms: number | null; checkInDate: string | null; checkOutDate: string | null; currency: SupportedCurrencies; destinationId: number; email: string; id: string; locale: Locale; maxBudget: number; minBudget: number; people: number | null; type: 'waitingSearch'; }; export type WaitingSearchPayload = { bathrooms?: number; bedrooms?: number; check_in_date?: string; check_out_date?: string; currency?: SupportedCurrencies; destination_id: number; email: string; max_budget?: string; min_budget?: string; people?: number; };