export interface Module { id?: string; name: string; parentModuleId?: string; referenceModuleId?: string; webhooks: Webhook[]; configuration: any; questions: { id: string; elementType: string; label: string; }; emitters?: Emitters[]; } export interface Webhook { id?: string; webhookName: string; webhookUrlType: 'External' | 'Internal'; webhookTriggerTypes?: any[]; requestType: 'GET' | 'POST' | 'PUT' | 'DELETE'; url?: string; headers: Field[] | []; params: Field[] | []; pathVariables: Field[] | []; requestBodies: Field[] | []; } export interface Emitters { id?: string; name?: string; value: string; valueForm: string; } interface Field { id?: string; name: string; valueForm: string; value?: string; questionId?: string; } export interface DropdownOption { label: string; value: string; } export interface DropdownLibOption extends DropdownOption { image: string; } export {};