/** * This file was auto-generated by Fern from our API Definition. */ import * as Flatfile from "../../../../index"; /** * @example * { * environmentId: "us_env_YOUR_ID" * } */ export interface ListSpacesRequest { /** * The ID of the environment. */ environmentId?: Flatfile.EnvironmentId; /** * Number of spaces to return in a page (default 10) */ pageSize?: number; /** * Based on pageSize, which page of records to return */ pageNumber?: number; /** * Filter by appId */ app?: Flatfile.AppId; /** * Search query for spaces */ search?: string; /** * Search by namespace */ namespace?: string; /** * Flag to include archived spaces */ archived?: boolean; /** * Field to sort spaces by; requires `sortDirection` if provided. */ sortField?: Flatfile.GetSpacesSortField; /** * Direction of sorting; requires `sortField` if provided. */ sortDirection?: Flatfile.SortDirection; /** * Flag for collaborative (project) spaces */ isCollaborative?: boolean; /** * (Deprecated!) Use `app` query parameter */ appId?: Flatfile.AppId; /** * Flag for app templates */ isAppTemplate?: boolean; }