n8n/packages/nodes-base/credentials/Magento2Api.credentials.ts
2021-09-21 19:42:40 +02:00

25 lines
461 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class Magento2Api implements ICredentialType {
name = 'magento2Api';
displayName = 'Magento 2 API';
documentationUrl = 'magento2';
properties = [
{
displayName: 'Host',
name: 'host',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}