Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

541 B
Raw Blame
import { OutputSchema } from '@activepieces/pieces-framework';

import { mailjetSchemaUtils } from '../../../output-schemas';

const segmentFields: OutputSchema['fields'] = [
	{ key: 'Description', label: 'Description' },
	{ key: 'Expression', label: 'Expression' },
	{ key: 'ID', label: 'ID', format: 'number' },
	{ key: 'Name', label: 'Name' },
	{ key: 'Status', label: 'Status' },
];

export const mailjetSegmentOutputSchema: OutputSchema = mailjetSchemaUtils.envelope({
	label: 'Segments',
	labelKey: 'Name',
	fields: segmentFields,
});