n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 539 B
text/typescript
/**
* Magento 2 Node - Version 1
* Discriminator: resource=product, operation=get
*/
interface Credentials {
magento2Api: CredentialReference;
}
/** Get a customer */
export type Magento2V1ProductGetParams = {
resource: 'product';
operation: 'get';
/**
* Stock-keeping unit of the product
*/
sku?: string | Expression<string> | PlaceholderValue;
};
export type Magento2V1ProductGetNode = {
type: 'n8n-nodes-base.magento2';
version: 1;
credentials?: Credentials;
config: NodeConfig<Magento2V1ProductGetParams>;
};