import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ListEntitiesByDocumentRequest = { /** * The id of the document. */ documentId: string; /** * An opaque cursor for pagination */ cursor?: string | null | undefined; /** * The number of items per page (must be greater than 0 and less than or equal to 100) */ pageSize?: number | undefined; /** * An optional partition to scope the request to. If omitted, accounts created after 1/9/2025 will have the request scoped to the default partition, while older accounts will have the request scoped to all partitions. Older accounts may opt in to strict partition scoping by contacting support@ragie.ai. Older accounts using the partitions feature are strongly recommended to scope the request to a partition. */ partition?: string | null | undefined; }; export type ListEntitiesByDocumentResponse = { result: components.EntityList; }; /** @internal */ export declare const ListEntitiesByDocumentRequest$inboundSchema: z.ZodType; /** @internal */ export type ListEntitiesByDocumentRequest$Outbound = { document_id: string; cursor?: string | null | undefined; page_size: number; partition?: string | null | undefined; }; /** @internal */ export declare const ListEntitiesByDocumentRequest$outboundSchema: z.ZodType; export declare function listEntitiesByDocumentRequestToJSON(listEntitiesByDocumentRequest: ListEntitiesByDocumentRequest): string; export declare function listEntitiesByDocumentRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListEntitiesByDocumentResponse$inboundSchema: z.ZodType; /** @internal */ export type ListEntitiesByDocumentResponse$Outbound = { Result: components.EntityList$Outbound; }; /** @internal */ export declare const ListEntitiesByDocumentResponse$outboundSchema: z.ZodType; export declare function listEntitiesByDocumentResponseToJSON(listEntitiesByDocumentResponse: ListEntitiesByDocumentResponse): string; export declare function listEntitiesByDocumentResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listentitiesbydocument.d.ts.map