Pular para o conteúdo principal

CreateMatchGuestRequest

@raizfc/contracts


@raizfc/contracts / CreateMatchGuestRequest

Type Alias: CreateMatchGuestRequest

CreateMatchGuestRequest = Readonly<{ displayName: string; position: string; teamId: ID; }>

Defined in: match/match-report-requests.dto.ts:54

POST /matches/:matchId/guest-players — "Guest no contexto" (SPEC-API-MATCH-001): lets whoever holds match authority (either side's team.manageMatches, same model IS-MVP-06.1 established for every other match mutation) add a guest straight to teamId's squad while building the report, without switching to that team's own Squad Manager. categoryIds is not accepted here — the guest is scoped to the match's own categoryId (MatchDto.categoryId), not chosen freely. Deliberately does not run the guest/player contact-matching POST /teams/:teamId/guests performs (EP-MVP-05.3) — that remains the canonical creation path when private contact/document capture matters; this endpoint is a match-scoped convenience for referencing a guest inline.