import type * as Whop from "../../../../index.js"; /** * @example * {} */ export interface ListSocialAccountsRequest { /** The Account that the external accounts are connected to. Provide either this or user_id. */ account_id?: string; /** The User that the external accounts are connected to. Provide either this or account_id. */ user_id?: string; /** Only return external accounts for the platform that is specified. */ platform?: Whop.ListSocialAccountsRequestPlatform; /** Only return external accounts linked with this trust level, such as `oauth` for accounts connected through OAuth. */ trust_level?: Whop.ListSocialAccountsRequestTrustLevel; /** Only return external accounts that are verified on the platform. */ verified?: boolean; /** Only return external accounts that have these scopes. */ scopes?: Whop.ListSocialAccountsRequestScopesItem | Whop.ListSocialAccountsRequestScopesItem[]; /** Number of results to return from the start of the range. */ first?: number; /** Return results after this cursor. Use `page_info.end_cursor` from the previous response to fetch the next page. */ after?: string; /** Number of results to return from the end of the range. */ last?: number; /** Return results before this cursor. Use `page_info.start_cursor` from the previous response to fetch the previous page. */ before?: string; /** The field to sort external accounts by. */ order?: Whop.ListSocialAccountsRequestOrder; /** Sort direction. */ direction?: Whop.ListSocialAccountsRequestDirection; }