@xet/webhook-procedure

Gerador de payload para o webhook.

Usage no npm install needed!

<script type="module">
  import xetWebhookProcedure from 'https://cdn.skypack.dev/@xet/webhook-procedure';
</script>

README

Procedures - Webhook TELEPORT

Build Status Coverage Status

Gerador de payload para o webhook.

Testes

Essa é a mesma biblioteca utilizada no Webhook para gerar payload.
Os testes estão em Node.js e para executar faça o seguinte:

git clone git@tex-git-lab:webhook/procedure.git
cd procedure
bin/node/zera -n
bin/local/test -u

Eventos e procedures

AUTO_GRAVA

  • webhook_grava_capa
  • webhook_grava_itens

AUTO_PREMIO

  • webhook_premio
  • webhook_criticacalculo

AUTO_TRANSMISSÃO

  • webhook_transmissao

AUTO_EMISSAO

  • webhook_emissao
  • webhook_parcelas

AUTO_ERROEMISSAO

  • webhook_erroemissao

AUTO_SINISTRO

  • webhook_sinistro

AUTO_PAGAMENTO

  • webhook_pagamento

AUTO_ENDOSSO

  • webhook_endosso
  • webhook_endosso_detalhe

CLIENTE

  • webhook_cliente

CLIENTE via documento

  • webhook_cliente_doc

RAMOS_DIVERSOS_GRAVA

  • webhook_grava_ramos_diversos_capa
  • webhook_grava_ramos_diversos_itens
  • webhook_grava_ramos_diversos_coberturas

Eventos dos novos ramos

Esses eventos montam o payload via requisição.

  • RESIDENCIAL_GRAVA
  • RESIDENCIAL_PREMIO
  • RESIDENCIAL_TRANSMISSAO

Team

Lagden Gimenes

Copyright

TEx Tecnologia