n8n-nodes-referral-factory
Version:
Referral Factory for n8n
20 lines (19 loc) • 828 B
TypeScript
import { INodeType, INodeTypeDescription, ILoadOptionsFunctions, IHookFunctions, IWebhookFunctions, IWebhookResponseData } from 'n8n-workflow';
export declare class ReferralFactoryTrigger implements INodeType {
description: INodeTypeDescription;
webhookMethods: {
default: {
checkExists(this: IHookFunctions): Promise<boolean>;
create(this: IHookFunctions): Promise<boolean>;
delete(this: IHookFunctions): Promise<boolean>;
};
};
methods: {
loadOptions: {
getUserSources(this: ILoadOptionsFunctions): Promise<any>;
getCampaigns(this: ILoadOptionsFunctions): Promise<any>;
getRewards(this: ILoadOptionsFunctions): Promise<any>;
};
};
webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
}