UNPKG

caprover-api

Version:
33 lines (32 loc) 759 B
export interface IProFeatures { isFeatureFlagEnabled: boolean; isSubscribed: boolean; } export interface TwoFactorAuthResponse { isEnabled: boolean; otpPath?: string; } export interface TwoFactorAuthRequest { enabled: boolean; token?: string; } export declare enum ProAlertActionType { email = "email", webhook = "webhook" } export interface ProAlertAction { actionType: ProAlertActionType; metadata?: any; } export declare enum ProAlertEvent { UserLoggedIn = "UserLoggedIn", AppBuildSuccessful = "AppBuildSuccessful", AppBuildFailed = "AppBuildFailed" } export interface ProAlertConfig { event: ProAlertEvent; action: ProAlertAction; } export interface IProConfig { alerts: ProAlertConfig[]; }