17 lines
588 B
TypeScript
17 lines
588 B
TypeScript
import { AxiosInstance } from "axios";
|
|
/**
|
|
* Creates the users module for the Base44 SDK
|
|
* @param {AxiosInstance} axios - Axios instance
|
|
* @param {string} appId - Application ID
|
|
* @returns {Object} Users module
|
|
*/
|
|
export declare function createUsersModule(axios: AxiosInstance, appId: string): {
|
|
/**
|
|
* Invite a user to the application
|
|
* @param {string} user_email - User's email address
|
|
* @param {'user'|'admin'} role - User's role (user or admin)
|
|
* @returns {Promise<any>}
|
|
*/
|
|
inviteUser(user_email: string, role: "user" | "admin"): Promise<any>;
|
|
};
|