diff --git a/src/auto-reply/envelope.ts b/src/auto-reply/envelope.ts index 19dbd9fa349..dc1d688eddf 100644 --- a/src/auto-reply/envelope.ts +++ b/src/auto-reply/envelope.ts @@ -13,7 +13,7 @@ import { normalizeOptionalString, } from "../shared/string-coerce.js"; -export type AgentEnvelopeParams = { +type AgentEnvelopeParams = { channel: string; from?: string; timestamp?: number | Date; diff --git a/src/auto-reply/send-policy.ts b/src/auto-reply/send-policy.ts index 7705e313b96..bcccfa98745 100644 --- a/src/auto-reply/send-policy.ts +++ b/src/auto-reply/send-policy.ts @@ -2,7 +2,7 @@ import { normalizeOptionalLowercaseString } from "../shared/string-coerce.js"; import { normalizeCommandBody } from "./commands-registry.js"; import { stripInboundMetadata } from "./reply/strip-inbound-meta.js"; -export type SendPolicyOverride = "allow" | "deny"; +type SendPolicyOverride = "allow" | "deny"; function normalizeSendPolicyOverride(raw?: string | null): SendPolicyOverride | undefined { const value = normalizeOptionalLowercaseString(raw);