n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 534 B
text/typescript
/**
* Autopilot Node - Version 1
* Discriminator: resource=contact, operation=get
*/
interface Credentials {
autopilotApi: CredentialReference;
}
/** Get a contact */
export type AutopilotV1ContactGetParams = {
resource: 'contact';
operation: 'get';
/**
* Can be ID or email
*/
contactId?: string | Expression<string> | PlaceholderValue;
};
export type AutopilotV1ContactGetNode = {
type: 'n8n-nodes-base.autopilot';
version: 1;
credentials?: Credentials;
config: NodeConfig<AutopilotV1ContactGetParams>;
};