interface IWebhookDispatcher<IListingViewngInviteAction> {
uuid: string;
operation: string;
subdomain: string;
language: string;
createdAt: Date;
data: IListingViewngInviteAction;
}
interface IListingViewngInviteAction {
invitationId: string;
listing: {
id: string;
property: {
id: string;
objectId: string;
type: PROPERTY_TYPE;
address: {
zip: string;
city: string;
streetNumber: string;
streetName: string;
placeId: string;
location?: {
lat?: number;
lng?: number;
};
};
};
unit: {
id: string;
objectId: string;
name: string;
type: UNIT_TYPE;
};
};
candidate: {
id: string;
email: string;
};
}