# Models

## The Item object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Item":{"type":"object","required":["id","tipoEvento","operacao","item","dadosItem"],"properties":{"id":{"type":"string","description":"Identificador interno da integração"},"tipoEvento":{"type":"string","description":"Indica o tipo de evento que teve alteração"},"operacao":{"type":"string","description":"M-Inclusão/Alteração, D-Exclusão","enum":["M","D"]},"item":{"type":"string"},"dadosItem":{"type":"array","items":{"$ref":"#/components/schemas/DadosItem"}},"objEvento":{"type":"string"}}},"DadosItem":{"type":"object","required":["chave","valor"],"properties":{"chave":{"type":"string","description":"Chave"},"valor":{"type":"string","description":"Valor"}}}}}}
```

## The DadosItem object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"DadosItem":{"type":"object","required":["chave","valor"],"properties":{"chave":{"type":"string","description":"Chave"},"valor":{"type":"string","description":"Valor"}}}}}}
```

## The Agrupadores object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Agrupadores":{"type":"object","required":["dataAgrupador","codAgrupador"],"properties":{"dataAgrupador":{"type":"string","description":"Data do Agrupador"},"codAgrupador":{"type":"integer","description":"Código do Agrupador"}}}}}}
```

## The ListaItens object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"ListaItens":{"type":"object","properties":{"continuationToken":{"type":"string"},"agrupadores":{"type":"array","items":{"$ref":"#/components/schemas/Agrupadores"}},"data":{"type":"array","items":{"$ref":"#/components/schemas/Item"}}}},"Agrupadores":{"type":"object","required":["dataAgrupador","codAgrupador"],"properties":{"dataAgrupador":{"type":"string","description":"Data do Agrupador"},"codAgrupador":{"type":"integer","description":"Código do Agrupador"}}},"Item":{"type":"object","required":["id","tipoEvento","operacao","item","dadosItem"],"properties":{"id":{"type":"string","description":"Identificador interno da integração"},"tipoEvento":{"type":"string","description":"Indica o tipo de evento que teve alteração"},"operacao":{"type":"string","description":"M-Inclusão/Alteração, D-Exclusão","enum":["M","D"]},"item":{"type":"string"},"dadosItem":{"type":"array","items":{"$ref":"#/components/schemas/DadosItem"}},"objEvento":{"type":"string"}}},"DadosItem":{"type":"object","required":["chave","valor"],"properties":{"chave":{"type":"string","description":"Chave"},"valor":{"type":"string","description":"Valor"}}}}}}
```

## The Identificador object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Identificador":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Identificador interno de integração que foi recebido"},"tipoEvento":{"type":"string","description":"Indica o tipo de evento que teve alteração"},"item":{"type":"string"}}}}}}
```

## The ListaIdentificadores object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"ListaIdentificadores":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Identificador"}}}},"Identificador":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Identificador interno de integração que foi recebido"},"tipoEvento":{"type":"string","description":"Indica o tipo de evento que teve alteração"},"item":{"type":"string"}}}}}}
```

## The Email object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Email":{"type":"object","required":["assunto","texto","destinatarios"],"properties":{"assunto":{"type":"string","minLength":1,"maxLength":128,"description":"Conteúdo do texto que deve ser enviado como assunto do email."},"texto":{"type":"string","minLength":1,"maxLength":1024,"description":"Conteúdo do texto que deve ser enviado no corpo do email."},"destinatarios":{"type":"array","items":{"$ref":"#/components/schemas/Destinatarios"}}}},"Destinatarios":{"type":"object","required":["Realizar o envio de email do sistema Consistem ERP para destinatários"],"properties":{"email":{"minLength":1,"maxLength":128,"description":"Email do destinatário","type":"string"}}}}}}
```

## The Destinatarios object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Destinatarios":{"type":"object","required":["Realizar o envio de email do sistema Consistem ERP para destinatários"],"properties":{"email":{"minLength":1,"maxLength":128,"description":"Email do destinatário","type":"string"}}}}}}
```

## The ListaEmails object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"ListaEmails":{"type":"object","required":["listaEmail"],"properties":{"listaEmail":{"type":"array","items":{"$ref":"#/components/schemas/Email"}}}},"Email":{"type":"object","required":["assunto","texto","destinatarios"],"properties":{"assunto":{"type":"string","minLength":1,"maxLength":128,"description":"Conteúdo do texto que deve ser enviado como assunto do email."},"texto":{"type":"string","minLength":1,"maxLength":1024,"description":"Conteúdo do texto que deve ser enviado no corpo do email."},"destinatarios":{"type":"array","items":{"$ref":"#/components/schemas/Destinatarios"}}}},"Destinatarios":{"type":"object","required":["Realizar o envio de email do sistema Consistem ERP para destinatários"],"properties":{"email":{"minLength":1,"maxLength":128,"description":"Email do destinatário","type":"string"}}}}}}
```

## The Notificacao object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Notificacao":{"type":"object","required":["texto","usuarios"],"properties":{"texto":{"type":"string","minLength":1,"maxLength":1024,"description":"Conteúdo do texto que deve ser gerado na notificação."},"usuarios":{"type":"array","items":{"$ref":"#/components/schemas/Usuarios"}}}},"Usuarios":{"type":"object","required":["usuario"],"properties":{"usuario":{"minLength":1,"maxLength":50,"description":"Necessário informar um usuário cadastrado no sistema Consistem ERP.","type":"string"}}}}}}
```

## The Usuarios object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Usuarios":{"type":"object","required":["usuario"],"properties":{"usuario":{"minLength":1,"maxLength":50,"description":"Necessário informar um usuário cadastrado no sistema Consistem ERP.","type":"string"}}}}}}
```

## The ListaNotificacoes object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"ListaNotificacoes":{"type":"object","required":["listaNotificacao"],"properties":{"listaNotificacao":{"type":"array","items":{"$ref":"#/components/schemas/Notificacao"}}}},"Notificacao":{"type":"object","required":["texto","usuarios"],"properties":{"texto":{"type":"string","minLength":1,"maxLength":1024,"description":"Conteúdo do texto que deve ser gerado na notificação."},"usuarios":{"type":"array","items":{"$ref":"#/components/schemas/Usuarios"}}}},"Usuarios":{"type":"object","required":["usuario"],"properties":{"usuario":{"minLength":1,"maxLength":50,"description":"Necessário informar um usuário cadastrado no sistema Consistem ERP.","type":"string"}}}}}}
```

## The EventCloud object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"EventCloud":{"type":"object","required":["method","class"],"properties":{"method":{"type":"string","minLength":1,"maxLength":50,"description":"Método para sincronização."},"class":{"type":"string","minLength":1,"maxLength":50,"description":"Classe para sincronização."},"parameter":{"type":"array","items":{"$ref":"#/components/schemas/Args"}}}},"Args":{"type":"object","required":["method","class"],"properties":{"arg":{"minLength":1,"maxLength":50,"description":"Parâmetro do evento","type":"string"}}}}}}
```

## The Args object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Args":{"type":"object","required":["method","class"],"properties":{"arg":{"minLength":1,"maxLength":50,"description":"Parâmetro do evento","type":"string"}}}}}}
```

## The DadosUsuario object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"DadosUsuario":{"type":"object","properties":{"codigo":{"description":"Código do Usuário","type":"integer"},"nome":{"description":"Nome do Usuário","type":"string"},"email":{"description":"E-mail do Usuário","type":"string"},"idiomaPadrao":{"description":"Idioma Padrão do Usuário (0 - Português, 1 - Inglês, 2 - Espanhol, 3 - Alemão, 4 - Italiano, 5 - Francês)","type":"integer"},"usuarioAdmin":{"description":"Usuário é Administrador? (0 - Não, 1 - Sim)","type":"boolean"},"empresaPadrao":{"description":"Código da Empresa Padrão do Usuário","type":"integer"},"rotinaPadrao":{"description":"Rotina Padrão do Usuário","type":"string"},"tipoMenu":{"description":"Tipo de Menu do Usuário (0 - Por Nível, 1 - Por Perfil)","type":"integer"},"empresas":{"description":"Empresas do Usuário","type":"array","items":{"$ref":"#/components/schemas/EmpresasUsuario"}},"areasChave":{"description":"Áreas Chave do Usuário","type":"array","items":{"$ref":"#/components/schemas/AreasChaveUsuario"}},"dispositivos":{"description":"Dispositivos do Usuário","type":"array","items":{"$ref":"#/components/schemas/DispositivosUsuario"}},"dadosCustomizados":{"description":"Dados Customizados","type":"array","items":{"$ref":"#/components/schemas/DadosCustomizados"}}}},"EmpresasUsuario":{"type":"object","properties":{"codigo":{"description":"Código da Empresa","type":"integer"},"nome":{"description":"Nome da Empresa","type":"string"},"fantasia":{"description":"Nome fantasia da Empresa","type":"string"}}},"AreasChaveUsuario":{"type":"object","properties":{"codigoArea":{"description":"Área Chave do Usuário","type":"integer"}}},"DispositivosUsuario":{"type":"object","properties":{"codigoDisp":{"description":"Dispositivo do Usuário","type":"integer"}}},"DadosCustomizados":{"type":"object","properties":{"campo":{"description":"Campo Customizado","type":"integer"}}}}}}
```

## The EmpresasUsuario object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"EmpresasUsuario":{"type":"object","properties":{"codigo":{"description":"Código da Empresa","type":"integer"},"nome":{"description":"Nome da Empresa","type":"string"},"fantasia":{"description":"Nome fantasia da Empresa","type":"string"}}}}}}
```

## The AreasChaveUsuario object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"AreasChaveUsuario":{"type":"object","properties":{"codigoArea":{"description":"Área Chave do Usuário","type":"integer"}}}}}}
```

## The DispositivosUsuario object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"DispositivosUsuario":{"type":"object","properties":{"codigoDisp":{"description":"Dispositivo do Usuário","type":"integer"}}}}}}
```

## The ConfirmarEvento object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"ConfirmarEvento":{"type":"object","properties":{"codigo":{"description":"Código do Usuário","type":"integer"},"nome":{"description":"Nome do Usuário","type":"string"},"email":{"description":"E-mail do Usuário","type":"string"},"idiomaPadrao":{"description":"Idioma Padrão do Usuário (0 - Português, 1 - Inglês, 2 - Espanhol, 3 - Alemão, 4 - Italiano, 5 - Francês)","type":"integer"},"usuarioAdmin":{"description":"Usuário é Administrador? (0 - Não, 1 - Sim)","type":"boolean"},"empresaPadrao":{"description":"Código da Empresa Padrão do Usuário","type":"integer"},"rotinaPadrao":{"description":"Rotina Padrão do Usuário","type":"string"},"tipoMenu":{"description":"Tipo de Menu do Usuário (0 - Por Nível, 1 - Por Perfil)","type":"integer"},"acessoTerminalWeb":{"description":"Acesso ao Terminal Web (0 - Não, 1 - Sim)","type":"boolean"},"empresas":{"description":"Empresas do Usuário","type":"array","items":{"$ref":"#/components/schemas/EmpresasUsuario"}},"areasChave":{"description":"Áreas Chave do Usuário","type":"array","items":{"$ref":"#/components/schemas/AreasChaveUsuario"}},"dispositivos":{"description":"Dispositivos do Usuário","type":"array","items":{"$ref":"#/components/schemas/DispositivosUsuario"}},"dadosCustomizados":{"description":"Dados Customizados","type":"array","items":{"$ref":"#/components/schemas/DadosCustomizados"}}}},"EmpresasUsuario":{"type":"object","properties":{"codigo":{"description":"Código da Empresa","type":"integer"},"nome":{"description":"Nome da Empresa","type":"string"},"fantasia":{"description":"Nome fantasia da Empresa","type":"string"}}},"AreasChaveUsuario":{"type":"object","properties":{"codigoArea":{"description":"Área Chave do Usuário","type":"integer"}}},"DispositivosUsuario":{"type":"object","properties":{"codigoDisp":{"description":"Dispositivo do Usuário","type":"integer"}}},"DadosCustomizados":{"type":"object","properties":{"campo":{"description":"Campo Customizado","type":"integer"}}}}}}
```

## The Printer object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Printer":{"type":"object","properties":{"serverName":{"type":"string"},"printerName":{"type":"string"},"type":{"type":"string"},"dateCreated":{"type":"string"}}}}}}
```

## The DadosCustomizados object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"DadosCustomizados":{"type":"object","properties":{"campo":{"description":"Campo Customizado","type":"integer"}}}}}}
```

## The Erro object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Erro":{"type":"object","properties":{"mensagem":{"type":"string"}}}}}}
```

## The WebhookWhatsappPayload object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"WebhookWhatsappPayload":{"type":"object","properties":{"messaging_product":{"type":"string"},"metadata":{"$ref":"#/components/schemas/Metadata"},"contacts":{"type":"array","items":{"$ref":"#/components/schemas/Contact"}},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}}},"Metadata":{"type":"object","properties":{"display_phone_number":{"type":"string"},"phone_number_id":{"type":"string"}}},"Contact":{"type":"object","properties":{"profile":{"$ref":"#/components/schemas/Profile"},"wa_id":{"type":"string"}}},"Profile":{"type":"object","properties":{"name":{"type":"string"}}},"Message":{"type":"object","properties":{"from":{"type":"string"},"id":{"type":"string"},"timestamp":{"type":"string"},"text":{"$ref":"#/components/schemas/Text"},"interactive":{"$ref":"#/components/schemas/Interactive"},"reaction":{"$ref":"#/components/schemas/Reaction"},"location":{"$ref":"#/components/schemas/Location"},"contacts":{"type":"array","items":{"$ref":"#/components/schemas/MessageContact"}},"button":{"$ref":"#/components/schemas/Button"},"type":{"type":"string"}}},"Text":{"type":"object","properties":{"body":{"type":"string"}}},"Interactive":{"type":"object","properties":{"list_reply":{"$ref":"#/components/schemas/ListReply"},"button_reply":{"$ref":"#/components/schemas/ButtonReply"},"type":{"type":"string"}}},"ListReply":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"}}},"ButtonReply":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"}}},"Reaction":{"type":"object","properties":{"message_id":{"type":"string"},"emoji":{"type":"string"}}},"Location":{"type":"object","properties":{"latitude":{"type":"number"},"longitude":{"type":"number"},"name":{"type":"string"},"address":{"type":"string"}}},"MessageContact":{"type":"object","properties":{"addresses":{"type":"array","items":{"$ref":"#/components/schemas/Address"}},"birthday":{"type":"string"},"emails":{"type":"array","items":{"$ref":"#/components/schemas/EmailWhatsapp"}},"name":{"$ref":"#/components/schemas/Name"},"org":{"$ref":"#/components/schemas/Org"},"phones":{"type":"array","items":{"$ref":"#/components/schemas/Phone"}},"urls":{"type":"array","items":{"$ref":"#/components/schemas/Url"}}}},"Address":{"type":"object","properties":{"city":{"type":"string"},"country":{"type":"string"},"country_code":{"type":"string"},"state":{"type":"string"},"street":{"type":"string"},"zip":{"type":"string"},"type":{"type":"string"}}},"EmailWhatsapp":{"type":"object","properties":{"email":{"type":"string"},"type":{"type":"string"}}},"Name":{"type":"object","properties":{"formatted_name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"middle_name":{"type":"string"},"suffix":{"type":"string"},"prefix":{"type":"string"}}},"Org":{"type":"object","properties":{"company":{"type":"string"},"department":{"type":"string"},"title":{"type":"string"}}},"Phone":{"type":"object","properties":{"phone":{"type":"string"},"wa_id":{"type":"string"},"type":{"type":"string"}}},"Url":{"type":"object","properties":{"url":{"type":"string"},"type":{"type":"string"}}},"Button":{"type":"object","properties":{"text":{"type":"string"},"payload":{"type":"string"}}}}}}
```

## The Metadata object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Metadata":{"type":"object","properties":{"display_phone_number":{"type":"string"},"phone_number_id":{"type":"string"}}}}}}
```

## The Contact object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Contact":{"type":"object","properties":{"profile":{"$ref":"#/components/schemas/Profile"},"wa_id":{"type":"string"}}},"Profile":{"type":"object","properties":{"name":{"type":"string"}}}}}}
```

## The Profile object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Profile":{"type":"object","properties":{"name":{"type":"string"}}}}}}
```

## The Message object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Message":{"type":"object","properties":{"from":{"type":"string"},"id":{"type":"string"},"timestamp":{"type":"string"},"text":{"$ref":"#/components/schemas/Text"},"interactive":{"$ref":"#/components/schemas/Interactive"},"reaction":{"$ref":"#/components/schemas/Reaction"},"location":{"$ref":"#/components/schemas/Location"},"contacts":{"type":"array","items":{"$ref":"#/components/schemas/MessageContact"}},"button":{"$ref":"#/components/schemas/Button"},"type":{"type":"string"}}},"Text":{"type":"object","properties":{"body":{"type":"string"}}},"Interactive":{"type":"object","properties":{"list_reply":{"$ref":"#/components/schemas/ListReply"},"button_reply":{"$ref":"#/components/schemas/ButtonReply"},"type":{"type":"string"}}},"ListReply":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"}}},"ButtonReply":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"}}},"Reaction":{"type":"object","properties":{"message_id":{"type":"string"},"emoji":{"type":"string"}}},"Location":{"type":"object","properties":{"latitude":{"type":"number"},"longitude":{"type":"number"},"name":{"type":"string"},"address":{"type":"string"}}},"MessageContact":{"type":"object","properties":{"addresses":{"type":"array","items":{"$ref":"#/components/schemas/Address"}},"birthday":{"type":"string"},"emails":{"type":"array","items":{"$ref":"#/components/schemas/EmailWhatsapp"}},"name":{"$ref":"#/components/schemas/Name"},"org":{"$ref":"#/components/schemas/Org"},"phones":{"type":"array","items":{"$ref":"#/components/schemas/Phone"}},"urls":{"type":"array","items":{"$ref":"#/components/schemas/Url"}}}},"Address":{"type":"object","properties":{"city":{"type":"string"},"country":{"type":"string"},"country_code":{"type":"string"},"state":{"type":"string"},"street":{"type":"string"},"zip":{"type":"string"},"type":{"type":"string"}}},"EmailWhatsapp":{"type":"object","properties":{"email":{"type":"string"},"type":{"type":"string"}}},"Name":{"type":"object","properties":{"formatted_name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"middle_name":{"type":"string"},"suffix":{"type":"string"},"prefix":{"type":"string"}}},"Org":{"type":"object","properties":{"company":{"type":"string"},"department":{"type":"string"},"title":{"type":"string"}}},"Phone":{"type":"object","properties":{"phone":{"type":"string"},"wa_id":{"type":"string"},"type":{"type":"string"}}},"Url":{"type":"object","properties":{"url":{"type":"string"},"type":{"type":"string"}}},"Button":{"type":"object","properties":{"text":{"type":"string"},"payload":{"type":"string"}}}}}}
```

## The Text object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Text":{"type":"object","properties":{"body":{"type":"string"}}}}}}
```

## The Interactive object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Interactive":{"type":"object","properties":{"list_reply":{"$ref":"#/components/schemas/ListReply"},"button_reply":{"$ref":"#/components/schemas/ButtonReply"},"type":{"type":"string"}}},"ListReply":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"}}},"ButtonReply":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"}}}}}}
```

## The ListReply object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"ListReply":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"}}}}}}
```

## The ButtonReply object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"ButtonReply":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"}}}}}}
```

## The Reaction object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Reaction":{"type":"object","properties":{"message_id":{"type":"string"},"emoji":{"type":"string"}}}}}}
```

## The Location object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Location":{"type":"object","properties":{"latitude":{"type":"number"},"longitude":{"type":"number"},"name":{"type":"string"},"address":{"type":"string"}}}}}}
```

## The MessageContact object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"MessageContact":{"type":"object","properties":{"addresses":{"type":"array","items":{"$ref":"#/components/schemas/Address"}},"birthday":{"type":"string"},"emails":{"type":"array","items":{"$ref":"#/components/schemas/EmailWhatsapp"}},"name":{"$ref":"#/components/schemas/Name"},"org":{"$ref":"#/components/schemas/Org"},"phones":{"type":"array","items":{"$ref":"#/components/schemas/Phone"}},"urls":{"type":"array","items":{"$ref":"#/components/schemas/Url"}}}},"Address":{"type":"object","properties":{"city":{"type":"string"},"country":{"type":"string"},"country_code":{"type":"string"},"state":{"type":"string"},"street":{"type":"string"},"zip":{"type":"string"},"type":{"type":"string"}}},"EmailWhatsapp":{"type":"object","properties":{"email":{"type":"string"},"type":{"type":"string"}}},"Name":{"type":"object","properties":{"formatted_name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"middle_name":{"type":"string"},"suffix":{"type":"string"},"prefix":{"type":"string"}}},"Org":{"type":"object","properties":{"company":{"type":"string"},"department":{"type":"string"},"title":{"type":"string"}}},"Phone":{"type":"object","properties":{"phone":{"type":"string"},"wa_id":{"type":"string"},"type":{"type":"string"}}},"Url":{"type":"object","properties":{"url":{"type":"string"},"type":{"type":"string"}}}}}}
```

## The Address object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Address":{"type":"object","properties":{"city":{"type":"string"},"country":{"type":"string"},"country_code":{"type":"string"},"state":{"type":"string"},"street":{"type":"string"},"zip":{"type":"string"},"type":{"type":"string"}}}}}}
```

## The EmailWhatsapp object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"EmailWhatsapp":{"type":"object","properties":{"email":{"type":"string"},"type":{"type":"string"}}}}}}
```

## The Name object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Name":{"type":"object","properties":{"formatted_name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"middle_name":{"type":"string"},"suffix":{"type":"string"},"prefix":{"type":"string"}}}}}}
```

## The Org object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Org":{"type":"object","properties":{"company":{"type":"string"},"department":{"type":"string"},"title":{"type":"string"}}}}}}
```

## The Phone object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Phone":{"type":"object","properties":{"phone":{"type":"string"},"wa_id":{"type":"string"},"type":{"type":"string"}}}}}}
```

## The Url object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Url":{"type":"object","properties":{"url":{"type":"string"},"type":{"type":"string"}}}}}}
```

## The Button object

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"components":{"schemas":{"Button":{"type":"object","properties":{"text":{"type":"string"},"payload":{"type":"string"}}}}}}
```
