2020-02-28 16:55:14 -08:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2020-02-28 16:55:14 -08:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
export class DriftApi implements ICredentialType {
|
|
|
|
name = 'driftApi';
|
|
|
|
displayName = 'Drift API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'drift';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-02-28 16:55:14 -08:00
|
|
|
{
|
|
|
|
displayName: 'Personal Access Token',
|
|
|
|
name: 'accessToken',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-02-28 16:55:14 -08:00
|
|
|
default: '',
|
2020-10-22 06:46:03 -07:00
|
|
|
description: 'Visit your account details page, and grab the Access Token. See <a href="https://devdocs.drift.com/docs/quick-start">Drift auth</a>.',
|
2020-02-28 16:55:14 -08:00
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|