n8n/packages/nodes-base/credentials/CustomerIoApi.credentials.ts
2020-09-02 12:32:12 +02:00

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