/** * 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. */ /** * Change user account's password by verifying the current password * @export * @interface ChangePasswordWithCurrentPassword */ export interface ChangePasswordWithCurrentPassword { /** * The new password * @type {string} * @memberof ChangePasswordWithCurrentPassword */ newPassword?: string; /** * Indicates which implementation of PasswordChangeInterface this object represents. Valid Values: org.sagebionetworks.repo.model.auth.ChangePasswordWithToken org.sagebionetworks.repo.model.auth.ChangePasswordWithCurrentPassword * @type {string} * @memberof ChangePasswordWithCurrentPassword */ concreteType: ChangePasswordWithCurrentPasswordConcreteTypeEnum; /** * The user's username * @type {string} * @memberof ChangePasswordWithCurrentPassword */ username?: string; /** * The user's current password * @type {string} * @memberof ChangePasswordWithCurrentPassword */ currentPassword?: string; /** * Optional, but highly recommended. The most recent authentication receipt given to the last success login from this machine, using this client. Having this allows you to bypass throttling on consecutive authentication attempts with a wrong password. * @type {string} * @memberof ChangePasswordWithCurrentPassword */ authenticationReceipt?: string; } /** * @export */ export declare const ChangePasswordWithCurrentPasswordConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_auth_ChangePasswordWithCurrentPassword: "org.sagebionetworks.repo.model.auth.ChangePasswordWithCurrentPassword"; }; export type ChangePasswordWithCurrentPasswordConcreteTypeEnum = typeof ChangePasswordWithCurrentPasswordConcreteTypeEnum[keyof typeof ChangePasswordWithCurrentPasswordConcreteTypeEnum]; /** * Check if a given object implements the ChangePasswordWithCurrentPassword interface. */ export declare function instanceOfChangePasswordWithCurrentPassword(value: object): value is ChangePasswordWithCurrentPassword; export declare function ChangePasswordWithCurrentPasswordFromJSON(json: any): ChangePasswordWithCurrentPassword; export declare function ChangePasswordWithCurrentPasswordFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangePasswordWithCurrentPassword; export declare function ChangePasswordWithCurrentPasswordToJSON(json: any): ChangePasswordWithCurrentPassword; export declare function ChangePasswordWithCurrentPasswordToJSONTyped(value?: ChangePasswordWithCurrentPassword | null, ignoreDiscriminator?: boolean): any;