n8n-nodes-hubitat
Version:
n8n nodes to integrate with Hubitat smart home platform
18 lines (17 loc) • 721 B
TypeScript
import { INodeType, INodeTypeDescription, IWebhookFunctions, IWebhookResponseData, IHookFunctions, ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow';
export declare class HubitatTrigger implements INodeType {
description: INodeTypeDescription;
methods: {
loadOptions: {
getDevices(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
};
};
webhookMethods: {
default: {
checkExists(this: IHookFunctions): Promise<boolean>;
create(this: IHookFunctions): Promise<boolean>;
delete(this: IHookFunctions): Promise<boolean>;
};
};
webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
}