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

export class JApiApi implements ICredentialType {
	name = 'japiApi';
	displayName = 'J-API';

	properties: INodeProperties[] = [
		{
			displayName: 'API Key',
			name: 'apiKey',
			type: 'string',
			default: '',
		},
		{
			displayName: 'Base URL',
			name: 'baseUrl',
			type: 'hidden',
			default: 'https://da1click.uazapi.com',
		},
	];
}
