/** * SSH Node - Version 1 * Discriminator: resource=file, operation=upload */ interface Credentials { sshPassword: CredentialReference; sshPrivateKey: CredentialReference; } /** Upload a file */ export type SshV1FileUploadParams = { resource: 'file'; operation: 'upload'; authentication?: 'password' | 'privateKey' | Expression; /** * Input Binary Field * @hint The name of the input binary field containing the file to be uploaded * @default data */ binaryPropertyName?: string | Expression | PlaceholderValue; /** * The directory to upload the file to. The name of the file does not need to be specified, it's taken from the binary data file name. To override this behavior, set the parameter "File Name" under options. */ path?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** Overrides the binary data file name */ fileName?: string | Expression | PlaceholderValue; }; }; export type SshV1FileUploadOutput = { success?: boolean; }; export type SshV1FileUploadNode = { type: 'n8n-nodes-base.ssh'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };