n8n-nodes-base
Version:
Base nodes of n8n
66 lines (62 loc) • 1.67 kB
text/typescript
/**
* Zoho CRM Node - Version 1
* Discriminator: resource=invoice, operation=getAll
*/
interface Credentials {
zohoOAuth2Api: CredentialReference;
}
/** Get many accounts */
export type ZohoCrmV1InvoiceGetAllParams = {
resource: 'invoice';
operation: 'getAll';
/**
* 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 5
*/
limit?: number | Expression<number>;
/**
* Options
* @default {}
*/
options?: {
/** Whether to retrieve only approved records. Defaults to true.
* @default true
*/
approved?: boolean | Expression<boolean>;
/** Whether to retrieve only converted records. Defaults to false.
* @default false
*/
converted?: boolean | Expression<boolean>;
/** Return only these fields
* @default []
*/
fields?: string[];
/** Whether to retrieve only records from child territories
* @default false
*/
include_child?: boolean | Expression<boolean>;
/** Field to sort records by
* @default []
*/
sort_by?: string | Expression<string>;
/** Ascending or descending order sort order
* @default desc
*/
sort_order?: 'asc' | 'desc' | Expression<string>;
/** Retrieve only records from this territory
*/
territory_id?: string | Expression<string> | PlaceholderValue;
};
};
export type ZohoCrmV1InvoiceGetAllNode = {
type: 'n8n-nodes-base.zohoCrm';
version: 1;
credentials?: Credentials;
config: NodeConfig<ZohoCrmV1InvoiceGetAllParams>;
};