2022-07-24 08:36:17 -07:00
|
|
|
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2019-12-21 18:44:56 -08:00
|
|
|
|
|
|
|
export class TogglApi implements ICredentialType {
|
|
|
|
name = 'togglApi';
|
|
|
|
displayName = 'Toggl API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'toggl';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2019-12-21 18:44:56 -08:00
|
|
|
{
|
|
|
|
displayName: 'Username',
|
|
|
|
name: 'username',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2019-12-21 18:44:56 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Password',
|
|
|
|
name: 'password',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2019-12-21 18:44:56 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|