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 UpdateDocumentFromUrlRequest = { /** * 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; updateDocumentFromUrlParams: components.UpdateDocumentFromUrlParams; }; /** @internal */ export declare const UpdateDocumentFromUrlRequest$inboundSchema: z.ZodType; /** @internal */ export type UpdateDocumentFromUrlRequest$Outbound = { document_id: string; partition?: string | null | undefined; UpdateDocumentFromUrlParams: components.UpdateDocumentFromUrlParams$Outbound; }; /** @internal */ export declare const UpdateDocumentFromUrlRequest$outboundSchema: z.ZodType; export declare function updateDocumentFromUrlRequestToJSON(updateDocumentFromUrlRequest: UpdateDocumentFromUrlRequest): string; export declare function updateDocumentFromUrlRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=updatedocumentfromurl.d.ts.map