n8n-nodes-base
Version:
Base nodes of n8n
33 lines (29 loc) • 831 B
text/typescript
/**
* Todoist Node - Version 2.1
* Discriminator: resource=section, operation=getAll
*/
interface Credentials {
todoistApi: CredentialReference;
todoistOAuth2Api: CredentialReference;
}
/** Section resource */
export type TodoistV21SectionGetAllParams = {
resource: 'section';
operation: 'getAll';
authentication?: 'apiKey' | 'oAuth2' | Expression<string>;
/**
* Filters
* @default {}
*/
sectionFilters?: {
/** Filter sections by project. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
project_id?: string | Expression<string>;
};
};
export type TodoistV21SectionGetAllNode = {
type: 'n8n-nodes-base.todoist';
version: 2.1;
credentials?: Credentials;
config: NodeConfig<TodoistV21SectionGetAllParams>;
};