UNPKG

@edicarlos.lds/businessmap-mcp

Version:

Model Context Protocol server for BusinessMap (Kanbanize) integration

33 lines 910 B
import { BaseClientModuleImpl } from './base-client.js'; export class UserClient extends BaseClientModuleImpl { /** * Get all users */ async getUsers() { const response = await this.http.get('/users'); return response.data.data; } /** * Get a specific user by ID */ async getUser(userId) { const response = await this.http.get(`/users/${userId}`); return response.data.data; } /** * Get current logged user data */ async getCurrentUser() { const response = await this.http.get('/me'); return response.data.data; } /** * Invite a new user by email */ async inviteUser(params) { this.checkReadOnlyMode('invite user'); const response = await this.http.post('/users/invite', params); return response.data.data; } } //# sourceMappingURL=user-client.js.map