/** * KoBoToolbox Node - Version 1 * Discriminator: resource=file, operation=get */ interface Credentials { koBoToolboxApi: CredentialReference; } /** Get a form */ export type KoBoToolboxV1FileGetParams = { resource: 'file'; operation: 'get'; /** * 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; /** * Uid of the file (should start with "af" e.g. "afQoJxA4kmKEXVpkH6SYbhb" */ fileId?: string | Expression | PlaceholderValue; /** * Name of the binary property to write the file into * @default data */ binaryPropertyName?: string | Expression | PlaceholderValue; /** * Whether to download the file content into a binary property * @default false */ download?: boolean | Expression; }; export type KoBoToolboxV1FileGetNode = { type: 'n8n-nodes-base.koBoToolbox'; version: 1; credentials?: Credentials; config: NodeConfig; };