/** * Beeminder Node - Version 1 * Discriminator: resource=datapoint, operation=update */ interface Credentials { beeminderApi: CredentialReference; beeminderOAuth2Api: CredentialReference; } /** Update a datapoint */ export type BeeminderV1DatapointUpdateParams = { resource: 'datapoint'; 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; /** * Datapoint ID */ datapointId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Datapoint value to send * @default 1 */ value?: number | Expression; /** Comment */ comment?: string | Expression | PlaceholderValue; /** Defaults to "now" if none is passed in, or the existing timestamp if the datapoint is being updated rather than created */ timestamp?: string | Expression; }; }; export type BeeminderV1DatapointUpdateNode = { type: 'n8n-nodes-base.beeminder'; version: 1; credentials?: Credentials; config: NodeConfig; };