n8n/packages/nodes-base/credentials/SalesmateApi.credentials.ts
2020-08-17 14:42:09 +02:00

26 lines
500 B
TypeScript

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