2020-03-04 09:05:54 -08:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2020-03-04 09:05:54 -08:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
2020-03-16 15:26:27 -07:00
|
|
|
export class InvoiceNinjaApi implements ICredentialType {
|
|
|
|
name = 'invoiceNinjaApi';
|
2020-03-04 09:05:54 -08:00
|
|
|
displayName = 'Invoice Ninja API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'invoiceNinja';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-03-13 07:05:17 -07:00
|
|
|
{
|
2020-03-16 15:26:27 -07:00
|
|
|
displayName: 'URL',
|
|
|
|
name: 'url',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-03-16 15:26:27 -07:00
|
|
|
default: 'https://app.invoiceninja.com',
|
2020-03-13 07:05:17 -07:00
|
|
|
},
|
2020-03-04 09:05:54 -08:00
|
|
|
{
|
|
|
|
displayName: 'API Token',
|
|
|
|
name: 'apiToken',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-03-04 09:05:54 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|