| 9 | ) |
| 10 | |
| 11 | type EmailTemplateAPI interface { |
| 12 | // Create an email template. |
| 13 | // |
| 14 | // See: https://auth0.com/docs/api/management/v2#!/Email_Templates/post_email_templates |
| 15 | Create(ctx context.Context, template *management.EmailTemplate, opts ...management.RequestOption) error |
| 16 | |
| 17 | // Read an email template by pre-defined name. |
| 18 | // |
| 19 | // These names are `verify_email`, `reset_email`, `welcome_email`, |
| 20 | // `blocked_account`, `stolen_credentials`, `enrollment_email`, and |
| 21 | // `mfa_oob_code`. |
| 22 | // |
| 23 | // The names `change_password`, and `password_reset` are also supported for |
| 24 | // legacy scenarios. |
| 25 | // |
| 26 | // See: https://auth0.com/docs/api/management/v2#!/Email_Templates/get_email_templates_by_templateName |
| 27 | Read(ctx context.Context, template string, opts ...management.RequestOption) (e *management.EmailTemplate, err error) |
| 28 | |
| 29 | // Update an email template. |
| 30 | // |
| 31 | // See: https://auth0.com/docs/api/management/v2#!/Email_Templates/patch_email_templates_by_templateName |
| 32 | Update(ctx context.Context, template string, e *management.EmailTemplate, opts ...management.RequestOption) (err error) |
| 33 | } |
nothing calls this directly
no outgoing calls
no test coverage detected