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