import type * as Whop from "../../../../index.mjs"; /** * @example * { * tlds: ["com"] * } */ export interface ListDomainsRequest { /** Only domains belonging to this account, prefixed biz_. */ account_id?: string; /** Only domains whose website serves this app, prefixed app_. */ app_id?: string; /** Only domains with this status: the most pressing state of their capabilities, or `idle` when they want nothing. */ status?: Whop.ListDomainsRequestStatus; /** Field to sort by. Domains with the same value keep their creation order in the same direction. */ order?: Whop.ListDomainsRequestOrder; /** Sort direction. */ direction?: Whop.ListDomainsRequestDirection; /** 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; /** A name or domain to find domains to buy, such as `example` or `example.com`; a subdomain or URL searches its registrable domain. Returns domains with `availability` instead of your domains, without other filters or pagination. */ search?: string; /** With `search`, check only these extensions, such as `com` or `co.uk`, returned in this order. Repeat for several, up to 100. */ tlds?: string | string[]; /** Only your domain with this hostname, such as `example.com`. */ domain?: string; /** Only domains with verification in this state, such as `ready`, or `any` for every domain that has verification. */ verification?: Whop.ListDomainsRequestVerification; /** Only domains with registration in this state, such as `ready`, or `any` for every domain that has registration. */ registration?: Whop.ListDomainsRequestRegistration; /** Only domains with platform in this state, such as `ready`, or `any` for every domain that has platform. */ platform?: Whop.ListDomainsRequestPlatform; /** Only domains with website in this state, such as `ready`, or `any` for every domain that has website. */ website?: Whop.ListDomainsRequestWebsite; /** Only domains with apple_pay in this state, such as `ready`, or `any` for every domain that has apple_pay. */ apple_pay?: Whop.ListDomainsRequestApplePay; /** Only domains with pixel in this state, such as `ready`, or `any` for every domain that has pixel. */ pixel?: Whop.ListDomainsRequestPixel; /** Only domains with email in this state, such as `ready`, or `any` for every domain that has email. */ email?: Whop.ListDomainsRequestEmail; /** Only domains with transfer in this state, such as `ready`, or `any` for every domain that has transfer. */ transfer?: Whop.ListDomainsRequestTransfer; }