n8n/packages/nodes-base/credentials/InvoiceNinjaApi.credentials.ts

24 lines
461 B
TypeScript
Raw Normal View History

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class InvoiceNinjaApi implements ICredentialType {
name = 'invoiceNinjaApi';
displayName = 'Invoice Ninja API';
properties = [
2020-03-13 07:05:17 -07:00
{
displayName: 'URL',
name: 'url',
2020-03-13 07:05:17 -07:00
type: 'string' as NodePropertyTypes,
default: 'https://app.invoiceninja.com',
2020-03-13 07:05:17 -07:00
},
{
displayName: 'API Token',
name: 'apiToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}