/** * Invoice Ninja Node - Version 2 * Discriminator: resource=task, operation=create */ interface Credentials { invoiceNinjaApi: CredentialReference; } /** Create a new client */ export type InvoiceNinjaV2TaskCreateParams = { resource: 'task'; operation: 'create'; /** * API Version * @default v5 */ apiVersion?: 'v4' | 'v5' | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ client?: string | Expression; /** Custom Value 1 */ customValue1?: string | Expression | PlaceholderValue; /** Custom Value 2 */ customValue2?: string | Expression | PlaceholderValue; /** Description */ description?: string | Expression | PlaceholderValue; /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ project?: string | Expression; }; /** * Time Logs * @default {} */ timeLogsUi?: { /** Time Log */ timeLogsValues?: Array<{ /** Start Date */ startDate?: string | Expression; /** End Date */ endDate?: string | Expression; /** Duration (Hours) * @default 0 */ duration?: number | Expression; }>; }; }; export type InvoiceNinjaV2TaskCreateNode = { type: 'n8n-nodes-base.invoiceNinja'; version: 2; credentials?: Credentials; config: NodeConfig; };