mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 20:05:41 +00:00
changes
This commit is contained in:
@@ -132,11 +132,17 @@ export enum PaymentStatus {
|
||||
|
||||
export enum InvoiceStatus {
|
||||
Draft = "DRAFT",
|
||||
/** Issued and awaiting payment (alias of PENDING for fee invoices). */
|
||||
Issued = "ISSUED",
|
||||
Pending = "PENDING",
|
||||
/** Some, but not all, of the balance has been settled. */
|
||||
PartiallyPaid = "PARTIALLY_PAID",
|
||||
Paid = "PAID",
|
||||
Overdue = "OVERDUE",
|
||||
Cancelled = "CANCELLED",
|
||||
Refunded = "REFUNDED",
|
||||
/** Pay window closed before settlement; terminal, cannot be paid. */
|
||||
Expired = "EXPIRED",
|
||||
}
|
||||
|
||||
/** Originating subsystem an invoice bills for; namespaces invoice events. */
|
||||
@@ -144,14 +150,8 @@ export enum InvoiceSource {
|
||||
Booking = "booking",
|
||||
Warehouse = "warehouse",
|
||||
Demurrage = "demurrage",
|
||||
}
|
||||
|
||||
/**
|
||||
* What an invoice bills for within its source — the discriminator when one
|
||||
* entity carries several invoices (e.g. a booking's up-front vs final charge).
|
||||
*/
|
||||
export enum InvoiceType {
|
||||
Prepaid = "PREPAID",
|
||||
FirstMile = "firstmile",
|
||||
LastMile = "lastmile"
|
||||
}
|
||||
|
||||
export enum SchedulingStatus {
|
||||
|
||||
Reference in New Issue
Block a user