/** * Google Sheets Node - Version 4.3 * Discriminator: resource=spreadsheet, operation=create */ interface Credentials { googleApi: CredentialReference; googleSheetsOAuth2Api: CredentialReference; } /** Create a new sheet */ export type GoogleSheetsV43SpreadsheetCreateParams = { resource: 'spreadsheet'; operation: 'create'; authentication?: 'serviceAccount' | 'oAuth2' | Expression; /** * The title of the spreadsheet */ title?: string | Expression | PlaceholderValue; /** * Sheets * @default {} */ sheetsUi?: { /** Sheet */ sheetValues?: Array<{ /** Title of the property to create */ title?: string | Expression | PlaceholderValue; /** Whether the Sheet should be hidden in the UI * @default false */ hidden?: boolean | Expression; }>; }; /** * Options * @default {} */ options?: { /** The locale of the spreadsheet in one of the following formats: <ul> <li>en (639-1)</li> <li>fil (639-2 if no 639-1 format exists)</li> <li>en_US (combination of ISO language an country)</li> <ul> */ locale?: string | Expression | PlaceholderValue; /** Cell recalculation interval options */ autoRecalc?: '' | 'ON_CHANGE' | 'MINUTE' | 'HOUR' | Expression; }; }; export type GoogleSheetsV43SpreadsheetCreateNode = { type: 'n8n-nodes-base.googleSheets'; version: 4.3; credentials?: Credentials; config: NodeConfig; };