import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The requested extraction schema */ export type SchemaGetResponseData = { /** * Unique identifier for the extraction schema */ id: string; /** * Name of the extraction schema */ name: string; /** * Optional description of the schema */ description?: string | undefined; /** * The JSON Schema object defining the extraction structure */ schema: { [k: string]: any; }; /** * Optional metadata associated with the schema */ metadata?: { [k: string]: any; } | undefined; /** * ISO 8601 timestamp when the schema was created */ createdAt: string; /** * ISO 8601 timestamp when the schema was last updated */ updatedAt: string; }; /** * Response from retrieving an extraction schema by ID. */ export type SchemaGetResponse = { /** * Indicates whether the schema retrieval was successful */ success: boolean; /** * The requested extraction schema */ data: SchemaGetResponseData; }; /** @internal */ export declare const SchemaGetResponseData$inboundSchema: z.ZodType; /** @internal */ export type SchemaGetResponseData$Outbound = { id: string; name: string; description?: string | undefined; schema: { [k: string]: any; }; metadata?: { [k: string]: any; } | undefined; createdAt: string; updatedAt: string; }; /** @internal */ export declare const SchemaGetResponseData$outboundSchema: z.ZodType; export declare function schemaGetResponseDataToJSON(schemaGetResponseData: SchemaGetResponseData): string; export declare function schemaGetResponseDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SchemaGetResponse$inboundSchema: z.ZodType; /** @internal */ export type SchemaGetResponse$Outbound = { success: boolean; data: SchemaGetResponseData$Outbound; }; /** @internal */ export declare const SchemaGetResponse$outboundSchema: z.ZodType; export declare function schemaGetResponseToJSON(schemaGetResponse: SchemaGetResponse): string; export declare function schemaGetResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=schemagetresponse.d.ts.map