forest-cli
Version:
The Lumberjacks' toolbelt is the Forest CLI which makes easy to manage your back office application directly from the terminal.
30 lines • 762 B
TypeScript
export = InvitationManager;
/**
* @param {{ projectId: number | string }} config
*/
declare function InvitationManager(config: {
projectId: number | string;
}): void;
declare class InvitationManager {
/**
* @param {{ projectId: number | string }} config
*/
constructor(config: {
projectId: number | string;
});
/**
* @param {Array<{
* email: string;
* teamId: number | string;
* roleId: number | string;
* permissionLevel: string;
* }>} invitations
*/
inviteUsers: (invitations: {
email: string;
teamId: number | string;
roleId: number | string;
permissionLevel: string;
}[]) => Promise<any>;
}
//# sourceMappingURL=invitation-manager.d.ts.map