n8n-nodes-base
Version:
Base nodes of n8n
32 lines (28 loc) • 921 B
text/typescript
/**
* Home Assistant Node - Version 1
* Discriminator: resource=cameraProxy, operation=getScreenshot
*/
interface Credentials {
homeAssistantApi: CredentialReference;
}
/** Get the camera screenshot */
export type HomeAssistantV1CameraProxyGetScreenshotParams = {
resource: 'cameraProxy';
operation: 'getScreenshot';
/**
* Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
cameraEntityId?: string | Expression<string>;
/**
* Put Output File in Field
* @hint The name of the output binary field to put the file in
* @default data
*/
binaryPropertyName?: string | Expression<string> | PlaceholderValue;
};
export type HomeAssistantV1CameraProxyGetScreenshotNode = {
type: 'n8n-nodes-base.homeAssistant';
version: 1;
credentials?: Credentials;
config: NodeConfig<HomeAssistantV1CameraProxyGetScreenshotParams>;
};