@appsemble/node-utils
Version:
NodeJS utilities used by Appsemble internally.
12 lines (11 loc) • 521 B
TypeScript
/**
* Creates a new user in the database
*
* @param name Name of the user
* @param email Primary email of the user
* @param password Password
* @param timezone Timezone of the user
* @param clientCredentials Used to make OAuth client credentials for permissions
* @param organization Optional organization id to add the user to if it exists
*/
export declare function createUser(name: string, email: string, password: string, timezone?: string, clientCredentials?: string, organization?: string): Promise<void>;