Skip to content

Commit abae790

Browse files
committed
* Added all the FKs for the Application email configuration
* Wrote test for password update with Application email overrides * Fixed event handling for update so the User object is filled in properly by moving all event creation to the end of the update method
1 parent b1bc599 commit abae790

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/FusionAuthClient.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4934,11 +4934,16 @@ export interface ApplicationEmailConfiguration {
49344934
emailVerificationEmailTemplateId?: UUID;
49354935
emailVerifiedEmailTemplateId?: UUID;
49364936
forgotPasswordEmailTemplateId?: UUID;
4937+
loginIdInUseOnCreateEmailTemplateId?: UUID;
4938+
loginIdInUseOnUpdateEmailTemplateId?: UUID;
49374939
loginNewDeviceEmailTemplateId?: UUID;
49384940
loginSuspiciousEmailTemplateId?: UUID;
49394941
passwordlessEmailTemplateId?: UUID;
49404942
passwordResetSuccessEmailTemplateId?: UUID;
4943+
passwordUpdateEmailTemplateId?: UUID;
49414944
setPasswordEmailTemplateId?: UUID;
4945+
twoFactorMethodAddEmailTemplateId?: UUID;
4946+
twoFactorMethodRemoveEmailTemplateId?: UUID;
49424947
}
49434948

49444949
/**
@@ -8922,6 +8927,7 @@ export interface TwitterIdentityProvider extends BaseIdentityProvider<TwitterApp
89228927
* @author Brian Pontarelli
89238928
*/
89248929
export interface TwoFactorDisableRequest extends BaseEventRequest {
8930+
applicationId?: UUID;
89258931
code?: string;
89268932
methodId?: string;
89278933
}
@@ -8970,6 +8976,7 @@ export interface TwoFactorRecoveryCodeResponse {
89708976
* @author Brian Pontarelli
89718977
*/
89728978
export interface TwoFactorRequest extends BaseEventRequest {
8979+
applicationId?: UUID;
89738980
authenticatorId?: string;
89748981
code?: string;
89758982
email?: string;
@@ -9428,7 +9435,6 @@ export interface UserLoginFailedEvent extends BaseEvent {
94289435
* @author Daniel DeGroff
94299436
*/
94309437
export interface UserLoginIdDuplicateOnCreateEvent extends BaseEvent {
9431-
applicationId?: UUID;
94329438
duplicateEmail?: string;
94339439
duplicateUsername?: string;
94349440
existing?: User;

0 commit comments

Comments
 (0)