2022-07-24 08:36:17 -07:00
|
|
|
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2020-01-20 19:00:27 -08:00
|
|
|
|
|
|
|
export class SalesmateApi implements ICredentialType {
|
|
|
|
name = 'salesmateApi';
|
|
|
|
displayName = 'Salesmate API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'salesmate';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-01-20 19:00:27 -08:00
|
|
|
{
|
|
|
|
displayName: 'Session Token',
|
|
|
|
name: 'sessionToken',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-01-20 19:00:27 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'URL',
|
|
|
|
name: 'url',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-01-20 19:00:27 -08:00
|
|
|
default: '',
|
|
|
|
placeholder: 'n8n.salesmate.io',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|