n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 508 B
text/typescript
/**
* Magento 2 Node - Version 1
* Discriminator: resource=order, operation=get
*/
interface Credentials {
magento2Api: CredentialReference;
}
/** Get a customer */
export type Magento2V1OrderGetParams = {
resource: 'order';
operation: 'get';
/**
* Order ID
*/
orderId?: string | Expression<string> | PlaceholderValue;
};
export type Magento2V1OrderGetNode = {
type: 'n8n-nodes-base.magento2';
version: 1;
credentials?: Credentials;
config: NodeConfig<Magento2V1OrderGetParams>;
};