2026-04-09 10:01:23 +08:00
|
|
|
package request
|
|
|
|
|
|
|
|
|
|
type CreateChannelRequest struct {
|
2026-07-25 12:04:06 +08:00
|
|
|
ChannelType string `json:"channelType"`
|
|
|
|
|
AIAgentID int64 `json:"aiAgentId"`
|
|
|
|
|
AIAgentRolloutPercent int `json:"aiAgentRolloutPercent"`
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
ConfigJSON string `json:"configJson"`
|
|
|
|
|
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"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-25 12:04:06 +08:00
|
|
|
type RollbackChannelAIAgentRolloutRequest struct {
|
|
|
|
|
ID int64 `json:"id"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-09 10:01:23 +08:00
|
|
|
type DeleteChannelRequest struct {
|
|
|
|
|
ID int64 `json:"id"`
|
|
|
|
|
}
|
2026-04-28 10:15:15 +08:00
|
|
|
|
|
|
|
|
type ResetChannelUserTokenSecretRequest struct {
|
|
|
|
|
ID int64 `json:"id"`
|
|
|
|
|
}
|