mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
Enhancement: add layout options for email conversion (#8907)
--------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
@@ -11,6 +11,14 @@ export enum MailRuleConsumptionScope {
|
||||
Everything = 3,
|
||||
}
|
||||
|
||||
export enum MailRulePdfLayout {
|
||||
Default = 0,
|
||||
TextHtml = 1,
|
||||
HtmlText = 2,
|
||||
HtmlOnly = 3,
|
||||
TextOnly = 4,
|
||||
}
|
||||
|
||||
export enum MailAction {
|
||||
Delete = 1,
|
||||
Move = 2,
|
||||
@@ -59,6 +67,8 @@ export interface MailRule extends ObjectWithPermissions {
|
||||
|
||||
attachment_type: MailFilterAttachmentType
|
||||
|
||||
pdf_layout: MailRulePdfLayout
|
||||
|
||||
action: MailAction
|
||||
|
||||
action_parameter?: string
|
||||
|
Reference in New Issue
Block a user