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
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { z } from 'zod'
import { ApId } from '@activepieces/core-utils'
export enum TriggerTestStrategy {
SIMULATION = 'SIMULATION',
TEST_FUNCTION = 'TEST_FUNCTION',
}
export const TestTriggerRequestBody = z.object({
projectId: ApId,
flowId: ApId,
flowVersionId: ApId,
testStrategy: z.nativeEnum(TriggerTestStrategy),
})
export type TestTriggerRequestBody = z.infer<typeof TestTriggerRequestBody>
export const CancelTestTriggerRequestBody = z.object({
projectId: ApId,
flowId: ApId,
})
export type CancelTestTriggerRequestBody = z.infer<typeof CancelTestTriggerRequestBody>