@hitc/netsuite-types
Version:
TypeScript typings for SuiteScript 2.0
21 lines (17 loc) • 514 B
TypeScript
interface ChangePasswordOptions {
currentPassword: string;
newPassword: string;
}
interface ChangeEmailOptions {
password: string;
newEmail: string;
onlyThisAccount?: boolean;
}
/**
* Method used to change the current user’s NetSuite email address (user name).
*/
export declare function changeEmail(options: ChangeEmailOptions): void;
/**
* Method used to change the current user’s NetSuite password.
*/
export declare function changePassword(options: ChangePasswordOptions): void;