# Keep Arrow Either classes and their generics
-keep class arrow.core.** { *; }
-keep class arrow.retrofit.adapter.either.** { *; }
-keep interface arrow.retrofit.adapter.either.** { *; }

# Keep generic type information for EitherCallAdapterFactory
-keepattributes Signature
-keepattributes *Annotation*

# Keep all CallAdapterFactory classes
-keep class retrofit2.CallAdapter$Factory { *; }
-keep class arrow.retrofit.adapter.either.EitherCallAdapterFactory { *; }

# Keep Retrofit interfaces and their return types
-keep interface com.suno.android.common_networking.remote.clerk.ClerkService { *; }
-keep class com.suno.android.common_networking.remote.clerk.** { *; }
