mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-09 09:28:19 +00:00
feat: empty container Import
This commit is contained in:
@@ -56,6 +56,18 @@ export enum FreightType {
|
||||
Bulk = "BULK",
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether a booking or contract moves cargo or bare equipment. EMPTY is
|
||||
* container freight carrying nothing — the box itself is the shipment, priced
|
||||
* per size and lane off an EMPTY_CONTAINER_IMPORT rate. Deliberately separate
|
||||
* from FreightType: an empty booking is still CONTAINER freight for wagon
|
||||
* footprint, yard allocation, scheduling and gate passes.
|
||||
*/
|
||||
export enum CargoCondition {
|
||||
Laden = "LADEN",
|
||||
Empty = "EMPTY",
|
||||
}
|
||||
|
||||
/**
|
||||
* Distinguishes a normal one-time booking from a general contract — an umbrella
|
||||
* commitment that is signed and paid once, then drawn down by many orders over
|
||||
@@ -900,6 +912,8 @@ export interface IBooking extends BaseEntity {
|
||||
bulkTotalWeightTons?: number | null;
|
||||
|
||||
freightType: FreightType;
|
||||
/** LADEN (default) or EMPTY — see {@link CargoCondition}. */
|
||||
cargoCondition?: CargoCondition | string | null;
|
||||
freightSubtype?: string | null;
|
||||
|
||||
isHazardous: boolean;
|
||||
@@ -1603,6 +1617,8 @@ export interface CreateBookingDto {
|
||||
destinationYardId: string;
|
||||
tradeDirection: string;
|
||||
freightType: string;
|
||||
/** LADEN (default) or EMPTY — see {@link CargoCondition}. */
|
||||
cargoCondition?: string | undefined;
|
||||
cargoTypeId?: string | undefined;
|
||||
cargoFreeText?: string | undefined;
|
||||
shippingLineId?: string | undefined;
|
||||
|
||||
Reference in New Issue
Block a user