/** * Mautic Node - Version 1 * Discriminator: resource=contact, operation=getAll */ interface Credentials { mauticApi: CredentialReference; mauticOAuth2Api: CredentialReference; } /** Create & modify contacts */ export type MauticV1ContactGetAllParams = { resource: 'contact'; operation: 'getAll'; authentication?: 'credentials' | 'oAuth2' | Expression; /** * 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 30 */ limit?: number | Expression; /** * Options * @displayOptions.hide { operation: ["sendEmail", "editDoNotContactList", "editContactPoint"] } * @default {} */ options?: { /** String or search command to filter entities by */ search?: string | Expression | PlaceholderValue; /** Column to sort by. Can use any column listed in the response. */ orderBy?: string | Expression | PlaceholderValue; /** Sort direction: ASC or DESC */ orderByDir?: 'asc' | 'desc' | Expression; /** Whether to return currently published entities * @default false */ publishedOnly?: boolean | Expression; /** Whether to return array of entities without additional lists in it * @default false */ minimal?: boolean | Expression; /** By default only the data of the fields get returned. If this options gets set the RAW response with all data gets returned. * @default true */ rawData?: boolean | Expression; }; }; export type MauticV1ContactGetAllNode = { type: 'n8n-nodes-base.mautic'; version: 1; credentials?: Credentials; config: NodeConfig; };