/** * Google Sheets Node - Version 3 * Discriminator: resource=sheet, operation=create */ interface Credentials { googleApi: CredentialReference; googleSheetsOAuth2Api: CredentialReference; } /** Create a new sheet */ export type GoogleSheetsV3SheetCreateParams = { resource: 'sheet'; operation: 'create'; authentication?: 'serviceAccount' | 'oAuth2' | Expression; /** * Document * @builderHint Default to mode: 'list' which is easier for users to set up * @default {"mode":"list","value":""} */ documentId?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string }; /** * The name of the sheet * @default n8n-sheet */ title?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** Whether the sheet is hidden in the UI, false if it's visible * @default false */ hidden?: boolean | Expression; /** Whether the sheet is an RTL sheet instead of an LTR sheet * @default false */ rightToLeft?: boolean | Expression; /** The ID of the sheet. Must be non-negative. This field cannot be changed once set. * @default 0 */ sheetId?: number | Expression; /** The index of the sheet within the spreadsheet * @default 0 */ index?: number | Expression; /** The color of the tab in the UI * @default 0aa55c */ tabColor?: string | Expression; }; }; export type GoogleSheetsV3SheetCreateNode = { type: 'n8n-nodes-base.googleSheets'; version: 3; credentials?: Credentials; config: NodeConfig; };