{"openapi":"3.0.1","info":{"title":"API Hotmobile","version":"1.0","description":"API REST da Hotmobile para envio e consulta de SMS, WhatsApp, WhatsApp Cloud, e-mail e integrações operacionais."},"paths":{"/Email/ConsultaSaldo":{"get":{"tags":["Email"],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ConsultaSaldoRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/ConsultaSaldoRS"},"examples":{"exemplo":{"summary":"Exemplo","value":{"erro":false,"mensagemRetorno":"Consulta realizada com sucesso.","saldoSms":0,"saldoWhatsApp":0,"saldoEmail":2500}}}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsultaSaldoRS"},"examples":{"exemplo":{"summary":"Exemplo","value":{"erro":false,"mensagemRetorno":"Consulta realizada com sucesso.","saldoSms":0,"saldoWhatsApp":0,"saldoEmail":2500}}}}}}},"summary":"Consultar saldo de e-mail","description":"Retorna o saldo disponível para disparos de e-mail do cliente autenticado."}},"/Email/EnviarEmail":{"post":{"tags":["Email"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampanhaEmailRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"quemMandaNome":"Hotmobile","quemMandaEmail":"contato@empresa.com.br","assuntoEmail":"Confirmação de pedido","html":"<strong>Seu pedido foi confirmado.</strong>","agendada":false,"listEmails":[{"email":"cliente@exemplo.com","nome":"Cliente Exemplo"}]}}}},"text/json":{"schema":{"$ref":"#/components/schemas/CampanhaEmailRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"quemMandaNome":"Hotmobile","quemMandaEmail":"contato@empresa.com.br","assuntoEmail":"Confirmação de pedido","html":"<strong>Seu pedido foi confirmado.</strong>","agendada":false,"listEmails":[{"email":"cliente@exemplo.com","nome":"Cliente Exemplo"}]}}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CampanhaEmailRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"quemMandaNome":"Hotmobile","quemMandaEmail":"contato@empresa.com.br","assuntoEmail":"Confirmação de pedido","html":"<strong>Seu pedido foi confirmado.</strong>","agendada":false,"listEmails":[{"email":"cliente@exemplo.com","nome":"Cliente Exemplo"}]}}}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/CampanhaEmailRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/CampanhaEmailRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/CampanhaEmailRS"}}}}},"summary":"Enviar campanha de e-mail","description":"Cria uma campanha de e-mail com HTML, remetente, assunto, anexos opcionais e lista de destinatários."}},"/Email/ConsultarCampanha":{"post":{"tags":["Email"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsultarEmailRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"campanhaEmailId":12345}}}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsultarEmailRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"campanhaEmailId":12345}}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ConsultarEmailRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"campanhaEmailId":12345}}}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ConsultarEmailRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/ConsultarEmailRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsultarEmailRS"}}}}},"summary":"Consultar campanha de e-mail","description":"Consulta o processamento e retorno de uma campanha de e-mail pelo identificador retornado no envio."}},"/Hotmenu/SalvarPedido":{"post":{"tags":["Hotmenu"],"requestBody":{"content":{"application/json":{"schema":{}},"text/json":{"schema":{}},"application/*+json":{"schema":{}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/PedidoResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/PedidoResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/PedidoResponse"}}}}},"summary":"Salvar pedido","description":"Salvar pedido na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/Integracao/TicketSports":{"post":{"tags":["Integracao"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketSportsRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/TicketSportsRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TicketSportsRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TicketSportsRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/TicketSportsRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/TicketSportsRS"}}}}},"summary":"Consultar Ticket Sports","description":"Consultar Ticket Sports na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/IXC/DividasDoCPF":{"post":{"tags":["IXC"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DividasDoCpfRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/DividasDoCpfRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/DividasDoCpfRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/DividasDoCpfRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/DividasDoCpfRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/DividasDoCpfRS"}}}}},"summary":"Consultar dívidas por CPF","description":"Consultar dívidas por CPF na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/Sms/ConsultaSaldo":{"get":{"tags":["Sms"],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ConsultaSaldoRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/ConsultaSaldoRS"},"examples":{"exemplo":{"summary":"Exemplo","value":{"erro":false,"mensagemRetorno":"Consulta realizada com sucesso.","saldoSms":1250,"saldoWhatsApp":320,"saldoEmail":0}}}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsultaSaldoRS"},"examples":{"exemplo":{"summary":"Exemplo","value":{"erro":false,"mensagemRetorno":"Consulta realizada com sucesso.","saldoSms":1250,"saldoWhatsApp":320,"saldoEmail":0}}}}}}},"summary":"Consultar saldo SMS","description":"Retorna o saldo disponível para disparos SMS do cliente autenticado."}},"/Sms/EnviarMensagem":{"post":{"tags":["Sms"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MensagemRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagem":"Seu código de confirmação é 123456.","centroDeCusto":"CRM","idExterno":"pedido-9876","listNumeros":[{"numero":"11999999999"}]}}}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagem":"Seu código de confirmação é 123456.","centroDeCusto":"CRM","idExterno":"pedido-9876","listNumeros":[{"numero":"11999999999"}]}}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/MensagemRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagem":"Seu código de confirmação é 123456.","centroDeCusto":"CRM","idExterno":"pedido-9876","listNumeros":[{"numero":"11999999999"}]}}}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MensagemRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/MensagemRS"},"examples":{"exemplo":{"summary":"Exemplo","value":{"erro":false,"mensagemRetorno":"Mensagem enviada com sucesso.","mensagemId":123456789}}}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemRS"},"examples":{"exemplo":{"summary":"Exemplo","value":{"erro":false,"mensagemRetorno":"Mensagem enviada com sucesso.","mensagemId":123456789}}}}}}},"summary":"Enviar SMS","description":"Envia uma mesma mensagem SMS para um ou mais números. Use idExterno para conciliar o envio com seu sistema."}},"/Sms/EnviarMensagemAgendada":{"post":{"tags":["Sms"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MensagemAgendadaRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagem":"Lembrete: sua consulta é amanhã às 10h.","dataHoraEnvio":"2026-08-28 10:00","centroDeCusto":"Agenda","listNumeros":[{"numero":"11999999999"}]}}}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemAgendadaRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagem":"Lembrete: sua consulta é amanhã às 10h.","dataHoraEnvio":"2026-08-28 10:00","centroDeCusto":"Agenda","listNumeros":[{"numero":"11999999999"}]}}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/MensagemAgendadaRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagem":"Lembrete: sua consulta é amanhã às 10h.","dataHoraEnvio":"2026-08-28 10:00","centroDeCusto":"Agenda","listNumeros":[{"numero":"11999999999"}]}}}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MensagemRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/MensagemRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemRS"}}}}},"summary":"Agendar SMS","description":"Agenda o envio de uma mensagem SMS para data e horário futuros."}},"/Sms/EnviarMensagemPersonalizada":{"post":{"tags":["Sms"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRS"}}}}},"summary":"Enviar SMS personalizado","description":"Envia mensagens SMS personalizadas por destinatário, útil para variáveis como nome, código ou vencimento."}},"/Sms/ConsultarMensagem":{"post":{"tags":["Sms"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagemId":123456789,"idExterno":"pedido-9876"}}}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagemId":123456789,"idExterno":"pedido-9876"}}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagemId":123456789,"idExterno":"pedido-9876"}}}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRS"}}}}},"summary":"Consultar SMS enviado","description":"Consulta status e dados de uma mensagem SMS pelo mensagemId ou idExterno."}},"/Sms/ConsultarEnviosPorData":{"post":{"tags":["Sms"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsultarEnviosPorDataRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsultarEnviosPorDataRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ConsultarEnviosPorDataRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ConsultarEnviosPorDataRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/ConsultarEnviosPorDataRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsultarEnviosPorDataRS"}}}}},"summary":"Consultar envios SMS por data","description":"Lista envios SMS dentro de um intervalo de datas."}},"/Sms/ConsultarResposta":{"post":{"tags":["Sms"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MensagemRecebidaRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"dtIni":"2026-08-01","dtFim":"2026-08-27"}}}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemRecebidaRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"dtIni":"2026-08-01","dtFim":"2026-08-27"}}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/MensagemRecebidaRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"dtIni":"2026-08-01","dtFim":"2026-08-27"}}}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}}}}},"summary":"Consultar respostas SMS","description":"Lista respostas recebidas em um intervalo de datas."}},"/Sms/ConsultarRespostaPorId":{"post":{"tags":["Sms"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasPelaMensagemEnviadaRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasPelaMensagemEnviadaRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasPelaMensagemEnviadaRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}}}}},"summary":"Consultar respostas SMS por mensagem","description":"Lista respostas recebidas vinculadas a uma mensagem enviada."}},"/Util/DataAtual":{"get":{"tags":["Util"],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/Data"}},"application/json":{"schema":{"$ref":"#/components/schemas/Data"}},"text/json":{"schema":{"$ref":"#/components/schemas/Data"}}}}},"summary":"Consultar data atual","description":"Consultar data atual na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/WhatsApp/ConsultaSaldo":{"get":{"tags":["WhatsApp"],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ConsultaSaldoRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/ConsultaSaldoRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsultaSaldoRS"}}}}},"summary":"Consultar saldo WhatsApp","description":"Retorna o saldo disponível para disparos WhatsApp do cliente autenticado."}},"/WhatsApp/ConsultarMensagem":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/ConsultarMensagemRS"}}}}},"summary":"Consultar mensagem enviada","description":"Consultar mensagem enviada na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/WhatsApp/ConsultarResposta":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MensagemRecebidaRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemRecebidaRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/MensagemRecebidaRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}}}}},"summary":"Consultar respostas","description":"Consultar respostas na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/WhatsApp/ConsultarRespostaPorId":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasPelaMensagemEnviadaRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasPelaMensagemEnviadaRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasPelaMensagemEnviadaRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagensRecebidasRS"}}}}},"summary":"Consultar respostas por mensagem","description":"Consultar respostas por mensagem na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/WhatsApp/EnviarMensagem":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MensagemRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagem":"Olá, seu atendimento foi iniciado.","instanciaId":123,"centroDeCusto":"Atendimento","idExterno":"ticket-456","listNumeros":[{"numero":"11999999999"}]}}}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagem":"Olá, seu atendimento foi iniciado.","instanciaId":123,"centroDeCusto":"Atendimento","idExterno":"ticket-456","listNumeros":[{"numero":"11999999999"}]}}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/MensagemRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"mensagem":"Olá, seu atendimento foi iniciado.","instanciaId":123,"centroDeCusto":"Atendimento","idExterno":"ticket-456","listNumeros":[{"numero":"11999999999"}]}}}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MensagemRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/MensagemRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemRS"}}}}},"summary":"Enviar WhatsApp","description":"Envia uma mensagem WhatsApp usando uma instância conectada."}},"/WhatsApp/EnviarMensagemAgendada":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MensagemAgendadaRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemAgendadaRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/MensagemAgendadaRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MensagemRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/MensagemRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemRS"}}}}},"summary":"Agendar mensagem","description":"Agendar mensagem na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/WhatsApp/EnviarMensagemPersonalizada":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/MensagemPersonalizadaRS"}}}}},"summary":"Enviar mensagem personalizada","description":"Enviar mensagem personalizada na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/WhatsApp/QrCode":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/QrCodeRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/QrCodeRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/QrCodeRS"}}}}},"summary":"Gerar QR Code da instância","description":"Gera ou consulta o QR Code usado para conectar uma instância WhatsApp."}},"/WhatsApp/CriarInstancia":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRS"}}}}},"summary":"Criar instância WhatsApp","description":"Cria uma nova instância WhatsApp para conexão e envio de mensagens."}},"/WhatsApp/DesconectarInstancia":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"text/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}}}}},"summary":"Desconectar instância WhatsApp","description":"Desconecta uma instância WhatsApp já criada."}},"/WhatsApp/ExcluirInstancia":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRS"}}}}},"summary":"Excluir instância WhatsApp","description":"Excluir instância WhatsApp na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/WhatsApp/GetInfoInstancia":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/CriarInstanciaRS"}}}}},"summary":"Obter informações da instância","description":"Consulta dados operacionais e status de uma instância WhatsApp."}},"/WhatsApp/ObterGrupos":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/QrCodeRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/GrupoRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/GrupoRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/GrupoRS"}}}}},"summary":"Listar grupos WhatsApp","description":"Listar grupos WhatsApp na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/WhatsApp/ObterParticipantesDoGrupo":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParticipantesRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/ParticipantesRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ParticipantesRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ParticipantesRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/ParticipantesRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/ParticipantesRS"}}}}},"summary":"Listar participantes do grupo","description":"Listar participantes do grupo na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/WhatsApp/DesligarBot":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusBotRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/StatusBotRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/StatusBotRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"text/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}}}}},"summary":"Desligar bot","description":"Desligar bot na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/WhatsApp/LigarBot":{"post":{"tags":["WhatsApp"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusBotRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/StatusBotRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/StatusBotRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"text/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}}}}},"summary":"Ligar bot","description":"Ligar bot na API Hotmobile. Consulte os schemas abaixo para ver todos os campos aceitos e retornados."}},"/WhatsApp/AtualizarBot/{InstanciaId}":{"post":{"tags":["WhatsApp"],"parameters":[{"name":"InstanciaId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{}},"text/json":{"schema":{}},"application/*+json":{"schema":{}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"text/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}}}}}}},"/WhatsAppCloud/Meta/Connect/Start":{"post":{"tags":["WhatsAppCloud"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaConnectStartRq"}},"text/json":{"schema":{"$ref":"#/components/schemas/MetaConnectStartRq"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/MetaConnectStartRq"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/MetaConnectStartRs"}},"application/json":{"schema":{"$ref":"#/components/schemas/MetaConnectStartRs"}},"text/json":{"schema":{"$ref":"#/components/schemas/MetaConnectStartRs"}}}}},"summary":"Iniciar conexão Meta","description":"Inicia o fluxo de conexão com a Meta para uso do WhatsApp Cloud."}},"/WhatsAppCloud/Meta/Conexao/Desconectar":{"post":{"tags":["WhatsAppCloud"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudDesconectarConexaoRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"metaAppConnectionId":987654321}}}},"text/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudDesconectarConexaoRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"metaAppConnectionId":987654321}}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudDesconectarConexaoRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"metaAppConnectionId":987654321}}}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"text/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}}}}},"summary":"Desconectar conexão Meta","description":"Desconecta uma conexão Meta App usada pelo WhatsApp Cloud."}},"/WhatsAppCloud/Meta/Numeros":{"get":{"tags":["WhatsAppCloud"],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudNumerosRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudNumerosRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudNumerosRS"}}}}},"summary":"Listar números WhatsApp Cloud","description":"Lista os números sincronizados das contas WhatsApp Business conectadas."}},"/WhatsAppCloud/Templates":{"get":{"tags":["WhatsAppCloud"],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudTemplatesRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudTemplatesRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudTemplatesRS"}}}}},"summary":"Listar templates WhatsApp Cloud","description":"Lista templates disponíveis para envio via WhatsApp Cloud."},"post":{"tags":["WhatsAppCloud"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudCriarTemplateRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"whatsAppBusinessAccountId":123456789012345,"templateName":"confirmacao_pedido","category":"UTILITY","language":"pt_BR","componentsJson":"[{\"type\":\"BODY\",\"text\":\"Olá {{1}}, seu pedido {{2}} foi confirmado.\"}]"}}}},"text/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudCriarTemplateRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"whatsAppBusinessAccountId":123456789012345,"templateName":"confirmacao_pedido","category":"UTILITY","language":"pt_BR","componentsJson":"[{\"type\":\"BODY\",\"text\":\"Olá {{1}}, seu pedido {{2}} foi confirmado.\"}]"}}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudCriarTemplateRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"whatsAppBusinessAccountId":123456789012345,"templateName":"confirmacao_pedido","category":"UTILITY","language":"pt_BR","componentsJson":"[{\"type\":\"BODY\",\"text\":\"Olá {{1}}, seu pedido {{2}} foi confirmado.\"}]"}}}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudTemplateRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudTemplateRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudTemplateRS"}}}}},"summary":"Criar template WhatsApp Cloud","description":"Cria um template na conta WhatsApp Business informando categoria, idioma e componentes em JSON."}},"/WhatsAppCloud/Templates/Sincronizar":{"post":{"tags":["WhatsAppCloud"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudSincronizarTemplatesRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"whatsAppBusinessAccountId":123456789012345}}}},"text/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudSincronizarTemplatesRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"whatsAppBusinessAccountId":123456789012345}}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudSincronizarTemplatesRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"whatsAppBusinessAccountId":123456789012345}}}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudSincronizacaoRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudSincronizacaoRS"}},"text/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudSincronizacaoRS"}}}}},"summary":"Sincronizar templates WhatsApp Cloud","description":"Sincroniza templates aprovados na Meta para uso pela API Hotmobile."}},"/WhatsAppCloud/Templates/Excluir":{"post":{"tags":["WhatsAppCloud"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudExcluirTemplateRQ"}},"text/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudExcluirTemplateRQ"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudExcluirTemplateRQ"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"application/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}},"text/json":{"schema":{"$ref":"#/components/schemas/ResponsePadrao"}}}}},"summary":"Excluir template WhatsApp Cloud","description":"Exclui um template cadastrado ou solicita exclusão pelo nome na Meta."}},"/WhatsAppCloud/EnviarTemplate":{"post":{"tags":["WhatsAppCloud"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudEnviarTemplateRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"whatsAppPhoneNumberId":123456789012345,"destino":"5511999999999","templateName":"confirmacao_pedido","templateLanguage":"pt_BR","parametros":["Maria","9876"],"idempotencyKey":"pedido-9876-confirmacao"}}}},"text/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudEnviarTemplateRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"whatsAppPhoneNumberId":123456789012345,"destino":"5511999999999","templateName":"confirmacao_pedido","templateLanguage":"pt_BR","parametros":["Maria","9876"],"idempotencyKey":"pedido-9876-confirmacao"}}}},"application/*+json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudEnviarTemplateRQ"},"examples":{"exemplo":{"summary":"Exemplo","value":{"whatsAppPhoneNumberId":123456789012345,"destino":"5511999999999","templateName":"confirmacao_pedido","templateLanguage":"pt_BR","parametros":["Maria","9876"],"idempotencyKey":"pedido-9876-confirmacao"}}}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudEnviarTemplateRS"}},"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudEnviarTemplateRS"},"examples":{"exemplo":{"summary":"Exemplo","value":{"erro":false,"mensagemRetorno":"Template enviado com sucesso.","whatsAppMessageOutboxId":123456789,"statusEnvioId":1,"metaMessageId":"wamid.HBgNNTUxMTk5OTk5OTk5ORUCABE"}}}},"text/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCloudEnviarTemplateRS"},"examples":{"exemplo":{"summary":"Exemplo","value":{"erro":false,"mensagemRetorno":"Template enviado com sucesso.","whatsAppMessageOutboxId":123456789,"statusEnvioId":1,"metaMessageId":"wamid.HBgNNTUxMTk5OTk5OTk5ORUCABE"}}}}}}},"summary":"Enviar template WhatsApp Cloud","description":"Envia uma mensagem template oficial para um destino usando número e template sincronizados."}}},"components":{"schemas":{"ArquivoExcel":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"arquivoId":{"type":"integer","format":"int64","nullable":true},"colunaA":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaB":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaC":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaD":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaE":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaF":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaG":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaH":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaI":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaJ":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaK":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaL":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaM":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaN":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaO":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaP":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaQ":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaR":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaS":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaT":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaU":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaV":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaW":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaX":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaY":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaZ":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAa":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAb":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAc":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAd":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAe":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAf":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAg":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAh":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAi":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAj":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAk":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAl":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAm":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAn":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAo":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAp":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAq":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAr":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAs":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAt":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAu":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAv":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAw":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAx":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAy":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaAz":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBa":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBb":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBc":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBd":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBe":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBf":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBg":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBh":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBi":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBj":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBk":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBl":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBm":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBn":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBo":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBp":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBq":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBr":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBs":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBt":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBu":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBv":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBw":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBx":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBy":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"colunaBz":{"maxLength":300,"minLength":0,"type":"string","nullable":true},"arquivo":{"$ref":"#/components/schemas/BoletoArquivo"}},"additionalProperties":false},"Assinatura":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"clienteId":{"type":"integer","format":"int32","nullable":true},"valor":{"type":"number","format":"double","nullable":true},"plano":{"type":"string","nullable":true},"diaRenovacao":{"type":"integer","format":"int32","nullable":true},"numeroCartao":{"type":"string","nullable":true},"nomeImpresso":{"type":"string","nullable":true},"dataValidade":{"type":"string","format":"date-time","nullable":true},"codigoSeguranca":{"type":"integer","format":"int32","nullable":true},"bandeira":{"type":"string","nullable":true},"ativo":{"type":"boolean","nullable":true},"dataCriacao":{"type":"string","format":"date-time","nullable":true},"codigoAssinatura":{"type":"string","nullable":true},"dataCancelamento":{"type":"string","format":"date-time","nullable":true},"status":{"type":"string","nullable":true},"paymentMethod":{"type":"string","nullable":true},"asaasId":{"type":"string","nullable":true},"assinaturaTransacaos":{"type":"array","items":{"$ref":"#/components/schemas/AssinaturaTransacao"},"nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"},"instanciaWhasApps":{"type":"array","items":{"$ref":"#/components/schemas/InstanciaWhasApp"},"nullable":true}},"additionalProperties":false},"AssinaturaTransacao":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"dataCriacao":{"type":"string","format":"date-time","nullable":true},"dataPagamento":{"type":"string","format":"date-time","nullable":true},"codigo":{"type":"integer","format":"int32","nullable":true},"metodoPagamento":{"type":"string","nullable":true},"assinaturaId":{"type":"integer","format":"int64","nullable":true},"status":{"type":"string","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"descricao":{"type":"string","nullable":true},"servico":{"type":"string","nullable":true},"quantidade":{"type":"integer","format":"int32","nullable":true},"valorUnitario":{"type":"number","format":"double","nullable":true},"valorTotal":{"type":"number","format":"double","nullable":true},"asaasId":{"type":"string","nullable":true},"assinatura":{"$ref":"#/components/schemas/Assinatura"},"cliente":{"$ref":"#/components/schemas/Cliente"}},"additionalProperties":false},"BlackList":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"numero":{"type":"string","nullable":true},"descricao":{"type":"string","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"todosClientes":{"type":"boolean","nullable":true},"dataInclusao":{"type":"string","format":"date-time","nullable":true},"usuarioId":{"type":"integer","format":"int32","nullable":true},"usuario":{"$ref":"#/components/schemas/Usuario"}},"additionalProperties":false},"BlackList2":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"numero":{"type":"string","nullable":true},"descricao":{"type":"string","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"todosClientes":{"type":"boolean","nullable":true},"dataInclusao":{"type":"string","format":"date-time","nullable":true},"usuarioId":{"type":"integer","format":"int32","nullable":true},"usuario":{"$ref":"#/components/schemas/Usuario"}},"additionalProperties":false},"BoletoArquivo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"nomeArquivoOriginal":{"maxLength":500,"minLength":0,"type":"string","nullable":true},"nomeArquivoRenomeado":{"maxLength":500,"minLength":0,"type":"string","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"usuarioId":{"type":"integer","format":"int32","nullable":true},"qtdBoletos":{"type":"integer","format":"int32","nullable":true},"dataCriacao":{"type":"string","format":"date-time","nullable":true},"mensagemId":{"type":"integer","format":"int64","nullable":true},"textoMensagem":{"maxLength":1000,"minLength":0,"type":"string","nullable":true},"dataEnvioDaMensagem":{"type":"string","format":"date-time","nullable":true},"modeloCartaId":{"type":"integer","format":"int32","nullable":true},"arquivoExcels":{"type":"array","items":{"$ref":"#/components/schemas/ArquivoExcel"},"nullable":true},"boletoBoletos":{"type":"array","items":{"$ref":"#/components/schemas/BoletoBoleto"},"nullable":true},"boletoDadosEmpresas":{"type":"array","items":{"$ref":"#/components/schemas/BoletoDadosEmpresa"},"nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"},"modeloCarta":{"$ref":"#/components/schemas/BoletoModeloCartum"}},"additionalProperties":false},"BoletoBoleto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"arquivoId":{"type":"integer","format":"int64","nullable":true},"nomeDevedor":{"maxLength":100,"minLength":0,"type":"string","nullable":true},"cpfdevedor":{"maxLength":14,"minLength":0,"type":"string","nullable":true},"emailDevedor":{"maxLength":500,"minLength":0,"type":"string","nullable":true},"celularDevedor":{"maxLength":20,"minLength":0,"type":"string","nullable":true},"celularDevedor2":{"maxLength":20,"minLength":0,"type":"string","nullable":true},"celularDevedor3":{"maxLength":20,"minLength":0,"type":"string","nullable":true},"link":{"maxLength":100,"minLength":0,"type":"string","nullable":true},"dataCriacaoLink":{"type":"string","format":"date-time","nullable":true},"aberto":{"type":"boolean","nullable":true},"dataAbertura":{"type":"string","format":"date-time","nullable":true},"html":{"type":"string","nullable":true},"arquivo":{"$ref":"#/components/schemas/BoletoArquivo"},"boletoDadosDevedors":{"type":"array","items":{"$ref":"#/components/schemas/BoletoDadosDevedor"},"nullable":true},"boletoDadosOpcoesPagamentos":{"type":"array","items":{"$ref":"#/components/schemas/BoletoDadosOpcoesPagamento"},"nullable":true},"boletoDadosTitulos":{"type":"array","items":{"$ref":"#/components/schemas/BoletoDadosTitulo"},"nullable":true}},"additionalProperties":false},"BoletoDadosDevedor":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"boletoId":{"type":"integer","format":"int64","nullable":true},"chave":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"nome":{"maxLength":60,"minLength":0,"type":"string","nullable":true},"logradouro":{"maxLength":100,"minLength":0,"type":"string","nullable":true},"numero":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"complemento":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"bairro":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"cidade":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"estado":{"maxLength":2,"minLength":0,"type":"string","nullable":true},"cep":{"maxLength":8,"minLength":0,"type":"string","nullable":true},"contrato":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"referencia":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"contaContrato":{"maxLength":11,"minLength":0,"type":"string","nullable":true},"dataLimite":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"cpfCgc":{"maxLength":14,"minLength":0,"type":"string","nullable":true},"valorCorrigido":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"dataVencimento":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"barrasDigitavel":{"maxLength":58,"minLength":0,"type":"string","nullable":true},"barrasImpresso":{"maxLength":44,"minLength":0,"type":"string","nullable":true},"valorTaxa":{"maxLength":13,"minLength":0,"type":"string","nullable":true},"agenciaBanco":{"maxLength":6,"minLength":0,"type":"string","nullable":true},"cedenteBanco":{"maxLength":20,"minLength":0,"type":"string","nullable":true},"nossoNumero":{"maxLength":18,"minLength":0,"type":"string","nullable":true},"digitoNossoNumero":{"maxLength":3,"minLength":0,"type":"string","nullable":true},"mercadoria":{"maxLength":500,"minLength":0,"type":"string","nullable":true},"login":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"senha":{"maxLength":4,"minLength":0,"type":"string","nullable":true},"codigoEndereco":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"codigoCarteira":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"descricaoCarteira":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"telefoneDevedor":{"maxLength":14,"minLength":0,"type":"string","nullable":true},"email1Devedor":{"maxLength":250,"minLength":0,"type":"string","nullable":true},"email2Devedor":{"maxLength":250,"minLength":0,"type":"string","nullable":true},"email3Devedor":{"maxLength":250,"minLength":0,"type":"string","nullable":true},"nomeCredor":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"descricaoCampanha":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"descricaoSegmentacao":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"descricaoLoja":{"maxLength":100,"minLength":0,"type":"string","nullable":true},"descricaoClasse":{"maxLength":100,"minLength":0,"type":"string","nullable":true},"descricaoBandeira":{"maxLength":100,"minLength":0,"type":"string","nullable":true},"sequencialContrato":{"maxLength":2,"minLength":0,"type":"string","nullable":true},"densidadeContrato":{"maxLength":5,"minLength":0,"type":"string","nullable":true},"dataUltimoPagamento":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"valorUltimoPagamento":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"codigoBarrasContrato":{"maxLength":55,"minLength":0,"type":"string","nullable":true},"percentualCorrecao":{"maxLength":7,"minLength":0,"type":"string","nullable":true},"dataInclusaoContrato":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"codigoLote":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"branco":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"quantidadeTitulos":{"maxLength":3,"minLength":0,"type":"string","nullable":true},"usoBanco":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"especieDocumento":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"aceite":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"cip":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"carteira":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"especie":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"cedente":{"maxLength":600,"minLength":0,"type":"string","nullable":true},"emailCedente":{"maxLength":100,"minLength":0,"type":"string","nullable":true},"siteCedente":{"maxLength":150,"minLength":0,"type":"string","nullable":true},"telefoneCedente":{"maxLength":15,"minLength":0,"type":"string","nullable":true},"telefoneAtendimento":{"maxLength":15,"minLength":0,"type":"string","nullable":true},"contaCorrente":{"maxLength":20,"minLength":0,"type":"string","nullable":true},"telefoneFixo1":{"maxLength":15,"minLength":0,"type":"string","nullable":true},"telefoneFixo2":{"maxLength":15,"minLength":0,"type":"string","nullable":true},"telefoneFixo3":{"maxLength":15,"minLength":0,"type":"string","nullable":true},"telefoneCelular1":{"maxLength":15,"minLength":0,"type":"string","nullable":true},"telefoneCelular2":{"maxLength":15,"minLength":0,"type":"string","nullable":true},"telefoneCelular3":{"maxLength":15,"minLength":0,"type":"string","nullable":true},"horarioEntradaSemana":{"maxLength":8,"minLength":0,"type":"string","nullable":true},"horarioSaidaSemana":{"maxLength":8,"minLength":0,"type":"string","nullable":true},"horarioEntradaSabado":{"maxLength":8,"minLength":0,"type":"string","nullable":true},"horarioSaidaSabado":{"maxLength":8,"minLength":0,"type":"string","nullable":true},"dataVencimentoEvento":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"dataProrrogacaoEvento":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"boleto":{"$ref":"#/components/schemas/BoletoBoleto"}},"additionalProperties":false},"BoletoDadosEmpresa":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"arquivoId":{"type":"integer","format":"int64","nullable":true},"nome":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"logradouro":{"maxLength":100,"minLength":0,"type":"string","nullable":true},"numero":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"complemento":{"maxLength":20,"minLength":0,"type":"string","nullable":true},"bairro":{"maxLength":30,"minLength":0,"type":"string","nullable":true},"cidade":{"maxLength":30,"minLength":0,"type":"string","nullable":true},"estado":{"maxLength":2,"minLength":0,"type":"string","nullable":true},"cep":{"maxLength":8,"minLength":0,"type":"string","nullable":true},"telefone":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"site":{"maxLength":150,"minLength":0,"type":"string","nullable":true},"email":{"maxLength":100,"minLength":0,"type":"string","nullable":true},"dataGeracaoArquivo":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"horaGeracaoArquivo":{"maxLength":8,"minLength":0,"type":"string","nullable":true},"versaoLayout":{"maxLength":20,"minLength":0,"type":"string","nullable":true},"servidor":{"maxLength":3,"minLength":0,"type":"string","nullable":true},"arquivo":{"$ref":"#/components/schemas/BoletoArquivo"}},"additionalProperties":false},"BoletoDadosOpcoesPagamento":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"boletoId":{"type":"integer","format":"int64","nullable":true},"chave":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"entrada":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"qdeParcelasTotal":{"maxLength":2,"minLength":0,"type":"string","nullable":true},"valorParcela":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorSaldo":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorCorrigido":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorMulta":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorHonorario":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorJuros":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"desconto":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"total":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorDespesaTotal":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"percentualEntrada":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"barrasDigitavel":{"maxLength":58,"minLength":0,"type":"string","nullable":true},"barrasImpresso":{"maxLength":44,"minLength":0,"type":"string","nullable":true},"nossoNumero":{"maxLength":18,"minLength":0,"type":"string","nullable":true},"digitoNossoNumero":{"maxLength":3,"minLength":0,"type":"string","nullable":true},"parcela":{"maxLength":2,"minLength":0,"type":"string","nullable":true},"boleto":{"$ref":"#/components/schemas/BoletoBoleto"}},"additionalProperties":false},"BoletoDadosTitulo":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"boletoId":{"type":"integer","format":"int64","nullable":true},"chave":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"numeroTitulo":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"vencimentoTitulo":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"valorTitulo":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"informacoesTitulo":{"maxLength":1500,"minLength":0,"type":"string","nullable":true},"dataBaseCredito":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"dataOrigemAtraso":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"valorOrigemAtraso":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorJuros":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorMulta":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorTarifas":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorIof":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorAnuidade":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorSeguro":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorPrincipal":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorPermanencia":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"documentoTitulo":{"maxLength":20,"minLength":0,"type":"string","nullable":true},"codigoBarrasTitulo":{"maxLength":55,"minLength":0,"type":"string","nullable":true},"agenciaTitulo":{"maxLength":6,"minLength":0,"type":"string","nullable":true},"contaTitulo":{"maxLength":30,"minLength":0,"type":"string","nullable":true},"identificacaoDocumento":{"maxLength":20,"minLength":0,"type":"string","nullable":true},"bancoTitulo":{"maxLength":4,"minLength":0,"type":"string","nullable":true},"alineaTitulo":{"maxLength":4,"minLength":0,"type":"string","nullable":true},"chequeTitulo":{"maxLength":20,"minLength":0,"type":"string","nullable":true},"dataOriginal":{"maxLength":10,"minLength":0,"type":"string","nullable":true},"valorOriginal":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorMaximo":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorMinimo":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorAtualizado":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"valorCorrecaoTitulo":{"maxLength":12,"minLength":0,"type":"string","nullable":true},"boleto":{"$ref":"#/components/schemas/BoletoBoleto"}},"additionalProperties":false},"BoletoModeloCartum":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"nome":{"maxLength":50,"minLength":0,"type":"string","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"boletoArquivos":{"type":"array","items":{"$ref":"#/components/schemas/BoletoArquivo"},"nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"}},"additionalProperties":false},"CampanhaEmail":{"type":"object","properties":{"campanhaEmailId":{"type":"integer","format":"int64"},"html":{"type":"string","nullable":true},"dataEnvio":{"type":"string","format":"date-time","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"usuarioId":{"type":"integer","format":"int32","nullable":true},"qtdEmails":{"type":"integer","format":"int32","nullable":true},"qtdSucesso":{"type":"integer","format":"int32","nullable":true},"qtdErros":{"type":"integer","format":"int32","nullable":true},"enviada":{"type":"boolean","nullable":true},"agendada":{"type":"boolean","nullable":true},"quemMandaNome":{"type":"string","nullable":true},"quemMandaEmail":{"type":"string","nullable":true},"assuntoEmail":{"type":"string","nullable":true},"anexo1":{"type":"string","nullable":true},"anexo2":{"type":"string","nullable":true},"anexo3":{"type":"string","nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"},"emails":{"type":"array","items":{"$ref":"#/components/schemas/Email"},"nullable":true},"usuario":{"$ref":"#/components/schemas/Usuario"}},"additionalProperties":false},"CampanhaEmailRQ":{"type":"object","properties":{"html":{"type":"string","nullable":true},"dataEnvio":{"type":"string","nullable":true},"agendada":{"type":"boolean","nullable":true},"quemMandaNome":{"type":"string","nullable":true},"quemMandaEmail":{"type":"string","nullable":true},"assuntoEmail":{"type":"string","nullable":true},"anexos":{"maxItems":3,"type":"array","items":{"type":"string"},"nullable":true},"listEmails":{"type":"array","items":{"$ref":"#/components/schemas/EmailRQ"},"nullable":true}},"additionalProperties":false},"CampanhaEmailRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"campanhaEmailId":{"type":"integer","format":"int64"}},"additionalProperties":false},"CentroDeCusto":{"type":"object","properties":{"centroDeCustoId":{"type":"integer","format":"int32"},"centroDeCusto1":{"type":"string","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"removido":{"type":"boolean","nullable":true},"diasIntervaloParaEnvio":{"type":"integer","format":"int32","nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"}},"additionalProperties":false},"Cliente":{"type":"object","properties":{"clienteId":{"type":"integer","format":"int32"},"cliente1":{"type":"string","nullable":true},"telContato":{"type":"string","nullable":true},"nomeContato":{"type":"string","nullable":true},"emailContato":{"type":"string","nullable":true},"fornecedorPadraoId":{"type":"integer","format":"int32","nullable":true},"tipoPlanoId":{"type":"integer","format":"int32","nullable":true},"dataVencimentoContrato":{"type":"string","format":"date-time","nullable":true},"ehRevendedor":{"type":"boolean","nullable":true},"clientePaiId":{"type":"integer","format":"int32","nullable":true},"removido":{"type":"boolean","nullable":true},"utilizaPortabilidade":{"type":"boolean","nullable":true},"cpf":{"type":"string","nullable":true},"cnpj":{"type":"string","nullable":true},"telFixo":{"type":"string","nullable":true},"localidade":{"type":"string","nullable":true},"msn":{"type":"string","nullable":true},"skype":{"type":"string","nullable":true},"pastaPadrao":{"type":"string","nullable":true},"urlPainel":{"type":"string","nullable":true},"enviarMsgRecebidaPorSMS":{"type":"boolean","nullable":true},"enviarMsgRecebidaPorEmail":{"type":"boolean","nullable":true},"utilizaTeste":{"type":"boolean","nullable":true},"palavraChaveTeste":{"type":"string","nullable":true},"urlRetornoTeste":{"type":"string","nullable":true},"configEnvioId":{"type":"integer","format":"int32","nullable":true},"urlRetornoEnvio":{"type":"string","nullable":true},"urlRetornoMsgRecebida":{"type":"string","nullable":true},"diasIntervaloParaEnvio":{"type":"integer","format":"int32","nullable":true},"faccao":{"type":"boolean","nullable":true},"faccaoPoucosNaoEnviados":{"type":"boolean","nullable":true},"porcetagemAvisoFimCreditos":{"type":"integer","format":"int32","nullable":true},"quantidadeCaracteres":{"type":"integer","format":"int32","nullable":true},"emailMarketing":{"type":"boolean","nullable":true},"encurtadorUrl":{"type":"boolean","nullable":true},"zAPI_Instacia":{"type":"string","nullable":true},"zAPI_Token":{"type":"string","nullable":true},"zapAtivo":{"type":"boolean","nullable":true},"zapRitaPublica":{"type":"boolean","nullable":true},"asaasId":{"type":"string","nullable":true},"tipoPrePos":{"type":"string","nullable":true},"vendedorId":{"type":"integer","format":"int64","nullable":true},"valorSMS":{"type":"number","format":"double","nullable":true},"valorEmail":{"type":"number","format":"double","nullable":true},"valorWhatsApp":{"type":"number","format":"double","nullable":true},"comNotaFiscal":{"type":"boolean","nullable":true},"diaVencimentoBoleto":{"type":"integer","format":"int32","nullable":true},"qtdCreditosPosPago":{"type":"integer","format":"int32","nullable":true},"loginEmail":{"type":"string","nullable":true},"senhaEmail":{"type":"string","nullable":true},"webHookSmsStatus":{"type":"string","nullable":true},"webHookSmsRespostas":{"type":"string","nullable":true},"webHookWhatsAppStatus":{"type":"string","nullable":true},"webHookWhatsAppRespostas":{"type":"string","nullable":true},"webHookEmailStatus":{"type":"string","nullable":true},"segmento":{"type":"string","nullable":true},"assinaturaTransacaos":{"type":"array","items":{"$ref":"#/components/schemas/AssinaturaTransacao"},"nullable":true},"assinaturas":{"type":"array","items":{"$ref":"#/components/schemas/Assinatura"},"nullable":true},"boletoArquivos":{"type":"array","items":{"$ref":"#/components/schemas/BoletoArquivo"},"nullable":true},"boletoModeloCarta":{"type":"array","items":{"$ref":"#/components/schemas/BoletoModeloCartum"},"nullable":true},"campanhaEmails":{"type":"array","items":{"$ref":"#/components/schemas/CampanhaEmail"},"nullable":true},"centroDeCustos":{"type":"array","items":{"$ref":"#/components/schemas/CentroDeCusto"},"nullable":true},"configEnvio":{"$ref":"#/components/schemas/ConfigEnvio"},"conversas":{"type":"array","items":{"$ref":"#/components/schemas/Conversa"},"nullable":true},"creditos":{"type":"array","items":{"$ref":"#/components/schemas/Credito"},"nullable":true},"creditosEmails":{"type":"array","items":{"$ref":"#/components/schemas/CreditosEmail"},"nullable":true},"creditosZaps":{"type":"array","items":{"$ref":"#/components/schemas/CreditosZap"},"nullable":true},"fornecedorPadrao":{"$ref":"#/components/schemas/Fornecedor"},"instanciaWhasApps":{"type":"array","items":{"$ref":"#/components/schemas/InstanciaWhasApp"},"nullable":true},"linkCurtos":{"type":"array","items":{"$ref":"#/components/schemas/LinkCurto"},"nullable":true},"ratinhos":{"type":"array","items":{"$ref":"#/components/schemas/Ratinho"},"nullable":true},"templates":{"type":"array","items":{"$ref":"#/components/schemas/Template"},"nullable":true},"tipoPlano":{"$ref":"#/components/schemas/TipoPlano"},"usuarios":{"type":"array","items":{"$ref":"#/components/schemas/Usuario"},"nullable":true},"webHooks":{"type":"array","items":{"$ref":"#/components/schemas/WebHook"},"nullable":true}},"additionalProperties":false},"ConfigEnvio":{"type":"object","properties":{"configEnvioId":{"type":"integer","format":"int32"},"configEnvio1":{"type":"string","nullable":true},"clientes":{"type":"array","items":{"$ref":"#/components/schemas/Cliente"},"nullable":true},"configEnvioXOperadoras":{"type":"array","items":{"$ref":"#/components/schemas/ConfigEnvioXOperadora"},"nullable":true}},"additionalProperties":false},"ConfigEnvioXOperadora":{"type":"object","properties":{"operadoraId":{"type":"integer","format":"int32"},"configEnvioId":{"type":"integer","format":"int32"},"fornecedorId":{"type":"integer","format":"int32","nullable":true},"fornecedor2Id":{"type":"integer","format":"int32","nullable":true},"fornecedor3Id":{"type":"integer","format":"int32","nullable":true},"fornecedor4Id":{"type":"integer","format":"int32","nullable":true},"fornecedor5Id":{"type":"integer","format":"int32","nullable":true},"fornecedor6Id":{"type":"integer","format":"int32","nullable":true},"fornecedor7Id":{"type":"integer","format":"int32","nullable":true},"fornecedor8Id":{"type":"integer","format":"int32","nullable":true},"fornecedor9Id":{"type":"integer","format":"int32","nullable":true},"fornecedor10Id":{"type":"integer","format":"int32","nullable":true},"fornecedor11Id":{"type":"integer","format":"int32","nullable":true},"fornecedor12Id":{"type":"integer","format":"int32","nullable":true},"fornecedor13Id":{"type":"integer","format":"int32","nullable":true},"fornecedor14Id":{"type":"integer","format":"int32","nullable":true},"configEnvio":{"$ref":"#/components/schemas/ConfigEnvio"},"operadora":{"$ref":"#/components/schemas/Operadora"}},"additionalProperties":false},"ConsultaSaldoRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"saldoSms":{"type":"integer","format":"int32"},"saldoWhatsApp":{"type":"integer","format":"int32"},"saldoEmail":{"type":"integer","format":"int32"}},"additionalProperties":false},"ConsultarEmailRQ":{"type":"object","properties":{"campanhaEmailId":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"ConsultarEmailRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"campanhaEmail":{"$ref":"#/components/schemas/CampanhaEmail"}},"additionalProperties":false},"ConsultarEnviosPorDataRQ":{"required":["data","pagina","quantidadeRegistros"],"type":"object","properties":{"data":{"minLength":1,"type":"string"},"quantidadeRegistros":{"type":"integer","format":"int32"},"pagina":{"type":"integer","format":"int32"}},"additionalProperties":false},"ConsultarEnviosPorDataRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"totalRegistros":{"type":"integer","format":"int32"},"quantidadeRegistros":{"type":"integer","format":"int32"},"pagina":{"type":"integer","format":"int32"},"numeros":{"type":"array","items":{"$ref":"#/components/schemas/RetornoStatus"},"nullable":true}},"additionalProperties":false},"ConsultarMensagemRQ":{"type":"object","properties":{"mensagemId":{"type":"integer","format":"int64","nullable":true},"idExterno":{"type":"string","nullable":true}},"additionalProperties":false},"ConsultarMensagemRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"mensagem":{"$ref":"#/components/schemas/MensagemDTO"}},"additionalProperties":false},"Contato":{"type":"object","properties":{"contatoId":{"type":"integer","format":"int64"},"usuarioQueCadastrouId":{"type":"integer","format":"int32"},"dataCadastro":{"type":"string","format":"date-time","nullable":true},"usuarioQueRealizouUltimaAtualizacaoId":{"type":"integer","format":"int32","nullable":true},"dataUltimaAtualizacao":{"type":"string","format":"date-time","nullable":true},"celular":{"type":"string","nullable":true},"nome":{"type":"string","nullable":true},"apelido":{"type":"string","nullable":true},"telefoneFixo":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"dataNascimento":{"type":"string","format":"date-time","nullable":true},"sexo":{"type":"string","nullable":true},"endereco":{"type":"string","nullable":true},"cep":{"type":"string","nullable":true},"cidade":{"type":"string","nullable":true},"estado":{"type":"string","nullable":true},"pais":{"type":"string","nullable":true},"idExterno":{"type":"string","nullable":true},"removido":{"type":"boolean","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"usuarioQueCadastrou":{"$ref":"#/components/schemas/Usuario"},"usuarioQueRealizouUltimaAtualizacao":{"$ref":"#/components/schemas/Usuario"}},"additionalProperties":false},"Conversa":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"numero":{"type":"string","nullable":true},"instanciaId":{"type":"integer","format":"int32","nullable":true},"dataUltima":{"type":"string","format":"date-time","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"contatoId":{"type":"integer","format":"int64","nullable":true},"qtdNaoLidas":{"type":"integer","format":"int32","nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"},"conversaMensagems":{"type":"array","items":{"$ref":"#/components/schemas/ConversaMensagem"},"nullable":true}},"additionalProperties":false},"ConversaMensagem":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"conversaId":{"type":"integer","format":"int64","nullable":true},"numero":{"type":"string","nullable":true},"data":{"type":"string","format":"date-time","nullable":true},"mensagem":{"type":"string","nullable":true},"lida":{"type":"boolean","nullable":true},"conversa":{"$ref":"#/components/schemas/Conversa"}},"additionalProperties":false},"Credito":{"type":"object","properties":{"creditoId":{"type":"integer","format":"int32"},"dataCredito":{"type":"string","format":"date-time","nullable":true},"quantidade":{"type":"integer","format":"int32","nullable":true},"qtdeUtilizados":{"type":"integer","format":"int32","nullable":true},"dataVencimento":{"type":"string","format":"date-time","nullable":true},"removido":{"type":"boolean","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"descricao":{"type":"string","nullable":true},"usuarioId":{"type":"integer","format":"int32","nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"},"usuario":{"$ref":"#/components/schemas/Usuario"}},"additionalProperties":false},"CreditosEmail":{"type":"object","properties":{"creditoId":{"type":"integer","format":"int32"},"dataCredito":{"type":"string","format":"date-time","nullable":true},"quantidade":{"type":"integer","format":"int32","nullable":true},"qtdeUtilizados":{"type":"integer","format":"int32","nullable":true},"dataVencimento":{"type":"string","format":"date-time","nullable":true},"removido":{"type":"boolean","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"descricao":{"type":"string","nullable":true},"usuarioId":{"type":"integer","format":"int32","nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"},"usuario":{"$ref":"#/components/schemas/Usuario"}},"additionalProperties":false},"CreditosZap":{"type":"object","properties":{"creditoId":{"type":"integer","format":"int32"},"dataCredito":{"type":"string","format":"date-time","nullable":true},"quantidade":{"type":"integer","format":"int32","nullable":true},"qtdeUtilizados":{"type":"integer","format":"int32","nullable":true},"dataVencimento":{"type":"string","format":"date-time","nullable":true},"removido":{"type":"boolean","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"descricao":{"type":"string","nullable":true},"usuarioId":{"type":"integer","format":"int32","nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"},"usuario":{"$ref":"#/components/schemas/Usuario"}},"additionalProperties":false},"CriarInstanciaRQ":{"type":"object","properties":{"nome":{"type":"string","nullable":true}},"additionalProperties":false},"CriarInstanciaRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"id":{"type":"integer","format":"int32"},"nome":{"type":"string","nullable":true},"removido":{"type":"boolean"},"conectado":{"type":"boolean"},"numero":{"type":"string","nullable":true},"urlFoto":{"type":"string","nullable":true}},"additionalProperties":false},"Data":{"type":"object","properties":{"dataCompleta":{"type":"string","nullable":true},"dataFormatada":{"type":"string","nullable":true},"horaFormatada":{"type":"string","nullable":true},"dia":{"type":"integer","format":"int32"},"mes":{"type":"integer","format":"int32"},"ano":{"type":"integer","format":"int32"},"hora":{"type":"integer","format":"int32"},"minuto":{"type":"integer","format":"int32"},"diaDaSemana":{"type":"integer","format":"int32"},"ticks":{"type":"integer","format":"int64","readOnly":true}},"additionalProperties":false},"DividasDoCpfRQ":{"type":"object","properties":{"urlServidor":{"type":"string","nullable":true},"token":{"type":"string","nullable":true},"cpf":{"type":"string","nullable":true},"dataIni":{"type":"string","nullable":true},"dataFim":{"type":"string","nullable":true}},"additionalProperties":false},"DividasDoCpfRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"idCliente":{"type":"string","nullable":true},"cpfCliente":{"type":"string","nullable":true},"nomeCliente":{"type":"string","nullable":true},"emailCliente":{"type":"string","nullable":true},"textoRetorno":{"type":"string","nullable":true},"dadosBoleto":{"$ref":"#/components/schemas/GetBoletoRS"},"zCliente":{"type":"string","nullable":true},"zContaAReceber":{"type":"string","nullable":true},"zBoletos":{"type":"string","nullable":true}},"additionalProperties":false},"Email":{"type":"object","properties":{"emailId":{"type":"integer","format":"int64"},"campanhaEmailId":{"type":"integer","format":"int64","nullable":true},"html":{"type":"string","format":"byte","nullable":true},"dataEnvio":{"type":"string","format":"date-time","nullable":true},"statusEnvioId":{"type":"integer","format":"int32","nullable":true},"email1":{"type":"string","nullable":true},"quemMandaNome":{"type":"string","nullable":true},"quemMandaEmail":{"type":"string","nullable":true},"assuntoEmail":{"type":"string","nullable":true},"bulkId":{"type":"string","nullable":true},"messageId":{"type":"string","nullable":true},"groupName":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"coluna1":{"type":"string","nullable":true},"coluna2":{"type":"string","nullable":true},"coluna3":{"type":"string","nullable":true},"coluna4":{"type":"string","nullable":true},"coluna5":{"type":"string","nullable":true},"coluna6":{"type":"string","nullable":true},"coluna7":{"type":"string","nullable":true},"coluna8":{"type":"string","nullable":true},"coluna9":{"type":"string","nullable":true},"coluna10":{"type":"string","nullable":true},"campanhaEmail":{"$ref":"#/components/schemas/CampanhaEmail"},"statusEnvio":{"$ref":"#/components/schemas/StatusEnvio"}},"additionalProperties":false},"EmailRQ":{"type":"object","properties":{"email":{"type":"string","nullable":true}},"additionalProperties":false},"Fornecedor":{"type":"object","properties":{"fornecedorId":{"type":"integer","format":"int32"},"fornecedor1":{"type":"string","nullable":true},"urlPainel":{"type":"string","nullable":true},"login":{"type":"string","nullable":true},"senha":{"type":"string","nullable":true},"clientes":{"type":"array","items":{"$ref":"#/components/schemas/Cliente"},"nullable":true},"mensagems":{"type":"array","items":{"$ref":"#/components/schemas/Mensagem"},"nullable":true},"operadoraFornecedor2s":{"type":"array","items":{"$ref":"#/components/schemas/Operadora"},"nullable":true},"operadoraFornecedorPortados":{"type":"array","items":{"$ref":"#/components/schemas/Operadora"},"nullable":true},"operadoraFornecedors":{"type":"array","items":{"$ref":"#/components/schemas/Operadora"},"nullable":true}},"additionalProperties":false},"GetBoletoRS":{"type":"object","properties":{"endereco":{"type":"string","nullable":true},"cep":{"type":"string","nullable":true},"cidade":{"type":"string","nullable":true},"estado":{"type":"string","nullable":true},"estado_sigla":{"type":"string","nullable":true},"cedente_nome":{"type":"string","nullable":true},"obs":{"type":"string","nullable":true},"aceite":{"type":"string","nullable":true},"especie":{"type":"string","nullable":true},"especie_doc":{"type":"string","nullable":true},"sacador_razao":{"type":"string","nullable":true},"convenio":{"type":"string","nullable":true},"carteira":{"type":"string","nullable":true},"numero_documento":{"type":"string","nullable":true},"nosso_numero":{"type":"string","nullable":true},"id_receber":{"type":"string","nullable":true},"data_vencimento":{"type":"string","nullable":true},"linha1":{"type":"string","nullable":true},"linha2":{"type":"string","nullable":true},"linha3":{"type":"string","nullable":true},"instrucao1":{"type":"string","nullable":true},"instrucao2":{"type":"string","nullable":true},"data_documento":{"type":"string","nullable":true},"data_processamento":{"type":"string","nullable":true},"valor_boleto":{"type":"string","nullable":true},"sacado":{"type":"string","nullable":true},"cpf":{"type":"string","nullable":true},"cliente_fone":{"type":"string","nullable":true},"ie_identidade":{"type":"string","nullable":true},"agencia_codigo":{"type":"string","nullable":true},"codigo_banco_com_dv":{"type":"string","nullable":true},"linha_digitavel":{"type":"string","nullable":true},"cliente_telefone_celular":{"type":"string","nullable":true},"codigo_barras":{"type":"string","nullable":true},"local_pagamento":{"type":"string","nullable":true},"id_cliente":{"type":"string","nullable":true}},"additionalProperties":false},"Grupo":{"type":"object","properties":{"id":{"type":"string","nullable":true},"assunto":{"type":"string","nullable":true},"foto":{"type":"string","nullable":true}},"additionalProperties":false},"GrupoRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"grupos":{"type":"array","items":{"$ref":"#/components/schemas/Grupo"},"nullable":true}},"additionalProperties":false},"InstanciaWhasApp":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"nome":{"type":"string","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"ehPublica":{"type":"boolean","nullable":true},"removido":{"type":"boolean","nullable":true},"conectado":{"type":"boolean","nullable":true},"numero":{"type":"string","nullable":true},"dataCriacao":{"type":"string","format":"date-time","nullable":true},"dataVencimento":{"type":"string","format":"date-time","nullable":true},"assinaturaId":{"type":"integer","format":"int64","nullable":true},"qtdEnvios":{"type":"integer","format":"int32","nullable":true},"webHook":{"type":"string","nullable":true},"ehGratis":{"type":"boolean","nullable":true},"urlFoto":{"type":"string","nullable":true},"idApi":{"type":"string","nullable":true},"assinatura":{"$ref":"#/components/schemas/Assinatura"},"cliente":{"$ref":"#/components/schemas/Cliente"},"mensagems":{"type":"array","items":{"$ref":"#/components/schemas/Mensagem"},"nullable":true},"webHooks":{"type":"array","items":{"$ref":"#/components/schemas/WebHook"},"nullable":true}},"additionalProperties":false},"LinkCurto":{"type":"object","properties":{"token":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"dataCriacao":{"type":"string","format":"date-time","nullable":true},"clicks":{"type":"integer","format":"int32","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"}},"additionalProperties":false},"Mensagem":{"type":"object","properties":{"mensagemId":{"type":"integer","format":"int64"},"mensagem1":{"type":"string","nullable":true},"dataEnvio":{"type":"string","format":"date-time","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"fornecedorId":{"type":"integer","format":"int32","nullable":true},"usuarioId":{"type":"integer","format":"int32","nullable":true},"qtdNumeros":{"type":"integer","format":"int32","nullable":true},"qtdSucesso":{"type":"integer","format":"int32","nullable":true},"qtdErros":{"type":"integer","format":"int32","nullable":true},"enviada":{"type":"boolean","nullable":true},"mensagemAgendada":{"type":"boolean","nullable":true},"quemManda":{"type":"string","nullable":true},"arquivo":{"type":"string","nullable":true},"ehFlash":{"type":"boolean","nullable":true},"alphaSize":{"type":"integer","format":"int32","nullable":true},"numeros":{"type":"string","nullable":true},"grupos":{"type":"string","nullable":true},"contatos":{"type":"string","nullable":true},"centroDeCusto":{"type":"string","nullable":true},"idExterno":{"type":"string","nullable":true},"dataCriacao":{"type":"string","format":"date-time","nullable":true},"qtdCreditos":{"type":"integer","format":"int32","nullable":true},"qtdErrosNaoTarifados":{"type":"integer","format":"int32","nullable":true},"arquivoWhatsApp":{"type":"string","nullable":true},"emAnalise":{"type":"integer","format":"int32","nullable":true},"ehWhatsApp":{"type":"boolean","nullable":true},"instanciaWhatsAppId":{"type":"integer","format":"int32","nullable":true},"origem":{"type":"string","nullable":true},"ip":{"type":"string","nullable":true},"balancearWhatsApp":{"type":"boolean","nullable":true},"fornecedor":{"$ref":"#/components/schemas/Fornecedor"},"instanciaWhatsApp":{"$ref":"#/components/schemas/InstanciaWhasApp"},"usuario":{"$ref":"#/components/schemas/Usuario"},"numerosMensagems":{"type":"array","items":{"$ref":"#/components/schemas/NumerosMensagem"},"nullable":true}},"additionalProperties":false},"MensagemAgendadaRQ":{"type":"object","properties":{"mensagem":{"type":"string","nullable":true},"centroDeCusto":{"type":"string","nullable":true},"dataHoraEnvio":{"type":"string","nullable":true},"idExterno":{"type":"string","nullable":true},"arquivoWhatsApp":{"type":"string","nullable":true},"instanciaId":{"type":"integer","format":"int32","nullable":true},"listNumeros":{"type":"array","items":{"$ref":"#/components/schemas/NumeroRQ"},"nullable":true}},"additionalProperties":false},"MensagemDTO":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"texto":{"type":"string","nullable":true},"dataEnvio":{"type":"string","nullable":true},"totalDeNumeros":{"type":"integer","format":"int32"},"totalSucesso":{"type":"integer","format":"int32"},"totalErros":{"type":"integer","format":"int32"},"enviado":{"type":"boolean"},"mensagemAgendada":{"type":"boolean"},"idExterno":{"type":"string","nullable":true},"numeros":{"type":"array","items":{"$ref":"#/components/schemas/Numero"},"nullable":true}},"additionalProperties":false},"MensagemPersonalizadaRQ":{"type":"object","properties":{"dataHoraEnvio":{"type":"string","nullable":true},"idExterno":{"type":"string","nullable":true},"arquivoWhatsApp":{"type":"string","nullable":true},"instanciaId":{"type":"integer","format":"int32","nullable":true},"listNumerosPersonalizados":{"type":"array","items":{"$ref":"#/components/schemas/NumeroPersonalizadoRQ"},"nullable":true}},"additionalProperties":false},"MensagemPersonalizadaRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"mensagemId":{"type":"integer","format":"int64"},"flash":{"type":"boolean","nullable":true},"alphaSize":{"type":"integer","format":"int32","nullable":true},"dataHoraEnvio":{"type":"string","format":"date-time","nullable":true},"listNumerosPersonalizados":{"type":"array","items":{"$ref":"#/components/schemas/NumeroPersonalizadoRS"},"nullable":true}},"additionalProperties":false},"MensagemRQ":{"type":"object","properties":{"mensagem":{"type":"string","nullable":true},"centroDeCusto":{"type":"string","nullable":true},"idExterno":{"type":"string","nullable":true},"arquivoWhatsApp":{"type":"string","nullable":true},"instanciaId":{"type":"integer","format":"int32","nullable":true},"listNumeros":{"type":"array","items":{"$ref":"#/components/schemas/NumeroRQ"},"nullable":true}},"additionalProperties":false},"MensagemRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"mensagemId":{"type":"integer","format":"int64"}},"additionalProperties":false},"MensagemRecebidaRQ":{"type":"object","properties":{"dtIni":{"type":"string","nullable":true},"dtFim":{"type":"string","nullable":true}},"additionalProperties":false},"MensagemRecebidaRS":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"mensagem":{"type":"string","nullable":true},"numero":{"type":"string","nullable":true},"data":{"type":"string","format":"date-time"},"mensagemId":{"type":"integer","format":"int64"},"textoEnviado":{"type":"string","nullable":true},"campoCliente":{"type":"string","nullable":true}},"additionalProperties":false},"MensagensRecebidasPelaMensagemEnviadaRQ":{"type":"object","properties":{"id":{"type":"integer","format":"int32"}},"additionalProperties":false},"MensagensRecebidasRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"mensagensRecebidas":{"type":"array","items":{"$ref":"#/components/schemas/MensagemRecebidaRS"},"nullable":true}},"additionalProperties":false},"MetaConnectStartRq":{"type":"object","properties":{"returnUrl":{"type":"string","nullable":true},"useBusinessAppOnboarding":{"type":"boolean"},"featureType":{"type":"string","nullable":true},"sessionInfoVersion":{"type":"string","nullable":true},"display":{"type":"string","nullable":true},"overrideDefaultResponseType":{"type":"boolean"},"locale":{"type":"string","nullable":true},"includeAppIdAlias":{"type":"boolean"}},"additionalProperties":false},"MetaConnectStartRs":{"type":"object","properties":{"metaAppConnectionId":{"type":"integer","format":"int64"},"authorizationUrl":{"type":"string","nullable":true}},"additionalProperties":false},"Numero":{"type":"object","properties":{"numberId":{"type":"integer","format":"int64"},"number":{"type":"string","nullable":true},"statusId":{"type":"integer","format":"int32"},"status":{"type":"string","nullable":true},"dataEnvio":{"type":"string","nullable":true},"dataRetorno":{"type":"string","nullable":true},"idExterno":{"type":"string","nullable":true}},"additionalProperties":false},"NumeroPersonalizadoRQ":{"type":"object","properties":{"numero":{"type":"string","nullable":true},"mensagem":{"type":"string","nullable":true},"idExterno":{"type":"string","nullable":true}},"additionalProperties":false},"NumeroPersonalizadoRS":{"type":"object","properties":{"numeroId":{"type":"integer","format":"int64"},"numero":{"type":"string","nullable":true},"mensagem":{"type":"string","nullable":true},"statusEnvioId":{"type":"integer","format":"int32"}},"additionalProperties":false},"NumeroRQ":{"type":"object","properties":{"numero":{"type":"string","nullable":true}},"additionalProperties":false},"NumerosMensagem":{"type":"object","properties":{"numeroId":{"type":"integer","format":"int64"},"mensagemId":{"type":"integer","format":"int64","nullable":true},"numero":{"type":"string","nullable":true},"dataEnvio":{"type":"string","format":"date-time","nullable":true},"dataRetorno":{"type":"string","format":"date-time","nullable":true},"mensagemRetorno":{"type":"string","nullable":true},"retornoStatus":{"type":"string","nullable":true},"primeiroNome":{"type":"string","nullable":true},"coluna1":{"type":"string","nullable":true},"coluna2":{"type":"string","nullable":true},"coluna3":{"type":"string","nullable":true},"coluna4":{"type":"string","nullable":true},"coluna5":{"type":"string","nullable":true},"coluna6":{"type":"string","nullable":true},"coluna7":{"type":"string","nullable":true},"coluna8":{"type":"string","nullable":true},"coluna9":{"type":"string","nullable":true},"coluna10":{"type":"string","nullable":true},"erro":{"type":"boolean","nullable":true},"statusEnvioId":{"type":"integer","format":"int32","nullable":true},"portado":{"type":"boolean","nullable":true},"prestadoraId":{"type":"integer","format":"int32","nullable":true},"fornecedorId":{"type":"integer","format":"int32","nullable":true},"fornecedor2Id":{"type":"integer","format":"int32","nullable":true},"ehBlackList":{"type":"boolean","nullable":true},"fornecedor3Id":{"type":"integer","format":"int32","nullable":true},"fornecedor4Id":{"type":"integer","format":"int32","nullable":true},"fornecedor5Id":{"type":"integer","format":"int32","nullable":true},"fornecedor6Id":{"type":"integer","format":"int32","nullable":true},"fornecedor7Id":{"type":"integer","format":"int32","nullable":true},"fornecedor8Id":{"type":"integer","format":"int32","nullable":true},"fornecedor9Id":{"type":"integer","format":"int32","nullable":true},"fornecedor10Id":{"type":"integer","format":"int32","nullable":true},"fornecedor11Id":{"type":"integer","format":"int32","nullable":true},"fornecedor12Id":{"type":"integer","format":"int32","nullable":true},"fornecedor13Id":{"type":"integer","format":"int32","nullable":true},"fornecedor14Id":{"type":"integer","format":"int32","nullable":true},"fornecedorEnvioId":{"type":"integer","format":"int32","nullable":true}},"additionalProperties":false},"NumerosPortado":{"type":"object","properties":{"numero":{"type":"string","nullable":true},"prestadoraId":{"type":"integer","format":"int32"},"prestadora":{"$ref":"#/components/schemas/Prestadora"}},"additionalProperties":false},"Operadora":{"type":"object","properties":{"operadoraId":{"type":"integer","format":"int32"},"operadora1":{"type":"string","nullable":true},"fornecedorId":{"type":"integer","format":"int32","nullable":true},"fornecedorPortadoId":{"type":"integer","format":"int32","nullable":true},"fornecedor2Id":{"type":"integer","format":"int32","nullable":true},"configEnvioXOperadoras":{"type":"array","items":{"$ref":"#/components/schemas/ConfigEnvioXOperadora"},"nullable":true},"fornecedor":{"$ref":"#/components/schemas/Fornecedor"},"fornecedor2":{"$ref":"#/components/schemas/Fornecedor"},"fornecedorPortado":{"$ref":"#/components/schemas/Fornecedor"},"prestadoras":{"type":"array","items":{"$ref":"#/components/schemas/Prestadora"},"nullable":true}},"additionalProperties":false},"ParticipantesRQ":{"type":"object","properties":{"instanciaId":{"type":"integer","format":"int32"},"grupoId":{"type":"string","nullable":true}},"additionalProperties":false},"ParticipantesRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"participantes":{"type":"array","items":{"type":"string"},"nullable":true}},"additionalProperties":false},"PedidoResponse":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"pedidoId":{"type":"integer","format":"int64"}},"additionalProperties":false},"Plataforma":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"nome":{"type":"string","nullable":true},"webHooks":{"type":"array","items":{"$ref":"#/components/schemas/WebHook"},"nullable":true}},"additionalProperties":false},"Prestadora":{"type":"object","properties":{"prestadoraId":{"type":"integer","format":"int32"},"nomeFantasia":{"type":"string","nullable":true},"razaoSocial":{"type":"string","nullable":true},"operadoraId":{"type":"integer","format":"int32","nullable":true},"numerosPortados":{"type":"array","items":{"$ref":"#/components/schemas/NumerosPortado"},"nullable":true},"operadora":{"$ref":"#/components/schemas/Operadora"},"regrasNumeros":{"type":"array","items":{"$ref":"#/components/schemas/RegrasNumero"},"nullable":true}},"additionalProperties":false},"QrCode":{"type":"object","properties":{"instanciaId":{"type":"integer","format":"int32"},"conectado":{"type":"boolean"},"qrCode64":{"type":"string","nullable":true},"numero":{"type":"string","nullable":true},"nome":{"type":"string","nullable":true},"urlFoto":{"type":"string","nullable":true}},"additionalProperties":false},"QrCodeRQ":{"type":"object","properties":{"instanciaId":{"type":"integer","format":"int32"}},"additionalProperties":false},"QrCodeRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"qrCode":{"$ref":"#/components/schemas/QrCode"}},"additionalProperties":false},"Ratinho":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"numero":{"type":"string","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"usuarioId":{"type":"integer","format":"int32","nullable":true},"dataCadastro":{"type":"string","format":"date-time","nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"},"usuario":{"$ref":"#/components/schemas/Usuario"}},"additionalProperties":false},"RegrasNumero":{"type":"object","properties":{"ddd":{"type":"integer","format":"int32"},"prefixo":{"type":"integer","format":"int32"},"mcduIni":{"type":"integer","format":"int32"},"mcduFim":{"type":"integer","format":"int32"},"prestadoraId":{"type":"integer","format":"int32"},"prestadora":{"$ref":"#/components/schemas/Prestadora"}},"additionalProperties":false},"ResponsePadrao":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true}},"additionalProperties":false},"RetornoStatus":{"type":"object","properties":{"mensagemId":{"type":"integer","format":"int64"},"numero":{"type":"string","nullable":true},"statusEnvio":{"type":"integer","format":"int32"},"dataRetorno":{"type":"string","nullable":true}},"additionalProperties":false},"StatusBotRQ":{"type":"object","properties":{"instanciaId":{"type":"string","nullable":true},"remoteJid":{"type":"string","nullable":true}},"additionalProperties":false},"StatusEnvio":{"type":"object","properties":{"statusEnvioId":{"type":"integer","format":"int32"},"statusEnvio1":{"type":"string","nullable":true},"emails":{"type":"array","items":{"$ref":"#/components/schemas/Email"},"nullable":true}},"additionalProperties":false},"Template":{"type":"object","properties":{"templateId":{"type":"integer","format":"int32"},"descricao":{"type":"string","nullable":true},"mensagem":{"type":"string","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"removido":{"type":"boolean","nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"}},"additionalProperties":false},"TicketSportsRQ":{"type":"object","properties":{"login":{"type":"string","nullable":true},"senha":{"type":"string","nullable":true},"idEvento":{"type":"string","nullable":true},"cpf":{"type":"string","nullable":true}},"additionalProperties":false},"TicketSportsRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"token":{"type":"string","nullable":true},"numeroPedido":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"dataPedido":{"type":"string","nullable":true},"dataPagamento":{"type":"string","nullable":true},"inscricao":{"type":"string","nullable":true},"nome":{"type":"string","nullable":true},"documento":{"type":"string","nullable":true},"sexo":{"type":"string","nullable":true},"dataNascimento":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"celular":{"type":"string","nullable":true},"categoria":{"type":"string","nullable":true},"modalidade":{"type":"string","nullable":true}},"additionalProperties":false},"TipoPlano":{"type":"object","properties":{"tipoPlanoId":{"type":"integer","format":"int32"},"tipoPlano1":{"type":"string","nullable":true},"clientes":{"type":"array","items":{"$ref":"#/components/schemas/Cliente"},"nullable":true}},"additionalProperties":false},"TipoUsuario":{"type":"object","properties":{"tipoUsuarioId":{"type":"integer","format":"int32"},"tipoUsuario1":{"type":"string","nullable":true},"usuarios":{"type":"array","items":{"$ref":"#/components/schemas/Usuario"},"nullable":true}},"additionalProperties":false},"Usuario":{"type":"object","properties":{"usuarioId":{"type":"integer","format":"int32"},"nome":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"login":{"type":"string","nullable":true},"senha":{"type":"string","nullable":true},"tipoUsuarioId":{"type":"integer","format":"int32","nullable":true},"removido":{"type":"boolean","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"blackList2s":{"type":"array","items":{"$ref":"#/components/schemas/BlackList2"},"nullable":true},"blackLists":{"type":"array","items":{"$ref":"#/components/schemas/BlackList"},"nullable":true},"campanhaEmails":{"type":"array","items":{"$ref":"#/components/schemas/CampanhaEmail"},"nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"},"contatoUsuarioQueCadastrous":{"type":"array","items":{"$ref":"#/components/schemas/Contato"},"nullable":true},"contatoUsuarioQueRealizouUltimaAtualizacaos":{"type":"array","items":{"$ref":"#/components/schemas/Contato"},"nullable":true},"creditos":{"type":"array","items":{"$ref":"#/components/schemas/Credito"},"nullable":true},"creditosEmails":{"type":"array","items":{"$ref":"#/components/schemas/CreditosEmail"},"nullable":true},"creditosZaps":{"type":"array","items":{"$ref":"#/components/schemas/CreditosZap"},"nullable":true},"mensagems":{"type":"array","items":{"$ref":"#/components/schemas/Mensagem"},"nullable":true},"ratinhos":{"type":"array","items":{"$ref":"#/components/schemas/Ratinho"},"nullable":true},"tipoUsuario":{"$ref":"#/components/schemas/TipoUsuario"}},"additionalProperties":false},"WebHook":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"descricao":{"type":"string","nullable":true},"clienteId":{"type":"integer","format":"int32","nullable":true},"plataformaId":{"type":"integer","format":"int32","nullable":true},"mensagem":{"type":"string","nullable":true},"dataCriacao":{"type":"string","format":"date-time","nullable":true},"removido":{"type":"boolean","nullable":true},"ehWhatsApp":{"type":"boolean","nullable":true},"instanciaId":{"type":"integer","format":"int32","nullable":true},"cliente":{"$ref":"#/components/schemas/Cliente"},"instancia":{"$ref":"#/components/schemas/InstanciaWhasApp"},"plataforma":{"$ref":"#/components/schemas/Plataforma"}},"additionalProperties":false},"WhatsAppCloudCriarTemplateRQ":{"type":"object","properties":{"whatsAppBusinessAccountId":{"type":"integer","format":"int64"},"templateName":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"language":{"type":"string","nullable":true},"componentsJson":{"type":"string","nullable":true}},"additionalProperties":false},"WhatsAppCloudDesconectarConexaoRQ":{"type":"object","properties":{"metaAppConnectionId":{"type":"integer","format":"int64"}},"additionalProperties":false},"WhatsAppCloudEnviarTemplateRQ":{"type":"object","properties":{"whatsAppPhoneNumberId":{"type":"integer","format":"int64"},"destino":{"type":"string","nullable":true},"whatsAppTemplateVersionId":{"type":"integer","format":"int64","nullable":true},"templateName":{"type":"string","nullable":true},"templateLanguage":{"type":"string","nullable":true},"headerMediaUrl":{"type":"string","nullable":true},"parametros":{"type":"array","items":{"type":"string"},"nullable":true},"idempotencyKey":{"type":"string","nullable":true}},"additionalProperties":false},"WhatsAppCloudEnviarTemplateRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"whatsAppMessageOutboxId":{"type":"integer","format":"int64"},"statusEnvioId":{"type":"integer","format":"int32"},"metaMessageId":{"type":"string","nullable":true}},"additionalProperties":false},"WhatsAppCloudExcluirTemplateRQ":{"type":"object","properties":{"whatsAppTemplateId":{"type":"integer","format":"int64","nullable":true},"whatsAppBusinessAccountId":{"type":"integer","format":"int64","nullable":true},"templateName":{"type":"string","nullable":true}},"additionalProperties":false},"WhatsAppCloudNumeroItem":{"type":"object","properties":{"whatsAppPhoneNumberId":{"type":"integer","format":"int64"},"whatsAppBusinessAccountId":{"type":"integer","format":"int64"},"wabaId":{"type":"string","nullable":true},"wabaNome":{"type":"string","nullable":true},"phoneNumberId":{"type":"string","nullable":true},"displayPhoneNumber":{"type":"string","nullable":true},"verifiedName":{"type":"string","nullable":true},"e164":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32"},"selecionado":{"type":"boolean"}},"additionalProperties":false},"WhatsAppCloudNumerosRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"numeros":{"type":"array","items":{"$ref":"#/components/schemas/WhatsAppCloudNumeroItem"},"nullable":true}},"additionalProperties":false},"WhatsAppCloudSincronizacaoRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"wabasSincronizadas":{"type":"integer","format":"int32"},"numerosSincronizados":{"type":"integer","format":"int32"},"templatesSincronizados":{"type":"integer","format":"int32"}},"additionalProperties":false},"WhatsAppCloudSincronizarTemplatesRQ":{"type":"object","properties":{"whatsAppBusinessAccountId":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"WhatsAppCloudTemplateItem":{"type":"object","properties":{"whatsAppTemplateId":{"type":"integer","format":"int64"},"whatsAppBusinessAccountId":{"type":"integer","format":"int64"},"wabaId":{"type":"string","nullable":true},"templateName":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"ultimaVersao":{"type":"integer","format":"int32"},"ultimoStatus":{"type":"string","nullable":true},"ultimoLanguage":{"type":"string","nullable":true},"ultimoReviewedAt":{"type":"string","format":"date-time","nullable":true}},"additionalProperties":false},"WhatsAppCloudTemplateRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"whatsAppTemplateId":{"type":"integer","format":"int64"},"whatsAppTemplateVersionId":{"type":"integer","format":"int64"},"templateName":{"type":"string","nullable":true},"statusTemplate":{"type":"string","nullable":true}},"additionalProperties":false},"WhatsAppCloudTemplatesRS":{"type":"object","properties":{"erro":{"type":"boolean"},"mensagemRetorno":{"type":"string","nullable":true},"templates":{"type":"array","items":{"$ref":"#/components/schemas/WhatsAppCloudTemplateItem"},"nullable":true}},"additionalProperties":false}},"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Autenticação via e-mail/login e senha do painel Hotmobile."}}},"servers":[{"url":"https://api.hotmobile.com.br/","description":"Servidor de Produção"}],"tags":[{"name":"Sms","description":"Envio, agendamento, personalização, consulta de status e leitura de respostas SMS."},{"name":"WhatsApp","description":"Mensagens via WhatsApp, instâncias, QR Code, grupos, respostas e automações de bot."},{"name":"WhatsAppCloud","description":"Integração oficial Meta: conexão, números, templates e envio de mensagens template."},{"name":"Email","description":"Saldo, envio de campanhas de e-mail e consulta de campanhas enviadas."},{"name":"Hotmenu","description":"Integrações operacionais do Hotmenu."},{"name":"Integracao","description":"Rotas de integrações específicas com plataformas parceiras."},{"name":"IXC","description":"Consultas auxiliares para integração com IXC."},{"name":"Util","description":"Utilitários gerais da API."}],"externalDocs":{"description":"Documentação interativa Hotmobile","url":"https://api.hotmobile.com.br/index.html"},"security":[{"basicAuth":[]}]}