{"service":"ServicoEdiMotos","version":"1.0.0","status":"online","driverMode":"thick","defaultFromDate":"2026-05-11","endpoints":["/health","/snapshot","/clientes","/clientes/download","/pagamentos","/pagamentos/count","/pagamentos/download","/pagamentos/vencidos","/pagamentos/vencidos/download","/pagamentos/a-vencer","/pagamentos/a-vencer/download","/pagamentos/pagos","/pagamentos/pagos/download","/dados"],"sync":{"recommended":["/snapshot","/clientes/download","/pagamentos/vencidos/download","/pagamentos/a-vencer/download","/pagamentos/pagos/download"],"format":"NDJSON.gz","strategy":"staging + validacao + swap final"},"delivery":{"format":"JSON em streaming","options":["download=1","gzip=1","download=1&gzip=1"]},"queries":{"clientes":"SELECT *\n      FROM EDIMOTOS.PCCLIENT\n      \n      ORDER BY EDIMOTOS.PCCLIENT.codcli","pagamentos":"SELECT *\n      FROM EDIMOTOS.PCPREST\n      WHERE \n    EDIMOTOS.PCPREST.dtvenc >= TO_DATE(:fromDate, 'YYYY-MM-DD')\n      AND (\n        EDIMOTOS.PCPREST.DTPAG IS NOT NULL\n        OR NVL(UPPER(EDIMOTOS.PCPREST.BOLETO), 'N') = 'S'\n        OR REGEXP_LIKE(NVL(EDIMOTOS.PCPREST.CODCOB, ''), '^\\d{3,}$')\n        OR EDIMOTOS.PCPREST.LINHADIG IS NOT NULL\n        OR EDIMOTOS.PCPREST.LINHADIG2 IS NOT NULL\n        OR EDIMOTOS.PCPREST.CODBARRA IS NOT NULL\n        OR EDIMOTOS.PCPREST.CODBARRA2 IS NOT NULL\n        OR EDIMOTOS.PCPREST.NOSSONUMBCO IS NOT NULL\n        OR EDIMOTOS.PCPREST.NOSSONUMBCO2 IS NOT NULL\n      )\n  \n      ORDER BY EDIMOTOS.PCPREST.dtvenc, EDIMOTOS.PCPREST.codcli, EDIMOTOS.PCPREST.duplic, EDIMOTOS.PCPREST.prest"}}