FortressApiService
Functions
Link copied to clipboard
abstract suspend fun archiveShipment(shipmentId: String, updatedById: String, archived: Boolean = true): Result<ShipmentRO>
Link copied to clipboard
abstract suspend fun archiveShipmentScan(shipmentScanId: String, updatedById: String, archived: Boolean = true): Result<ShipmentScanRO>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun createPickTicketShipmentEntry(shipmentId: String, shipmentScanId: String, jobId: String, fileName: String, createdById: String): Result<ShipmentEntryRO>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun createShipmentSharingRecord(userId: String, shipmentId: String, recipientEmail: String, expiration: String? = null): Result<ShipmentSharingRO>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun fetchMostRecentShipmentEntries(shipmentIds: List<String>, entryType: String): Result<Map<String, ShipmentEntryRO>>
Link copied to clipboard
abstract suspend fun fetchMostRecentShipmentSnapshots(shipmentIds: List<String>): Result<Map<String, List<ShipmentEntryRO>>>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun fetchOrganizationMembers(profileId: String, organizationId: String): Result<List<UserProfileRO>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun fetchShipmentScans(shipmentIds: List<String>): Result<Map<String, List<ShipmentScanRO>>>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun fetchShipmentSharedWithMeRecords(userId: String): Result<List<ShipmentSharingRO>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun patchShipment(shipmentId: String, request: UpdateShipmentRequest, operationName: String): Result<ShipmentRO>
Link copied to clipboard
abstract suspend fun queueProcessingJob(shipmentId: String, shipmentScanId: String, data: ByteArray): Result<SnapshotsRO>
Link copied to clipboard
abstract suspend fun renameShipment(shipmentId: String, updatedById: String, newTitle: String): Result<ShipmentRO>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun setMyCarrierApiKey(mycarrierKey: String?, originLocationId: String?): Result<String>
Link copied to clipboard
abstract suspend fun submitMyCarrierOrder(orderRequest: MyCarrierOrderRequest): Result<MyCarrierOrderResponse>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun updateShipmentBarcodes(shipmentId: String, updatedById: String, barcodesDto: Map<String, List<BarcodeItemRO>>): Result<ShipmentRO>
Link copied to clipboard
abstract suspend fun updateShipmentScan(scanId: String, body: UpdateShipmentScanBaseRequest): Result<ShipmentScanRO>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun uploadPickTicketDocument(imageData: ByteArray): Result<PickTicketUploadResponse>
Link copied to clipboard
abstract suspend fun uploadShipmentEntry(organizationId: String, shipmentId: String, shipmentScanId: String, fileName: String, data: ByteArray, type: ShipmentEntryType, createdById: String): Result<Pair<StorageRO, ShipmentEntryRO>>
Link copied to clipboard
abstract suspend fun uploadShipmentScanZip(organizationId: String, shipmentId: String, shipmentScanId: String, data: ByteArray): Result<SnapshotsRO>
Link copied to clipboard