n8n-nodes-base
Version:
Base nodes of n8n
31 lines (27 loc) • 645 B
text/typescript
/**
* SendGrid Node - Version 1
* Discriminator: resource=list, operation=delete
*/
interface Credentials {
sendGridApi: CredentialReference;
}
/** Delete a list */
export type SendGridV1ListDeleteParams = {
resource: 'list';
operation: 'delete';
/**
* ID of the list
*/
listId?: string | Expression<string> | PlaceholderValue;
/**
* Whether to delete all contacts on the list
* @default false
*/
deleteContacts?: boolean | Expression<boolean>;
};
export type SendGridV1ListDeleteNode = {
type: 'n8n-nodes-base.sendGrid';
version: 1;
credentials?: Credentials;
config: NodeConfig<SendGridV1ListDeleteParams>;
};