/** * ERPNext Node - Version 1 * Discriminator: resource=document, operation=delete */ interface Credentials { erpNextApi: CredentialReference; } /** Delete a document */ export type ErpNextV1DocumentDeleteParams = { resource: 'document'; operation: 'delete'; /** * The type of document you would like to delete. 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; }; export type ErpNextV1DocumentDeleteNode = { type: 'n8n-nodes-base.erpNext'; version: 1; credentials?: Credentials; config: NodeConfig; };