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

25 lines
467 B
TypeScript
Raw Normal View History

2020-01-20 19:00:27 -08:00
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class SalesmateApi implements ICredentialType {
name = 'salesmateApi';
displayName = 'Salesmate API';
properties = [
{
displayName: 'Session Token',
name: 'sessionToken',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'URL',
name: 'url',
type: 'string' as NodePropertyTypes,
default: '',
placeholder: 'n8n.salesmate.io',
},
];
}