mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 17:10:56 +00:00
booking operations and trains scheduling also allocations
This commit is contained in:
@@ -17,6 +17,14 @@ export enum PriorityType {
|
||||
HIGH_VOLUME_SHIPMENT = 'HIGH_VOLUME_SHIPMENT',
|
||||
}
|
||||
|
||||
/** Bonus applied to government bookings so they outrank commercial priority. */
|
||||
export const GOVERNMENT_PRIORITY_BONUS = 50_000;
|
||||
|
||||
export interface GovernmentBookingFields {
|
||||
isGovernment: boolean;
|
||||
governmentInstitution?: string | null;
|
||||
}
|
||||
|
||||
export enum ExceededAction {
|
||||
WARNING_ONLY = 'WARNING_ONLY',
|
||||
HARD_BLOCK = 'HARD_BLOCK',
|
||||
@@ -89,6 +97,61 @@ export enum PaymentStatus {
|
||||
Refunded = "REFUNDED",
|
||||
}
|
||||
|
||||
export enum SchedulingStatus {
|
||||
NotScheduled = "NOT_SCHEDULED",
|
||||
Holding = "HOLDING",
|
||||
Eligible = "ELIGIBLE",
|
||||
Scheduled = "SCHEDULED",
|
||||
Dispatched = "DISPATCHED",
|
||||
}
|
||||
|
||||
export enum TrainScheduleStatus {
|
||||
Draft = "DRAFT",
|
||||
Scheduled = "SCHEDULED",
|
||||
Dispatched = "DISPATCHED",
|
||||
Arrived = "ARRIVED",
|
||||
Cancelled = "CANCELLED",
|
||||
}
|
||||
|
||||
export enum AllocationLoadType {
|
||||
Container = "CONTAINER",
|
||||
Bulk = "BULK",
|
||||
}
|
||||
|
||||
export enum AllocationStatus {
|
||||
Planned = "PLANNED",
|
||||
Reserved = "RESERVED",
|
||||
Loaded = "LOADED",
|
||||
Departed = "DEPARTED",
|
||||
}
|
||||
|
||||
export enum TrainSetWagonStatus {
|
||||
Planned = "PLANNED",
|
||||
Reserved = "RESERVED",
|
||||
Loaded = "LOADED",
|
||||
Departed = "DEPARTED",
|
||||
}
|
||||
|
||||
export enum WagonStatus {
|
||||
Available = "AVAILABLE",
|
||||
Assigned = "ASSIGNED",
|
||||
Maintenance = "MAINTENANCE",
|
||||
Retired = "RETIRED",
|
||||
}
|
||||
|
||||
export enum WagonReadiness {
|
||||
ImportReady = "IMPORT_READY",
|
||||
ExportReady = "EXPORT_READY",
|
||||
}
|
||||
|
||||
export type ScheduleTradeDirection = "IMPORT" | "EXPORT" | "DOMESTIC";
|
||||
|
||||
export enum BulkPricingUnit {
|
||||
PerWagon = "PER_WAGON",
|
||||
PerTon = "PER_TON",
|
||||
PerItem = "PER_ITEM",
|
||||
}
|
||||
|
||||
export type CustomerStatus = "Active" | "Pending" | "Inactive";
|
||||
export type CustomerType = "Importer" | "Exporter" | "Supplier";
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
export * from "./common/index";
|
||||
export * from "./freight/index";
|
||||
export * as Freight from "./freight/index";
|
||||
export * as Passenger from "./passenger/index";
|
||||
|
||||
Reference in New Issue
Block a user