/** * BambooHR Node - Version 1 * Discriminator: resource=employeeDocument, operation=upload */ interface Credentials { bambooHrApi: CredentialReference; } /** Upload an employee document */ export type BambooHrV1EmployeeDocumentUploadParams = { resource: 'employeeDocument'; operation: 'upload'; /** * ID of the employee */ employeeId?: string | Expression | PlaceholderValue; /** * Employee Document Category ID */ categoryId?: string | Expression | PlaceholderValue; /** * The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG. * @default data */ binaryPropertyName?: string | Expression | PlaceholderValue; /** * Options * @default {} */ options?: { /** Whether this file is shared or not * @default true */ share?: boolean | Expression; }; }; export type BambooHrV1EmployeeDocumentUploadNode = { type: 'n8n-nodes-base.bambooHr'; version: 1; credentials?: Credentials; config: NodeConfig; };