/**
 * Queries Facade — Re-exports all query functions from domain modules
 * Maintains backward compatibility: all consumers can still require('./queries')
 */
const { parseDate, serialize: _serialize } = require('./queries/helpers');
const payin = require('./queries/payin.queries');
const corporate = require('./queries/corporate.queries');
const bi = require('./queries/bi.queries');
const client = require('./queries/client.queries');
const provider = require('./queries/provider.queries');
const compliance = require('./queries/compliance.queries');

module.exports = {
  // PayIn (BRL→USD + agent transactions)
  ...payin,

  // Corporate Dashboard
  ...corporate,

  // BI Executive
  ...bi,

  // Client 360
  ...client,

  // Provider Performance
  ...provider,

  // Compliance (data layer)
  ...compliance,

  // Shared utilities
  parseDate
};
