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

26 lines
475 B
TypeScript
Raw Normal View History

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