> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devmob.app.br/llms.txt
> Use this file to discover all available pages before exploring further.

# notification_recipient.archived

> Evento emitido após arquivar uma notificação do inbox

`notification_recipient.archived` é emitido depois que um [NotificationRecipient](/data-modelling/communication/notification-recipient) muda para `ARCHIVED`.

## Detalhes do Evento

| Propriedade    | Valor                                                    |
| -------------- | -------------------------------------------------------- |
| **Tipo**       | `notification_recipient.archived`                        |
| **Origem**     | Arquivamento de NotificationRecipient                    |
| **Publicação** | Após commit do recipient atualizado                      |
| **Quando**     | O destinatário arquiva uma notificação do próprio inbox. |

## Handlers

| Handler                    | Responsabilidade                   | Dados usados         | Execução    |
| -------------------------- | ---------------------------------- | -------------------- | ----------- |
| Nenhum handler obrigatório | Disponível para projeções futuras. | `identifier`, `data` | Assíncrona. |

## Payload

| Campo        | Tipo                    | Descrição                              |
| ------------ | ----------------------- | -------------------------------------- |
| `identifier` | `UUID`                  | Identificador do NotificationRecipient |
| `data`       | `NotificationRecipient` | Entidade arquivada                     |

## Regras dos handlers

* Handlers não rodam na transação que arquivou o recipient.
* Falha em handler não desfaz o arquivamento.
* Cada handler deve ser idempotente.

## Exemplo

```json theme={null}
{
  "type": "notification_recipient.archived",
  "identifier": "0197fa01-d2e2-70df-8fd3-9e22a345a196",
  "data": {
    "notificationRecipientId": "0197fa01-d2e2-70df-8fd3-9e22a345a196",
    "archivedAt": "2026-07-04T16:10:00.000Z",
    "status": "ARCHIVED"
  }
}
```
