mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -08:00
36 lines
723 B
TypeScript
36 lines
723 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
export class CustomerIoApi implements ICredentialType {
|
|
name = 'customerIoApi';
|
|
displayName = 'Customer.io API';
|
|
documentationUrl = 'customerIo';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Tracking API Key',
|
|
name: 'trackingApiKey',
|
|
type: 'string',
|
|
default: '',
|
|
description: 'Required for tracking API.',
|
|
required: true,
|
|
},
|
|
{
|
|
displayName: 'Tracking Site ID',
|
|
name: 'trackingSiteId',
|
|
type: 'string',
|
|
default: '',
|
|
description: 'Required for tracking API.',
|
|
},
|
|
{
|
|
displayName: 'App API Key',
|
|
name: 'appApiKey',
|
|
type: 'string',
|
|
default: '',
|
|
description: 'Required for App API.',
|
|
},
|
|
];
|
|
}
|