/** * ERPNext Node - Version 1 * Discriminator: resource=document, operation=create */ interface Credentials { erpNextApi: CredentialReference; } /** Create a document */ export type ErpNextV1DocumentCreateParams = { resource: 'document'; operation: 'create'; /** * DocType you would like to create. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ docType?: string | Expression; /** * Properties * @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> * @default [] */ field?: string | Expression; /** Value */ value?: string | Expression | PlaceholderValue; }>; }; }; export type ErpNextV1DocumentCreateNode = { type: 'n8n-nodes-base.erpNext'; version: 1; credentials?: Credentials; config: NodeConfig; };