interface IWebhookDispatcher<IListingContractFlowStartedAction> {
uuid: string;
operation: string;
subdomain: string;
language: string;
createdAt: Date;
data: IListingContractFlowStartedAction;
}
interface IListingContractFlowStartedAction {
id: string;
contractTemplateId?: string;
metadata?: {
unitId?: string;
listingId?: string;
candidateId?: string;
};
contractData?: any;
status?: CONTRACT_STATUS;
contractFlowType: CONTRACT_FLOW_TYPE;
contractFile?: {
name?: string;
resourcePath?: string;
order?: number;
size?: number;
type?: string;
};
}