package models type Account struct { APIKey string `json:"api_key"` Name string `json:"name"` Credits int `json:"credits"` Unlimited bool `json:"unlimited"` Disabled bool `json:"disabled"` IsPremium bool `json:"is_premium"` CreatedAt interface{} `json:"created_at,omitempty"` } type AccountCreateRequest struct { Name string `json:"name"` Credits int `json:"credits,omitempty"` Unlimited bool `json:"unlimited,omitempty"` IsPremium bool `json:"is_premium,omitempty"` } type AccountUpdateRequest struct { Credits int `json:"credits,omitempty"` Disabled bool `json:"disabled"` } type AddCreditsRequest struct { Credits int `json:"credits"` } type SetCreditsRequest struct { Credits int `json:"credits"` } type DisableAccountRequest struct { Disabled bool `json:"disabled"` } type AdminResponse struct { Success bool `json:"success,omitempty"` Message string `json:"message,omitempty"` Error string `json:"error,omitempty"` Account *Account `json:"account,omitempty"` Accounts []Account `json:"accounts,omitempty"` }