feat: Refresh invite (#6469)
This commit is contained in:
1 parent
7bddb58542
commit
e747f9d4aa
13 files changed
+249
-6
No files matched your search
@@ -5,11 +5,11 @@ import {
|
||||
UpdateUserDTO,
|
||||
} from "./mutations"
|
||||
import { FilterableUserProps, InviteDTO, UserDTO } from "./common"
|
||||
import { RestoreReturn, SoftDeleteReturn } from "../dal"
|
||||
|
||||
import { Context } from "../shared-context"
|
||||
import { FindConfig } from "../common"
|
||||
import { IModuleService } from "../modules-sdk"
|
||||
import { RestoreReturn, SoftDeleteReturn } from "../dal"
|
||||
|
||||
/**
|
||||
* The main service interface for the user module.
|
||||
@@ -27,6 +27,11 @@ export interface IUserModuleService extends IModuleService {
|
||||
sharedContext?: Context
|
||||
): Promise<InviteDTO>
|
||||
|
||||
refreshInviteTokens(
|
||||
inviteIds: string[],
|
||||
sharedContext?: Context
|
||||
): Promise<InviteDTO[]>
|
||||
|
||||
/**
|
||||
* This method retrieves a user by its ID.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
export * from "./create-invite"
|
||||
export * from "./delete-invite"
|
||||
export * from "./accept-invite"
|
||||
export * from "./resend-invite"
|
||||
@@ -0,0 +1,3 @@
|
||||
export interface ResendInvitesWorkflowInputDTO {
|
||||
invite_ids: string[]
|
||||
}
|
||||
Reference in new issue
Block a user