n8n/packages/nodes-base/credentials/AcuitySchedulingApi.credentials.ts

26 lines
504 B
TypeScript
Raw Normal View History

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2020-01-17 18:08:29 -08:00
export class AcuitySchedulingApi implements ICredentialType {
name = 'acuitySchedulingApi';
2020-01-17 18:08:29 -08:00
displayName = 'Acuity Scheduling API';
documentationUrl = 'acuityScheduling';
properties: INodeProperties[] = [
2020-01-17 18:08:29 -08:00
{
displayName: 'User ID',
name: 'userId',
type: 'string',
2020-01-17 18:08:29 -08:00
default: '',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
2020-01-17 18:08:29 -08:00
default: '',
},
];
}