import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The updated extraction schema with new updatedAt timestamp */ export type SchemaUpdateResponseData = { /** * 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 updating an existing extraction schema. */ export type SchemaUpdateResponse = { /** * Indicates whether the schema update was successful */ success: boolean; /** * The updated extraction schema with new updatedAt timestamp */ data: SchemaUpdateResponseData; }; /** @internal */ export declare const SchemaUpdateResponseData$inboundSchema: z.ZodType; /** @internal */ export type SchemaUpdateResponseData$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 SchemaUpdateResponseData$outboundSchema: z.ZodType; export declare function schemaUpdateResponseDataToJSON(schemaUpdateResponseData: SchemaUpdateResponseData): string; export declare function schemaUpdateResponseDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SchemaUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type SchemaUpdateResponse$Outbound = { success: boolean; data: SchemaUpdateResponseData$Outbound; }; /** @internal */ export declare const SchemaUpdateResponse$outboundSchema: z.ZodType; export declare function schemaUpdateResponseToJSON(schemaUpdateResponse: SchemaUpdateResponse): string; export declare function schemaUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=schemaupdateresponse.d.ts.map