/** * ClickUp Node - Version 1 * Discriminator: resource=goalKeyResult, operation=create */ interface Credentials { clickUpApi: CredentialReference; clickUpOAuth2Api: CredentialReference; } /** Create a checklist */ export type ClickUpV1GoalKeyResultCreateParams = { resource: 'goalKeyResult'; operation: 'create'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * Goal ID */ goal?: string | Expression | PlaceholderValue; /** * Name */ name?: string | Expression | PlaceholderValue; /** * Type */ type?: 'automatic' | 'boolean' | 'currency' | 'number' | 'percentage' | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** List IDs */ listIds?: string | Expression | PlaceholderValue; /** Owners */ owners?: string | Expression | PlaceholderValue; /** Required for Percentage, Automatic, Number and Currency * @default 0 */ stepsStart?: number | Expression; /** Required for Percentage, Automatic, Number and Currency * @default 0 */ stepsEnd?: number | Expression; /** Task IDs */ taskIds?: string | Expression | PlaceholderValue; /** Only matters for type Number and Currency. For Currency the unit must be a valid currency code. */ unit?: string | Expression | PlaceholderValue; }; }; export type ClickUpV1GoalKeyResultCreateNode = { type: 'n8n-nodes-base.clickUp'; version: 1; credentials?: Credentials; config: NodeConfig; };