Optionaldata: LfRepositoryClientV2.IUpdateDocumentRequestOptionalgenerateWhether to request text extraction from the document's electronic document part after the image pages in
imageFiles are added. This does not OCR those image pages — image pages are OCR'd by the repository's
automatic OCR when the page image is written, regardless of this setting. Default: true.
Does not affect pages generated from file — use pdfOptions.generateText for those.
OptionalimportWhether a provided file is imported as the electronic document (true) or as image pages (false). Default: false.
This flag is only effective when file is provided and its extension is one of: txt, tif, tiff, bmp, pcx, jpg, jpeg, gif, png.
For any other file type (PDF, Word, Excel, etc.), the file is always imported as the electronic document regardless of this flag.
OptionalmetadataThe metadata that will be assigned to the entry. Metadata updates are additive — only the specified fields, tags, and links are touched. Existing values not mentioned in the request are preserved.
OptionalpdfThe options applied when importing a PDF.
Optional_data: anyOptionaldata: anyStaticfromJS
Request body for updating a document's electronic document and/or metadata.