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';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'customerIo';
|
2020-06-30 13:35:31 -07:00
|
|
|
properties = [
|
2020-09-02 03:25:11 -07:00
|
|
|
{
|
|
|
|
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',
|
2020-09-02 03:25:11 -07:00
|
|
|
name: 'appApiKey',
|
2020-06-30 13:35:31 -07:00
|
|
|
type: 'string' as NodePropertyTypes,
|
|
|
|
default: '',
|
2020-09-02 03:25:11 -07:00
|
|
|
description: 'Required for App API.'
|
2020-06-30 13:35:31 -07:00
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|