From 3d2e9b7d5ed0a69ac897a7b819787c0e2823d48f Mon Sep 17 00:00:00 2001 From: Vadym Yaroshchuk Date: Mon, 31 Jul 2023 15:31:41 +0200 Subject: [PATCH] feat (#39): `sessions` are now available under `TimersApi` --- sdk/src/commonMain/kotlin/io/timemates/sdk/timers/TimersApi.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/src/commonMain/kotlin/io/timemates/sdk/timers/TimersApi.kt b/sdk/src/commonMain/kotlin/io/timemates/sdk/timers/TimersApi.kt index 802d4b1..6ab8f49 100644 --- a/sdk/src/commonMain/kotlin/io/timemates/sdk/timers/TimersApi.kt +++ b/sdk/src/commonMain/kotlin/io/timemates/sdk/timers/TimersApi.kt @@ -13,6 +13,7 @@ import io.timemates.sdk.common.types.Empty import io.timemates.sdk.common.types.value.Count import io.timemates.sdk.timers.members.TimerMembersApi import io.timemates.sdk.timers.requests.* +import io.timemates.sdk.timers.sessions.TimersSessionsApi import io.timemates.sdk.timers.types.Timer import io.timemates.sdk.timers.types.TimerSettings import io.timemates.sdk.timers.types.value.TimerDescription @@ -32,6 +33,7 @@ public class TimersApi( private val engine: TimeMatesRequestsEngine, private val tokenProvider: AccessHashProvider, ) { + public val sessions: TimersSessionsApi = TimersSessionsApi(engine, tokenProvider) public val members: TimerMembersApi = TimerMembersApi(engine, tokenProvider) /**