diff --git a/network/src/commonMain/kotlin/com/wire/kalium/network/api/v8/authenticated/ConversationApiV8.kt b/network/src/commonMain/kotlin/com/wire/kalium/network/api/v8/authenticated/ConversationApiV8.kt index 6ee7543f01..7faff977c2 100644 --- a/network/src/commonMain/kotlin/com/wire/kalium/network/api/v8/authenticated/ConversationApiV8.kt +++ b/network/src/commonMain/kotlin/com/wire/kalium/network/api/v8/authenticated/ConversationApiV8.kt @@ -19,25 +19,8 @@ package com.wire.kalium.network.api.v8.authenticated import com.wire.kalium.network.AuthenticatedNetworkClient -import com.wire.kalium.network.api.authenticated.conversation.AddServiceRequest -import com.wire.kalium.network.api.authenticated.conversation.ConversationResponse -import com.wire.kalium.network.api.authenticated.conversation.ConversationResponseV6 -import com.wire.kalium.network.api.model.ApiModelMapper -import com.wire.kalium.network.api.model.ApiModelMapperImpl -import com.wire.kalium.network.api.model.ConversationId -import com.wire.kalium.network.api.model.ServiceAddedResponse -import com.wire.kalium.network.api.model.UserId import com.wire.kalium.network.api.v7.authenticated.ConversationApiV7 -import com.wire.kalium.network.exceptions.KaliumException -import com.wire.kalium.network.utils.NetworkResponse -import com.wire.kalium.network.utils.mapSuccess -import com.wire.kalium.network.utils.wrapKaliumResponse -import io.ktor.client.request.get -import io.ktor.client.request.post -import io.ktor.client.request.setBody -import okio.IOException internal open class ConversationApiV8 internal constructor( - authenticatedNetworkClient: AuthenticatedNetworkClient, - apiModelMapper: ApiModelMapper = ApiModelMapperImpl(), -) : ConversationApiV7(authenticatedNetworkClient) + authenticatedNetworkClient: AuthenticatedNetworkClient +) : ConversationApiV7(authenticatedNetworkClient) diff --git a/network/src/commonMain/kotlin/com/wire/kalium/network/api/v8/authenticated/UpgradePersonalToTeamApiV8.kt b/network/src/commonMain/kotlin/com/wire/kalium/network/api/v8/authenticated/UpgradePersonalToTeamApiV8.kt index de49b7a4c2..3fa67ff2bb 100644 --- a/network/src/commonMain/kotlin/com/wire/kalium/network/api/v8/authenticated/UpgradePersonalToTeamApiV8.kt +++ b/network/src/commonMain/kotlin/com/wire/kalium/network/api/v8/authenticated/UpgradePersonalToTeamApiV8.kt @@ -19,14 +19,8 @@ package com.wire.kalium.network.api.v8.authenticated import com.wire.kalium.network.AuthenticatedNetworkClient -import com.wire.kalium.network.api.authenticated.user.CreateUserTeamDTO -import com.wire.kalium.network.api.unauthenticated.register.NewBindingTeamDTO import com.wire.kalium.network.api.v7.authenticated.UpgradePersonalToTeamApiV7 -import com.wire.kalium.network.utils.NetworkResponse -import com.wire.kalium.network.utils.wrapKaliumResponse -import io.ktor.client.request.post -import io.ktor.client.request.setBody internal open class UpgradePersonalToTeamApiV8 internal constructor( authenticatedNetworkClient: AuthenticatedNetworkClient, -) : UpgradePersonalToTeamApiV7(authenticatedNetworkClient) +) : UpgradePersonalToTeamApiV7(authenticatedNetworkClient)