interface IWebhookDispatcher<IListingContractFlowSignedAction> {
uuid: string;
operation: string;
subdomain: string;
language: string;
createdAt: Date;
data: IListingContractFlowSignedAction;
}
interface IListingContractFlowSignedAction {
id: 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;
};
auditTrailFile?: {
name?: string;
resourcePath?: string;
order?: number;
size?: number;
type?: string;
};
}