Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.formacar.android.data.network;
- import com.formacar.android.data.network.resp.BaseItemWithErrorResp;
- import com.formacar.android.data.network.resp.BaseItemsWithErrorResp;
- import com.formacar.android.data.network.resp.BrandDealersResp;
- import com.formacar.android.data.network.resp.CarDetailsResp;
- import com.formacar.android.data.network.resp.CommentResp;
- import com.formacar.android.data.network.resp.FilterBrandResp;
- import com.formacar.android.data.network.resp.FilterCarMakerResp;
- import com.formacar.android.data.network.resp.FilterCarModelResp;
- import com.formacar.android.data.network.resp.FilterDiametersResp;
- import com.formacar.android.data.network.resp.FilterTechnologyResp;
- import com.formacar.android.data.network.resp.MenuResp;
- import com.formacar.android.data.network.resp.NewsDetailsResp;
- import com.formacar.android.data.network.resp.OrderResp;
- import com.formacar.android.data.network.resp.PurchaseResp;
- import com.formacar.android.data.network.resp.ShortCarResp;
- import com.formacar.android.data.network.resp.ShortNewsResp;
- import com.formacar.android.data.network.resp.ShortTuningResp;
- import com.formacar.android.data.network.resp.TopicResp;
- import com.formacar.android.data.network.resp.TuningDetailsResp;
- import com.formacar.android.data.network.resp.VersionsResp;
- import com.formacar.android.data.network.resp.WheelsDetailsResp;
- import io.reactivex.Completable;
- import io.reactivex.Single;
- import kotlin.Metadata;
- import org.jetbrains.annotations.NotNull;
- import org.jetbrains.annotations.Nullable;
- import retrofit2.http.Field;
- import retrofit2.http.FormUrlEncoded;
- import retrofit2.http.GET;
- import retrofit2.http.Header;
- import retrofit2.http.POST;
- import retrofit2.http.Path;
- import retrofit2.http.Query;
- @Metadata(bv = {1, 0, 2}, d1 = {"\u0000Ä\u0001\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0006\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\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\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\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\b\bf\u0018\u0000 \\2\u00020\u0001:\u0001\\J2\u0010\u0002\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010\u0006\u001a\u00020\u00072\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010\n\u001a\u00020\tH'J:\u0010\u000b\u001a\u00020\f2\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010\r\u001a\u00020\t2\b\b\u0001\u0010\u000e\u001a\u00020\t2\b\b\u0003\u0010\u000f\u001a\u00020\u00102\b\b\u0001\u0010\u0011\u001a\u00020\tH'J2\u0010\u0012\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010\u0006\u001a\u00020\u00072\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010\n\u001a\u00020\tH'J2\u0010\u0013\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010\u0006\u001a\u00020\u00072\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010\n\u001a\u00020\tH'J\u001c\u0010\u0014\u001a\u00020\f2\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010\u0015\u001a\u00020\u0007H'J;\u0010\u0016\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00180\u00170\u00032\b\b\u0001\u0010\u0006\u001a\u00020\u00072\n\b\u0001\u0010\u0019\u001a\u0004\u0018\u00010\u001a2\n\b\u0001\u0010\u001b\u001a\u0004\u0018\u00010\u001aH'¢\u0006\u0002\u0010\u001cJ2\u0010\u001d\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u001e0\u00170\u00032\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010\u001f\u001a\u00020\u00072\b\b\u0001\u0010 \u001a\u00020\u0007H'J\u001e\u0010!\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\"0\u00040\u00032\b\b\u0001\u0010#\u001a\u00020\u0007H'J\u001e\u0010$\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\"0\u00040\u00032\b\b\u0001\u0010#\u001a\u00020\u0007H'J\u001e\u0010%\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020&0\u00040\u00032\b\b\u0001\u0010\r\u001a\u00020\u0007H'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*0\u00040\u00032\b\b\u0001\u0010+\u001a\u00020\u0007H'J\u0014\u0010,\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020-0\u00170\u0003H'J\u0014\u0010.\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020/0\u00040\u0003H'J\u001e\u00100\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u0002010\u00170\u00032\b\b\u0001\u0010#\u001a\u00020\u0007H'J\u001e\u00102\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u0002010\u00170\u00032\b\b\u0001\u0010#\u001a\u00020\u0007H'J(\u00103\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u0002040\u00040\u00032\b\b\u0003\u00105\u001a\u00020\t2\b\b\u0001\u0010\b\u001a\u00020\tH'J>\u00106\u001a\u0010\u0012\f\u0012\n\u0012\u0006\u0012\u0004\u0018\u0001070\u00040\u00032\b\b\u0001\u0010\r\u001a\u00020\u00072\b\b\u0001\u00108\u001a\u00020\u00102\b\b\u0001\u00109\u001a\u00020\u00102\b\b\u0001\u0010#\u001a\u00020\u0007H'J(\u0010:\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020;0\u00170\u00032\b\b\u0001\u0010\u0006\u001a\u00020\u00072\b\b\u0001\u0010#\u001a\u00020\u0007H'J2\u0010<\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010\u0006\u001a\u00020\u00072\b\b\u0001\u00109\u001a\u00020\u00102\b\b\u0001\u00108\u001a\u00020\u0010H'J\u001e\u0010=\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\"0\u00040\u00032\b\b\u0001\u0010#\u001a\u00020\u0007H'J2\u0010>\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\"0\u00040\u00032\b\b\u0003\u00105\u001a\u00020\t2\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010#\u001a\u00020\u0007H'JF\u0010?\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020@0\u00040\u00032\b\b\u0003\u00105\u001a\u00020\t2\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010\r\u001a\u00020\u00072\b\b\u0001\u00108\u001a\u00020\u00102\b\b\u0001\u00109\u001a\u00020\u0010H'Jd\u0010A\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020B0\u00040\u00032\b\b\u0001\u00109\u001a\u00020\u00102\b\b\u0001\u00108\u001a\u00020\u00102\b\b\u0001\u0010\r\u001a\u00020\u00072\b\b\u0001\u0010#\u001a\u00020\u00072\b\b\u0001\u0010C\u001a\u00020\t2\b\b\u0001\u0010D\u001a\u00020\t2\b\b\u0001\u0010E\u001a\u00020\u00072\b\b\u0001\u0010F\u001a\u00020\u0007H'J2\u0010G\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010\u0006\u001a\u00020\u00072\b\b\u0001\u00109\u001a\u00020\u00102\b\b\u0001\u00108\u001a\u00020\u0010H'J(\u0010H\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020I0\u00170\u00032\b\b\u0001\u0010J\u001a\u00020\u00072\b\b\u0001\u0010#\u001a\u00020\u0007H'J(\u0010K\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020L0\u00040\u00032\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010\u001f\u001a\u00020\u0007H'J\u0014\u0010M\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020N0\u00040\u0003H'JZ\u0010O\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020B0\u00040\u00032\b\b\u0001\u00109\u001a\u00020\u00102\b\b\u0001\u00108\u001a\u00020\u00102\b\b\u0001\u0010#\u001a\u00020\u00072\b\b\u0001\u0010C\u001a\u00020\t2\b\b\u0001\u0010P\u001a\u00020\t2\b\b\u0001\u0010Q\u001a\u00020\t2\b\b\u0001\u0010R\u001a\u00020\u0007H'J2\u0010S\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u00040\u00032\b\b\u0001\u0010\u0006\u001a\u00020\u00072\b\b\u0001\u00109\u001a\u00020\u00102\b\b\u0001\u00108\u001a\u00020\u0010H'J(\u0010T\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020U0\u00170\u00032\b\b\u0001\u0010V\u001a\u00020\u00072\b\b\u0001\u0010#\u001a\u00020\u0007H'J&\u0010W\u001a\u00020\f2\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010X\u001a\u00020\u00072\b\b\u0001\u0010Y\u001a\u00020\u0010H'J&\u0010Z\u001a\u00020\f2\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010X\u001a\u00020\u00072\b\b\u0001\u0010Y\u001a\u00020\u0010H'J&\u0010[\u001a\u00020\f2\b\b\u0001\u0010\b\u001a\u00020\t2\b\b\u0001\u0010\u0015\u001a\u00020\u00072\b\b\u0001\u0010\n\u001a\u00020\tH'¨\u0006]"}, d2 = {"Lcom/formacar/android/data/network/FormacarDefaultApi;", "", "addNewsComment", "Lio/reactivex/Single;", "Lcom/formacar/android/data/network/resp/BaseItemsWithErrorResp;", "Lcom/formacar/android/data/network/resp/CommentResp;", "id", "", "token", "", "text", "addOrderItem", "Lio/reactivex/Completable;", "topicId", "itemId", "osId", "", "osKey", "addTuningComment", "addWheelsComment", "deleteComment", "commentId", "getBrandDealers", "Lcom/formacar/android/data/network/resp/BaseItemWithErrorResp;", "Lcom/formacar/android/data/network/resp/BrandDealersResp;", "lat", "", "lng", "(JLjava/lang/Double;Ljava/lang/Double;)Lio/reactivex/Single;", "getCarDetails", "Lcom/formacar/android/data/network/resp/CarDetailsResp;", "userId", "carId", "getCatalogTopics", "Lcom/formacar/android/data/network/resp/TopicResp;", "langId", "getConfiguratorNewsTopics", "getFilterBrands", "Lcom/formacar/android/data/network/resp/FilterBrandResp;", "getFilterCarMakers", "Lcom/formacar/android/data/network/resp/FilterCarMakerResp;", "getFilterCarModels", "Lcom/formacar/android/data/network/resp/FilterCarModelResp;", "carMakerId", "getFilterDiameters", "Lcom/formacar/android/data/network/resp/FilterDiametersResp;", "getFilterTechnologies", "Lcom/formacar/android/data/network/resp/FilterTechnologyResp;", "getLotteryMenu", "Lcom/formacar/android/data/network/resp/MenuResp;", "getMenu", "getMyOrders", "Lcom/formacar/android/data/network/resp/OrderResp;", "apptoken", "getNews", "Lcom/formacar/android/data/network/resp/ShortNewsResp;", "offset", "limit", "getNewsById", "Lcom/formacar/android/data/network/resp/NewsDetailsResp;", "getNewsComments", "getNewsTopics", "getPurchaseTopics", "getPurchasedItems", "Lcom/formacar/android/data/network/resp/PurchaseResp;", "getTuning", "Lcom/formacar/android/data/network/resp/ShortTuningResp;", "search", "brands", "makerId", "modelId", "getTuningComments", "getTuningDetails", "Lcom/formacar/android/data/network/resp/TuningDetailsResp;", "tuningId", "getUserCars", "Lcom/formacar/android/data/network/resp/ShortCarResp;", "getVersion", "Lcom/formacar/android/data/network/resp/VersionsResp;", "getWheels", "maders", "diameters", "technology", "getWheelsComments", "getWheelsDetails", "Lcom/formacar/android/data/network/resp/WheelsDetailsResp;", "wheelsId", "incrementTuningShareCount", "wheelId", "shareType", "incrementWheelsShareCount", "updateComment", "Companion", "appRedesign_arm64Release"}, k = 1, mv = {1, 1, 11})
- /* compiled from: FormacarDefaultApi.kt */
- public interface FormacarDefaultApi {
- @NotNull
- public static final String APP_TOKEN = "eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiemlwIjoiREVGIn0.Na6p1Ar1ybAJtEq6TArNwEezwTBYL08_qRwy6MDkFVOuK7qADJ4jD_6v1WW1poGoqsGyChip4xr4YVEsgOAKbENi-6yxOHN8VZ0BBtyZGej0L8xdr_o5mWiwDIIox9c7PDsxBOHRNXuBDJVMJ46heV_Ms9ewbCoovnMsf8u9ubbqTJ8J5V25WKBU48tOLVnhOoxNtX1yQvGZ4A17M3FN1immh9sEEFUHDWgHw0PTSNe_6m1hXx8A_TJ9uayYo9_hRA25p0qRqz0TIIE0GEMX15DGsGnsbFIrHQWpwi3U28QJJ0fH1QRIDde6XVAz5jTLMgYJ-MIZh2dKb58qFU115Q.Mw5zNr-pXSFhCnDzN2p9ZQ.3auvfckhwo0HSoWabXMjsxTFA_G_QGV58rWGXv-5sdXILxgt7rGwBgNAboZvQrXh-KmmtgIDmHU6lWN61-E-0bxPytwDiA98lDrWpYhS5Sa0v7gRRt1FpVbG1Ud8anh7.7wkuoYclxaFP-8cdJBSGyB4mtZ9QxduixdfKgbaPJVQ";
- public static final Companion Companion = Companion.$$INSTANCE;
- @Metadata(bv = {1, 0, 2}, d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0006\b\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\u00020\u0004XD¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\u0004XD¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0006R\u000e\u0010\t\u001a\u00020\u0004XT¢\u0006\u0002\n\u0000¨\u0006\n"}, d2 = {"Lcom/formacar/android/data/network/FormacarDefaultApi$Companion;", "", "()V", "API_DEBUG_URL", "", "getAPI_DEBUG_URL", "()Ljava/lang/String;", "API_RELEASE_URL", "getAPI_RELEASE_URL", "APP_TOKEN", "appRedesign_arm64Release"}, k = 1, mv = {1, 1, 11})
- /* compiled from: FormacarDefaultApi.kt */
- public static final class Companion {
- static final /* synthetic */ Companion $$INSTANCE = new Companion();
- @NotNull
- private static final String API_DEBUG_URL = "https://api1.formacar.ru/";
- @NotNull
- private static final String API_RELEASE_URL = "https://api1.formacar.ru/";
- @NotNull
- public static final String APP_TOKEN = "eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiemlwIjoiREVGIn0.Na6p1Ar1ybAJtEq6TArNwEezwTBYL08_qRwy6MDkFVOuK7qADJ4jD_6v1WW1poGoqsGyChip4xr4YVEsgOAKbENi-6yxOHN8VZ0BBtyZGej0L8xdr_o5mWiwDIIox9c7PDsxBOHRNXuBDJVMJ46heV_Ms9ewbCoovnMsf8u9ubbqTJ8J5V25WKBU48tOLVnhOoxNtX1yQvGZ4A17M3FN1immh9sEEFUHDWgHw0PTSNe_6m1hXx8A_TJ9uayYo9_hRA25p0qRqz0TIIE0GEMX15DGsGnsbFIrHQWpwi3U28QJJ0fH1QRIDde6XVAz5jTLMgYJ-MIZh2dKb58qFU115Q.Mw5zNr-pXSFhCnDzN2p9ZQ.3auvfckhwo0HSoWabXMjsxTFA_G_QGV58rWGXv-5sdXILxgt7rGwBgNAboZvQrXh-KmmtgIDmHU6lWN61-E-0bxPytwDiA98lDrWpYhS5Sa0v7gRRt1FpVbG1Ud8anh7.7wkuoYclxaFP-8cdJBSGyB4mtZ9QxduixdfKgbaPJVQ";
- private Companion() {
- }
- @NotNull
- public final String getAPI_RELEASE_URL() {
- return API_RELEASE_URL;
- }
- @NotNull
- public final String getAPI_DEBUG_URL() {
- return API_DEBUG_URL;
- }
- }
- @Metadata(bv = {1, 0, 2}, k = 3, mv = {1, 1, 11})
- /* compiled from: FormacarDefaultApi.kt */
- public static final class DefaultImpls {
- @NotNull
- @FormUrlEncoded
- @POST("/apiUser/GetOrdersTopics/")
- public static /* bridge */ /* synthetic */ Single getPurchaseTopics$default(FormacarDefaultApi formacarDefaultApi, String str, String str2, long j, int i, Object obj) {
- if (obj == null) {
- if ((i & 1) != 0) {
- str = "eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiemlwIjoiREVGIn0.Na6p1Ar1ybAJtEq6TArNwEezwTBYL08_qRwy6MDkFVOuK7qADJ4jD_6v1WW1poGoqsGyChip4xr4YVEsgOAKbENi-6yxOHN8VZ0BBtyZGej0L8xdr_o5mWiwDIIox9c7PDsxBOHRNXuBDJVMJ46heV_Ms9ewbCoovnMsf8u9ubbqTJ8J5V25WKBU48tOLVnhOoxNtX1yQvGZ4A17M3FN1immh9sEEFUHDWgHw0PTSNe_6m1hXx8A_TJ9uayYo9_hRA25p0qRqz0TIIE0GEMX15DGsGnsbFIrHQWpwi3U28QJJ0fH1QRIDde6XVAz5jTLMgYJ-MIZh2dKb58qFU115Q.Mw5zNr-pXSFhCnDzN2p9ZQ.3auvfckhwo0HSoWabXMjsxTFA_G_QGV58rWGXv-5sdXILxgt7rGwBgNAboZvQrXh-KmmtgIDmHU6lWN61-E-0bxPytwDiA98lDrWpYhS5Sa0v7gRRt1FpVbG1Ud8anh7.7wkuoYclxaFP-8cdJBSGyB4mtZ9QxduixdfKgbaPJVQ";
- }
- return formacarDefaultApi.getPurchaseTopics(str, str2, j);
- }
- throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getPurchaseTopics");
- }
- @NotNull
- @FormUrlEncoded
- @POST("/apiUser/AddOrderItem")
- public static /* bridge */ /* synthetic */ Completable addOrderItem$default(FormacarDefaultApi formacarDefaultApi, String str, String str2, String str3, int i, String str4, int i2, Object obj) {
- if (obj == null) {
- return formacarDefaultApi.addOrderItem(str, str2, str3, (i2 & 8) != 0 ? 2 : i, str4);
- }
- throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: addOrderItem");
- }
- @NotNull
- @FormUrlEncoded
- @POST("/apiUser/GetOrders/")
- public static /* bridge */ /* synthetic */ Single getMyOrders$default(FormacarDefaultApi formacarDefaultApi, String str, String str2, int i, Object obj) {
- if (obj == null) {
- if ((i & 1) != 0) {
- str = "eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiemlwIjoiREVGIn0.Na6p1Ar1ybAJtEq6TArNwEezwTBYL08_qRwy6MDkFVOuK7qADJ4jD_6v1WW1poGoqsGyChip4xr4YVEsgOAKbENi-6yxOHN8VZ0BBtyZGej0L8xdr_o5mWiwDIIox9c7PDsxBOHRNXuBDJVMJ46heV_Ms9ewbCoovnMsf8u9ubbqTJ8J5V25WKBU48tOLVnhOoxNtX1yQvGZ4A17M3FN1immh9sEEFUHDWgHw0PTSNe_6m1hXx8A_TJ9uayYo9_hRA25p0qRqz0TIIE0GEMX15DGsGnsbFIrHQWpwi3U28QJJ0fH1QRIDde6XVAz5jTLMgYJ-MIZh2dKb58qFU115Q.Mw5zNr-pXSFhCnDzN2p9ZQ.3auvfckhwo0HSoWabXMjsxTFA_G_QGV58rWGXv-5sdXILxgt7rGwBgNAboZvQrXh-KmmtgIDmHU6lWN61-E-0bxPytwDiA98lDrWpYhS5Sa0v7gRRt1FpVbG1Ud8anh7.7wkuoYclxaFP-8cdJBSGyB4mtZ9QxduixdfKgbaPJVQ";
- }
- return formacarDefaultApi.getMyOrders(str, str2);
- }
- throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getMyOrders");
- }
- @NotNull
- @FormUrlEncoded
- @POST("/apiUser/GetOrdersAll/")
- public static /* bridge */ /* synthetic */ Single getPurchasedItems$default(FormacarDefaultApi formacarDefaultApi, String str, String str2, long j, int i, int i2, int i3, Object obj) {
- if (obj == null) {
- if ((i3 & 1) != 0) {
- str = "eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiemlwIjoiREVGIn0.Na6p1Ar1ybAJtEq6TArNwEezwTBYL08_qRwy6MDkFVOuK7qADJ4jD_6v1WW1poGoqsGyChip4xr4YVEsgOAKbENi-6yxOHN8VZ0BBtyZGej0L8xdr_o5mWiwDIIox9c7PDsxBOHRNXuBDJVMJ46heV_Ms9ewbCoovnMsf8u9ubbqTJ8J5V25WKBU48tOLVnhOoxNtX1yQvGZ4A17M3FN1immh9sEEFUHDWgHw0PTSNe_6m1hXx8A_TJ9uayYo9_hRA25p0qRqz0TIIE0GEMX15DGsGnsbFIrHQWpwi3U28QJJ0fH1QRIDde6XVAz5jTLMgYJ-MIZh2dKb58qFU115Q.Mw5zNr-pXSFhCnDzN2p9ZQ.3auvfckhwo0HSoWabXMjsxTFA_G_QGV58rWGXv-5sdXILxgt7rGwBgNAboZvQrXh-KmmtgIDmHU6lWN61-E-0bxPytwDiA98lDrWpYhS5Sa0v7gRRt1FpVbG1Ud8anh7.7wkuoYclxaFP-8cdJBSGyB4mtZ9QxduixdfKgbaPJVQ";
- }
- return formacarDefaultApi.getPurchasedItems(str, str2, j, i, i2);
- }
- throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getPurchasedItems");
- }
- }
- @FormUrlEncoded
- @NotNull
- @POST("/apiUser/AddNewsComment")
- Single<BaseItemsWithErrorResp<CommentResp>> addNewsComment(@Field("news_id") long j, @NotNull @Field("token") String str, @NotNull @Field("text") String str2);
- @NotNull
- @FormUrlEncoded
- @POST("/apiUser/AddOrderItem")
- Completable addOrderItem(@NotNull @Field("token") String str, @NotNull @Field("topicId") String str2, @NotNull @Field("itemId") String str3, @Field("os_id") int i, @NotNull @Field("os_key") String str4);
- @FormUrlEncoded
- @NotNull
- @POST("apiUser/AddTuningComment")
- Single<BaseItemsWithErrorResp<CommentResp>> addTuningComment(@Field("tuning_id") long j, @NotNull @Field("token") String str, @NotNull @Field("text") String str2);
- @FormUrlEncoded
- @NotNull
- @POST("apiUser/AddWheelComment")
- Single<BaseItemsWithErrorResp<CommentResp>> addWheelsComment(@Field("wheel_id") long j, @NotNull @Field("token") String str, @NotNull @Field("text") String str2);
- @NotNull
- @FormUrlEncoded
- @POST("/apiUser/DeleteComment")
- Completable deleteComment(@NotNull @Field("token") String str, @Field("comment_id") long j);
- @NotNull
- @GET("api/GetBrand")
- Single<BaseItemWithErrorResp<BrandDealersResp>> getBrandDealers(@Query("id") long j, @Nullable @Query("lat") Double d, @Nullable @Query("lng") Double d2);
- @FormUrlEncoded
- @NotNull
- @POST("apiUser/GetUCarOne")
- Single<BaseItemWithErrorResp<CarDetailsResp>> getCarDetails(@NotNull @Field("token") String str, @Field("user_id") long j, @Field("id") long j2);
- @NotNull
- @GET("/json/langs/{lang_id}/TuningTopicsList.json")
- Single<BaseItemsWithErrorResp<TopicResp>> getCatalogTopics(@Path("lang_id") long j);
- @NotNull
- @GET("/json/langs/{lang_id}/ActionTopicsList.json")
- Single<BaseItemsWithErrorResp<TopicResp>> getConfiguratorNewsTopics(@Path("lang_id") long j);
- @NotNull
- @GET("api/getBrandsList")
- Single<BaseItemsWithErrorResp<FilterBrandResp>> getFilterBrands(@Query("topic_id") long j);
- @NotNull
- @GET("json/data/MarksList.json")
- Single<BaseItemsWithErrorResp<FilterCarMakerResp>> getFilterCarMakers();
- @NotNull
- @GET("json/data/ModelsList_{car_maker_id}.json")
- Single<BaseItemsWithErrorResp<FilterCarModelResp>> getFilterCarModels(@Path("car_maker_id") long j);
- @NotNull
- @GET("json/data/WheelFilters.json")
- Single<BaseItemWithErrorResp<FilterDiametersResp>> getFilterDiameters();
- @NotNull
- @GET("json/data/ForgedList.json")
- Single<BaseItemsWithErrorResp<FilterTechnologyResp>> getFilterTechnologies();
- @NotNull
- @GET("json/langs/{lang_id}/Actions.json")
- Single<BaseItemWithErrorResp<MenuResp>> getLotteryMenu(@Path("lang_id") long j);
- @NotNull
- @GET("json/langs/{lang_id}/Menu2.json")
- Single<BaseItemWithErrorResp<MenuResp>> getMenu(@Path("lang_id") long j);
- @FormUrlEncoded
- @NotNull
- @POST("/apiUser/GetOrders/")
- Single<BaseItemsWithErrorResp<OrderResp>> getMyOrders(@NotNull @Header("apptoken") String str, @NotNull @Field("token") String str2);
- @NotNull
- @GET("/json/langs/{lang_id}/newslist/NewsList_{topic_id}_{offset}_{limit}.json")
- Single<BaseItemsWithErrorResp<ShortNewsResp>> getNews(@Path("topic_id") long j, @Path("offset") int i, @Path("limit") int i2, @Path("lang_id") long j2);
- @NotNull
- @GET("/json/langs/{lang_id}/news/News_{news_id}.json")
- Single<BaseItemWithErrorResp<NewsDetailsResp>> getNewsById(@Path("news_id") long j, @Path("lang_id") long j2);
- @NotNull
- @GET("/api/getNewsComments")
- Single<BaseItemsWithErrorResp<CommentResp>> getNewsComments(@Query("news_id") long j, @Query("limit") int i, @Query("offset") int i2);
- @NotNull
- @GET("/json/langs/{lang_id}/NewsTopicsList.json")
- Single<BaseItemsWithErrorResp<TopicResp>> getNewsTopics(@Path("lang_id") long j);
- @FormUrlEncoded
- @NotNull
- @POST("/apiUser/GetOrdersTopics/")
- Single<BaseItemsWithErrorResp<TopicResp>> getPurchaseTopics(@NotNull @Header("apptoken") String str, @NotNull @Field("token") String str2, @Field("lang_id") long j);
- @FormUrlEncoded
- @NotNull
- @POST("/apiUser/GetOrdersAll/")
- Single<BaseItemsWithErrorResp<PurchaseResp>> getPurchasedItems(@NotNull @Header("apptoken") String str, @NotNull @Field("token") String str2, @Field("topic_id") long j, @Field("offset") int i, @Field("limit") int i2);
- @NotNull
- @GET("api/getTuningsList")
- Single<BaseItemsWithErrorResp<ShortTuningResp>> getTuning(@Query("limit") int i, @Query("offset") int i2, @Query("topic_id") long j, @Header("lang_id") long j2, @NotNull @Query("sh") String str, @NotNull @Query("brands") String str2, @Query("marka_id") long j3, @Query("model_id") long j4);
- @NotNull
- @GET("api/getTuningComments/")
- Single<BaseItemsWithErrorResp<CommentResp>> getTuningComments(@Query("tuning_id") long j, @Query("limit") int i, @Query("offset") int i2);
- @NotNull
- @GET("json/langs/{lang_id}/tuning/items/{tuning_id}.json")
- Single<BaseItemWithErrorResp<TuningDetailsResp>> getTuningDetails(@Path("tuning_id") long j, @Path("lang_id") long j2);
- @FormUrlEncoded
- @NotNull
- @POST("apiUser/GetUCarsList")
- Single<BaseItemsWithErrorResp<ShortCarResp>> getUserCars(@NotNull @Field("token") String str, @Field("user_id") long j);
- @NotNull
- @GET("/json/data/Versions.json")
- Single<BaseItemsWithErrorResp<VersionsResp>> getVersion();
- @NotNull
- @GET("api/getWheelsList")
- Single<BaseItemsWithErrorResp<ShortTuningResp>> getWheels(@Query("limit") int i, @Query("offset") int i2, @Header("lang_id") long j, @NotNull @Query("sh") String str, @NotNull @Query("maders") String str2, @NotNull @Query("diameter_wheels") String str3, @Query("forged_id") long j2);
- @NotNull
- @GET("api/getWheelsComments")
- Single<BaseItemsWithErrorResp<CommentResp>> getWheelsComments(@Query("wheel_id") long j, @Query("limit") int i, @Query("offset") int i2);
- @NotNull
- @GET("json/langs/{lang_id}/wheels/items/{wheels_id}.json")
- Single<BaseItemWithErrorResp<WheelsDetailsResp>> getWheelsDetails(@Path("wheels_id") long j, @Path("lang_id") long j2);
- @NotNull
- @FormUrlEncoded
- @POST("apiUser/AddTuningsShare/")
- Completable incrementTuningShareCount(@NotNull @Field("token") String str, @Field("wheel_id") long j, @Field("share_id") int i);
- @NotNull
- @FormUrlEncoded
- @POST("apiUser/AddWheelsShare/")
- Completable incrementWheelsShareCount(@NotNull @Field("token") String str, @Field("wheel_id") long j, @Field("share_id") int i);
- @NotNull
- @FormUrlEncoded
- @POST("/apiUser/UfpdateComment")
- Completable updateComment(@NotNull @Field("token") String str, @Field("comment_id") long j, @NotNull @Field("text") String str2);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement