import type { Permission } from "@/lib/constants/auth"; export type HostCustomerStatus = "active" | "disabled"; export type HostCustomerDto = { customer_id: string; name: string; status: HostCustomerStatus; remark: string | null; embed_password_set: boolean; created_at: string; updated_at: string; api_keys: ServiceApiKeySummaryDto[]; }; export type ServiceApiKeySummaryDto = { key_id: string; key_prefix: string; is_active: boolean; permissions: Permission[]; created_at: string; }; export type CreateHostCustomerResult = HostCustomerDto & { /** 仅创建/轮换时返回一次 */ api_key: string; };