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

import X.0Gp;
import X.2LV;
import X.2XC;
import X.6tJ;
import X.7aV;
import X.8qo;
import X.9tC;
import X.Fl9;
import X.IUu;
import X.JLr;
import X.JMA;
import X.M12;
import X.PUu;
import X.PUw;
import com.bytedance.covode.number.Covode;
import com.bytedance.ies.ugc.aweme.network.RetrofitFactory;
import com.ss.android.ugc.aweme.api.request.GetItemProductInfoRequest;
import com.ss.android.ugc.aweme.app.api.Api;

public final class AnchorApi {
    public static final 2XC LIZ = RetrofitFactory.LIZ().LIZIZ(Api.LIZLLL).LIZJ();
    public static final AnchorApi LIZIZ = new AnchorApi();
    public static final 2XC LIZJ = RetrofitFactory.LIZ().LIZ("https://oec-api.tiktokv.com/");

    public interface RealApi {
        static {
            Covode.recordClassIndex(53029);
        }

        @IUu(LIZ = "/aweme/v1/anchor/history/delete/")
        @6tJ
        0Gp<2LV> getAnchorDeleteHistoryResponse(@PUu(LIZ = "type") int i, @PUu(LIZ = "ids") String str, @PUu(LIZ = "clear_all") boolean z);

        @IUu(LIZ = "/api/v1/shop/item/product_info/get")
        0Gp<7aV> getAnchorProductInfoResponse(@8qo GetItemProductInfoRequest getItemProductInfoRequest);

        @JMA(LIZ = "/aweme/v1/anchor/search/")
        JLr<9tC> getAnchorSearchResponse(@PUw(LIZ = "type") int i, @PUw(LIZ = "keyword") String str, @PUw(LIZ = "page") int i2, @PUw(LIZ = "page_size") int i3);

        @JMA(LIZ = "/aweme/v1/anchor/selection/")
        JLr<Fl9> getAnchorSelectionResponse(@PUw(LIZ = "type") int i, @PUw(LIZ = "tab_id") int i2, @PUw(LIZ = "page") int i3, @PUw(LIZ = "page_size") int i4);
    }

    static {
        Covode.recordClassIndex(53028);
    }

    public final 0Gp<7aV> LIZ(GetItemProductInfoRequest getItemProductInfoRequest) {
        M12.LIZ(getItemProductInfoRequest);
        return ((RealApi) LIZJ.LIZ(RealApi.class)).getAnchorProductInfoResponse(getItemProductInfoRequest);
    }
}
