UNPKG

n8n

Version:

n8n Workflow Automation Tool

23 lines (22 loc) 1.63 kB
import type express from 'express'; import type { UserRequest } from '../../../../requests'; import type { Response } from 'express'; type Create = UserRequest.Invite; declare const _default: { getUser: (((_: express.Request, res: express.Response, next: express.NextFunction) => express.Response | void) | ((req: import("../../../../requests").AuthenticatedRequest<{ id?: string; }>, res: express.Response, next: express.NextFunction) => Promise<express.Response | void>))[]; getUsers: (((req: import("../../../types").PaginatedRequest, res: express.Response, next: express.NextFunction) => express.Response | void) | ((_: express.Request, res: express.Response, next: express.NextFunction) => express.Response | void) | ((req: import("../../../../requests").AuthenticatedRequest<{ id?: string; }>, res: express.Response, next: express.NextFunction) => Promise<express.Response | void>))[]; createUser: (((req: import("../../../../requests").AuthenticatedRequest<{ id?: string; }>, res: express.Response, next: express.NextFunction) => Promise<express.Response | void>) | ((req: Create, res: Response) => Promise<express.Response<any, Record<string, any>>>))[]; deleteUser: ((req: import("../../../../requests").AuthenticatedRequest<{ id?: string; }>, res: express.Response, next: express.NextFunction) => Promise<express.Response | void>)[]; changeRole: ((req: import("../../../../requests").AuthenticatedRequest<{ id?: string; }>, res: express.Response, next: express.NextFunction) => Promise<express.Response | void>)[]; }; export = _default;