This commit is contained in:
mahyargdz
2025-09-14 15:15:03 +03:30
commit be82059172
534 changed files with 51310 additions and 0 deletions
@@ -0,0 +1,16 @@
import { DeliveryType } from "../../../../common/enums/shipment.enum";
export interface IShipmentProviders {
_id: number;
name: string;
description: string;
costs: IShipmentCost[];
deliveryType: DeliveryType;
deliveryTime: number;
deleted: boolean;
}
export interface IShipmentCost {
weightRange: { min: number; max: number }; // weight range in kg
cost_first: number;
cost_rest: number;
}