import { ErrorResponse } from "./types"; export interface InvitationPayload { email: string; role: string; appId?: number; } export interface Invitation { acceptedAt: number | null; appId: number; createdAt: number; email: string; expiresAt: number; id: number; invitedById: string; payload: any; revokedAt: number | null; role: string; token?: string; updatedAt: number; } export interface InvitationRoleOption { name: string; id: number; } export interface InvitationAppOption { id: number; name: string; origin: string; supportedRoles: InvitationRoleOption[]; label?: string; } export interface InvitationExpiryDateField { display: boolean; mode: "calendar" | "input"; } export type AddInvitationResponse = Invitation | ErrorResponse; export type DeleteInvitationResponse = Invitation | ErrorResponse; export type ResendInvitationResponse = Invitation | ErrorResponse; export type RevokeInvitationResponse = Invitation | ErrorResponse; export type GetInvitationResponse = Invitation | ErrorResponse; export type AcceptInvitationResponse = any | ErrorResponse; //# sourceMappingURL=invitation.d.ts.map