import { TenantTypeEnums } from '../enums/unitySystemEnums'; // Per-tenant AI opt-ins. Every flag is optional: tenants created before a flag // existed have no key for it, which reads as off. export interface TenantAiConfiguration { translationSuggestionEnabled?: boolean; queryBuilderEnabled?: boolean; } export interface TenantConfiguration { testingMode: boolean; aiConfiguration?: TenantAiConfiguration; } export interface BaseTenant { tenantId: string; clusterId: number; tenantName: string; contactEmail?: string | null; locked: boolean; theme?: string; showUnsubscribableProducts: boolean; description?: string; apiAuthKey: string; defaultVerticalId: number; tenantType: TenantTypeEnums; isUsingVerticals: boolean; configuration: TenantConfiguration; } export interface Product { productId: number; name: string; isSubscribable: boolean; areRolesManaged: boolean; } export interface ProductView { productId: number; name: string; isSubscribable: boolean | null; areRolesManaged: boolean | null; currentProductVersionId: string | null; externalUuid: string | null; isUnityDefault: boolean | null; isActive: boolean; } export interface Vertical { verticalId: number; name: string; icon: string | null; isActive: boolean; } export interface Tenant extends BaseTenant { products: Product[]; verticals: Vertical[]; defaultVertical: Vertical; userCount: number; } //# sourceMappingURL=types.d.ts.map