feat(system): SID rules/lucky-numbers/assign, locales CRUD, devices list, robot session tokens
This commit is contained in:
@ -231,33 +231,49 @@ export interface StudioAgentTokenGrant extends TokenGrant {
|
||||
// ---------- sid / locales / devices ----------
|
||||
|
||||
export interface SidRule {
|
||||
id?: number
|
||||
key: string
|
||||
value: unknown
|
||||
description?: string | null
|
||||
description: string | null
|
||||
enabled: boolean
|
||||
created_at?: string
|
||||
updated_at?: string
|
||||
}
|
||||
|
||||
export interface LuckyNumber {
|
||||
id: number | string
|
||||
id: number
|
||||
number: string
|
||||
price?: number | null
|
||||
status?: string
|
||||
reserved_for_uid?: string | null
|
||||
category: string | null
|
||||
enabled: boolean
|
||||
created_by?: string | null
|
||||
created_at?: string
|
||||
updated_at?: string
|
||||
}
|
||||
|
||||
export interface SidCheckResult {
|
||||
sid: string
|
||||
reserved: boolean
|
||||
reasons?: string[]
|
||||
}
|
||||
|
||||
export interface LocaleRow {
|
||||
kind?: string
|
||||
code: string
|
||||
name: string
|
||||
native_name?: string | null
|
||||
enabled?: boolean
|
||||
is_default?: boolean
|
||||
native_name: string
|
||||
is_active: boolean
|
||||
sort_order: number
|
||||
created_at?: string
|
||||
updated_at?: string
|
||||
}
|
||||
|
||||
export interface NotificationDevice {
|
||||
id: number | string
|
||||
user_uid: string
|
||||
device_id?: string
|
||||
user_uid?: string | null
|
||||
platform?: string
|
||||
token?: string
|
||||
model?: string | null
|
||||
is_online?: boolean
|
||||
active_sessions_count?: number
|
||||
last_seen_at?: string | null
|
||||
created_at?: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user