🔀 Merge branch 'feature/invoice-ninja-node' of https://github.com/RicardoE105/n8n into RicardoE105-feature/invoice-ninja-node

This commit is contained in:
Jan Oberhauser
2020-03-16 19:38:14 +01:00
20 changed files with 5334 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class InvoiceNinjaCloudApi implements ICredentialType {
name = 'invoiceNinjaCloudApi';
displayName = 'Invoice Ninja API';
properties = [
{
displayName: 'API Token',
name: 'apiToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}

View File

@@ -0,0 +1,23 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class InvoiceNinjaServerApi implements ICredentialType {
name = 'invoiceNinjaServerApi';
displayName = 'Invoice Ninja API';
properties = [
{
displayName: 'Domain',
name: 'domain',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'API Token',
name: 'apiToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}