package site

import "time"

// GetResponse represents the HTTP response for getting a site
type GetResponse struct {
	ID                   string    `json:"id"`
	TenantID             string    `json:"tenant_id"`
	Domain               string    `json:"domain"`
	SiteURL              string    `json:"site_url"`
	APIKeyPrefix         string    `json:"api_key_prefix"`
	APIKeyLastFour       string    `json:"api_key_last_four"`
	Status               string    `json:"status"`
	IsVerified           bool      `json:"is_verified"`
	SearchIndexName      string    `json:"search_index_name"`
	TotalPagesIndexed    int64     `json:"total_pages_indexed"`
	LastIndexedAt        time.Time `json:"last_indexed_at,omitempty"`
	PluginVersion        string    `json:"plugin_version,omitempty"`
	StorageUsedBytes     int64     `json:"storage_used_bytes"`
	SearchRequestsCount  int64     `json:"search_requests_count"`
	MonthlyPagesIndexed  int64     `json:"monthly_pages_indexed"`
	LastResetAt          time.Time `json:"last_reset_at"`
	Language             string    `json:"language,omitempty"`
	Timezone             string    `json:"timezone,omitempty"`
	Notes                string    `json:"notes,omitempty"`
	CreatedAt            time.Time `json:"created_at"`
	UpdatedAt            time.Time `json:"updated_at"`
}
