/** * Magento 2 Node - Version 1 * Discriminator: resource=invoice, operation=create */ interface Credentials { magento2Api: CredentialReference; } /** Create a new customer */ export type Magento2V1InvoiceCreateParams = { resource: 'invoice'; operation: 'create'; /** * Order ID */ orderId?: string | Expression | PlaceholderValue; }; export type Magento2V1InvoiceCreateNode = { type: 'n8n-nodes-base.magento2'; version: 1; credentials?: Credentials; config: NodeConfig; };