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 ListEntitiesByInstructionRequest = { /** * The ID of the instruction. */ instructionId: 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 ListEntitiesByInstructionResponse = { result: components.EntityList; }; /** @internal */ export declare const ListEntitiesByInstructionRequest$inboundSchema: z.ZodType; /** @internal */ export type ListEntitiesByInstructionRequest$Outbound = { instruction_id: string; cursor?: string | null | undefined; page_size: number; partition?: string | null | undefined; }; /** @internal */ export declare const ListEntitiesByInstructionRequest$outboundSchema: z.ZodType; export declare function listEntitiesByInstructionRequestToJSON(listEntitiesByInstructionRequest: ListEntitiesByInstructionRequest): string; export declare function listEntitiesByInstructionRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListEntitiesByInstructionResponse$inboundSchema: z.ZodType; /** @internal */ export type ListEntitiesByInstructionResponse$Outbound = { Result: components.EntityList$Outbound; }; /** @internal */ export declare const ListEntitiesByInstructionResponse$outboundSchema: z.ZodType; export declare function listEntitiesByInstructionResponseToJSON(listEntitiesByInstructionResponse: ListEntitiesByInstructionResponse): string; export declare function listEntitiesByInstructionResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listentitiesbyinstruction.d.ts.map