Spaces:
Runtime error
Runtime error
Download apps/api-gateway/libs/shared/src/entities/tenant.entity.d.ts from XtroEdge/chatbolt-dev: direct link, hf CLI and curl.
- Browser
- Download file 782 Bytes
-
https://huggingface.co/spaces/XtroEdge/chatbolt-dev/resolve/main/apps/api-gateway/libs/shared/src/entities/tenant.entity.d.ts
- Command line
-
hf download hf://spaces/XtroEdge/chatbolt-dev/apps/api-gateway/libs/shared/src/entities/tenant.entity.d.ts
-
curl -L -o tenant.entity.d.ts https://huggingface.co/spaces/XtroEdge/chatbolt-dev/resolve/main/apps/api-gateway/libs/shared/src/entities/tenant.entity.d.ts
782 Bytes
| import { Agent } from './agent.entity'; | |
| export declare enum TenantRole { | |
| SUPER_ADMIN = "super_admin", | |
| ADMIN = "admin" | |
| } | |
| export declare enum SubscriptionStatus { | |
| TRIALING = "trialing", | |
| ACTIVE = "active", | |
| PAST_DUE = "past_due", | |
| CANCELED = "canceled", | |
| NONE = "none" | |
| } | |
| export declare class Tenant { | |
| id: string; | |
| email: string; | |
| password_hash: string; | |
| name: string; | |
| is_active: boolean; | |
| role: TenantRole; | |
| stripe_customer_id: string; | |
| stripe_subscription_id: string; | |
| subscription_status: SubscriptionStatus; | |
| plan_id: string; | |
| trial_ends_at: Date; | |
| subscription_ends_at: Date; | |
| company: string; | |
| phone: string; | |
| settings: Record<string, any>; | |
| created_at: Date; | |
| updated_at: Date; | |
| agents: Agent[]; | |
| } | |