mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor(core): Update invitation endpoints to use DTOs (#12377)
This commit is contained in:
committed by
GitHub
parent
371a09de96
commit
7b2630d1a0
@@ -199,12 +199,6 @@ export declare namespace MeRequest {
|
||||
// ----------------------------------
|
||||
|
||||
export declare namespace UserRequest {
|
||||
export type Invite = AuthenticatedRequest<
|
||||
{},
|
||||
{},
|
||||
Array<{ email: string; role?: AssignableRole }>
|
||||
>;
|
||||
|
||||
export type InviteResponse = {
|
||||
user: {
|
||||
id: string;
|
||||
@@ -231,19 +225,6 @@ export declare namespace UserRequest {
|
||||
>;
|
||||
|
||||
export type PasswordResetLink = AuthenticatedRequest<{ id: string }, {}, {}, {}>;
|
||||
|
||||
export type Reinvite = AuthenticatedRequest<{ id: string }>;
|
||||
|
||||
export type Update = AuthlessRequest<
|
||||
{ id: string },
|
||||
{},
|
||||
{
|
||||
inviterId: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
password: string;
|
||||
}
|
||||
>;
|
||||
}
|
||||
|
||||
// ----------------------------------
|
||||
|
||||
Reference in New Issue
Block a user