package request import "agent-desk/internal/ai/workflow/dsl" type CreateAIWorkflowRequest struct { Name string `json:"name"` Description string `json:"description"` AgentID int64 `json:"agentId"` Definition dsl.Definition `json:"definition"` } type SaveAIWorkflowRequest = CreateAIWorkflowRequest type UpdateAIWorkflowRequest struct { ID int64 `json:"id"` CreateAIWorkflowRequest } type DeleteAIWorkflowRequest struct { ID int64 `json:"id"` } type ValidateAIWorkflowRequest struct { Definition dsl.Definition `json:"definition"` } type PublishAIWorkflowRequest struct { WorkflowID int64 `json:"workflowId"` AgentID int64 `json:"agentId"` Definition dsl.Definition `json:"definition"` } type AIWorkflowVersionListRequest struct { WorkflowID int64 `json:"workflowId"` }