complete new audit system
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { EmailExistsResult, EmailOperationResult, MailEncryption } from './types.js';
|
||||
export declare function getAllProviderConfigs(): Promise<{
|
||||
apiKey: string | null;
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
@@ -8,7 +9,6 @@ export declare function getAllProviderConfigs(): Promise<{
|
||||
type: import(".prisma/client").$Enums.EmailProviderType;
|
||||
isDefault: boolean;
|
||||
apiUrl: string;
|
||||
apiKey: string | null;
|
||||
username: string | null;
|
||||
passwordEncrypted: string | null;
|
||||
domain: string;
|
||||
@@ -24,6 +24,7 @@ export declare function getAllProviderConfigs(): Promise<{
|
||||
systemEmailPasswordEncrypted: string | null;
|
||||
}[]>;
|
||||
export declare function getProviderConfigById(id: number): Promise<{
|
||||
apiKey: string | null;
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
@@ -32,7 +33,6 @@ export declare function getProviderConfigById(id: number): Promise<{
|
||||
type: import(".prisma/client").$Enums.EmailProviderType;
|
||||
isDefault: boolean;
|
||||
apiUrl: string;
|
||||
apiKey: string | null;
|
||||
username: string | null;
|
||||
passwordEncrypted: string | null;
|
||||
domain: string;
|
||||
@@ -48,6 +48,7 @@ export declare function getProviderConfigById(id: number): Promise<{
|
||||
systemEmailPasswordEncrypted: string | null;
|
||||
} | null>;
|
||||
export declare function getDefaultProviderConfig(): Promise<{
|
||||
apiKey: string | null;
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
@@ -56,7 +57,6 @@ export declare function getDefaultProviderConfig(): Promise<{
|
||||
type: import(".prisma/client").$Enums.EmailProviderType;
|
||||
isDefault: boolean;
|
||||
apiUrl: string;
|
||||
apiKey: string | null;
|
||||
username: string | null;
|
||||
passwordEncrypted: string | null;
|
||||
domain: string;
|
||||
@@ -72,6 +72,7 @@ export declare function getDefaultProviderConfig(): Promise<{
|
||||
systemEmailPasswordEncrypted: string | null;
|
||||
} | null>;
|
||||
export declare function getActiveProviderConfig(): Promise<{
|
||||
apiKey: string | null;
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
@@ -80,7 +81,6 @@ export declare function getActiveProviderConfig(): Promise<{
|
||||
type: import(".prisma/client").$Enums.EmailProviderType;
|
||||
isDefault: boolean;
|
||||
apiUrl: string;
|
||||
apiKey: string | null;
|
||||
username: string | null;
|
||||
passwordEncrypted: string | null;
|
||||
domain: string;
|
||||
@@ -113,6 +113,7 @@ export interface CreateProviderConfigData {
|
||||
isDefault?: boolean;
|
||||
}
|
||||
export declare function createProviderConfig(data: CreateProviderConfigData): Promise<{
|
||||
apiKey: string | null;
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
@@ -121,7 +122,6 @@ export declare function createProviderConfig(data: CreateProviderConfigData): Pr
|
||||
type: import(".prisma/client").$Enums.EmailProviderType;
|
||||
isDefault: boolean;
|
||||
apiUrl: string;
|
||||
apiKey: string | null;
|
||||
username: string | null;
|
||||
passwordEncrypted: string | null;
|
||||
domain: string;
|
||||
@@ -137,6 +137,7 @@ export declare function createProviderConfig(data: CreateProviderConfigData): Pr
|
||||
systemEmailPasswordEncrypted: string | null;
|
||||
}>;
|
||||
export declare function updateProviderConfig(id: number, data: Partial<CreateProviderConfigData>): Promise<{
|
||||
apiKey: string | null;
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
@@ -145,7 +146,6 @@ export declare function updateProviderConfig(id: number, data: Partial<CreatePro
|
||||
type: import(".prisma/client").$Enums.EmailProviderType;
|
||||
isDefault: boolean;
|
||||
apiUrl: string;
|
||||
apiKey: string | null;
|
||||
username: string | null;
|
||||
passwordEncrypted: string | null;
|
||||
domain: string;
|
||||
@@ -161,6 +161,7 @@ export declare function updateProviderConfig(id: number, data: Partial<CreatePro
|
||||
systemEmailPasswordEncrypted: string | null;
|
||||
}>;
|
||||
export declare function deleteProviderConfig(id: number): Promise<{
|
||||
apiKey: string | null;
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
@@ -169,7 +170,6 @@ export declare function deleteProviderConfig(id: number): Promise<{
|
||||
type: import(".prisma/client").$Enums.EmailProviderType;
|
||||
isDefault: boolean;
|
||||
apiUrl: string;
|
||||
apiKey: string | null;
|
||||
username: string | null;
|
||||
passwordEncrypted: string | null;
|
||||
domain: string;
|
||||
|
||||
Reference in New Issue
Block a user