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 PatchDocumentMetadataRequest = { /** * The id of the document. */ documentId: string; /** * 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; patchDocumentMetadataParams: components.PatchDocumentMetadataParams; }; /** * Successful Response */ export type PatchDocumentMetadataResponsePatchdocumentmetadata = components.DocumentMetadataUpdate | components.AsyncDocumentMetadataUpdate; /** @internal */ export declare const PatchDocumentMetadataRequest$inboundSchema: z.ZodType; /** @internal */ export type PatchDocumentMetadataRequest$Outbound = { document_id: string; partition?: string | null | undefined; PatchDocumentMetadataParams: components.PatchDocumentMetadataParams$Outbound; }; /** @internal */ export declare const PatchDocumentMetadataRequest$outboundSchema: z.ZodType; export declare function patchDocumentMetadataRequestToJSON(patchDocumentMetadataRequest: PatchDocumentMetadataRequest): string; export declare function patchDocumentMetadataRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PatchDocumentMetadataResponsePatchdocumentmetadata$inboundSchema: z.ZodType; /** @internal */ export type PatchDocumentMetadataResponsePatchdocumentmetadata$Outbound = components.DocumentMetadataUpdate$Outbound | components.AsyncDocumentMetadataUpdate$Outbound; /** @internal */ export declare const PatchDocumentMetadataResponsePatchdocumentmetadata$outboundSchema: z.ZodType; export declare function patchDocumentMetadataResponsePatchdocumentmetadataToJSON(patchDocumentMetadataResponsePatchdocumentmetadata: PatchDocumentMetadataResponsePatchdocumentmetadata): string; export declare function patchDocumentMetadataResponsePatchdocumentmetadataFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=patchdocumentmetadata.d.ts.map