Pular para o conteúdo principal

CreateSponsorshipRequest

@raizfc/contracts


@raizfc/contracts / CreateSponsorshipRequest

Type Alias: CreateSponsorshipRequest

CreateSponsorshipRequest = Readonly<{ content: SponsorContentDto; entityId: ID; entityType: SponsorEntityType; packageId: ID; }>

Defined in: sponsor/sponsor.dto.ts:121

SPEC-API-FINANCE-001 POST /sponsorships ("Público"). entityType/entityId travel in the body — mirrors CreateSupportRequest.targetType/targetId — rather than as path params, since the canonical route is flat (/sponsorships, not nested under the entity).