mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-10-22 03:16:15 -05:00
Feature: OAuth2 Gmail and Outlook email support (#7866)
This commit is contained in:
@@ -6,6 +6,12 @@ export enum IMAPSecurity {
|
||||
STARTTLS = 3,
|
||||
}
|
||||
|
||||
export enum MailAccountType {
|
||||
IMAP = 1,
|
||||
Gmail_OAuth = 2,
|
||||
Outlook_OAuth = 3,
|
||||
}
|
||||
|
||||
export interface MailAccount extends ObjectWithPermissions {
|
||||
name: string
|
||||
|
||||
@@ -22,4 +28,8 @@ export interface MailAccount extends ObjectWithPermissions {
|
||||
character_set?: string
|
||||
|
||||
is_token: boolean
|
||||
|
||||
account_type: MailAccountType
|
||||
|
||||
expiration?: string // Date
|
||||
}
|
||||
|
Reference in New Issue
Block a user