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

23 lines
472 B
TypeScript
Raw Normal View History

import { ICredentialType, INodeProperties } from 'n8n-workflow';
2020-01-20 19:00:27 -08:00
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',
},
];
}