Interface: IBaseTemplate
Defined in: type/IBaseTemplate.ts:6
Base interface for template entities
Properties
content
content:
string
Defined in: type/IBaseTemplate.ts:10
Template content
contents?
optionalcontents?:LocalizedTemplateContent[]
Defined in: type/IBaseTemplate.ts:12
Uploaded handlebars template content, per given language
createdAt
createdAt:
string
Defined in: type/IBaseTemplate.ts:20
The creation date of this Template
createdBy?
optionalcreatedBy?:number
Defined in: type/IBaseTemplate.ts:24
ID of the user who created this Template
customQuery?
optionalcustomQuery?:string
Defined in: type/IBaseTemplate.ts:16
GraphQL query to be executed before rendering the template to fetch additional data not in the original event payload.
id
id:
string
Defined in: type/IBaseTemplate.ts:8
Template identifier
lastModifiedAt
lastModifiedAt:
string
Defined in: type/IBaseTemplate.ts:22
The last modified date of this Template
lastModifiedBy?
optionallastModifiedBy?:number
Defined in: type/IBaseTemplate.ts:26
ID of the user who last modified this Template
names
names:
LocalizedString[]
Defined in: type/IBaseTemplate.ts:14
The name of the template per given language
queryVariables?
optionalqueryVariables?:string
Defined in: type/IBaseTemplate.ts:18
Variables that are use in the custom query, can use handlebars variables. Has to be a valid JSON string after rendering