





























@@ -8,10 +8,9 @@ import {
88import { type ResolvedGoogleChatAccount } from "./accounts.js";
99import { downloadGoogleChatMedia, sendGoogleChatMessage } from "./api.js";
1010import { type GoogleChatAudienceType } from "./auth.js";
11-import { applyGoogleChatInboundAccessPolicy, isSenderAllowed } from "./monitor-access.js";
11+import { applyGoogleChatInboundAccessPolicy } from "./monitor-access.js";
1212import { deliverGoogleChatReply } from "./monitor-reply-delivery.js";
1313import {
14-handleGoogleChatWebhookRequest,
1514registerGoogleChatWebhookTarget,
1615setGoogleChatWebhookEventProcessor,
1716} from "./monitor-routing.js";
@@ -24,12 +23,6 @@ import type {
2423import { warnAppPrincipalMisconfiguration } from "./monitor-webhook.js";
2524import { getGoogleChatRuntime } from "./runtime.js";
2625import type { GoogleChatAttachment, GoogleChatEvent } from "./types.js";
27-export type { GoogleChatMonitorOptions, GoogleChatRuntimeEnv } from "./monitor-types.js";
28-export {
29-handleGoogleChatWebhookRequest,
30-registerGoogleChatWebhookTarget,
31-} from "./monitor-routing.js";
32-export { isSenderAllowed };
33263427setGoogleChatWebhookEventProcessor(processGoogleChatEvent);
3528@@ -376,7 +369,7 @@ async function downloadAttachment(
376369return { path: saved.path, contentType: saved.contentType };
377370}
378371379-export function monitorGoogleChatProvider(options: GoogleChatMonitorOptions): () => void {
372+function monitorGoogleChatProvider(options: GoogleChatMonitorOptions): () => void {
380373const core = getGoogleChatRuntime();
381374const webhookPath = resolveWebhookPath({
382375webhookPath: options.webhookPath,
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。