2bbf42b741
Remove Agent Desk users, roles, login sessions, tokens, and local permission persistence. Expose the backend as an embeddable ai-agent module with host-provided subject lookup and operation authorization callbacks, and complete the frontend/backend repository split.
34 lines
792 B
Go
34 lines
792 B
Go
package request
|
|
|
|
type CreateChannelRequest struct {
|
|
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"`
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
type DeleteChannelRequest struct {
|
|
ID int64 `json:"id"`
|
|
}
|
|
|
|
type ChannelMessageOutboxActionRequest struct {
|
|
ID int64 `json:"id"`
|
|
}
|