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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
859 B
TypeScript
Raw Normal View History

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2020-01-20 13:52:34 -08:00
export class JotFormApi implements ICredentialType {
name = 'jotFormApi';
2020-01-20 13:52:34 -08:00
displayName = 'JotForm API';
documentationUrl = 'jotForm';
properties: INodeProperties[] = [
2020-01-20 13:52:34 -08:00
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
2020-01-20 13:52:34 -08:00
default: '',
},
{
displayName: 'API Domain',
name: 'apiDomain',
type: 'options',
options: [
{
name: 'api.jotform.com',
value: 'api.jotform.com',
},
{
name: 'eu-api.jotform.com',
value: 'eu-api.jotform.com',
},
{
name: 'hipaa-api.jotform.com',
value: 'hipaa-api.jotform.com',
},
],
default: 'api.jotform.com',
description:
'The API domain to use. Use "eu-api.jotform.com" if your account is in based in Europe.',
},
2020-01-20 13:52:34 -08:00
];
}