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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
516 B
TypeScript
Raw Normal View History

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2020-01-20 19:00:27 -08:00
export class SalesmateApi implements ICredentialType {
name = 'salesmateApi';
2020-01-20 19:00:27 -08:00
displayName = 'Salesmate API';
documentationUrl = 'salesmate';
properties: INodeProperties[] = [
2020-01-20 19:00:27 -08:00
{
displayName: 'Session Token',
name: 'sessionToken',
type: 'string',
typeOptions: { password: true },
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',
},
];
}