fetchAllShipmentData
abstract suspend fun fetchAllShipmentData(pollScansEvery: Long? = POLLING_INTERVAL_MS, updatedAfter: String? = null, updatedBefore: String? = null): Result<List<ShipmentTree>>
Triggers a full refresh of all shipment data, including scans and entries.
Parameters
pollScansEvery
If provided, starts background polling for scans in 'processing' status.
updatedAfter
An ISO formatted date string for fetching shipments updated after a certain date (i.e. "2024-12-31T23:59:59").
updatedBefore
An ISO formatted date string for fetching shipments before after a certain date (i.e. "2024-12-31T23:59:59").