n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 540 B
text/typescript
/**
* 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<string> | PlaceholderValue;
};
export type Magento2V1InvoiceCreateNode = {
type: 'n8n-nodes-base.magento2';
version: 1;
credentials?: Credentials;
config: NodeConfig<Magento2V1InvoiceCreateParams>;
};