/** * SeaTable Node - Version 2 * Discriminator: resource=asset, operation=upload */ interface Credentials { seaTableApi: CredentialReference; } /** Add a file/image to an existing row */ export type SeaTableV2AssetUploadParams = { resource: 'asset'; operation: 'upload'; /** * Choose from the list, or specify a name using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a> */ tableName?: string | Expression; /** * Choose from the list, or specify the name using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ uploadColumn?: string | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ rowId?: string | Expression; /** * Name of the binary property which contains the data for the file to be written * @default data */ dataPropertyName?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** Whether to replace the existing asset with the same name (true). Otherwise, a new version with a different name (numeral in parentheses) will be uploaded (false). * @default true */ replace?: boolean | Expression; /** Whether to keep existing files/images in the column and append the new asset (true). Otherwise, the existing files/images are removed from the column (false). * @default true */ append?: boolean | Expression; }; }; export type SeaTableV2AssetUploadNode = { type: 'n8n-nodes-base.seaTable'; version: 2; credentials?: Credentials; config: NodeConfig; };