Websites v4 docs v12.7.0
    Preparing search index...

    Type Alias BranchHestiaFields

    BranchHestiaFields: (
        | "address"
        | "agency"
        | "agency_id"
        | "agency_portal_preferences"
        | "area"
        | "branch_id"
        | "branch_manager_name"
        | "branch_name"
        | "branch_opening_times"
        | "branch_url_label"
        | "brand"
        | "company"
        | "contact_email"
        | "contact_telephone"
        | "departments"
        | `departments.${string}`
        | "description"
        | "feature_properties"
        | "hero_asset"
        | "lettings_email"
        | "lettings_enabled"
        | "lettings_fax"
        | "lettings_manager_name"
        | "lettings_telephone"
        | "loc"
        | "nodes"
        | "photo"
        | "photos"
        | "position"
        | "preferences"
        | "rightmove_code_lettings"
        | "rightmove_code_resi"
        | "sales_email"
        | "sales_enabled"
        | "sales_fax"
        | "sales_telephone"
        | "short_description"
        | "show_full_details_on_homepage"
        | "staff_profiles"
        | "wanted_ads"
    )[]

    The fields a branch request can ask Hestia for. fields is a projection on Hestia's database, so these are its field names, which are not always the response's:

    • branch_name fills name, and loc fills lat and lng
    • preferences also fills h1_tag, meta_title and meta_description
    • agency (with branded) needs agency_id requested too
    • departments.<field> returns just those fields of each department, e.g. departments.tel without the department polygons that make a full departments response so large

    Only branch_id always comes back. Every other response field is there but empty unless its field is requested.