Marks a file as a Box Doc Gen template.
This operation is performed by calling function createDocgenTemplateV2025R0.
See the endpoint docs at API Reference.
await client.docgenTemplate.createDocgenTemplateV2025R0({
file: new FileReferenceV2025R0({ id: file.id }),
} satisfies DocGenTemplateCreateRequestV2025R0);
DocGenTemplateCreateRequestV2025R0
CreateDocgenTemplateV2025R0OptionalsInputThis function returns a value of type DocGenTemplateBaseV2025R0.
The file which has now been marked as a Box Doc Gen template.
Lists Box Doc Gen templates on which the user is a collaborator.
This operation is performed by calling function getDocgenTemplatesV2025R0.
See the endpoint docs at API Reference.
await client.docgenTemplate.getDocgenTemplatesV2025R0();
GetDocgenTemplatesV2025R0QueryParams
GetDocgenTemplatesV2025R0HeadersInput
undefined | CancellationToken
This function returns a value of type DocGenTemplatesV2025R0.
Returns a collection of templates.
Unmarks file as Box Doc Gen template.
This operation is performed by calling function deleteDocgenTemplateByIdV2025R0.
See the endpoint docs at API Reference.
await client.docgenTemplate.deleteDocgenTemplateByIdV2025R0(
createdDocgenTemplate.file!.id,
);
string
DeleteDocgenTemplateByIdV2025R0OptionalsInputThis function returns a value of type undefined.
Returns an empty response when a file is no longer marked as a Box Doc Gen template.
Lists details of a specific Box Doc Gen template.
This operation is performed by calling function getDocgenTemplateByIdV2025R0.
See the endpoint docs at API Reference.
await client.docgenTemplate.getDocgenTemplateByIdV2025R0(
createdDocgenTemplate.file!.id,
);
string
GetDocgenTemplateByIdV2025R0OptionalsInputThis function returns a value of type DocGenTemplateV2025R0.
Returns a template.
Lists all tags in a Box Doc Gen template.
This operation is performed by calling function getDocgenTemplateTagsV2025R0.
See the endpoint docs at API Reference.
await client.docgenTemplate.getDocgenTemplateTagsV2025R0(
fetchedDocgenTemplate.file!.id,
);
string
GetDocgenTemplateTagsV2025R0OptionalsInputThis function returns a value of type DocGenTagsV2025R0.
A list of document generation template tags.Processing tags for the file.
Lists the users jobs which use this template.
This operation is performed by calling function getDocgenTemplateJobByIdV2025R0.
See the endpoint docs at API Reference.
await client.docgenTemplate.getDocgenTemplateJobByIdV2025R0(
fetchedDocgenTemplate.file!.id,
);
string
GetDocgenTemplateJobByIdV2025R0OptionalsInputThis function returns a value of type DocGenJobsV2025R0.
A single Box Doc Gen template.