n8n-nodes-base
Version:
Base nodes of n8n
37 lines (33 loc) • 847 B
text/typescript
/**
* Home Assistant Node - Version 1
* Discriminator: resource=log, operation=getLogbookEntries
*/
interface Credentials {
homeAssistantApi: CredentialReference;
}
/** Get all logs */
export type HomeAssistantV1LogGetLogbookEntriesParams = {
resource: 'log';
operation: 'getLogbookEntries';
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** The end of the period
*/
endTime?: string | Expression<string>;
/** Entity ID
*/
entityId?: string | Expression<string> | PlaceholderValue;
/** The beginning of the period
*/
startTime?: string | Expression<string>;
};
};
export type HomeAssistantV1LogGetLogbookEntriesNode = {
type: 'n8n-nodes-base.homeAssistant';
version: 1;
credentials?: Credentials;
config: NodeConfig<HomeAssistantV1LogGetLogbookEntriesParams>;
};