n8n-nodes-base
Version:
Base nodes of n8n
19 lines • 709 B
TypeScript
import type { IDataObject } from 'n8n-workflow';
import type { Context } from '../GenericFunctions';
export declare class TodoistService implements Service {
execute(ctx: Context, operation: OperationType, itemIndex: number): Promise<TodoistResponse>;
private handlers;
}
export type OperationType = 'create' | 'close' | 'delete' | 'get' | 'getAll' | 'reopen' | 'update' | 'move' | 'sync';
export interface Section {
name: string;
id: string;
}
export interface Service {
execute(ctx: Context, operation: OperationType, itemIndex: number): Promise<TodoistResponse>;
}
export interface TodoistResponse {
success?: boolean;
data?: IDataObject;
}
//# sourceMappingURL=Service.d.ts.map