TemplateControllerApi class
Methods
-
createTemplate(CreateTemplateOptions createTemplateOptions)
→ Future<TemplateDto?>
-
Create a Template
-
createTemplateWithHttpInfo(CreateTemplateOptions createTemplateOptions)
→ Future<Response>
-
Create a Template
-
deleteTemplate(String templateId)
→ Future<void>
-
Delete email template
-
deleteTemplateWithHttpInfo(String templateId)
→ Future<Response>
-
Delete email template
-
getAllTemplates({int? page, int? size, String? sort, DateTime? since, DateTime? before})
→ Future<PageTemplateProjection?>
-
List templates
-
getAllTemplatesWithHttpInfo({int? page, int? size, String? sort, DateTime? since, DateTime? before})
→ Future<Response>
-
List templates
-
getTemplate(String templateId)
→ Future<TemplateDto?>
-
Get template
-
getTemplatePreviewHtml(String templateId)
→ Future<String?>
-
Get template preview HTML
-
getTemplatePreviewHtmlWithHttpInfo(String templateId)
→ Future<Response>
-
Get template preview HTML
-
getTemplatePreviewJson(String templateId)
→ Future<TemplatePreview?>
-
Get template preview Json
-
getTemplatePreviewJsonWithHttpInfo(String templateId)
→ Future<Response>
-
Get template preview Json
-
getTemplates()
→ Future<List<TemplateProjection>?>
-
List templates
-
getTemplatesWithHttpInfo()
→ Future<Response>
-
List templates
-
getTemplateWithHttpInfo(String templateId)
→ Future<Response>
-
Get template
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateTemplate(String templateId, CreateTemplateOptions createTemplateOptions)
→ Future<TemplateDto?>
-
Update template
-
updateTemplateWithHttpInfo(String templateId, CreateTemplateOptions createTemplateOptions)
→ Future<Response>
-
Update template