toolapprovalqueue

package
v0.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OutcomeRowsFS embed.FS
View Source
var OutcomeRowsPathURI = "/v1/api/agently/toolapprovalqueue/outcome/outcome"

Functions

func DefineOutcomeRowsComponent

func DefineOutcomeRowsComponent(ctx context.Context, srv *datly.Service) error

Types

type OutcomeRowView

type OutcomeRowView struct {
	Id               string     `sqlx:"id"`
	UserId           string     `sqlx:"user_id"`
	ConversationId   *string    `sqlx:"conversation_id"`
	TurnId           *string    `sqlx:"turn_id"`
	MessageId        *string    `sqlx:"message_id"`
	ToolName         string     `sqlx:"tool_name"`
	Title            *string    `sqlx:"title"`
	Arguments        []byte     `sqlx:"arguments"`
	Metadata         *[]byte    `sqlx:"metadata"`
	Status           string     `sqlx:"status"`
	Decision         *string    `sqlx:"decision"`
	ExpiresAt        *time.Time `sqlx:"expires_at"`
	TimedOutAt       *time.Time `sqlx:"timed_out_at"`
	ApprovedByUserId *string    `sqlx:"approved_by_user_id"`
	ApprovedAt       *time.Time `sqlx:"approved_at"`
	ExecutedAt       *time.Time `sqlx:"executed_at"`
	ErrorMessage     *string    `sqlx:"error_message"`
	CreatedAt        time.Time  `sqlx:"created_at"`
	UpdatedAt        *time.Time `sqlx:"updated_at"`
	TransitionAt     *string    `sqlx:"transition_at"`
}

type OutcomeRowsInput

type OutcomeRowsInput struct {
	UserId         string               `parameter:",kind=query,in=userId" predicate:"equal,group=0,o,user_id"`
	ConversationId string               `parameter:",kind=query,in=conversationId" predicate:"equal,group=0,o,conversation_id"`
	Since          time.Time            `parameter:",kind=query,in=since" predicate:"expr,group=0,o.transition_at > ?"`
	Until          time.Time            `parameter:",kind=query,in=until" predicate:"expr,group=0,o.transition_at <= ?"`
	Has            *OutcomeRowsInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}

func (*OutcomeRowsInput) EmbedFS

func (i *OutcomeRowsInput) EmbedFS() *embed.FS

type OutcomeRowsInputHas

type OutcomeRowsInputHas struct {
	UserId         bool
	ConversationId bool
	Since          bool
	Until          bool
}

type OutcomeRowsOutput

type OutcomeRowsOutput struct {
	response.Status `parameter:",kind=output,in=apiStatus" json:",omitempty"`
	Data            []*OutcomeRowView `` /* 127-byte string literal not displayed */
	Metrics         response.Metrics  `parameter:",kind=output,in=metrics"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL