package com.ss.android.ugc.aweme.account.agegate.api;

import X.0Gp;
import X.9I8;
import X.K1S;
import X.PUw;
import com.bytedance.covode.number.Covode;
import com.google.gson.Gson;
import com.ss.android.ugc.aweme.account.agegate.model.SetEmailResponse;
import com.ss.android.ugc.aweme.account.network.NetworkProxyAccount;
import java.util.HashMap;

public class Api {
    static {
        Covode.recordClassIndex(50555);
    }

    public static 0Gp<SetEmailResponse> emailForExportVideo(@PUw(LIZ = "email") String str) {
        return 0Gp.LIZ(new K1S(str));
    }

    public static final /* synthetic */ SetEmailResponse lambda$emailForExportVideo$0$Api(@PUw(LIZ = "email") String str) {
        String str2 = 9I8.LIZ + "api-va.tiktokv.com/tiktok/v1/kids/user/email/";
        HashMap hashMap = new HashMap();
        hashMap.put("email", str);
        return (SetEmailResponse) new Gson().LIZ(NetworkProxyAccount.LIZIZ.LIZ(str2, hashMap), SetEmailResponse.class);
    }
}
