n8n-nodes-base
Version:
Base nodes of n8n
28 lines (24 loc) • 610 B
text/typescript
/**
* Todoist Node - Version 2.1
* Discriminator: resource=label, operation=get
*/
interface Credentials {
todoistApi: CredentialReference;
todoistOAuth2Api: CredentialReference;
}
/** Label resource */
export type TodoistV21LabelGetParams = {
resource: 'label';
operation: 'get';
authentication?: 'apiKey' | 'oAuth2' | Expression<string>;
/**
* Label ID
*/
labelId?: string | Expression<string> | PlaceholderValue;
};
export type TodoistV21LabelGetNode = {
type: 'n8n-nodes-base.todoist';
version: 2.1;
credentials?: Credentials;
config: NodeConfig<TodoistV21LabelGetParams>;
};