n8n-nodes-base
Version:
Base nodes of n8n
28 lines (24 loc) • 685 B
text/typescript
/**
* Todoist Node - Version 2.1
* Discriminator: resource=project, operation=archive
*/
interface Credentials {
todoistApi: CredentialReference;
todoistOAuth2Api: CredentialReference;
}
/** Project resource */
export type TodoistV21ProjectArchiveParams = {
resource: 'project';
operation: 'archive';
authentication?: 'apiKey' | 'oAuth2' | Expression<string>;
/**
* The project ID - can be either a string or number
*/
projectId?: string | Expression<string> | PlaceholderValue;
};
export type TodoistV21ProjectArchiveNode = {
type: 'n8n-nodes-base.todoist';
version: 2.1;
credentials?: Credentials;
config: NodeConfig<TodoistV21ProjectArchiveParams>;
};