/** * Agile CRM Node - Version 1 * Discriminator: resource=contact, operation=getAll */ interface Credentials { agileCrmApi: CredentialReference; } /** Get many contacts */ export type AgileCrmV1ContactGetAllParams = { 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 20 */ limit?: number | Expression; /** * Filter * @default none */ filterType?: 'none' | 'manual' | 'json' | Expression; /** * Must Match * @displayOptions.show { filterType: ["manual"] } * @default anyFilter */ matchType?: 'anyFilter' | 'allFilters' | Expression; /** * Whether to return a simplified version of the response instead of the raw data * @default false */ simple?: boolean | Expression; /** * Filters * @displayOptions.show { filterType: ["manual"] } * @default {} */ filters?: { /** Conditions */ conditions?: Array<{ /** Any searchable field */ field?: string | Expression | PlaceholderValue; /** Condition Type * @default EQUALS */ condition_type?: 'AFTER' | 'BEFORE' | 'BETWEEN' | 'EQUALS' | 'LAST' | 'NOTEQUALS' | 'ON' | Expression; /** Value */ value?: string | Expression | PlaceholderValue; /** Value 2 * @displayOptions.show { condition_type: ["BETWEEN"] } */ value2?: string | Expression | PlaceholderValue; }>; }; /** * Filters (JSON) * @displayOptions.show { filterType: ["json"] } */ filterJson?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** Sort * @default [] */ sort?: { /** Sort */ sort?: { /** The sorting direction * @default ASC */ direction?: 'ASC' | 'DESC' | Expression; /** The sorting field */ field?: string | Expression | PlaceholderValue; }; }; }; }; export type AgileCrmV1ContactGetAllNode = { type: 'n8n-nodes-base.agileCrm'; version: 1; credentials?: Credentials; config: NodeConfig; };