ZyncOrganizationManager

Public API manager for organization operations in the Zync SDK.

This manager provides the public interface for organization-related functionality, following the offline-first approach where local data is returned immediately and background sync operations keep the data updated.

Usage:

val result = zync.organizations?.getOrganizationDetail("org_uid_123")
when (result) {
is GetOrganizationResult.Success -> {
val organizationDetail = result.data
println("Organization: ${organizationDetail.organizationName}")
println("Address: ${organizationDetail.organizationAddress?.street}")
}
is GetOrganizationResult.Failure -> {
println("Error: ${result.error.message}")
}
}