Add external location type and location name fields to stock responses

This commit is contained in:
2026-09-08 13:18:42 +05:30
parent 508149dab8
commit bbf9e5b60e
+4 -1
View File
@@ -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 ───────────────────────────────────────────────────────────