import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Fields to update in the extraction schema. All fields are optional; only provided fields will be updated. */ export type UpdateExtractSchemaRequestBody = { /** * Optional new name for the extraction schema */ name?: string | undefined; /** * Optional new description for the schema */ description?: string | undefined; /** * Optional updated JSON Schema definition */ schema?: { [k: string]: any; } | undefined; /** * Optional updated metadata */ metadata?: { [k: string]: any; } | undefined; }; export type UpdateExtractSchemaRequest = { schemaId: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; requestBody: UpdateExtractSchemaRequestBody; }; /** @internal */ export declare const UpdateExtractSchemaRequestBody$inboundSchema: z.ZodType; /** @internal */ export type UpdateExtractSchemaRequestBody$Outbound = { name?: string | undefined; description?: string | undefined; schema?: { [k: string]: any; } | undefined; metadata?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const UpdateExtractSchemaRequestBody$outboundSchema: z.ZodType; export declare function updateExtractSchemaRequestBodyToJSON(updateExtractSchemaRequestBody: UpdateExtractSchemaRequestBody): string; export declare function updateExtractSchemaRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdateExtractSchemaRequest$inboundSchema: z.ZodType; /** @internal */ export type UpdateExtractSchemaRequest$Outbound = { schema_id: string; "X-On-Behalf-Of"?: string | undefined; RequestBody: UpdateExtractSchemaRequestBody$Outbound; }; /** @internal */ export declare const UpdateExtractSchemaRequest$outboundSchema: z.ZodType; export declare function updateExtractSchemaRequestToJSON(updateExtractSchemaRequest: UpdateExtractSchemaRequest): string; export declare function updateExtractSchemaRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=updateextractschema.d.ts.map