/** * Baserow Node - Version 1.1 * Discriminator: resource=row, operation=batchCreate */ interface Credentials { baserowApi: CredentialReference; baserowTokenApi: CredentialReference; } /** Create up to 200 rows in one request */ export type BaserowV11RowBatchCreateParams = { resource: 'row'; operation: 'batchCreate'; 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; /** * Whether to insert the input data this node receives in the new row * @default defineBelow */ dataToSend?: 'autoMapInputData' | 'defineBelow' | Expression; /** * List of input properties to avoid sending, separated by commas. Leave empty to send all properties. * @displayOptions.show { dataToSend: ["autoMapInputData"] } */ inputsToIgnore?: string | Expression | PlaceholderValue; /** * Rows * @displayOptions.show { dataToSend: ["defineBelow"] } * @default [] */ rowsUi?: { /** Row */ rowValues?: Array<{ /** Row ID to update (required for batch update) * @displayOptions.show { /operation: ["batchUpdate"] } */ id?: string | Expression | PlaceholderValue; /** Fields * @default {} */ fieldsUi?: { /** Field */ fieldValues?: Array<{ /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ fieldId?: string | Expression; /** Field Value */ fieldValue?: string | Expression | PlaceholderValue; }>; }; }>; }; }; export type BaserowV11RowBatchCreateNode = { type: 'n8n-nodes-base.baserow'; version: 1.1; credentials?: Credentials; config: NodeConfig; };