idea-toolbox
Version:
IDEA's utility functions
26 lines (25 loc) • 643 B
TypeScript
import { Resource } from './resource.model';
/**
* Helper structure to create a confirmation flow before to change the email address used for login.
*
* Table: `idea_emailChangeRequests`.
*/
export declare class EmailChangeRequest extends Resource {
/**
* The code that the user has to send to confirm the new email address.
*/
confirmationCode: string;
/**
* The old email, to change.
*/
oldEmail: string;
/**
* The new email address that the user wants to set.
*/
newEmail: string;
/**
* Expiration time, in seconds.
*/
expiresAt: number;
load(x: any): void;
}