mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-27 05:29:42 -08:00
25 lines
467 B
TypeScript
25 lines
467 B
TypeScript
|
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',
|
||
|
},
|
||
|
];
|
||
|
}
|