interface IWebhookDispatcher<IGetCandidateParsedAction> {
uuid: string;
operation: string;
subdomain: string;
language: string;
createdAt: Date;
data: IGetCandidateParsedAction;
}
interface IGetCandidateParsedAction {
portalId: string;
externalListingId: string;
internalId?: string;
candidateSource: string;
integrationType: string;
email: string;
firstName: string;
lastName: string;
phoneNumber?: string;
street?: string;
number?: string;
zipCode?: string;
city?: string;
employmentType?: {
selectedValue?: EMPLOYMENT_TYPE;
};
hasPets?: {
checked?: boolean;
answer?: string;
};
netMonthlyIncome?: number;
netMonthlyIncomeRanges?: {
from?: number;
to?: number;
};
noTotalPeopleMovingIn?: number;
householdPersons?: {
count?: number;
values?: IHouseholdPersonsValue[];
};
message?: string;
desiredStartDate?: string;
integration: {
id: string;
listingId: string;
companyIntegrationId: string;
internalId: string | number;
type: string;
externalListingId?: string;
};
}