import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The created extraction schema with generated ID and timestamps */ export type SchemaCreateResponseData = { /** * 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 creating a new extraction schema. */ export type SchemaCreateResponse = { /** * Indicates whether the schema creation was successful */ success: boolean; /** * The created extraction schema with generated ID and timestamps */ data: SchemaCreateResponseData; }; /** @internal */ export declare const SchemaCreateResponseData$inboundSchema: z.ZodType; /** @internal */ export type SchemaCreateResponseData$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 SchemaCreateResponseData$outboundSchema: z.ZodType; export declare function schemaCreateResponseDataToJSON(schemaCreateResponseData: SchemaCreateResponseData): string; export declare function schemaCreateResponseDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SchemaCreateResponse$inboundSchema: z.ZodType; /** @internal */ export type SchemaCreateResponse$Outbound = { success: boolean; data: SchemaCreateResponseData$Outbound; }; /** @internal */ export declare const SchemaCreateResponse$outboundSchema: z.ZodType; export declare function schemaCreateResponseToJSON(schemaCreateResponse: SchemaCreateResponse): string; export declare function schemaCreateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=schemacreateresponse.d.ts.map