mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-14 20:06:33 +08:00
feat: add AI extract webhook placeholders
This commit is contained in:
@@ -32,6 +32,10 @@ export type WebhookMail = {
|
||||
raw: string;
|
||||
parsedText: string;
|
||||
parsedHtml: string;
|
||||
aiExtract: ExtractResult | null;
|
||||
aiExtractType: string;
|
||||
aiExtractResult: string;
|
||||
aiExtractResultText: string;
|
||||
}
|
||||
|
||||
export type CustomSqlCleanup = {
|
||||
@@ -156,6 +160,9 @@ export class WebhookSettings {
|
||||
"raw": "${raw}",
|
||||
"parsedText": "${parsedText}",
|
||||
"parsedHtml": "${parsedHtml}",
|
||||
"aiExtractType": "${aiExtractType}",
|
||||
"aiExtractResult": "${aiExtractResult}",
|
||||
"aiExtractResultText": "${aiExtractResultText}",
|
||||
}, null, 2)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user