/** * ERPNext Node - Version 1 * Discriminator: resource=document, operation=update */ interface Credentials { erpNextApi: CredentialReference; } /** Update a document */ export type ErpNextV1DocumentUpdateParams = { resource: 'document'; operation: 'update'; /** * The type of document you would like to update. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ docType?: string | Expression; /** * The name (ID) of document you would like to get */ documentName?: string | Expression | PlaceholderValue; /** * Properties of request body * @default {} */ properties?: { /** Property */ customProperty?: Array<{ /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ field?: string | Expression; /** Value */ value?: string | Expression | PlaceholderValue; }>; }; }; export type ErpNextV1DocumentUpdateNode = { type: 'n8n-nodes-base.erpNext'; version: 1; credentials?: Credentials; config: NodeConfig; };