Package-level declarations

Types

Link copied to clipboard
@Serializable
sealed class GetServiceTaskDetailResult

Result wrapper for get service task detail operation. SKIE-compatible sealed class for Swift interoperability.

Link copied to clipboard
@Serializable
sealed class GetServiceTasksResult

Result wrapper for get service tasks operation. SKIE-compatible sealed class for Swift interoperability.

Link copied to clipboard
data class ZyncServiceTask(val serviceTaskUid: String, val serviceTaskTitle: String, val serviceTaskDescription: String?, val sequenceNo: Int, val estimateDuration: ZyncServiceTaskEstimatedDuration?, val scheduledDuration: Double, val actualStartTime: String?, val actualEndTime: String?, val actualDuration: Double, val serviceTaskStatus: ZyncServiceTaskStatus, val assignedTo: List<ZyncServiceTaskAssignedUser>, val inspectionFormSubmissionUid: String?, val inspectionForm: ZyncServiceTaskInspectionForm?, val serviceTaskAsset: ZyncServiceTaskAsset?, val createdAt: String?)

Basic ServiceTask domain model representing a service task in the Zuper system. Matches the structure from zuper-android ServiceTask.kt

Link copied to clipboard
data class ZyncServiceTaskAsset(val assetUid: String, val assetCode: String, val assetSerialNumber: String?, val assetName: String, val assetQuantity: Int, val assetImage: String?, val assetStatus: String?, val warrantyExpiryDate: String?)

ServiceTask asset information.

Link copied to clipboard
data class ZyncServiceTaskAssignedUser(val user: User, val team: Team)

ServiceTask assigned user combining user and team information.

Link copied to clipboard
data class ZyncServiceTaskDetail(val serviceTaskUid: String, val module: String, val moduleUid: String, val serviceTaskTitle: String, val serviceTaskDescription: String?, val sequenceNo: Int, val estimateDuration: ZyncServiceTaskEstimatedDuration?, val scheduledDuration: Double?, val actualStartTime: String?, val actualEndTime: String?, val actualDuration: Double?, val serviceTaskAsset: ZyncServiceTaskAsset?, val inspectionForm: ZyncServiceTaskInspectionForm?, val inspectionFormSubmissionUid: String?, val serviceTaskStatus: ZyncServiceTaskStatus, val serviceTaskStatusHistory: List<ZyncServiceTaskStatusHistory>, val assignedTo: List<ZyncServiceTaskAssignedUser>?, val latestInspectionFormSubmissionTimestamp: String?)

Detailed ServiceTask domain model with additional information. Matches the structure from zuper-android ServiceTaskDetail.kt

Link copied to clipboard
data class ZyncServiceTaskEstimatedDuration(val days: Int, val hours: Int, val minutes: Int)

ServiceTask estimated duration.

Link copied to clipboard
data class ZyncServiceTaskInspectionForm(val assetFormUid: String, val assetFormName: String, val description: String?, val assetCategoryUid: String?, val isActive: Boolean, val createdAt: String?)

ServiceTask inspection form information.

Link copied to clipboard

ServiceTask status enumeration.

Link copied to clipboard
data class ZyncServiceTaskStatusHistory(val status: ZyncServiceTaskStatus, val createdAt: String?, val remarks: String?, val doneBy: ZyncCreatedByUser)

ServiceTask status history entry.