From b34eb3be2d486841f68cf250f0266ecb33de0cce Mon Sep 17 00:00:00 2001 From: VPS 4 Builder Date: Sun, 28 Jun 2026 17:04:14 +0200 Subject: [PATCH] =?UTF-8?q?docs(ativacao):=20detec=C3=A7=C3=A3o=20Business?= =?UTF-8?q?=20no=20connect=20implementada?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- projetos/newwhats.clube67.com/ativacao-whatsapp.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/projetos/newwhats.clube67.com/ativacao-whatsapp.md b/projetos/newwhats.clube67.com/ativacao-whatsapp.md index 1831177..04b81ad 100644 --- a/projetos/newwhats.clube67.com/ativacao-whatsapp.md +++ b/projetos/newwhats.clube67.com/ativacao-whatsapp.md @@ -57,7 +57,11 @@ duplica). Devolve `{ instance, trajeto[] }` com cada passo visível: > ("existente", sem duplicar). Artefatos de teste removidos. ## Pendência restante -- [ ] Detecção Business no `connect` gravando `isBusiness` (passo `business`). +- [x] **Detecção Business no `connect`** (28/jun/2026) — no evento `open`, + `getBusinessProfile(selfJid)` (fire-and-forget) define `Instance.isBusiness` + (true se o perfil tiver descrição/categoria/horário/etc.) e emite + `instance:business`. SettingsPanel já exibe. _Verificação ao vivo no próximo + connect real (logs `[Business] detecção concluída`)._ - [ ] Secretária default automática (via plugin `secretaria`). - [ ] Registro de webhook automatizado a partir do pair (preencher `webhookUrl`). - [ ] Gatilho de `sync-knowledge` no fim do trajeto (satélite).