Files

34 lines
799 B
Go
Raw Permalink Normal View History

2026-04-09 10:01:23 +08:00
package request
type CreateChannelRequest struct {
ChannelType string `json:"channel_type"`
AIAgentID int64 `json:"ai_agent_id"`
AIAgentRolloutPercent int `json:"ai_agent_rollout_percent"`
Name string `json:"name"`
ConfigJSON string `json:"config_json"`
Status int `json:"status"`
Remark string `json:"remark"`
2026-04-09 10:01:23 +08:00
}
type UpdateChannelRequest struct {
ID int64 `json:"id"`
CreateChannelRequest
}
type UpdateChannelStatusRequest struct {
ID int64 `json:"id"`
Status int `json:"status"`
}
type RollbackChannelAIAgentRolloutRequest struct {
ID int64 `json:"id"`
}
2026-04-09 10:01:23 +08:00
type DeleteChannelRequest struct {
ID int64 `json:"id"`
}
type ChannelMessageOutboxActionRequest struct {
ID int64 `json:"id"`
}