mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 12:44:07 -08:00
dec19585bc
* refactor: Enforce expanded sensitive inputs rules (no-changelog) * refactor: Add extra exemption * fix: Add setting to `sessionToken` fields * fix: Restore for `hidden` fields * fix: More edge case exemptions * fix: One more
27 lines
516 B
TypeScript
27 lines
516 B
TypeScript
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
|
|
export class SalesmateApi implements ICredentialType {
|
|
name = 'salesmateApi';
|
|
|
|
displayName = 'Salesmate API';
|
|
|
|
documentationUrl = 'salesmate';
|
|
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Session Token',
|
|
name: 'sessionToken',
|
|
type: 'string',
|
|
typeOptions: { password: true },
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'URL',
|
|
name: 'url',
|
|
type: 'string',
|
|
default: '',
|
|
placeholder: 'n8n.salesmate.io',
|
|
},
|
|
];
|
|
}
|