import type { SavedLeadMarketingMetadata } from '../../lead-marketing-metadata'; export interface BaseLead { captchaToken?: string; leadMarketingMetadata?: SavedLeadMarketingMetadata[]; } export interface ValuationRequestLeadParams extends BaseLead { firstName: string; lastName: string; email: string; telHome: string; streetAddress?: string; postcode: string; message: string; valuationReason: string; clientBookingDateTime?: string; optInMarketing?: boolean; optInTerms?: boolean; accountConfirmationStatus?: string; branchId?: number | null; } export interface EmailPortalLeadParams extends BaseLead { firstName: string; lastName: string; email: string; telHome: string; message: string; propertyId: number; postcode?: string; streetAddress?: string; town?: string; county?: string; optInMarketing: boolean; optInTerms: boolean; accountConfirmationStatus: string; } export interface MortgageEnquiryLeadParams extends BaseLead { firstName: string; lastName: string; email: string; telHome: string; message: string; branchId?: number | null; propertyId?: number; postcode?: string; streetAddress?: string; town?: string; county?: string; optInMarketing: boolean; optInTerms: boolean; accountConfirmationStatus: string; } export interface BookViewingLeadParams extends BaseLead { firstName: string; lastName: string; email: string; telHome: string; telMobile: string; streetAddress?: string; postcode?: string; message: string; sellingStatus: string; lettingStatus: string; optInMarketing: boolean; optInTerms: boolean; accountConfirmationStatus: string; propertyId: number; branchId: number | null; clientBookingDateTime?: string; } export interface AgencyEmployeeEnquiryParams extends BaseLead { firstName: string; lastName: string; email: string; telHome?: string; agencyEmployeeId: number; branchId: number; message: string; optInMarketing: boolean; optInTerms: boolean; accountConfirmationStatus: string; } export interface AgencyRegistrationLeadParams extends BaseLead { firstName: string; lastName: string; email: string; password: string; passwordConfirmation: string; telHome?: string; streetAddress?: string; address2?: string; town?: string; county?: string; postcode?: string; message: string; isSalesApplicant?: boolean; isLettingsApplicant?: boolean; isVendor?: boolean; isLandlord?: boolean; optInMarketing: boolean; optInTerms: boolean; } export interface BranchEnquiryParams extends BaseLead { firstName: string; lastName: string; email: string; telHome?: string; postcode?: string; branchId: number; message: string; optInMarketing: boolean; optInTerms: boolean; accountConfirmationStatus: string; isSalesApplicantAt?: string; isLettingsApplicantAt?: string; sellingStatus?: string; lettingStatus?: string; } export type CustomFormParams = { [key: string]: string | number | boolean | undefined | null | { [key: string]: any; }; captchaToken?: string; form_params: { redirect_url: string; form_submission: { [key: string]: string | number | boolean | undefined | null | { [key: string]: any; } | { marketing_preferences: { [key: string]: any; }; }; }; }; }; export type ILead = ValuationRequestLeadParams | MortgageEnquiryLeadParams | BookViewingLeadParams | AgencyEmployeeEnquiryParams | AgencyRegistrationLeadParams | BranchEnquiryParams | CustomFormParams | EmailPortalLeadParams; //# sourceMappingURL=lead.types.d.ts.map