package outbox import commonDTO "git.ilapage.cn/ila/yovision/Sense/server/common/dto" type PageRequest struct { commonDTO.Pagination `search:"-"` State string `form:"state"` InternalType string `form:"internalType"` Keyword string `form:"keyword"` } type Summary struct { Pending int64 `json:"pending"` Retry int64 `json:"retry"` Processing int64 `json:"processing"` Dead int64 `json:"dead"` } type PageResponse struct { List []Message `json:"list"` Count int64 `json:"count"` Summary Summary `json:"summary"` } type DetailResponse struct { Message Message `json:"message"` Attempts []Attempt `json:"attempts"` } type RequeueRequest struct { ExpectedVersion int64 `json:"expectedVersion" binding:"required,min=1"` Reason string `json:"reason" binding:"required"` } type EnqueueInput struct { InternalType string BusinessRef string IdempotencyKey string PayloadJSON []byte MaxAttempts int }