2022-07-24 08:36:17 -07:00
|
|
|
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2021-12-10 09:36:24 -08:00
|
|
|
|
|
|
|
export class WorkableApi implements ICredentialType {
|
|
|
|
name = 'workableApi';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-12-10 09:36:24 -08:00
|
|
|
displayName = 'Workable API';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-12-10 09:36:24 -08:00
|
|
|
documentationUrl = 'workable';
|
2022-12-02 12:54:28 -08:00
|
|
|
|
2021-12-10 09:36:24 -08:00
|
|
|
properties: INodeProperties[] = [
|
|
|
|
{
|
|
|
|
displayName: 'Subdomain',
|
|
|
|
name: 'subdomain',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Access Token',
|
|
|
|
name: 'accessToken',
|
|
|
|
type: 'string',
|
2022-11-01 09:41:45 -07:00
|
|
|
typeOptions: { password: true },
|
2021-12-10 09:36:24 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|