declare namespace API {
  /** 登录-结果 */
  type LoginResult = {
    access_token: string
    token_type: string
    refresh_token: string
    expires_in: number
    scope: string
    license: string
    active: boolean
    user_id: number
    client_id: string
    username: string
  }

  /** 全部租户列表 */
  interface TenantListDataItem {
    createdBy: string
    modifiedBy: string
    createdTime: string
    modifiedTime: string
    tenantId: string
    name: string
    nickname: string
    regNum: string
    customization?: any
    issue: string
    expiry: string
    lockFlag: string
    delFlag: string
  }
  type TenantListData = TenantListDataItem[]

  interface RechargeOverviewResult {
    productVersion: string
    availableTimes: string
  }
}
