NexSDK
    Preparing search index...

    Type Alias ListBookingsParams

    Generated by orval v7.21.0 🍺 Do not edit manually. NexHub API OpenAPI spec version: 0.1.0

    type ListBookingsParams = {
        check_in_from?: string | null;
        check_in_to?: string | null;
        check_out_from?: string | null;
        check_out_to?: string | null;
        cursor?: string | null;
        guest_id?: string | null;
        limit?: number;
        property_id?: string | null;
        room_id?: string | null;
        source?: "direct" | "platform" | "ota" | null;
        source_ota?: string | null;
        status?:
            | "pending"
            | "confirmed"
            | "checked_in"
            | "checked_out"
            | "cancelled"
            | null;
    }
    Index

    Properties

    check_in_from?: string | null
    check_in_to?: string | null
    check_out_from?: string | null
    check_out_to?: string | null
    cursor?: string | null
    guest_id?: string | null
    limit?: number

    1

    100

    property_id?: string | null
    room_id?: string | null
    source?: "direct" | "platform" | "ota" | null

    Channel kind. 'platform' = the guest booked themselves on one of our sites; 'direct' = staff entered it at the desk or by phone; 'ota' = a channel manager sent it. Bookings created before 2026-09-06 all say 'direct' and may be either of the first two — they were not backfilled.

    source_ota?: string | null

    Which OTA, e.g. 'booking.com'. Matched case-insensitively. Implies source=ota, since only an OTA booking carries one.

    status?:
        | "pending"
        | "confirmed"
        | "checked_in"
        | "checked_out"
        | "cancelled"
        | null