n8n-nodes-base
Version:
Base nodes of n8n
44 lines (40 loc) • 1.11 kB
text/typescript
/**
* Clearbit Node - Version 1
* Discriminator: resource=company, operation=enrich
*/
interface Credentials {
clearbitApi: CredentialReference;
}
/** The Company API allows you to look up a company by their domain */
export type ClearbitV1CompanyEnrichParams = {
resource: 'company';
operation: 'enrich';
/**
* The domain to look up
*/
domain?: string | Expression<string> | PlaceholderValue;
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** The name of the company
*/
companyName?: string | Expression<string> | PlaceholderValue;
/** The Facebook URL for the company
*/
facebook?: string | Expression<string> | PlaceholderValue;
/** The LinkedIn URL for the company
*/
linkedin?: string | Expression<string> | PlaceholderValue;
/** The Twitter handle for the company
*/
twitter?: string | Expression<string> | PlaceholderValue;
};
};
export type ClearbitV1CompanyEnrichNode = {
type: 'n8n-nodes-base.clearbit';
version: 1;
credentials?: Credentials;
config: NodeConfig<ClearbitV1CompanyEnrichParams>;
};