feat: implement billing, usage tracking, and administrative geocoding features in API with infrastructure updates
This commit is contained in:
+11
-1
@@ -1,14 +1,24 @@
|
||||
import { ApiKey } from './api-key.entity';
|
||||
export declare enum TenantPlan {
|
||||
FREE = "FREE",
|
||||
PREMIUM = "PREMIUM",
|
||||
STARTER = "STARTER",
|
||||
PRO = "PRO",
|
||||
ENTERPRISE = "ENTERPRISE"
|
||||
}
|
||||
export declare enum TenantRole {
|
||||
USER = "USER",
|
||||
ADMIN = "ADMIN"
|
||||
}
|
||||
export declare const QUOTA_LIMITS: Record<TenantPlan, number>;
|
||||
export declare const RATE_LIMITS: Record<TenantPlan, number>;
|
||||
export declare class Tenant {
|
||||
id: string;
|
||||
name: string;
|
||||
email: string;
|
||||
plan: TenantPlan;
|
||||
firebaseUid: string;
|
||||
role: TenantRole;
|
||||
photoUrl: string;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
|
||||
Reference in New Issue
Block a user