Package-level declarations

Types

Link copied to clipboard

Result type for getting active timelog operations. Provides SKIE-compatible sealed class structure for iOS interoperability.

Link copied to clipboard

Result type for getting job timelog summary operations. Returns a list of summaries, one per distinct user.

Link copied to clipboard
data class UpdateTimelogRequest(val type: String, val latitude: Double?, val longitude: Double?, val checkedTime: String, val projectUid: String?, val jobUid: String, val timelogType: String?, val reasonCode: String?, val remarks: String?, val laborCodeUid: String?)

Request model for updating timelog entries.

Link copied to clipboard
sealed class UpdateTimelogResult

Result of a timelog update operation.

Link copied to clipboard
data class ZyncActiveTimeLog(val timeLogUid: String, val jobUid: String?, val userUid: String?, val checkedTime: String, val entryType: String, val timeLogType: String?, val projectUid: String?, val activeJob: ZyncTimeLogActiveJob?, val activeProject: ZyncTimeLogActiveProject?)

Represents an active timelog entry with associated job or project data. This is the domain model exposed to SDK users.

Link copied to clipboard
data class ZyncJobTimeLogSummary(val jobUid: String, val totalTime: Int, val totalWorkTime: Int, val totalBreakTime: Int, val totalTravelTime: Int, val user: ZyncUser, val entries: List<ZyncTimeLogEntry>, val timeLogSummaryEntries: List<ZyncTimeLogSummaryEntry>)

Comprehensive timelog summary for a job, including total times and detailed entries.

Link copied to clipboard
data class ZyncTimeLogActiveJob(val timeLogUid: String, val checkedTime: String, val jobUid: String, val prefix: String?, val jobTitle: String?, val workOrderNumber: Int?, val startDateTime: String?, val endDateTime: String?, val dueDate: String?)

Represents minimal job data associated with an active timelog.

Link copied to clipboard
data class ZyncTimeLogActiveProject(val timeLogUid: String, val checkedTime: String, val projectUid: String, val prefix: String?, val projectNumber: Int?, val projectName: String, val startDateTime: String?, val endDateTime: String?, val dueDate: String?)

Represents minimal project data associated with an active timelog.

Link copied to clipboard
data class ZyncTimeLogEntry(val timeLogUid: String, val checkedTime: String, val type: String, val timeLogType: String, val reasonCode: String?, val remarks: String?, val laborCodeUid: String?)

Represents a single timelog entry for a job.

Link copied to clipboard
data class ZyncTimeLogSummaryEntry(val timeLogSummaryUid: String, val timeLogType: String, val timeSpent: Int?, val reasonCode: String?, val clockInTime: String, val clockOutTime: String, val remarks: String?)

Represents a computed summary entry showing time spent between clock-in and clock-out.

Link copied to clipboard