/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Signed token containing the the information necessary to create a new account or add an email address to an existing account. * @export * @interface EmailValidationSignedToken */ export interface EmailValidationSignedToken { /** * * @type {string} * @memberof EmailValidationSignedToken */ concreteType: EmailValidationSignedTokenConcreteTypeEnum; /** * The hash message authentication code for the message. * @type {string} * @memberof EmailValidationSignedToken */ hmac?: string; /** * The version of the key used to generate the HMAC. * @type {number} * @memberof EmailValidationSignedToken */ version?: number; /** * The date-time when this token expires. * @type {string} * @memberof EmailValidationSignedToken */ expiresOn?: string; /** * The date-time the token was generated. * @type {string} * @memberof EmailValidationSignedToken */ createdOn?: string; /** * The email address. * @type {string} * @memberof EmailValidationSignedToken */ email?: string; /** * The ID of the user account to which the email address will be added. Null if creating a new account. * @type {string} * @memberof EmailValidationSignedToken */ userId?: string; } /** * @export */ export declare const EmailValidationSignedTokenConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_principal_EmailValidationSignedToken: "org.sagebionetworks.repo.model.principal.EmailValidationSignedToken"; }; export type EmailValidationSignedTokenConcreteTypeEnum = typeof EmailValidationSignedTokenConcreteTypeEnum[keyof typeof EmailValidationSignedTokenConcreteTypeEnum]; /** * Check if a given object implements the EmailValidationSignedToken interface. */ export declare function instanceOfEmailValidationSignedToken(value: object): value is EmailValidationSignedToken; export declare function EmailValidationSignedTokenFromJSON(json: any): EmailValidationSignedToken; export declare function EmailValidationSignedTokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailValidationSignedToken; export declare function EmailValidationSignedTokenToJSON(json: any): EmailValidationSignedToken; export declare function EmailValidationSignedTokenToJSONTyped(value?: EmailValidationSignedToken | null, ignoreDiscriminator?: boolean): any;