mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-28 22:19:41 -08:00
19 lines
473 B
TypeScript
19 lines
473 B
TypeScript
|
import {
|
||
|
ICredentialType,
|
||
|
NodePropertyTypes,
|
||
|
} from 'n8n-workflow';
|
||
|
|
||
|
export class DriftApi implements ICredentialType {
|
||
|
name = 'driftApi';
|
||
|
displayName = 'Drift API';
|
||
|
properties = [
|
||
|
{
|
||
|
displayName: 'Personal Access Token',
|
||
|
name: 'accessToken',
|
||
|
type: 'string' as NodePropertyTypes,
|
||
|
default: '',
|
||
|
description: 'Visit your account details page, and grab the Access Token. See <a href="https://devdocs.drift.com/docs/quick-start">Drift auth</a>.'
|
||
|
},
|
||
|
];
|
||
|
}
|