|
|
|
@ -97,7 +97,8 @@ const TemplateMetadata = { |
|
|
|
[TemplateTypes.EMAIL]: [ |
|
|
|
{ |
|
|
|
name: "Base format", |
|
|
|
description: "This is the base template, all others are based on it. The {{ body }} will be replaced with another email template.", |
|
|
|
description: |
|
|
|
"This is the base template, all others are based on it. The {{ body }} will be replaced with another email template.", |
|
|
|
category: "miscellaneous", |
|
|
|
purpose: EmailTemplatePurpose.BASE, |
|
|
|
bindings: [ |
|
|
|
@ -113,7 +114,8 @@ const TemplateMetadata = { |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "Password recovery", |
|
|
|
description: "When a user requests a password reset, this template will be used.", |
|
|
|
description: |
|
|
|
"When a user requests a password reset, this template will be used.", |
|
|
|
category: "user management", |
|
|
|
purpose: EmailTemplatePurpose.PASSWORD_RECOVERY, |
|
|
|
bindings: [ |
|
|
|
@ -131,14 +133,16 @@ const TemplateMetadata = { |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "User welcome", |
|
|
|
description: "When a new user is added to the system, the welcome email will use this template.", |
|
|
|
description: |
|
|
|
"When a new user is added to the system, the welcome email will use this template.", |
|
|
|
category: "user management", |
|
|
|
purpose: EmailTemplatePurpose.WELCOME, |
|
|
|
bindings: [], |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "User invitation", |
|
|
|
description: "When using the email invitation system, this template will be used.", |
|
|
|
description: |
|
|
|
"When using the email invitation system, this template will be used.", |
|
|
|
category: "user management", |
|
|
|
purpose: EmailTemplatePurpose.INVITATION, |
|
|
|
bindings: [ |
|
|
|
@ -156,7 +160,8 @@ const TemplateMetadata = { |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: "Custom", |
|
|
|
description: "A custom format, this is currently used for SMTP email actions in automations.", |
|
|
|
description: |
|
|
|
"A custom format, this is currently used for SMTP email actions in automations.", |
|
|
|
category: "automations", |
|
|
|
purpose: EmailTemplatePurpose.CUSTOM, |
|
|
|
bindings: [ |
|
|
|
|