import type { ICredentialType, INodeProperties } from 'n8n-workflow';

export class TogglApi implements ICredentialType {
	name = 'togglApi';

	displayName = 'Toggl API';

	documentationUrl = 'toggl';

	properties: INodeProperties[] = [
		{
			displayName: 'Username',
			name: 'username',
			type: 'string',
			default: '',
		},
		{
			displayName: 'Password',
			name: 'password',
			type: 'string',
			typeOptions: { password: true },
			default: '',
		},
	];
}
