IBaseTemplate
No description
interface IBaseTemplate {
id: String!
contents: [LocalizedTemplateContent!]
names: [LocalizedString!]!
content: String
customQuery: String
queryVariables: String
createdAt: DateTime!
lastModifiedAt: DateTime!
createdBy: Int
lastModifiedBy: Int
}
Fields
IBaseTemplate.id
● String!
non-null scalar
A unique identifier for the template
IBaseTemplate.contents
● [LocalizedTemplateContent!]
list object
Uploaded handlebars template content, per given language
IBaseTemplate.names
● [LocalizedString!]!
non-null object
The name of the template per given language
IBaseTemplate.content
● String
scalar
The content of the template
IBaseTemplate.customQuery
● String
scalar
GraphQL query to be executed before rendering the template to fetch additional data not in the original event payload.
IBaseTemplate.queryVariables
● String
scalar
Variables that are use in the custom query, can use handlebars variables. Has to be a valid JSON string after rendering
IBaseTemplate.createdAt
● DateTime!
non-null scalar
The creation date of this Template
IBaseTemplate.lastModifiedAt
● DateTime!
non-null scalar
The last modified date of this Template
IBaseTemplate.createdBy
● Int
scalar
ID of the user who created this Template
IBaseTemplate.lastModifiedBy
● Int
scalar
ID of the user who last modified this Template
Returned By
template
query
Member Of
TemplateResponse
object
Implemented By
DocumentTemplate
object ● EmailTemplate
object