added cargoType

This commit is contained in:
Samandar Turgunboyev
2025-08-25 19:03:15 +05:00
parent 7c47c1e942
commit dc80d43e15
37 changed files with 2158 additions and 184 deletions

View File

@@ -56,6 +56,7 @@ export interface IBoxDetail {
amount: number;
weight: number;
acceptedNumber: number;
cargoType: 'AUTO' | 'AVIA';
price: number;
totalPrice: number;
hasImage: boolean;
@@ -70,12 +71,14 @@ export type CreateBoxBodyType = {
status: BoxStatus;
cargoId: string;
passportId: string;
cargoType: 'AUTO' | 'AVIA';
partyId: string;
items: {
trekId: string;
name: string;
amount: number;
weight: number;
cargoType: 'AUTO' | 'AVIA';
}[];
};
@@ -86,6 +89,7 @@ export type UpdateBoxBodyType = {
print?: boolean;
// clientId: number;
cargoId?: string;
cargoType: 'AUTO' | 'AVIA';
// type: string;
// name: string;
@@ -98,7 +102,7 @@ export type UpdateBoxBodyType = {
name: string;
amount: number;
weight: number;
cargoType: 'AUTO' | 'AVIA';
id: number;
price: number;
totalPrice: number;