* --INIT * fixes * better comments and some clean up * test and type fix * clean up * address feedback * fix erroneous booking_confirmed to booking_rescheduled
11 lines
490 B
TypeScript
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]);
|