/** * Clearbit Node - Version 1 * Discriminator: resource=person, operation=enrich */ interface Credentials { clearbitApi: CredentialReference; } /** The Person API lets you retrieve social information associated with an email address, such as a person’s name, location and Twitter handle */ export type ClearbitV1PersonEnrichParams = { resource: 'person'; operation: 'enrich'; /** * The email address to look up */ email?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** The name of the person’s employer */ company?: string | Expression | PlaceholderValue; /** The domain for the person’s employer */ companyDomain?: string | Expression | PlaceholderValue; /** The Facebook URL for the person */ facebook?: string | Expression | PlaceholderValue; /** Last name of person. If you have this, passing this is strongly recommended to improve match rates. */ familyName?: string | Expression | PlaceholderValue; /** First name of person */ givenName?: string | Expression | PlaceholderValue; /** IP address of the person. If you have this, passing this is strongly recommended to improve match rates. */ ipAddress?: string | Expression | PlaceholderValue; /** The city or country where the person resides */ location?: string | Expression | PlaceholderValue; /** The LinkedIn URL for the person */ linkedIn?: string | Expression | PlaceholderValue; /** The Twitter handle for the person */ twitter?: string | Expression | PlaceholderValue; }; }; export type ClearbitV1PersonEnrichOutput = { bio?: null; email?: string; emailProvider?: boolean; employment?: { domain?: string; name?: string; }; facebook?: { handle?: null; }; fuzzy?: boolean; googleplus?: { handle?: null; }; gravatar?: { avatars?: Array<{ type?: string; url?: string; }>; }; id?: string; inactiveAt?: null; indexedAt?: string; name?: { familyName?: string; fullName?: string; givenName?: string; }; site?: null; twitter?: { avatar?: null; bio?: null; favorites?: null; followers?: null; following?: null; handle?: null; id?: null; location?: null; site?: null; statuses?: null; }; }; export type ClearbitV1PersonEnrichNode = { type: 'n8n-nodes-base.clearbit'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };