n8n-nodes-base
Version:
Base nodes of n8n
62 lines (58 loc) • 1.35 kB
text/typescript
/**
* Invoice Ninja Node - Version 2
* Discriminator: resource=client, operation=getAll
*/
interface Credentials {
invoiceNinjaApi: CredentialReference;
}
/** Get data of many clients */
export type InvoiceNinjaV2ClientGetAllParams = {
resource: 'client';
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>;
/**
* Options
* @default {}
*/
options?: {
/** Include
* @default invoices
*/
include?: 'invoices' | Expression<string>;
/** Status
* @default active
*/
status?: 'active' | 'archived' | 'deleted' | Expression<string>;
/** Created At
*/
createdAt?: string | Expression<string>;
/** Updated At
*/
updatedAt?: string | Expression<string>;
/** Is Deleted
* @default false
*/
isDeleted?: boolean | Expression<boolean>;
};
};
export type InvoiceNinjaV2ClientGetAllNode = {
type: 'n8n-nodes-base.invoiceNinja';
version: 2;
credentials?: Credentials;
config: NodeConfig<InvoiceNinjaV2ClientGetAllParams>;
};