import { processPaymentGatewayWebhookJob } from "../lib/webhook-processor.js";
const metadata = {
  queue: "payment-gateways-webhook",
  id: "payment-gateways:webhook-processor",
  concurrency: 5
};
async function handle(job, ctx) {
  const em = ctx.resolve("em");
  const paymentGatewayService = ctx.resolve("paymentGatewayService");
  const integrationLogService = ctx.resolve("integrationLogService");
  await processPaymentGatewayWebhookJob(
    { em, paymentGatewayService, integrationLogService },
    job.payload
  );
}
export {
  handle as default,
  metadata
};
//# sourceMappingURL=webhook-processor.js.map
