added cargoType
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user