Websites v4 docs v5.2.4
    Preparing search index...

    Type Alias LeadParams

    type LeadParams = {
        captchaToken?: string;
        client_ip?: string;
        lead: {
            address_attributes?: { postcode?: string };
            agency_employee_id?: number;
            agency_id?: number;
            branch_id?: number | null;
            client_booking_date_time?: string;
            is_lettings_applicant_at?: string;
            is_sales_applicant_at?: string;
            letting_status?: string;
            message: string;
            metadata?: { lead_marketing_metadata?: SavedLeadMarketingMetadata[] };
            portal_id?: number;
            property_id?: number;
            selling_status?: string;
            valuation_reason?: string;
        };
        user: {
            account_confirmation_status?: string;
            do_not_contact?: boolean;
            email: string;
            first_name: string;
            last_name: string;
            marketing_preferences_attributes: {
                opt_in_marketing: string;
                opt_in_marketing_url: string;
                opt_in_terms: string;
            };
            postcode?: string;
            street_address?: string;
            tel_home?: string
            | number;
            tel_mobile?: string | number;
        };
    }
    Index

    Properties

    captchaToken?: string
    client_ip?: string
    lead: {
        address_attributes?: { postcode?: string };
        agency_employee_id?: number;
        agency_id?: number;
        branch_id?: number | null;
        client_booking_date_time?: string;
        is_lettings_applicant_at?: string;
        is_sales_applicant_at?: string;
        letting_status?: string;
        message: string;
        metadata?: { lead_marketing_metadata?: SavedLeadMarketingMetadata[] };
        portal_id?: number;
        property_id?: number;
        selling_status?: string;
        valuation_reason?: string;
    }
    user: {
        account_confirmation_status?: string;
        do_not_contact?: boolean;
        email: string;
        first_name: string;
        last_name: string;
        marketing_preferences_attributes: {
            opt_in_marketing: string;
            opt_in_marketing_url: string;
            opt_in_terms: string;
        };
        postcode?: string;
        street_address?: string;
        tel_home?: string
        | number;
        tel_mobile?: string | number;
    }