package dto

type (
	// ServerRequest is the JSON request body for creating or updating a AgentTeam
	// server auth configuration.
	ServerRequest struct {
		ID          string                 `json:"id"`
		Enabled     bool                   `json:"enabled"`
		Name        string                 `json:"name"`
		Description *string                `json:"description"`
		AgentID     string                 `json:"agentId"`
		Config      map[string]interface{} `json:"config"`
	}

	// ServerResponse is the JSON response for AgentTeam server auth configuration
	// endpoints.
	ServerResponse struct {
		ID          string                 `json:"id"`
		Enabled     bool                   `json:"enabled"`
		Name        string                 `json:"name,omitempty"`
		Description string                 `json:"description,omitempty"`
		AgentID     string                 `json:"agentId,omitempty"`
		AgentName   string                 `json:"agentName,omitempty"`
		Config      map[string]interface{} `json:"config,omitempty"`
	}
)
