/** * Beeminder Node - Version 1 * Discriminator: resource=goal, operation=update */ interface Credentials { beeminderApi: CredentialReference; beeminderOAuth2Api: CredentialReference; } /** Update a datapoint */ export type BeeminderV1GoalUpdateParams = { resource: 'goal'; operation: 'update'; authentication?: 'apiToken' | 'oAuth2' | Expression; /** * The name of the goal. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ goalName?: string | Expression; /** * Update Fields * @default {} */ updateFields?: { /** Human-readable title for the goal */ title?: string | Expression | PlaceholderValue; /** Y-axis label for the goal graph */ yaxis?: string | Expression | PlaceholderValue; /** Minimum date for the goal in format yyyy-mm-dd */ tmin?: string | Expression | PlaceholderValue; /** Maximum date for the goal in format yyyy-mm-dd */ tmax?: string | Expression | PlaceholderValue; /** Whether the goal is secret * @default false */ secret?: boolean | Expression; /** Whether the data is public * @default false */ datapublic?: boolean | Expression; /** Array of arrays defining the bright red line. Each sub-array contains [date, value, rate] with exactly one field null. * @default [] */ roadall?: IDataObject | string | Expression; /** Data source for the goal. Use empty string for manual entry. */ datasource?: 'api' | 'ifttt' | 'zapier' | '' | Expression; /** Array of alphanumeric tags for the goal. Replaces existing tags. * @default [] */ tags?: IDataObject | string | Expression; }; }; export type BeeminderV1GoalUpdateNode = { type: 'n8n-nodes-base.beeminder'; version: 1; credentials?: Credentials; config: NodeConfig; };