import type * as HydraDB from "../../../../index.js"; /** * @example * {} */ export interface ListV2ListContentRequest { /** ACL: see ListContentRequest.ACL (PRO-1684 document ACLs). */ acl?: string[]; /** Collection scope. Defaults to the default collection when omitted. Formerly `sub_tenant_id`; the `sub_tenant_id` alias is still accepted (deprecated). */ collection?: string; /** * Database/Collection are the canonical v2 names; TenantID/SubTenantID are * their deprecated aliases (reconciled here in UnmarshalJSON and centrally by * the TenantAliases middleware). */ database?: string; filters?: HydraDB.ListContentFilter; /** * GroupThreads (type=knowledge only) folds each ticket's/thread root's * discussion (comment and message app sources carrying an app_parent_id) * under the parent row as `comments`, newest first, instead of listing them * as separate top-level rows. Off by default: the flat shape is the * existing contract. */ groupThreads?: boolean; /** When provided, only items with these IDs are returned. Pagination and filters still apply. */ ids?: string[]; /** Field projection — only the listed fields plus id, database, collection are returned. Only applies to type=knowledge. */ includeFields?: string[]; /** Current page number (1-indexed). */ page?: number; /** Number of items per page. */ pageSize?: number; /** deprecated: use collection */ subTenantId?: string; /** deprecated: use database */ tenantId?: string; /** * Type names the corpus. Split database: knowledge (default) or memory. * Unified database: unified (default), every item in one page; * knowledge/memory are rejected there. */ type?: HydraDB.ListV2ListContentRequestType; }