convexsol_stage/interfaces/contact.interface.ts
2025-12-02 11:02:00 +05:30

46 lines
1.1 KiB
TypeScript

export interface ContactDetailsInterface {
contactMedia?: string;
location?: string;
details: string;
logo: { data: { attributes: { url: string } } };
}
export interface ContactPageContent {
title: string;
subTitle: string;
}
export interface ContactDataInterface {
name: string;
mobile?: string;
email: string;
message?: string;
subject?: string;
image?: any;
source: string;
status: string;
source_type?: 'not_applicable' | 'paid' | 'organic';
campaign_code?: string;
}
export interface BudgetSubmitContact {
name: string;
mobile: string;
budget?: string;
information?: string;
file?: any;
}
export interface ContactPageApiInterface {
contactDetails: ContactDetailsInterface[];
content: ContactPageContent;
contactTitle: string;
socialTitle: string;
social: { id: number; link: string; icon: LogoImageDataInterface }[];
contactEmail: string;
}
interface LogoImageDataInterface {
data: { attributes: { url: string; alternativeText: string; width?: number; height?: number } };
}