import DateTime from "@web-atoms/date-time/dist/DateTime"; import type IClrEntity from "@web-atoms/entity/dist/models/IClrEntity"; import { ICollection, IModel } from "@web-atoms/entity/dist/services/BaseEntityService"; export interface IConfiguration extends IClrEntity { name?: string; configValue?: string; } export declare const Configuration: IModel; export interface ILoginSession extends IClrEntity { readonly sessionID?: number; userID?: number; invalid?: boolean; dateUpdated?: DateTime; status?: string | null; deviceToken?: string | null; deviceTokenType?: string | null; userName?: string; checkPassword?: string; newPassword?: string; timeToken?: string; oneTimePassword?: string; user?: IUser; } export declare const LoginSession: IModel; export interface ITrace extends IClrEntity { readonly traceID?: number; sourceID?: number; dateCreated?: DateTime; type?: string; serverID?: number | null; appID?: number | null; sessionID?: number | null; hostID?: number | null; path?: string | null; ipAddress?: string | null; userID?: number | null; json?: string | null; source?: ITraceSource; server?: ITraceName; app?: ITraceName; session?: ITraceName; host?: ITraceName; user?: ITraceName; traceTags?: ICollection; } export declare const Trace: IModel; export interface ITraceName extends IClrEntity { readonly nameID?: number; type?: string; name?: string; serverTraces?: ICollection; appTraces?: ICollection; sessionTraces?: ICollection; hostTraces?: ICollection; userTraces?: ICollection; } export declare const TraceName: IModel; export interface ISourceKey extends IClrEntity { readonly keyID?: number; sourceID?: number; key?: string; source?: ITraceSource; } export declare const SourceKey: IModel; export interface ISourceUser extends IClrEntity { userID?: number; sourceID?: number; readonly?: boolean; user?: IUser; source?: ITraceSource; } export declare const SourceUser: IModel; export interface ITraceSource extends IClrEntity { readonly sourceID?: number; name?: string; traces?: ICollection; keySources?: ICollection; sourceUsers?: ICollection; } export declare const TraceSource: IModel; export interface ITraceTag extends IClrEntity { traceID?: number; tagID?: number; value?: string | null; trace?: ITrace; tag?: ITag; } export declare const TraceTag: IModel; export interface ITag extends IClrEntity { readonly tagID?: number; name?: string; parentID?: number | null; parent?: ITag; children?: ICollection; traceTags?: ICollection; } export declare const Tag: IModel; export interface IUser extends IClrEntity { readonly userID?: number; userName?: string; displayName?: string; readonly status?: "active" | "blocked" | "locked" | "change-password" | "external"; isExternal?: boolean; readonly multiFactor?: boolean; dateUpdated?: DateTime; changePassword?: { oldPassword?: string; newPassword?: string; forceChangePasswordOnLogin?: boolean; }; createFolder?: boolean; sessions?: ICollection; sourceUsers?: ICollection; authFactors?: ICollection; roles?: ICollection; } export declare const UserStatusArray: { label: string; value: string; }[]; export declare const User: IModel; export interface IUserAuthFactor extends IClrEntity { readonly authFactorID?: number; userID?: number; method?: "totp" | "hotp" | "fido2" | "one-time"; hint?: string | null; verified?: boolean; dateUpdated?: DateTime; qrCodeDataUrl?: string; token?: string; displaySecret?: string; user?: IUser; } export declare const UserAuthFactorMethodArray: { label: string; value: string; }[]; export declare const UserAuthFactor: IModel; export interface IUserRole extends IClrEntity { userID?: number; roleName?: string; user?: IUser; role?: IUserRoleType; } export declare const UserRole: IModel; export interface IUserRoleType extends IClrEntity { roleName?: string; roles?: ICollection; } export declare const UserRoleType: IModel; //# sourceMappingURL=model.d.ts.map