update new api reques and response

This commit is contained in:
Samandar Turgunboyev
2025-12-05 17:47:11 +05:00
parent 21725762c6
commit db6bfa7e40
30 changed files with 1755 additions and 262 deletions

View File

@@ -0,0 +1,24 @@
export interface DistributedList {
status_code: number;
status: string;
message: string;
data: {
count: number;
next: null | string;
previous: null | string;
results: DistributedListData[];
};
}
export interface DistributedListData {
id: number;
product: {
id: number;
name: string;
price: number;
};
quantity: number;
employee_name: string;
created_at: string;
date: string;
}