UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

42 lines (38 loc) 1.04 kB
/** * BambooHR Node - Version 1 * Discriminator: resource=file, operation=update */ interface Credentials { bambooHrApi: CredentialReference; } /** Update an employee */ export type BambooHrV1FileUpdateParams = { resource: 'file'; operation: 'update'; /** * ID of the file */ fileId?: string | Expression<string> | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Move the file to a different category. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;. */ categoryId?: string | Expression<string>; /** New name of the file */ name?: string | Expression<string> | PlaceholderValue; /** Whether this file is shared or not * @default true */ shareWithEmployee?: boolean | Expression<boolean>; }; }; export type BambooHrV1FileUpdateNode = { type: 'n8n-nodes-base.bambooHr'; version: 1; credentials?: Credentials; config: NodeConfig<BambooHrV1FileUpdateParams>; };