Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions docs/group/metadata-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ Forma antiga -
{
"phone": "5511777777777",
"isAdmin": true,
"isSuperAdmin": false,
"short": "ZAPIs",
"name": "ZAPIs Boys"
"isSuperAdmin": false
}
],
"subjectTime": 1617805323000,
Expand Down
2 changes: 1 addition & 1 deletion docs/newsletter/accept-newsletter-admin-invite.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ title: Aceitar convite de admin do canal

## Conceituação

Este método é responsável por aceitar um convite para ser administrador de um canal. Esse convite, é uma mensagem que você tanto pode **[enviar](../message/send-newsletter-admin-invite.md)** quanto receber através do **[webhook de mensagem recebida](../webhooks/on-message-received#exemplo-de-retorno-de-convite-admin-de-canal)**.
Este método é responsável por aceitar um convite para ser administrador de um canal. Esse convite, é uma mensagem que você tanto pode **[enviar](../newsletter/send-newsletter-admin-invite.md)** quanto receber através do **[webhook de mensagem recebida](../webhooks/on-message-received#exemplo-de-retorno-de-convite-admin-de-canal)**.


## Atributos
Expand Down
6 changes: 0 additions & 6 deletions docs/partner/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,8 @@ Isso quer dizer que quando você receber a fatura do mês 07, estas 10 instânci

Este processo acontece porque ao cancelar, ela ainda permanece 30 dias disponíveis para que o cliente utilize.


- Todas as instâncias tem data de expiração no dia 10 que será o prazo máximo para o funcionamento do serviço em casos de não pagamento, no dia 15 nosso DevOps excluirá todas instâncias da conta.

:::caution Migrar instâncias
Durante a adesão do plano a empresa integradora pode optar pela migração de todas as instâncias ativas no modelo pré-pago para o novo modelo pós-pago, porém este desejo precisa ser manifestado no ato da adesão.

:::

:::tip Como cobrar de seu cliente

Recomendamos a nossos clientes a prática do modelo pré-pago em suas soluções pois não trabalhamos com pro rata.
Expand Down
23 changes: 18 additions & 5 deletions docs/webhooks/on-whatsapp-disconnected.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,25 @@ Os possíveis retornos do webhook **on-whatsapp-disconnected** estão cadastrado

```json
{
"momment": 1580163342,
"error": "Device has been disconnected",
"disconnected": true,
"type": "DisconnectedCallback",
"instanceId": "instance.id"
"type": "DisconnectedCallback",
"instanceId": "39ECB202B157D11E37905AE607963117",
"phone": "5544999999999",
"momment": 1698691825296,
"disconnected": true,
"error": "It was not possible to restore a session with the current token, please login again"
}

---------

{
"type": "DisconnectedCallback",
"instanceId": "39ECB202B157D11E37905AE607963117",
"phone": "5544999999999",
"momment": 1698691825296,
"disconnected": true,
"error": "The number was disconnected by a possible whatsapp number blocking"
}

```

### 405
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ Old way -
{
"phone": "5511777777777",
"isAdmin": true,
"isSuperAdmin": false,
"short": "ZAPIs",
"name": "ZAPIs Boys"
"isSuperAdmin": false
}
],
"subjectTime": 1617805323000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ title: Accept newsletter admin invitation

## Concept

This method is responsible for accepting an invitation to become an administrator of a newsletter. This invitation is a message that you can both **[send](../message/send-newsletter-admin-invite.md)** and receive through the **[received message webhook](../webhooks/on-message-received#newsletter-admin-invitation-return-example)**.
This method is responsible for accepting an invitation to become an administrator of a newsletter. This invitation is a message that you can both **[send](../newsletter/send-newsletter-admin-invite.md)** and receive through the **[received message webhook](../webhooks/on-message-received#newsletter-admin-invitation-return-example)**.

## Attributes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ Our billing cycle works as follows:

- All instances have an expiration date on the 10th, which will be the maximum term for the service to function in cases of non-payment, on the 15th our DevOps will delete all instances from the account.

When joining the plan, the integrator company can choose to migrate all active instances in the prepaid model to the new postpaid model, but this desire must be manifested in the act of joining. You are unable to migrate later :(

:::tip How to charge your clients

We recommend our customers to use the prepaid model in their solutions as we do not work on a pro rata basis.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,25 @@ The possible returns of the **on-whatsapp-disconnected** webhook are registered

```json
{
"momment": 1580163342,
"error": "Device has been disconnected",
"disconnected": true,
"type": "DisconnectedCallback",
"instanceId": "instance.id"
"type": "DisconnectedCallback",
"instanceId": "39ECB202B157D11E37905AE607963117",
"phone": "5544999999999",
"momment": 1698691825296,
"disconnected": true,
"error": "It was not possible to restore a session with the current token, please login again"
}

---------

{
"type": "DisconnectedCallback",
"instanceId": "39ECB202B157D11E37905AE607963117",
"phone": "5544999999999",
"momment": 1698691825296,
"disconnected": true,
"error": "The number was disconnected by a possible whatsapp number blocking"
}

```

### 405
Expand Down
8 changes: 4 additions & 4 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ module.exports = {
'message/send-message-order',
'message/send-order-status-update',
'message/send-order-payment-update',
'message/send-pin-message',
'message/send-newsletter-admin-invite'
'message/send-pin-message'
],
Privacy: [
'privacy/introduction',
Expand Down Expand Up @@ -183,9 +182,10 @@ module.exports = {
'newsletter/update-newsletter-config',
'newsletter/accept-newsletter-admin-invite',
'newsletter/newsletter-remove-admin',
'newsletter/newsletter-revoke-admin-invite'
'newsletter/newsletter-revoke-admin-invite',
'newsletter/send-newsletter-admin-invite'
],
'Transmission list': ['broadcast/introduction'],
// 'Transmission list': ['broadcast/introduction'],
Status: [
'status/introduction',
'status/send-text-status',
Expand Down