n8n-nodes-base
Version:
Base nodes of n8n
31 lines (27 loc) • 620 B
text/typescript
/**
* SendGrid Node - Version 1
* Discriminator: resource=list, operation=get
*/
interface Credentials {
sendGridApi: CredentialReference;
}
/** Get a list */
export type SendGridV1ListGetParams = {
resource: 'list';
operation: 'get';
/**
* ID of the list
*/
listId?: string | Expression<string> | PlaceholderValue;
/**
* Whether to return the contact sample
* @default false
*/
contactSample?: boolean | Expression<boolean>;
};
export type SendGridV1ListGetNode = {
type: 'n8n-nodes-base.sendGrid';
version: 1;
credentials?: Credentials;
config: NodeConfig<SendGridV1ListGetParams>;
};