feat: Refresh invite (#6469)

This commit is contained in:
Philip Korsholm authored and GitHub committed 2024-02-27 07:16:52 +00:00
1 parent 7bddb58542
commit e747f9d4aa
13 files changed
+249 -6

No files matched your search

+6 -1
View File
@@ -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[]
}