n8n-nodes-base
Version:
Base nodes of n8n
38 lines (34 loc) • 994 B
text/typescript
/**
* Uplead Node - Version 1
* Discriminator: resource=person, operation=enrich
*/
interface Credentials {
upleadApi: CredentialReference;
}
/** Person API lets you lookup a person based on an email address OR based on a domain name + first name + last name */
export type UpleadV1PersonEnrichParams = {
resource: 'person';
operation: 'enrich';
/**
* Email address (e.g – mbenioff@salesforce.com)
*/
email?: string | Expression<string> | PlaceholderValue;
/**
* First name of the person (e.g – Marc)
*/
firstname?: string | Expression<string> | PlaceholderValue;
/**
* Last name of the person (e.g – Benioff)
*/
lastname?: string | Expression<string> | PlaceholderValue;
/**
* The domain name (e.g – salesforce.com)
*/
domain?: string | Expression<string> | PlaceholderValue;
};
export type UpleadV1PersonEnrichNode = {
type: 'n8n-nodes-base.uplead';
version: 1;
credentials?: Credentials;
config: NodeConfig<UpleadV1PersonEnrichParams>;
};