/** * KoBoToolbox Node - Version 1 * Discriminator: resource=hook, operation=getLogs */ interface Credentials { koBoToolboxApi: CredentialReference; } /** Get hook logs */ export type KoBoToolboxV1HookGetLogsParams = { resource: 'hook'; operation: 'getLogs'; /** * Form ID (e.g. aSAvYreNzVEkrWg5Gdcvg). Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ formId?: string | Expression; /** * Hook ID (starts with h, e.g. hVehywQ2oXPYGHJHKtqth4) */ hookId?: string | Expression | PlaceholderValue; /** * Only retrieve logs with a specific status */ status?: '' | '0' | '1' | '2' | Expression; /** * Minimum date for the hook log to retrieve */ startDate?: string | Expression; /** * Maximum date for the hook log to retrieve */ endDate?: string | Expression; }; export type KoBoToolboxV1HookGetLogsNode = { type: 'n8n-nodes-base.koBoToolbox'; version: 1; credentials?: Credentials; config: NodeConfig; };