Add Magento 2 node (#2048)

*  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>
This commit is contained in:
Ricardo Espinoza
2021-09-15 04:07:02 -04:00
committed by GitHub
parent eb89b219f3
commit ef14b41a16
10 changed files with 2666 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
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: '',
},
];
}