/** * Type exports for the Invitations API. * This is the only file that should import from the contract. */ import type { ExtractStrict } from 'type-fest'; import type { EndpointFromPaths } from '../types'; import type { components, paths } from './invitations.contract'; type InvitationsEndpoints = EndpointFromPaths; export type CreateInvitationEndpoint = ExtractStrict; export type CreateInvitationRequest = components['schemas']['CreateInvitationRequest']; export type InvitationResponse = Required; export type GetInvitationStatusEndpoint = ExtractStrict; export type InvitationStatusResponse = components['schemas']['InvitationStatusResponse']; export type WithdrawInvitationEndpoint = ExtractStrict; export {};