Skip to main content

Interface: DocumentTemplateUpdateInput

Defined in: type/DocumentTemplateUpdateInput.ts:6

Input object for DocumentTemplateUpdateInput

Properties​

contents?​

optional contents?: LocalizedTemplateContentInput[]

Defined in: type/DocumentTemplateUpdateInput.ts:10

Uploaded handlebars template content, per given language


customQuery?​

optional customQuery?: string

Defined in: type/DocumentTemplateUpdateInput.ts:12

GraphQL query to be executed before rendering the template to fetch additional data not in the original event payload.


fileNames?​

optional fileNames?: LocalizedStringInput[]

Defined in: type/DocumentTemplateUpdateInput.ts:16

File name to use when rendering a document template per given language, supports handlebars variables


isDefaultOrderPdf?​

optional isDefaultOrderPdf?: boolean

Defined in: type/DocumentTemplateUpdateInput.ts:18

Indicates whether the template is used for default order PDF generation


isDefaultQuotePdf?​

optional isDefaultQuotePdf?: boolean

Defined in: type/DocumentTemplateUpdateInput.ts:20

Indicates whether the template is used for default quote PDF generation


names?​

optional names?: LocalizedStringInput[]

Defined in: type/DocumentTemplateUpdateInput.ts:8

The name of the template per given language


queryVariables?​

optional queryVariables?: string

Defined in: type/DocumentTemplateUpdateInput.ts:14

Variables that are use in the custom query, can use handlebars variables. Has to be a valid JSON string after rendering