diff --git a/distribution_fe/types/api.ts b/distribution_fe/types/api.ts index f2af02a..f1c11cc 100644 --- a/distribution_fe/types/api.ts +++ b/distribution_fe/types/api.ts @@ -1,7 +1,7 @@ // ─── Enums ──────────────────────────────────────────────────────────────────── export type KycStatus = 'Pending' | 'Verified' | 'Rejected' -export type LocationType = 'Warehouse' | 'Vehicle' +export type LocationType = 'Warehouse' | 'Vehicle' | 'External' export type MovementType = | 'Sale' | 'CustomerReturn' | 'Transfer' | 'Damage' | 'Adjustment' | 'Load' | 'PurchaseReceipt' | 'PurchaseReturn' @@ -420,6 +420,7 @@ export interface StockBalanceResponse { locationType: LocationType quantity: number updatedAt: string + locationName: string } export interface StockMovementResponse { @@ -436,6 +437,8 @@ export interface StockMovementResponse { referenceId: string | null createdAt: string createdBy: string + fromLocationName: string | null + toLocationName: string | null } // ─── Driver / Rides ───────────────────────────────────────────────────────────