package com.strmr.ps.data.remote.api;

import androidx.media3.container.NalUnitUtil;
import androidx.media3.exoplayer.rtsp.RtspHeaders;
import androidx.media3.extractor.text.ttml.TtmlNode;
import com.strmr.ps.data.remote.model.alldebrid.AllDebridAllMagnetsData;
import com.strmr.ps.data.remote.model.alldebrid.AllDebridMagnetFilesData;
import com.strmr.ps.data.remote.model.alldebrid.AllDebridMagnetStatusData;
import com.strmr.ps.data.remote.model.alldebrid.AllDebridMagnetUploadData;
import com.strmr.ps.data.remote.model.alldebrid.AllDebridPinCheckData;
import com.strmr.ps.data.remote.model.alldebrid.AllDebridPinData;
import com.strmr.ps.data.remote.model.alldebrid.AllDebridResponse;
import com.strmr.ps.data.remote.model.alldebrid.AllDebridUnlockData;
import com.strmr.ps.data.remote.model.alldebrid.AllDebridUserData;
import defpackage.kp6;
import defpackage.pq6;
import java.util.List;
import kotlin.Metadata;
import kotlin.coroutines.Continuation;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000^\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\bf\u0018\u0000 &2\u00020\u0001:\u0001&J\u001e\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u00032\b\b\u0003\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u0007J2\u0010\b\u001a\b\u0012\u0004\u0012\u00020\t0\u00032\b\b\u0003\u0010\u0005\u001a\u00020\u00062\b\b\u0001\u0010\n\u001a\u00020\u00062\b\b\u0001\u0010\u000b\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\fJ(\u0010\r\u001a\b\u0012\u0004\u0012\u00020\u000e0\u00032\b\b\u0001\u0010\u000f\u001a\u00020\u00062\b\b\u0003\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u0010J>\u0010\u0011\u001a\b\u0012\u0004\u0012\u00020\u00120\u00032\b\b\u0001\u0010\u000f\u001a\u00020\u00062\b\b\u0001\u0010\u0013\u001a\u00020\u00062\n\b\u0003\u0010\u0014\u001a\u0004\u0018\u00010\u00062\b\b\u0003\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u0015J8\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00170\u00032\b\b\u0001\u0010\u000f\u001a\u00020\u00062\u000e\b\u0001\u0010\u0018\u001a\b\u0012\u0004\u0012\u00020\u00060\u00192\b\b\u0003\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u001aJ2\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u001c0\u00032\b\b\u0001\u0010\u000f\u001a\u00020\u00062\b\b\u0001\u0010\u001d\u001a\u00020\u001e2\b\b\u0003\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u001fJ(\u0010 \u001a\b\u0012\u0004\u0012\u00020!0\u00032\b\b\u0001\u0010\u000f\u001a\u00020\u00062\b\b\u0003\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u0010J8\u0010\"\u001a\b\u0012\u0004\u0012\u00020#0\u00032\b\b\u0001\u0010\u000f\u001a\u00020\u00062\u000e\b\u0001\u0010$\u001a\b\u0012\u0004\u0012\u00020\u001e0\u00192\b\b\u0003\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u001aJ2\u0010%\u001a\b\u0012\u0004\u0012\u00020\u00010\u00032\b\b\u0001\u0010\u000f\u001a\u00020\u00062\b\b\u0001\u0010\u001d\u001a\u00020\u001e2\b\b\u0003\u0010\u0005\u001a\u00020\u0006H§@¢\u0006\u0002\u0010\u001f¨\u0006'"}, d2 = {"Lcom/strmr/ps/data/remote/api/AllDebridApiService;", "", "getPinCode", "Lcom/strmr/ps/data/remote/model/alldebrid/AllDebridResponse;", "Lcom/strmr/ps/data/remote/model/alldebrid/AllDebridPinData;", "agent", "", "(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "checkPinStatus", "Lcom/strmr/ps/data/remote/model/alldebrid/AllDebridPinCheckData;", "check", "pin", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "getUser", "Lcom/strmr/ps/data/remote/model/alldebrid/AllDebridUserData;", "authHeader", "(Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "unlockLink", "Lcom/strmr/ps/data/remote/model/alldebrid/AllDebridUnlockData;", "link", "password", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "uploadMagnet", "Lcom/strmr/ps/data/remote/model/alldebrid/AllDebridMagnetUploadData;", "magnets", "", "(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "getMagnetStatus", "Lcom/strmr/ps/data/remote/model/alldebrid/AllDebridMagnetStatusData;", TtmlNode.ATTR_ID, "", "(Ljava/lang/String;JLjava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "getAllMagnets", "Lcom/strmr/ps/data/remote/model/alldebrid/AllDebridAllMagnetsData;", "getMagnetFiles", "Lcom/strmr/ps/data/remote/model/alldebrid/AllDebridMagnetFilesData;", "ids", "deleteMagnet", "Companion", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
public interface AllDebridApiService {

    @kp6
    public static final String AGENT = "STRMR";

    /* JADX INFO: renamed from: Companion, reason: from kotlin metadata */
    @kp6
    public static final Companion INSTANCE = Companion.$$INSTANCE;

    @Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003R\u000e\u0010\u0004\u001a\u00020\u0005X\u0086T¢\u0006\u0002\n\u0000¨\u0006\u0006"}, d2 = {"Lcom/strmr/ps/data/remote/api/AllDebridApiService$Companion;", "", "<init>", "()V", "AGENT", "", "app_sideloadRelease"}, k = 1, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final class Companion {
        static final /* synthetic */ Companion $$INSTANCE = new Companion();

        @kp6
        public static final String AGENT = "STRMR";

        private Companion() {
        }
    }

    @Metadata(k = 3, mv = {2, 0, 0}, xi = NalUnitUtil.H265_NAL_UNIT_TYPE_UNSPECIFIED)
    public static final class DefaultImpls {
        public static /* synthetic */ Object checkPinStatus$default(AllDebridApiService allDebridApiService, String str, String str2, String str3, Continuation continuation, int i, Object obj) {
            if (obj != null) {
                throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: checkPinStatus");
            }
            if ((i & 1) != 0) {
                str = "STRMR";
            }
            return allDebridApiService.checkPinStatus(str, str2, str3, continuation);
        }

        public static /* synthetic */ Object deleteMagnet$default(AllDebridApiService allDebridApiService, String str, long j, String str2, Continuation continuation, int i, Object obj) {
            if (obj != null) {
                throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: deleteMagnet");
            }
            if ((i & 4) != 0) {
                str2 = "STRMR";
            }
            return allDebridApiService.deleteMagnet(str, j, str2, continuation);
        }

        public static /* synthetic */ Object getAllMagnets$default(AllDebridApiService allDebridApiService, String str, String str2, Continuation continuation, int i, Object obj) {
            if (obj != null) {
                throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getAllMagnets");
            }
            if ((i & 2) != 0) {
                str2 = "STRMR";
            }
            return allDebridApiService.getAllMagnets(str, str2, continuation);
        }

        public static /* synthetic */ Object getMagnetFiles$default(AllDebridApiService allDebridApiService, String str, List list, String str2, Continuation continuation, int i, Object obj) {
            if (obj != null) {
                throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getMagnetFiles");
            }
            if ((i & 4) != 0) {
                str2 = "STRMR";
            }
            return allDebridApiService.getMagnetFiles(str, list, str2, continuation);
        }

        public static /* synthetic */ Object getMagnetStatus$default(AllDebridApiService allDebridApiService, String str, long j, String str2, Continuation continuation, int i, Object obj) {
            if (obj != null) {
                throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getMagnetStatus");
            }
            if ((i & 4) != 0) {
                str2 = "STRMR";
            }
            return allDebridApiService.getMagnetStatus(str, j, str2, continuation);
        }

        public static /* synthetic */ Object getPinCode$default(AllDebridApiService allDebridApiService, String str, Continuation continuation, int i, Object obj) {
            if (obj != null) {
                throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getPinCode");
            }
            if ((i & 1) != 0) {
                str = "STRMR";
            }
            return allDebridApiService.getPinCode(str, continuation);
        }

        public static /* synthetic */ Object getUser$default(AllDebridApiService allDebridApiService, String str, String str2, Continuation continuation, int i, Object obj) {
            if (obj != null) {
                throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getUser");
            }
            if ((i & 2) != 0) {
                str2 = "STRMR";
            }
            return allDebridApiService.getUser(str, str2, continuation);
        }

        public static /* synthetic */ Object unlockLink$default(AllDebridApiService allDebridApiService, String str, String str2, String str3, String str4, Continuation continuation, int i, Object obj) {
            if (obj != null) {
                throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: unlockLink");
            }
            if ((i & 4) != 0) {
                str3 = null;
            }
            String str5 = str3;
            if ((i & 8) != 0) {
                str4 = "STRMR";
            }
            return allDebridApiService.unlockLink(str, str2, str5, str4, continuation);
        }

        public static /* synthetic */ Object uploadMagnet$default(AllDebridApiService allDebridApiService, String str, List list, String str2, Continuation continuation, int i, Object obj) {
            if (obj != null) {
                throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: uploadMagnet");
            }
            if ((i & 4) != 0) {
                str2 = "STRMR";
            }
            return allDebridApiService.uploadMagnet(str, list, str2, continuation);
        }
    }

    @pq6
    @GET("v4/pin/check")
    Object checkPinStatus(@kp6 @Query("agent") String str, @kp6 @Query("check") String str2, @kp6 @Query("pin") String str3, @kp6 Continuation<? super AllDebridResponse<AllDebridPinCheckData>> continuation);

    @pq6
    @FormUrlEncoded
    @POST("v4/magnet/delete")
    Object deleteMagnet(@Header(RtspHeaders.AUTHORIZATION) @kp6 String str, @Field(TtmlNode.ATTR_ID) long j, @kp6 @Query("agent") String str2, @kp6 Continuation<? super AllDebridResponse<Object>> continuation);

    @pq6
    @POST("v4.1/magnet/status")
    Object getAllMagnets(@Header(RtspHeaders.AUTHORIZATION) @kp6 String str, @kp6 @Query("agent") String str2, @kp6 Continuation<? super AllDebridResponse<AllDebridAllMagnetsData>> continuation);

    @pq6
    @FormUrlEncoded
    @POST("v4/magnet/files")
    Object getMagnetFiles(@Header(RtspHeaders.AUTHORIZATION) @kp6 String str, @Field("id[]") @kp6 List<Long> list, @kp6 @Query("agent") String str2, @kp6 Continuation<? super AllDebridResponse<AllDebridMagnetFilesData>> continuation);

    @pq6
    @FormUrlEncoded
    @POST("v4.1/magnet/status")
    Object getMagnetStatus(@Header(RtspHeaders.AUTHORIZATION) @kp6 String str, @Field(TtmlNode.ATTR_ID) long j, @kp6 @Query("agent") String str2, @kp6 Continuation<? super AllDebridResponse<AllDebridMagnetStatusData>> continuation);

    @pq6
    @GET("v4.1/pin/get")
    Object getPinCode(@kp6 @Query("agent") String str, @kp6 Continuation<? super AllDebridResponse<AllDebridPinData>> continuation);

    @pq6
    @GET("v4/user")
    Object getUser(@Header(RtspHeaders.AUTHORIZATION) @kp6 String str, @kp6 @Query("agent") String str2, @kp6 Continuation<? super AllDebridResponse<AllDebridUserData>> continuation);

    @pq6
    @FormUrlEncoded
    @POST("v4/link/unlock")
    Object unlockLink(@Header(RtspHeaders.AUTHORIZATION) @kp6 String str, @Field("link") @kp6 String str2, @pq6 @Field("password") String str3, @kp6 @Query("agent") String str4, @kp6 Continuation<? super AllDebridResponse<AllDebridUnlockData>> continuation);

    @pq6
    @FormUrlEncoded
    @POST("v4/magnet/upload")
    Object uploadMagnet(@Header(RtspHeaders.AUTHORIZATION) @kp6 String str, @Field("magnets[]") @kp6 List<String> list, @kp6 @Query("agent") String str2, @kp6 Continuation<? super AllDebridResponse<AllDebridMagnetUploadData>> continuation);
}
