Проводка в QuickBooks после Done по категоризации: задание categorize-post (агент, результат в истории), миграция 076, processes.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,7 @@ import { runInvoiceReconcile } from "./invoice-reconcile.js";
|
||||
import { GmailClient } from "./gmail.js";
|
||||
import { GoogleAuth } from "./google.js";
|
||||
import { runSpamRescue } from "./spam-rescue.js";
|
||||
import { runCategorizePost } from "./categorize-post.js";
|
||||
import { runHistoryWeekly } from "./history-report.js";
|
||||
import { makeClaudeStatementReader, runMonthlyReconcile } from "./reconcile.js";
|
||||
import { buildApi } from "./http-api.js";
|
||||
@@ -154,6 +155,7 @@ const app = buildApi({
|
||||
},
|
||||
"history-weekly": () => runHistoryWeekly({ pool, ...reportSlack() }),
|
||||
"fraud-weekly": () => runFraudWeekly({ pool, ...reportSlack() }),
|
||||
"categorize-post": async () => runCategorizePost({ pool, claude, log, notify }),
|
||||
"spam-rescue": async () => {
|
||||
if (!auth || !s.google) throw new Error("не настроены google (ключ сервисного аккаунта)");
|
||||
return runSpamRescue({ pool, auth, log, mailboxes: s.google.spamRescue.mailboxes, sourceMailbox: s.google.gmailUser, dryRun: s.google.spamRescue.dryRun });
|
||||
|
||||
Reference in New Issue
Block a user