diff --git a/libraries/wellknown/api/src/main/kotlin/io/element/android/libraries/wellknown/api/EnterpriseRemoteConfigSource.kt b/libraries/wellknown/api/src/main/kotlin/io/element/android/libraries/wellknown/api/EnterpriseRemoteConfigSource.kt new file mode 100644 index 0000000000..147f31269d --- /dev/null +++ b/libraries/wellknown/api/src/main/kotlin/io/element/android/libraries/wellknown/api/EnterpriseRemoteConfigSource.kt @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2026 Element Creations Ltd. + * + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. + * Please see LICENSE files in the repository root for full details. + */ + +package io.element.android.libraries.wellknown.api + +/** + * The source from which the enterprise remote configuration is retrieved. + */ +enum class EnterpriseRemoteConfigSource { + /** + * Retrieve the enterprise remote configuration from the Element Server Suite configuration (ESS_CONFIG) endpoint. + */ + ESS_CONFIG, + + /** + * Retrieve the enterprise remote configuration from the Element server's well-known endpoint. + */ + WELLKNOWN_ENDPOINT, +}