Skip to content

Commit

Permalink
Merge pull request #1012 from okta/additional_email_template
Browse files Browse the repository at this point in the history
Latest templates from `GET {{url}}/api/v1/templates/emails`, alphabetized
  • Loading branch information
monde authored Mar 10, 2022
2 parents 0f5f19e + aac4257 commit a8f9eaa
Showing 1 changed file with 46 additions and 16 deletions.
62 changes: 46 additions & 16 deletions okta/resource_okta_template_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,53 @@ var (
},
},
}
// NOTE: update values from GET {{url}}/api/v1/templates/emails
validEmailTemplateTypes = []string{
"email.welcome", "email.forgotPassword", "email.emailLinkRecoveryResetFactor",
"email.emailLinkRecoveryResetPwdFactor", "email.emailLinkRecoveryAdResetFactor",
"email.emailLinkRecoveryAdResetPwdFactor", "email.emailLinkRecoveryLdapResetPwdFactor",
"email.forgotPasswordDenied", "email.tempPassword", "email.ad.welcome", "email.ad.forgotPassword",
"email.ad.forgotPasswordReset", "email.sunone.welcome", "email.sunone.forgotPassword",
"email.sunone.forgotPasswordDenied", "email.selfServiceUnlock", "email.emailLinkRecoveryUnlockFactor",
"email.emailLinkRecoveryAdUnlockFactor", "email.emailLinkRecoveryUnlockPwdFactor",
"email.emailLinkRecoveryAdUnlockPwdFactor", "email.emailLinkRecoveryLdapUnlockPwdFactor",
"email.ad.selfServiceUnlock", "email.pushVerifyActivation", "email.accountLockout",
"email.emailTransactionVerification", "email.emailLinkAuthenticationTransaction",
"email.emailActivation", "email.signInFromNewDevice", "email.registrationActivation",
"email.emailChangeConfirmation", "email.emailNewChangeNotification", "email.emailNewAlreadyChangedNotification",
"email.registrationEmailVerification", "email.emailLinkFactorVerification",
"email.selfServiceUnlockOnUnlockedAccount", "email.endUserScheduledLifecycleStatusChange",
"email.adminUsersListScheduledLifecycleStatusChange", "email.factorEnrollment", "email.factorReset",
"email.authenticatorEnrollment", "email.authenticatorReset", "email.automation", "email.passwordChanged",
"email.accountLockout",
"email.ad.forgotPassword",
"email.ad.forgotPasswordReset",
"email.ad.selfServiceUnlock",
"email.ad.welcome",
"email.adminUsersListScheduledLifecycleStatusChange",
"email.authenticatorEnrollment",
"email.authenticatorReset",
"email.automation",
"email.emailActivation",
"email.emailChangeConfirmation",
"email.emailLinkAuthenticationTransaction",
"email.emailLinkFactorVerification",
"email.emailLinkRecoveryAdResetFactor",
"email.emailLinkRecoveryAdResetPwdFactor",
"email.emailLinkRecoveryAdUnlockFactor",
"email.emailLinkRecoveryAdUnlockPwdFactor",
"email.emailLinkRecoveryLdapResetPwdFactor",
"email.emailLinkRecoveryLdapUnlockPwdFactor",
"email.emailLinkRecoveryResetFactor",
"email.emailLinkRecoveryResetPwdFactor",
"email.emailLinkRecoveryUnlockFactor",
"email.emailLinkRecoveryUnlockPwdFactor",
"email.emailNewAlreadyChangedNotification",
"email.emailNewChangeNotification",
"email.emailTransactionVerification",
"email.endUserScheduledLifecycleStatusChange",
"email.factorEnrollment",
"email.factorReset",
"email.forgotPassword",
"email.forgotPasswordDenied",
"email.idpMyAccountChangeConfirmation",
"email.passwordChanged",
"email.pushVerifyActivation",
"email.registrationActivation",
"email.registrationEmailVerification",
"email.selfServiceUnlock",
"email.selfServiceUnlockOnUnlockedAccount",
"email.signInFromNewDevice",
"email.sunone.forgotPassword",
"email.sunone.forgotPasswordDenied",
"email.sunone.selfServiceUnlock",
"email.sunone.welcome",
"email.tempPassword",
"email.welcome",
}
)

Expand Down

0 comments on commit a8f9eaa

Please sign in to comment.