/** * Baserow Node - Version 1.1 * Discriminator: resource=row, operation=batchDelete */ interface Credentials { baserowApi: CredentialReference; baserowTokenApi: CredentialReference; } /** Delete up to 200 rows in one request */ export type BaserowV11RowBatchDeleteParams = { resource: 'row'; operation: 'batchDelete'; authentication?: 'usernamePassword' | 'databaseToken' | Expression; /** * Database to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @displayOptions.hide { authentication: ["databaseToken"] } * @default 0 */ databaseId?: string | Expression; /** * Table to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ tableId?: string | Expression; /** * Choose whether to manually enter row IDs or map them from input data * @default defineBelow */ dataToSend?: 'autoMapInputData' | 'defineBelow' | Expression; /** * IDs of the rows to delete * @displayOptions.show { dataToSend: ["defineBelow"] } * @default [] */ rowIds?: string | Expression | PlaceholderValue; /** * Name of the property in each input item that contains the row ID * @displayOptions.show { dataToSend: ["autoMapInputData"] } * @default id */ rowIdProperty?: string | Expression | PlaceholderValue; }; export type BaserowV11RowBatchDeleteNode = { type: 'n8n-nodes-base.baserow'; version: 1.1; credentials?: Credentials; config: NodeConfig; };