This commit is contained in:
che
2026-07-28 08:53:19 +05:00
parent 2dd7d33c8b
commit e79bbbfcc4
25 changed files with 1303 additions and 148 deletions
+123
View File
@@ -413,6 +413,128 @@ export interface FrcListParams extends ListParams {
name__contains?: string;
}
export interface Memo {
id: number;
recipient_id: number | null;
sender_id: number | null;
category_id: number | null;
project_id: number | null;
task_set: unknown[] | null;
priority_display: string;
absolute_url: string;
date: string;
my_approve: string;
text: string;
resalution: string;
priority: string;
archive: boolean;
cancel: boolean;
date_start: string | null;
date_end: string | null;
value: number;
archive_s: boolean;
current_step: number;
subject: number[] | null;
employee_acl: number[] | null;
recipient: Employee | null;
sender: Employee | null;
category: MemoCategory | null;
project: Project | null;
}
export interface MemoCreate {
recipient_id?: number | null;
sender_id?: number | null;
category_id?: number | null;
project_id?: number | null;
task_set?: unknown[] | null;
priority_display: string;
absolute_url: string;
date: string;
my_approve: string;
text: string;
resalution: string;
priority: string;
archive: boolean;
cancel: boolean;
date_start?: string | null;
date_end?: string | null;
value: number;
archive_s: boolean;
current_step: number;
subject?: number[] | null;
employee_acl?: number[] | null;
}
export interface MemoUpdate {
recipient_id?: number | null;
sender_id?: number | null;
category_id?: number | null;
project_id?: number | null;
task_set?: unknown[] | null;
priority_display?: string;
absolute_url?: string;
date?: string;
my_approve?: string;
text?: string;
resalution?: string;
priority?: string;
archive?: boolean;
cancel?: boolean;
date_start?: string | null;
date_end?: string | null;
value?: number;
archive_s?: boolean;
current_step?: number;
subject?: number[] | null;
employee_acl?: number[] | null;
}
export interface MemoListParams extends ListParams {
id?: number;
text__contains?: string;
date?: string;
priority?: string;
archive?: boolean;
cancel?: boolean;
recipient?: number | null;
sender?: number | null;
category?: number | null;
project?: number | null;
}
export interface MemoCategory {
id: number;
name: string;
template: string;
template_text: string;
code: string;
in_month_limit: boolean;
}
export interface MemoCategoryCreate {
name: string;
template: string;
template_text: string;
code: string;
in_month_limit: boolean;
}
export interface MemoCategoryUpdate {
name?: string;
template?: string;
template_text?: string;
code?: string;
in_month_limit?: boolean;
}
export interface MemoCategoryListParams extends ListParams {
id?: number;
name?: string;
name__contains?: string;
code?: string;
}
export interface Message {
id: number;
task: number;
@@ -564,6 +686,7 @@ export interface TaskListParams extends ListParams {
text__contains?: string;
contract?: string | null;
bill?: string | null;
memo?: string | null;
doer?: string | null;
author?: string | null;
archive?: boolean;