This commit is contained in:
@@ -19,6 +19,7 @@ export interface BusinessUserGroupItem {
|
||||
remark: string // 备注
|
||||
created_at: string // 创建时间
|
||||
updated_at: string // 更新时间
|
||||
member_count?: number
|
||||
}
|
||||
|
||||
/** 业务用户组列表查询参数 */
|
||||
@@ -67,8 +68,49 @@ export interface SetBusinessUserGroupMembersParams {
|
||||
account_ids: number[] // 平台用户账号ID列表,至少一个;每个账号必须是启用平台用户
|
||||
}
|
||||
|
||||
export interface BusinessUserGroupMembersQueryParams extends PaginationParams {
|
||||
keyword?: string
|
||||
account_status?: 'enabled' | 'disabled' | 'deleted'
|
||||
}
|
||||
|
||||
export type BusinessUserGroupMemberScope = 'all' | 'ungrouped' | 'current' | 'other'
|
||||
|
||||
export interface BusinessUserGroupMemberCandidatesQueryParams extends PaginationParams {
|
||||
keyword?: string
|
||||
scope?: BusinessUserGroupMemberScope
|
||||
}
|
||||
|
||||
export interface BusinessUserGroupMember {
|
||||
account_id: number
|
||||
username: string
|
||||
phone?: string | null
|
||||
enabled?: boolean
|
||||
deleted?: boolean
|
||||
status_name?: string | null
|
||||
member_created_at?: string | null
|
||||
current_group_id?: number | null
|
||||
current_group_code?: string | null
|
||||
current_group_name?: string | null
|
||||
operation?: 'add' | 'already_member' | 'move' | string
|
||||
operation_name?: string | null
|
||||
}
|
||||
|
||||
export interface BusinessUserGroupMemberCandidate extends BusinessUserGroupMember {
|
||||
id?: number
|
||||
phone_summary?: string | null
|
||||
action?: 'add' | 'already_member' | 'move' | string
|
||||
can_add?: boolean
|
||||
}
|
||||
|
||||
export interface BusinessUserGroupMembersPageResult {
|
||||
items: BusinessUserGroupMember[] | null
|
||||
page?: number
|
||||
size?: number
|
||||
total?: number
|
||||
}
|
||||
|
||||
/** 批量设置/清空成员结果 */
|
||||
export interface BusinessUserGroupMembersResult {
|
||||
group_id: number // 目标业务用户组ID;清空操作为 0
|
||||
account_ids: number[] | null // 本次成功维护归属的平台用户账号ID列表
|
||||
}
|
||||
}
|
||||
|
||||
@@ -229,6 +229,12 @@ export interface EmployeeCollectionApplication {
|
||||
decided_at?: string | null
|
||||
latest_approval_instance_id?: number | null
|
||||
latest_attempt_id?: number | null
|
||||
approval_failure_summary?: string | null
|
||||
approval_submission_name?: string | null
|
||||
approval_submission_status?: number | null
|
||||
last_recovery_at?: string | null
|
||||
recoverable?: boolean
|
||||
recovery_result?: string | null
|
||||
created_at?: string | null
|
||||
updated_at?: string | null
|
||||
}
|
||||
@@ -279,6 +285,17 @@ export interface EmployeeCollectionApplicationSubmitResult {
|
||||
attempt?: EmployeeCollectionApplicationAttempt | null
|
||||
}
|
||||
|
||||
export interface RecoverEmployeeCollectionApplicationResponse {
|
||||
action?: string
|
||||
application_id?: number
|
||||
approval_instance_id?: number | null
|
||||
last_recovery_at?: string | null
|
||||
recoverable?: boolean
|
||||
result?: string
|
||||
submission_status?: number | null
|
||||
submission_status_name?: string | null
|
||||
}
|
||||
|
||||
// ========== 响应类型 ==========
|
||||
|
||||
export type EmployeeCollectionPaymentMethodListResponse = BaseResponse<
|
||||
|
||||
Reference in New Issue
Block a user