Files
Agent-n8n/n8n-n8n-1.109.2/packages/nodes-base/nodes/ActiveCampaign/ListDescription.ts
2025-09-08 04:48:28 +08:00

34 lines
724 B
TypeScript
Executable File

import type { INodeProperties } from 'n8n-workflow';
import { activeCampaignDefaultGetAllProperties } from './GenericFunctions';
export const listOperations: INodeProperties[] = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['list'],
},
},
options: [
{
name: 'Get Many',
value: 'getAll',
description: 'Get many lists',
action: 'Get many lists',
},
],
default: 'getAll',
},
];
export const listFields: INodeProperties[] = [
// ----------------------------------
// list:getAll
// ----------------------------------
...activeCampaignDefaultGetAllProperties('list', 'getAll'),
];