import type * as Whop from "../../../../index.mjs"; /** * @example * { * id: "id" * } */ export interface RetrieveUsersRequest { /** User ID (prefixed `user_`), username, or `me` for the authenticated user. */ id: string; /** Also return the trading account under `trading`: its address and its Hyperliquid WebSocket subscriptions. Only honored on the self view (me) with crypto_wallet:trade:read, crypto_wallet:trade, or crypto_wallet:manage permission and an Ethereum wallet. */ include_trading?: boolean; /** When set, returns the user's account-specific profile overrides for this account. */ account_id?: string; /** Compute live wallet and owned-account balances on the self view (default true). Set false for identity-only reads. Ignored when the id is not `me` or the caller lacks balance-read scope. */ include_balance?: boolean; /** Also compute your balance history (opt-in; runs a heavier query). Only applies when the id is `me`; ignored for callers without balance-read scope. */ include_balance_history?: boolean; /** Balance-history window start, ISO 8601 date or datetime. Defaults to 30 days ago. Only used with `include_balance_history`. */ from?: string; /** Balance-history window end, ISO 8601 date or datetime. Defaults to now. Only used with `include_balance_history`. */ to?: string; /** Balance-history point granularity. Defaults to `day`. Only used with `include_balance_history`. */ interval?: Whop.RetrieveUsersRequestInterval; /** IANA time zone the balance-history points are bucketed in. Defaults to `UTC`. Only used with `include_balance_history`. */ time_zone?: string; }