update lại thư mục cấu trúc mới của server nodejs và python

This commit is contained in:
Victor Phan
2026-07-21 09:13:52 +07:00
parent 7625bdd37b
commit 58b1dcd170
1555 changed files with 0 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import { ThreadType } from "../models/index.js";
export declare enum ReportReason {
Sensitive = 1,
Annoy = 2,
Fraud = 3,
Other = 0
}
export type SendReportOptions = {
reason: ReportReason.Other;
content: string;
} | {
reason: Exclude<ReportReason, ReportReason.Other>;
};
export type SendReportResponse = {
reportId: string;
};
export declare const sendReportFactory: (ctx: import("../context.js").ContextBase, api: import("../apis.js").API) => (options: SendReportOptions, threadId: string, type?: ThreadType) => Promise<SendReportResponse>;