mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 04:08:11 +00:00
chore: sync Ibooking
This commit is contained in:
@@ -108,11 +108,54 @@ export interface IConsignment extends BaseEntity {
|
|||||||
export interface IBooking extends BaseEntity {
|
export interface IBooking extends BaseEntity {
|
||||||
reference: string;
|
reference: string;
|
||||||
customerId: string;
|
customerId: string;
|
||||||
trainId?: string;
|
trainId?: string | null;
|
||||||
status: BookingStatus;
|
status: BookingStatus;
|
||||||
scheduledDate: string;
|
scheduledDate: string;
|
||||||
totalAmount: number;
|
totalAmount: number;
|
||||||
paymentStatus: PaymentStatus;
|
paymentStatus: PaymentStatus;
|
||||||
|
|
||||||
|
contractType: "NEW" | "RENEWAL";
|
||||||
|
previousContractId?: string | null;
|
||||||
|
serviceType: "RAIL_ONLY" | "RAIL_AND_FORWARDING";
|
||||||
|
|
||||||
|
firstMileEnabled: boolean;
|
||||||
|
firstMilePickupAddress?: string | null;
|
||||||
|
lastMileEnabled: boolean;
|
||||||
|
lastMileDeliveryAddress?: string | null;
|
||||||
|
|
||||||
|
equipmentReturn: "WITH_RETURN" | "WITHOUT_RETURN";
|
||||||
|
originStation: string;
|
||||||
|
destinationStation: string;
|
||||||
|
cargoTotalWeightVgm: number;
|
||||||
|
|
||||||
|
freightType: "BULK" | "BREAK_BULK";
|
||||||
|
freightSubtype?: string | null;
|
||||||
|
|
||||||
|
isHazardous: boolean;
|
||||||
|
isRefrigerated: boolean;
|
||||||
|
|
||||||
|
tradeDirection: "IMPORT" | "EXPORT";
|
||||||
|
paymentCurrency: string;
|
||||||
|
allowConsolidation: boolean;
|
||||||
|
consolidationPartnerId?: string | null;
|
||||||
|
|
||||||
|
startDate?: string | null;
|
||||||
|
endDate?: string | null;
|
||||||
|
financialTerms?: string | null;
|
||||||
|
|
||||||
|
containers?: Array<{ type: string; qty: number; vgm: number }> | null;
|
||||||
|
|
||||||
|
versionNumber: number;
|
||||||
|
priorityScore: number;
|
||||||
|
|
||||||
|
approvedByStaffId?: string | null;
|
||||||
|
approvedByStaffAt?: string | null;
|
||||||
|
signedByDirectorId?: string | null;
|
||||||
|
signedByDirectorAt?: string | null;
|
||||||
|
signedByCeoId?: string | null;
|
||||||
|
signedByCeoAt?: string | null;
|
||||||
|
|
||||||
|
files?: Array<{ id: string; name: string; url: string; mimeType: string }>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IInvoice extends BaseEntity {
|
export interface IInvoice extends BaseEntity {
|
||||||
|
|||||||
Reference in New Issue
Block a user