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