2022-07-24 08:36:17 -07:00
|
|
|
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2021-03-11 04:36:55 -08:00
|
|
|
|
|
|
|
export class AutopilotApi implements ICredentialType {
|
|
|
|
name = 'autopilotApi';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-03-11 04:36:55 -08:00
|
|
|
displayName = 'Autopilot API';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-03-11 04:36:55 -08:00
|
|
|
documentationUrl = 'autopilot';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2021-03-11 04:36:55 -08:00
|
|
|
{
|
|
|
|
displayName: 'API Key',
|
|
|
|
name: 'apiKey',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2022-11-01 09:41:45 -07:00
|
|
|
typeOptions: { password: true },
|
2021-03-11 04:36:55 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|