/** * SendGrid Node - Version 1 * Discriminator: resource=contact, operation=getAll */ interface Credentials { sendGridApi: CredentialReference; } /** Get many lists */ export type SendGridV1ContactGetAllParams = { resource: 'contact'; operation: 'getAll'; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression; /** * Filters * @default {} */ filters?: { /** The query field accepts valid <a href="https://sendgrid.com/docs/for-developers/sending-email/segmentation-query-language/">SGQL</a> for searching for a contact */ query?: string | Expression | PlaceholderValue; }; }; export type SendGridV1ContactGetAllNode = { type: 'n8n-nodes-base.sendGrid'; version: 1; credentials?: Credentials; config: NodeConfig; };