mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
ecd3bbfcd3
* 👕 Autofix creds lint issues * 👕 Manually fix creds lint issues * 👕 Fix indentation * ✏️ Fix typo * 👕 Fix indentation * ✏️ Fix typo
36 lines
720 B
TypeScript
36 lines
720 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',
|
|
},
|
|
];
|
|
}
|