export const TELEPHONY_MODULE_KEY = "telephony"; export function telephonyCallsPath(tenantSlug: string): string { return `/${tenantSlug}/calls`; } export function telephonyCallDetailPath(tenantSlug: string, callId: string): string { return `/${tenantSlug}/calls/${callId}`; } export function telephonySettingsPath(tenantSlug: string): string { return `/${tenantSlug}/settings/integrations/telephony`; } export const AIRCALL_OAUTH_INSTALL_PATH = "/integrations/aircall/oauth/install"; export const AIRCALL_OAUTH_CALLBACK_PATH = "/integrations/aircall/oauth/callback"; export const AIRCALL_WEBHOOK_PATH = "/v1/webhooks/telephony/aircall"; export function telephonyNotFoundResponse(): Response { return new Response("Not Found", { status: 404 }); }