@apify/n8n-nodes-apify
Version:
n8n nodes for Apify
21 lines (20 loc) • 815 B
TypeScript
import { IHookFunctions, INodeType, INodeTypeDescription, IWebhookFunctions, IWebhookResponseData } from 'n8n-workflow';
import { listActors } from './resources/actorResourceLocator';
import { listActorTasks } from './resources/actorTaskResourceLocator';
export declare class ApifyTrigger implements INodeType {
description: INodeTypeDescription;
webhookMethods: {
default: {
checkExists(this: IHookFunctions): Promise<boolean>;
create(this: IHookFunctions): Promise<boolean>;
delete(this: IHookFunctions): Promise<boolean>;
};
};
webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
methods: {
listSearch: {
listActors: typeof listActors;
listActorTasks: typeof listActorTasks;
};
};
}