n8n/packages/nodes-base/credentials/CustomerIoApi.credentials.ts

36 lines
766 B
TypeScript
Raw Normal View History

2020-06-30 13:35:31 -07:00
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class CustomerIoApi implements ICredentialType {
name = 'customerIoApi';
displayName = 'Customer.io API';
documentationUrl = 'customerIo';
2020-06-30 13:35:31 -07:00
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.'
},
2020-06-30 13:35:31 -07:00
{
2020-08-04 01:32:51 -07:00
displayName: 'App API Key',
name: 'appApiKey',
2020-06-30 13:35:31 -07:00
type: 'string' as NodePropertyTypes,
default: '',
description: 'Required for App API.'
2020-06-30 13:35:31 -07:00
},
];
}