Files
calendar/packages/features/di/webhooks/modules/PaymentWebhookDataFetcher.module.ts
T
Syed Ali ShahbazandGitHub c4c62369e5 chore: Infrastructure scaffolding for Webhook's Producer/Consumer approach before wiring (#25954)
* --INIT

* fixes

* better comments and some clean up

* test and type fix

* clean up

* address feedback

* fix erroneous booking_confirmed to booking_rescheduled
2026-01-22 18:33:34 +05:30

11 lines
490 B
TypeScript

import { PaymentWebhookDataFetcher } from "@calcom/features/webhooks/lib/service/data-fetchers/PaymentWebhookDataFetcher";
import { createModule } from "@evyweb/ioctopus";
import { SHARED_TOKENS } from "../../shared/shared.tokens";
import { WEBHOOK_TOKENS } from "../Webhooks.tokens";
export const paymentWebhookDataFetcherModule = createModule();
paymentWebhookDataFetcherModule
.bind(WEBHOOK_TOKENS.PAYMENT_DATA_FETCHER)
.toClass(PaymentWebhookDataFetcher, [SHARED_TOKENS.LOGGER]);