n8n/packages/nodes-base/credentials/CustomerIoApi.credentials.ts
2021-06-12 18:39:55 +02:00

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.',
},
];
}