UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

38 lines (34 loc) 854 B
/** * Invoice Ninja Node - Version 2 * Discriminator: resource=expense, operation=getAll */ interface Credentials { invoiceNinjaApi: CredentialReference; } /** Get data of many clients */ export type InvoiceNinjaV2ExpenseGetAllParams = { resource: 'expense'; operation: 'getAll'; /** * API Version * @default v5 */ apiVersion?: 'v4' | 'v5' | Expression<string>; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression<boolean>; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression<number>; }; export type InvoiceNinjaV2ExpenseGetAllNode = { type: 'n8n-nodes-base.invoiceNinja'; version: 2; credentials?: Credentials; config: NodeConfig<InvoiceNinjaV2ExpenseGetAllParams>; };