UNPKG

lokalise-mcp

Version:

The Lokalise MCP Server brings Lokalise's localization power to Claude and AI assistants—manage projects, keys, and translations by chat.

58 lines (57 loc) • 2.19 kB
import type { ControllerResponse } from "../../shared/types/common.types.js"; import type { AddMembersToolArgsType, AddProjectsToolArgsType, CreateUsergroupsToolArgsType, DeleteUsergroupsToolArgsType, GetUsergroupsToolArgsType, ListUsergroupsToolArgsType, RemoveMembersToolArgsType, RemoveProjectsToolArgsType, UpdateUsergroupsToolArgsType } from "./usergroups.types.js"; /** * @namespace UsergroupsController * @description Controller responsible for handling Lokalise User Groups API operations. */ /** * List user groups for a team */ declare function listUsergroups(args: ListUsergroupsToolArgsType): Promise<ControllerResponse>; /** * Get details of a specific user group */ declare function getUsergroups(args: GetUsergroupsToolArgsType): Promise<ControllerResponse>; /** * Create a new user group */ declare function createUsergroups(args: CreateUsergroupsToolArgsType): Promise<ControllerResponse>; /** * Update a user group */ declare function updateUsergroups(args: UpdateUsergroupsToolArgsType): Promise<ControllerResponse>; /** * Delete a user group */ declare function deleteUsergroups(args: DeleteUsergroupsToolArgsType): Promise<ControllerResponse>; /** * Add members to a user group */ declare function addMembers(args: AddMembersToolArgsType): Promise<ControllerResponse>; /** * Remove members from a user group */ declare function removeMembers(args: RemoveMembersToolArgsType): Promise<ControllerResponse>; /** * Add projects to a user group */ declare function addProjects(args: AddProjectsToolArgsType): Promise<ControllerResponse>; /** * Remove projects from a user group */ declare function removeProjects(args: RemoveProjectsToolArgsType): Promise<ControllerResponse>; /** * Controller for Lokalise User Groups API operations */ declare const usergroupsController: { list: typeof listUsergroups; get: typeof getUsergroups; create: typeof createUsergroups; update: typeof updateUsergroups; delete: typeof deleteUsergroups; addMembers: typeof addMembers; removeMembers: typeof removeMembers; addProjects: typeof addProjects; removeProjects: typeof removeProjects; }; export default usergroupsController;