n8n-nodes-base
Version:
Base nodes of n8n
30 lines (26 loc) • 680 B
text/typescript
/**
* Intercom Node - Version 1
* Discriminator: resource=lead, operation=get
*/
interface Credentials {
intercomApi: CredentialReference;
}
/** Leads are useful for representing logged-out users of your application */
export type IntercomV1LeadGetParams = {
resource: 'lead';
operation: 'get';
/**
* The property to select the lead by
*/
selectBy?: 'email' | 'id' | 'userId' | 'phone' | Expression<string>;
/**
* View by value
*/
value?: string | Expression<string> | PlaceholderValue;
};
export type IntercomV1LeadGetNode = {
type: 'n8n-nodes-base.intercom';
version: 1;
credentials?: Credentials;
config: NodeConfig<IntercomV1LeadGetParams>;
};