feat: create document in a specific folder (#1965)

This commit is contained in:
Catalin Pit
2025-08-22 17:12:17 +03:00
committed by GitHub
parent 17b36ac8e4
commit 67501b45cf
8 changed files with 77 additions and 3 deletions

View File

@ -117,6 +117,12 @@ export const ZCreateDocumentFromTemplateRequestSchema = z.object({
'The data ID of an alternative PDF to use when creating the document. If not provided, the PDF attached to the template will be used.',
)
.optional(),
folderId: z
.string()
.describe(
'The ID of the folder to create the document in. If not provided, the document will be created in the root folder.',
)
.optional(),
prefillFields: z
.array(ZFieldMetaPrefillFieldsSchema)
.describe(