Aqara Home v2.4.1版本的 MD5 值为:529779ac2bc0131db52a1fc3098d2b35

以下内容为反编译后的 b.java 源代码,内容仅作参考


package k.t.i.l.f.d;

import com.lumi.external.http.ApiResponseWithJava;
import com.lumi.module.login.model.entity.body.AccountLogoutBody;
import com.lumi.module.login.model.entity.body.BindWithCodeBody;
import com.lumi.module.login.model.entity.body.ChangeUserBody;
import com.lumi.module.login.model.entity.body.CheckCaptchaBody;
import com.lumi.module.login.model.entity.body.CheckUserSignUpBody;
import com.lumi.module.login.model.entity.body.GetCaptchaBody;
import com.lumi.module.login.model.entity.body.LogoutBody;
import com.lumi.module.login.model.entity.body.NewPwdBody;
import com.lumi.module.login.model.entity.body.ResetPwdBody;
import com.lumi.module.login.model.entity.body.SignInWithCodeBody;
import com.lumi.module.login.model.entity.body.SignInWithPwdBody;
import com.lumi.module.login.model.entity.body.SignInWithWeChatBody;
import com.lumi.module.login.model.entity.body.TermsPrivacyBody;
import com.lumi.module.login.model.entity.body.UnBindThirdPartBody;
import com.lumi.module.login.model.entity.body.UnBindUserBody;
import com.lumi.module.login.model.entity.result.SignInResult;
import com.lumi.module.login.model.entity.result.TermsPrivacyResult;
import com.lumi.module.login.model.entity.result.UserInfo;
import com.lumi.module.login.model.entity.result.WeChatTokenResult;
import com.lumi.module.login.model.entity.result.WeChatUserResult;
import com.umeng.socialize.handler.UMSSOHandler;
import java.util.List;
import java.util.Map;
import org.android.agoo.common.AgooConstants;
import org.jetbrains.annotations.NotNull;
import p.a.k0;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
import retrofit2.http.Url;
import s.h0;
@h0(bv = {1, 0, 3}, d1 = {"\u0000È\u0001\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010$\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\bf\u0018\u0000 J2\u00020\u0001:\u0001JJ\u001e\u0010\u0002\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010\u0006\u001a\u00020\u0007H'J\u001e\u0010\b\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010\t\u001a\u00020\nH'J\u001e\u0010\u000b\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\f0\u00040\u00032\b\b\u0001\u0010\r\u001a\u00020\u000eH'J\u001e\u0010\u000f\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010\u0010\u001a\u00020\u0011H'J(\u0010\u0012\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010\u0013\u001a\u00020\u00142\b\b\u0003\u0010\u0015\u001a\u00020\u0016H'J(\u0010\u0017\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010\u0018\u001a\u00020\u00192\b\b\u0003\u0010\u0015\u001a\u00020\u0016H'J.\u0010\u001a\u001a\u0014\u0012\u0010\u0012\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u001c0\u001b0\u00040\u00032\b\b\u0001\u0010\u001d\u001a\u00020\u00052\b\b\u0001\u0010\u001e\u001a\u00020\u0005H'J4\u0010\u001f\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020 0\u00040\u00032\b\b\u0001\u0010!\u001a\u00020\u00052\u0014\b\u0001\u0010\"\u001a\u000e\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00050#H'J2\u0010$\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020%0\u00040\u00032\b\b\u0001\u0010!\u001a\u00020\u00052\b\b\u0001\u0010&\u001a\u00020\u00052\b\b\u0001\u0010'\u001a\u00020\u0005H'J(\u0010(\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\f0\u00040\u00032\b\b\u0001\u0010)\u001a\u00020*2\b\b\u0003\u0010\u0015\u001a\u00020\u0016H'J\u001e\u0010+\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\f0\u00040\u00032\b\b\u0001\u0010,\u001a\u00020-H'J(\u0010.\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\f0\u00040\u00032\b\b\u0001\u0010/\u001a\u0002002\b\b\u0003\u0010\u0015\u001a\u00020\u0016H'J\u001e\u00101\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\f0\u00040\u00032\b\b\u0001\u0010\t\u001a\u00020\nH'J\u001e\u00102\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u00103\u001a\u000204H'J\u001e\u00105\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u00106\u001a\u000207H'J/\u00108\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\u0019\b\u0001\u00109\u001a\u0013\u0012\u0004\u0012\u00020\u0005\u0012\t\u0012\u00070\u0001¢\u0006\u0002\b:0#H'J\u0014\u0010;\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020<0\u00040\u0003H'J\u001e\u0010=\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010>\u001a\u00020?H'J\u001e\u0010@\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010A\u001a\u00020BH'J9\u0010C\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\f0\u00040\u00032\u0019\b\u0001\u0010\"\u001a\u0013\u0012\u0004\u0012\u00020\u0005\u0012\t\u0012\u00070\u0001¢\u0006\u0002\b:0#2\b\b\u0003\u0010\u0015\u001a\u00020\u0016H'J\u001e\u0010D\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010E\u001a\u00020FH'J\u001e\u0010G\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010H\u001a\u00020IH'¨\u0006K"}, d2 = {"Lcom/lumi/module/login/model/api/UserApi;", "", "accountLogout", "Lio/reactivex/Single;", "Lcom/lumi/external/http/ApiResponseWithJava;", "", AgooConstants.MESSAGE_BODY, "Lcom/lumi/module/login/model/entity/body/AccountLogoutBody;", "bindThirdPart", "signInWithWeChatBody", "Lcom/lumi/module/login/model/entity/body/SignInWithWeChatBody;", "bindWithCodeLogin", "Lcom/lumi/module/login/model/entity/result/SignInResult;", "bindWithCodeBody", "Lcom/lumi/module/login/model/entity/body/BindWithCodeBody;", "changeUsar", "changeUserBody", "Lcom/lumi/module/login/model/entity/body/ChangeUserBody;", "checkCaptcha", "checkCaptchaBody", "Lcom/lumi/module/login/model/entity/body/CheckCaptchaBody;", "isNeedToken", "", "getCaptcha", "getCaptchaBody", "Lcom/lumi/module/login/model/entity/body/GetCaptchaBody;", "getTermsPrivacyStatus", "", "Lcom/lumi/module/login/model/entity/result/TermsPrivacyResult;", "key", "type", "getWeChatAccessToken", "Lcom/lumi/module/login/model/entity/result/WeChatTokenResult;", "url", "map", "", "getWeChatUserInfo", "Lcom/lumi/module/login/model/entity/result/WeChatUserResult;", UMSSOHandler.ACCESSTOKEN, "openId", "isSignUp", "checkUserRegisterBody", "Lcom/lumi/module/login/model/entity/body/CheckUserSignUpBody;", "loginWithCaptcha", "signInWithCodeBody", "Lcom/lumi/module/login/model/entity/body/SignInWithCodeBody;", "loginWithPwd", "signInWithPwdBody", "Lcom/lumi/module/login/model/entity/body/SignInWithPwdBody;", "loginWithWeChat", "logout", "logoutBody", "Lcom/lumi/module/login/model/entity/body/LogoutBody;", "newPassword", "newPwdBody", "Lcom/lumi/module/login/model/entity/body/NewPwdBody;", "offlineOtherDevice", "params", "Lkotlin/jvm/JvmSuppressWildcards;", "queryUserInfo", "Lcom/lumi/module/login/model/entity/result/UserInfo;", "resetPassword", "resetPwdBody", "Lcom/lumi/module/login/model/entity/body/ResetPwdBody;", "setTermsPrivacyStatus", "termsPrivacyBody", "Lcom/lumi/module/login/model/entity/body/TermsPrivacyBody;", "signUp", "unBindThirdPart", "unBindThirdPartBody", "Lcom/lumi/module/login/model/entity/body/UnBindThirdPartBody;", "unbindUser", "unBindUserBody", "Lcom/lumi/module/login/model/entity/body/UnBindUserBody;", "Companion", "module-login_debug"}, k = 1, mv = {1, 1, 15})
public interface b {
    public static final a a = a.f20817f;
    @NotNull
    public static final String b = "/app/v1.0/lumi/";
    public static final int c = 1;
    public static final int d = 2;
    @NotNull
    public static final String f20814e = "https://api.weixin.qq.com/sns/oauth2/access_token";
    @NotNull
    public static final String f20815f = "https://api.weixin.qq.com/sns/userinfo";

    public static final class a {
        @NotNull
        public static final String a = "/app/v1.0/lumi/";
        public static final int b = 1;
        public static final int c = 2;
        @NotNull
        public static final String d = "https://api.weixin.qq.com/sns/oauth2/access_token";
        @NotNull
        public static final String f20816e = "https://api.weixin.qq.com/sns/userinfo";
        public static final a f20817f = new a();
    }

    @GET("/app/v1.0/lumi/user/query/info")
    @NotNull
    k0<ApiResponseWithJava<UserInfo>> a();

    @POST("/app/v1.0/lumi/user/close")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull AccountLogoutBody accountLogoutBody);

    @POST("/app/v1.0/lumi/user/thirdpart/bind/login")
    @NotNull
    k0<ApiResponseWithJava<SignInResult>> a(@Body @NotNull BindWithCodeBody bindWithCodeBody);

    @POST("/app/v1.0/lumi/user/account/replace")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull ChangeUserBody changeUserBody);

    @POST("/app/v1.0/lumi/user/verify/authcode")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull CheckCaptchaBody checkCaptchaBody, @Header("isNeedUserIdAndToken") boolean z2);

    @POST("/app/v1.0/lumi/user/check/isreg")
    @NotNull
    k0<ApiResponseWithJava<SignInResult>> a(@Body @NotNull CheckUserSignUpBody checkUserSignUpBody, @Header("isNeedUserIdAndToken") boolean z2);

    @POST("/app/v1.0/lumi/user/get/authcode")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull GetCaptchaBody getCaptchaBody, @Header("isNeedUserIdAndToken") boolean z2);

    @POST("/app/v1.0/lumi/user/logout")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull LogoutBody logoutBody);

    @POST("/app/v1.0/lumi/user/password/new")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull NewPwdBody newPwdBody);

    @POST("/app/v1.0/lumi/user/password/reset")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull ResetPwdBody resetPwdBody);

    @POST("/app/v1.0/lumi/user/authcode/login")
    @NotNull
    k0<ApiResponseWithJava<SignInResult>> a(@Body @NotNull SignInWithCodeBody signInWithCodeBody);

    @POST("/app/v1.0/lumi/user/login")
    @NotNull
    k0<ApiResponseWithJava<SignInResult>> a(@Body @NotNull SignInWithPwdBody signInWithPwdBody, @Header("isNeedUserIdAndToken") boolean z2);

    @POST("/app/v1.0/lumi/user/thirdpart/bind")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull SignInWithWeChatBody signInWithWeChatBody);

    @POST("/app/v1.0/lumi/app/additional/config/set")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull TermsPrivacyBody termsPrivacyBody);

    @POST("/app/v1.0/lumi/user/thirdpart/unbind")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull UnBindThirdPartBody unBindThirdPartBody);

    @POST("/app/v1.0/lumi/user/unbind")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull UnBindUserBody unBindUserBody);

    @GET("/app/v1.0/lumi/app/additional/config/get")
    @NotNull
    k0<ApiResponseWithJava<List<TermsPrivacyResult>>> a(@NotNull @Query("key") String str, @NotNull @Query("type") String str2);

    @GET
    @NotNull
    k0<ApiResponseWithJava<WeChatUserResult>> a(@Url @NotNull String str, @NotNull @Query("access_token") String str2, @NotNull @Query("openid") String str3);

    @GET
    @NotNull
    k0<ApiResponseWithJava<WeChatTokenResult>> a(@Url @NotNull String str, @QueryMap @NotNull Map<String, String> map);

    @POST("/app/v1.0/lumi//user/mobile/offline")
    @NotNull
    k0<ApiResponseWithJava<String>> a(@Body @NotNull Map<String, Object> map);

    @POST("/app/v1.0/lumi/user/register")
    @NotNull
    k0<ApiResponseWithJava<SignInResult>> a(@Body @NotNull Map<String, Object> map, @Header("isNeedUserIdAndToken") boolean z2);

    @POST("/app/v1.0/lumi/user/thirdpart/login")
    @NotNull
    k0<ApiResponseWithJava<SignInResult>> b(@Body @NotNull SignInWithWeChatBody signInWithWeChatBody);

    public static final class C0455b {
        public static k0 a(b bVar, Map map, boolean z2, int i2, Object obj) {
            if (obj == null) {
                if ((i2 & 2) != 0) {
                    z2 = false;
                }
                return bVar.a(map, z2);
            }
            throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: signUp");
        }

        public static k0 a(b bVar, SignInWithPwdBody signInWithPwdBody, boolean z2, int i2, Object obj) {
            if (obj == null) {
                if ((i2 & 2) != 0) {
                    z2 = false;
                }
                return bVar.a(signInWithPwdBody, z2);
            }
            throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: loginWithPwd");
        }

        public static k0 a(b bVar, CheckCaptchaBody checkCaptchaBody, boolean z2, int i2, Object obj) {
            if (obj == null) {
                if ((i2 & 2) != 0) {
                    z2 = false;
                }
                return bVar.a(checkCaptchaBody, z2);
            }
            throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: checkCaptcha");
        }

        public static k0 a(b bVar, GetCaptchaBody getCaptchaBody, boolean z2, int i2, Object obj) {
            if (obj == null) {
                if ((i2 & 2) != 0) {
                    z2 = false;
                }
                return bVar.a(getCaptchaBody, z2);
            }
            throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getCaptcha");
        }

        public static k0 a(b bVar, CheckUserSignUpBody checkUserSignUpBody, boolean z2, int i2, Object obj) {
            if (obj == null) {
                if ((i2 & 2) != 0) {
                    z2 = false;
                }
                return bVar.a(checkUserSignUpBody, z2);
            }
            throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: isSignUp");
        }
    }
}