mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
✨ Add ERPNext node (#1604)
* 🚧 Integrated with access token OAuth2 still needs work * 🚧 Removed OAuth2 for now * ⚡ Improvements * ⚡ Improvements * ⚡ Refactor ERPNext node * 🔥 Remove PNG icon * 🔥 Remove leftover comments * 🔨 Catch unavailable resource error * ⚡ Reposition docType for filters * ⚡ Improvements * ⚡ Cleanup Co-authored-by: Rupenieks <ronaldsupenieks96@gmail.com> Co-authored-by: ricardo <ricardoespinoza105@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
32
packages/nodes-base/credentials/ERPNextApi.credentials.ts
Normal file
32
packages/nodes-base/credentials/ERPNextApi.credentials.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class ERPNextApi implements ICredentialType {
|
||||
name = 'erpNextApi';
|
||||
displayName = 'ERPNext API';
|
||||
documentationUrl = 'erpnext';
|
||||
properties = [
|
||||
{
|
||||
displayName: 'API Key',
|
||||
name: 'apiKey',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'API Secret',
|
||||
name: 'apiSecret',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Subdomain',
|
||||
name: 'subdomain',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
placeholder: 'n8n',
|
||||
description: 'ERPNext subdomain. For instance, entering n8n will make the url look like: https://n8n.erpnext.com/.',
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user