refactor: add provider barrels and webhook grouping

This commit is contained in:
Peter Steinberger
2025-11-25 03:56:11 +01:00
parent b3511e1192
commit af577f07da
7 changed files with 46 additions and 5 deletions

7
src/webhook/server.ts Normal file
View File

@@ -0,0 +1,7 @@
import type { RuntimeEnv } from "../runtime.js";
import { startWebhook } from "../twilio/webhook.js";
// Thin wrapper to keep webhook server co-located with other webhook helpers.
export { startWebhook };
export type WebhookServer = Awaited<ReturnType<typeof startWebhook>>;

6
src/webhook/update.ts Normal file
View File

@@ -0,0 +1,6 @@
export {
updateWebhook,
setMessagingServiceWebhook,
findIncomingNumberSid,
findMessagingServiceSid,
} from "../twilio/update-webhook.js";