mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 05:04:05 -08:00
ef14b41a16
* ✨ Magento 2 node * ⚡ Improvements * ⚡ Small improvement * ⚡ Improvements * a * ⚡ Improvements * ⚡ Improvements * ⚡ Minor improvements * ⚡ Improvements * 🐛 Fix issue when parsing extension attributes with operation customer:update * ⚡ Improvements * ⚡ Improvements Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
24 lines
429 B
TypeScript
24 lines
429 B
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
export class Magento2Api implements ICredentialType {
|
|
name = 'magento2Api';
|
|
displayName = 'Magento 2 API';
|
|
properties = [
|
|
{
|
|
displayName: 'Host',
|
|
name: 'host',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Access Token',
|
|
name: 'accessToken',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
];
|
|
}
|