XaskeL

Untitled

Oct 17th, 2019
137
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.formacar.android.data.network;
  2.  
  3. import com.formacar.android.data.network.resp.BaseItemWithErrorResp;
  4. import com.formacar.android.data.network.resp.BaseItemsWithErrorResp;
  5. import com.formacar.android.data.network.resp.BrandDealersResp;
  6. import com.formacar.android.data.network.resp.CarDetailsResp;
  7. import com.formacar.android.data.network.resp.CommentResp;
  8. import com.formacar.android.data.network.resp.FilterBrandResp;
  9. import com.formacar.android.data.network.resp.FilterCarMakerResp;
  10. import com.formacar.android.data.network.resp.FilterCarModelResp;
  11. import com.formacar.android.data.network.resp.FilterDiametersResp;
  12. import com.formacar.android.data.network.resp.FilterTechnologyResp;
  13. import com.formacar.android.data.network.resp.MenuResp;
  14. import com.formacar.android.data.network.resp.NewsDetailsResp;
  15. import com.formacar.android.data.network.resp.OrderResp;
  16. import com.formacar.android.data.network.resp.PurchaseResp;
  17. import com.formacar.android.data.network.resp.ShortCarResp;
  18. import com.formacar.android.data.network.resp.ShortNewsResp;
  19. import com.formacar.android.data.network.resp.ShortTuningResp;
  20. import com.formacar.android.data.network.resp.TopicResp;
  21. import com.formacar.android.data.network.resp.TuningDetailsResp;
  22. import com.formacar.android.data.network.resp.VersionsResp;
  23. import com.formacar.android.data.network.resp.WheelsDetailsResp;
  24. import io.reactivex.Completable;
  25. import io.reactivex.Single;
  26. import kotlin.Metadata;
  27. import org.jetbrains.annotations.NotNull;
  28. import org.jetbrains.annotations.Nullable;
  29. import retrofit2.http.Field;
  30. import retrofit2.http.FormUrlEncoded;
  31. import retrofit2.http.GET;
  32. import retrofit2.http.Header;
  33. import retrofit2.http.POST;
  34. import retrofit2.http.Path;
  35. import retrofit2.http.Query;
  36.  
  37. @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})
  38. /* compiled from: FormacarDefaultApi.kt */
  39. public interface FormacarDefaultApi {
  40. @NotNull
  41. 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";
  42. public static final Companion Companion = Companion.$$INSTANCE;
  43.  
  44. @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\u0004X†D¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0007\u001a\u00020\u0004X†D¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0006R\u000e\u0010\t\u001a\u00020\u0004X†T¢\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})
  45. /* compiled from: FormacarDefaultApi.kt */
  46. public static final class Companion {
  47. static final /* synthetic */ Companion $$INSTANCE = new Companion();
  48. @NotNull
  49. private static final String API_DEBUG_URL = "https://api1.formacar.ru/";
  50. @NotNull
  51. private static final String API_RELEASE_URL = "https://api1.formacar.ru/";
  52. @NotNull
  53. 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";
  54.  
  55. private Companion() {
  56. }
  57.  
  58. @NotNull
  59. public final String getAPI_RELEASE_URL() {
  60. return API_RELEASE_URL;
  61. }
  62.  
  63. @NotNull
  64. public final String getAPI_DEBUG_URL() {
  65. return API_DEBUG_URL;
  66. }
  67. }
  68.  
  69. @Metadata(bv = {1, 0, 2}, k = 3, mv = {1, 1, 11})
  70. /* compiled from: FormacarDefaultApi.kt */
  71. public static final class DefaultImpls {
  72. @NotNull
  73. @FormUrlEncoded
  74. @POST("/apiUser/GetOrdersTopics/")
  75. public static /* bridge */ /* synthetic */ Single getPurchaseTopics$default(FormacarDefaultApi formacarDefaultApi, String str, String str2, long j, int i, Object obj) {
  76. if (obj == null) {
  77. if ((i & 1) != 0) {
  78. str = "eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiemlwIjoiREVGIn0.Na6p1Ar1ybAJtEq6TArNwEezwTBYL08_qRwy6MDkFVOuK7qADJ4jD_6v1WW1poGoqsGyChip4xr4YVEsgOAKbENi-6yxOHN8VZ0BBtyZGej0L8xdr_o5mWiwDIIox9c7PDsxBOHRNXuBDJVMJ46heV_Ms9ewbCoovnMsf8u9ubbqTJ8J5V25WKBU48tOLVnhOoxNtX1yQvGZ4A17M3FN1immh9sEEFUHDWgHw0PTSNe_6m1hXx8A_TJ9uayYo9_hRA25p0qRqz0TIIE0GEMX15DGsGnsbFIrHQWpwi3U28QJJ0fH1QRIDde6XVAz5jTLMgYJ-MIZh2dKb58qFU115Q.Mw5zNr-pXSFhCnDzN2p9ZQ.3auvfckhwo0HSoWabXMjsxTFA_G_QGV58rWGXv-5sdXILxgt7rGwBgNAboZvQrXh-KmmtgIDmHU6lWN61-E-0bxPytwDiA98lDrWpYhS5Sa0v7gRRt1FpVbG1Ud8anh7.7wkuoYclxaFP-8cdJBSGyB4mtZ9QxduixdfKgbaPJVQ";
  79. }
  80. return formacarDefaultApi.getPurchaseTopics(str, str2, j);
  81. }
  82. throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getPurchaseTopics");
  83. }
  84.  
  85. @NotNull
  86. @FormUrlEncoded
  87. @POST("/apiUser/AddOrderItem")
  88. public static /* bridge */ /* synthetic */ Completable addOrderItem$default(FormacarDefaultApi formacarDefaultApi, String str, String str2, String str3, int i, String str4, int i2, Object obj) {
  89. if (obj == null) {
  90. return formacarDefaultApi.addOrderItem(str, str2, str3, (i2 & 8) != 0 ? 2 : i, str4);
  91. }
  92. throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: addOrderItem");
  93. }
  94.  
  95. @NotNull
  96. @FormUrlEncoded
  97. @POST("/apiUser/GetOrders/")
  98. public static /* bridge */ /* synthetic */ Single getMyOrders$default(FormacarDefaultApi formacarDefaultApi, String str, String str2, int i, Object obj) {
  99. if (obj == null) {
  100. if ((i & 1) != 0) {
  101. str = "eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiemlwIjoiREVGIn0.Na6p1Ar1ybAJtEq6TArNwEezwTBYL08_qRwy6MDkFVOuK7qADJ4jD_6v1WW1poGoqsGyChip4xr4YVEsgOAKbENi-6yxOHN8VZ0BBtyZGej0L8xdr_o5mWiwDIIox9c7PDsxBOHRNXuBDJVMJ46heV_Ms9ewbCoovnMsf8u9ubbqTJ8J5V25WKBU48tOLVnhOoxNtX1yQvGZ4A17M3FN1immh9sEEFUHDWgHw0PTSNe_6m1hXx8A_TJ9uayYo9_hRA25p0qRqz0TIIE0GEMX15DGsGnsbFIrHQWpwi3U28QJJ0fH1QRIDde6XVAz5jTLMgYJ-MIZh2dKb58qFU115Q.Mw5zNr-pXSFhCnDzN2p9ZQ.3auvfckhwo0HSoWabXMjsxTFA_G_QGV58rWGXv-5sdXILxgt7rGwBgNAboZvQrXh-KmmtgIDmHU6lWN61-E-0bxPytwDiA98lDrWpYhS5Sa0v7gRRt1FpVbG1Ud8anh7.7wkuoYclxaFP-8cdJBSGyB4mtZ9QxduixdfKgbaPJVQ";
  102. }
  103. return formacarDefaultApi.getMyOrders(str, str2);
  104. }
  105. throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getMyOrders");
  106. }
  107.  
  108. @NotNull
  109. @FormUrlEncoded
  110. @POST("/apiUser/GetOrdersAll/")
  111. public static /* bridge */ /* synthetic */ Single getPurchasedItems$default(FormacarDefaultApi formacarDefaultApi, String str, String str2, long j, int i, int i2, int i3, Object obj) {
  112. if (obj == null) {
  113. if ((i3 & 1) != 0) {
  114. str = "eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiemlwIjoiREVGIn0.Na6p1Ar1ybAJtEq6TArNwEezwTBYL08_qRwy6MDkFVOuK7qADJ4jD_6v1WW1poGoqsGyChip4xr4YVEsgOAKbENi-6yxOHN8VZ0BBtyZGej0L8xdr_o5mWiwDIIox9c7PDsxBOHRNXuBDJVMJ46heV_Ms9ewbCoovnMsf8u9ubbqTJ8J5V25WKBU48tOLVnhOoxNtX1yQvGZ4A17M3FN1immh9sEEFUHDWgHw0PTSNe_6m1hXx8A_TJ9uayYo9_hRA25p0qRqz0TIIE0GEMX15DGsGnsbFIrHQWpwi3U28QJJ0fH1QRIDde6XVAz5jTLMgYJ-MIZh2dKb58qFU115Q.Mw5zNr-pXSFhCnDzN2p9ZQ.3auvfckhwo0HSoWabXMjsxTFA_G_QGV58rWGXv-5sdXILxgt7rGwBgNAboZvQrXh-KmmtgIDmHU6lWN61-E-0bxPytwDiA98lDrWpYhS5Sa0v7gRRt1FpVbG1Ud8anh7.7wkuoYclxaFP-8cdJBSGyB4mtZ9QxduixdfKgbaPJVQ";
  115. }
  116. return formacarDefaultApi.getPurchasedItems(str, str2, j, i, i2);
  117. }
  118. throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: getPurchasedItems");
  119. }
  120. }
  121.  
  122. @FormUrlEncoded
  123. @NotNull
  124. @POST("/apiUser/AddNewsComment")
  125. Single<BaseItemsWithErrorResp<CommentResp>> addNewsComment(@Field("news_id") long j, @NotNull @Field("token") String str, @NotNull @Field("text") String str2);
  126.  
  127. @NotNull
  128. @FormUrlEncoded
  129. @POST("/apiUser/AddOrderItem")
  130. 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);
  131.  
  132. @FormUrlEncoded
  133. @NotNull
  134. @POST("apiUser/AddTuningComment")
  135. Single<BaseItemsWithErrorResp<CommentResp>> addTuningComment(@Field("tuning_id") long j, @NotNull @Field("token") String str, @NotNull @Field("text") String str2);
  136.  
  137. @FormUrlEncoded
  138. @NotNull
  139. @POST("apiUser/AddWheelComment")
  140. Single<BaseItemsWithErrorResp<CommentResp>> addWheelsComment(@Field("wheel_id") long j, @NotNull @Field("token") String str, @NotNull @Field("text") String str2);
  141.  
  142. @NotNull
  143. @FormUrlEncoded
  144. @POST("/apiUser/DeleteComment")
  145. Completable deleteComment(@NotNull @Field("token") String str, @Field("comment_id") long j);
  146.  
  147. @NotNull
  148. @GET("api/GetBrand")
  149. Single<BaseItemWithErrorResp<BrandDealersResp>> getBrandDealers(@Query("id") long j, @Nullable @Query("lat") Double d, @Nullable @Query("lng") Double d2);
  150.  
  151. @FormUrlEncoded
  152. @NotNull
  153. @POST("apiUser/GetUCarOne")
  154. Single<BaseItemWithErrorResp<CarDetailsResp>> getCarDetails(@NotNull @Field("token") String str, @Field("user_id") long j, @Field("id") long j2);
  155.  
  156. @NotNull
  157. @GET("/json/langs/{lang_id}/TuningTopicsList.json")
  158. Single<BaseItemsWithErrorResp<TopicResp>> getCatalogTopics(@Path("lang_id") long j);
  159.  
  160. @NotNull
  161. @GET("/json/langs/{lang_id}/ActionTopicsList.json")
  162. Single<BaseItemsWithErrorResp<TopicResp>> getConfiguratorNewsTopics(@Path("lang_id") long j);
  163.  
  164. @NotNull
  165. @GET("api/getBrandsList")
  166. Single<BaseItemsWithErrorResp<FilterBrandResp>> getFilterBrands(@Query("topic_id") long j);
  167.  
  168. @NotNull
  169. @GET("json/data/MarksList.json")
  170. Single<BaseItemsWithErrorResp<FilterCarMakerResp>> getFilterCarMakers();
  171.  
  172. @NotNull
  173. @GET("json/data/ModelsList_{car_maker_id}.json")
  174. Single<BaseItemsWithErrorResp<FilterCarModelResp>> getFilterCarModels(@Path("car_maker_id") long j);
  175.  
  176. @NotNull
  177. @GET("json/data/WheelFilters.json")
  178. Single<BaseItemWithErrorResp<FilterDiametersResp>> getFilterDiameters();
  179.  
  180. @NotNull
  181. @GET("json/data/ForgedList.json")
  182. Single<BaseItemsWithErrorResp<FilterTechnologyResp>> getFilterTechnologies();
  183.  
  184. @NotNull
  185. @GET("json/langs/{lang_id}/Actions.json")
  186. Single<BaseItemWithErrorResp<MenuResp>> getLotteryMenu(@Path("lang_id") long j);
  187.  
  188. @NotNull
  189. @GET("json/langs/{lang_id}/Menu2.json")
  190. Single<BaseItemWithErrorResp<MenuResp>> getMenu(@Path("lang_id") long j);
  191.  
  192. @FormUrlEncoded
  193. @NotNull
  194. @POST("/apiUser/GetOrders/")
  195. Single<BaseItemsWithErrorResp<OrderResp>> getMyOrders(@NotNull @Header("apptoken") String str, @NotNull @Field("token") String str2);
  196.  
  197. @NotNull
  198. @GET("/json/langs/{lang_id}/newslist/NewsList_{topic_id}_{offset}_{limit}.json")
  199. Single<BaseItemsWithErrorResp<ShortNewsResp>> getNews(@Path("topic_id") long j, @Path("offset") int i, @Path("limit") int i2, @Path("lang_id") long j2);
  200.  
  201. @NotNull
  202. @GET("/json/langs/{lang_id}/news/News_{news_id}.json")
  203. Single<BaseItemWithErrorResp<NewsDetailsResp>> getNewsById(@Path("news_id") long j, @Path("lang_id") long j2);
  204.  
  205. @NotNull
  206. @GET("/api/getNewsComments")
  207. Single<BaseItemsWithErrorResp<CommentResp>> getNewsComments(@Query("news_id") long j, @Query("limit") int i, @Query("offset") int i2);
  208.  
  209. @NotNull
  210. @GET("/json/langs/{lang_id}/NewsTopicsList.json")
  211. Single<BaseItemsWithErrorResp<TopicResp>> getNewsTopics(@Path("lang_id") long j);
  212.  
  213. @FormUrlEncoded
  214. @NotNull
  215. @POST("/apiUser/GetOrdersTopics/")
  216. Single<BaseItemsWithErrorResp<TopicResp>> getPurchaseTopics(@NotNull @Header("apptoken") String str, @NotNull @Field("token") String str2, @Field("lang_id") long j);
  217.  
  218. @FormUrlEncoded
  219. @NotNull
  220. @POST("/apiUser/GetOrdersAll/")
  221. 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);
  222.  
  223. @NotNull
  224. @GET("api/getTuningsList")
  225. 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);
  226.  
  227. @NotNull
  228. @GET("api/getTuningComments/")
  229. Single<BaseItemsWithErrorResp<CommentResp>> getTuningComments(@Query("tuning_id") long j, @Query("limit") int i, @Query("offset") int i2);
  230.  
  231. @NotNull
  232. @GET("json/langs/{lang_id}/tuning/items/{tuning_id}.json")
  233. Single<BaseItemWithErrorResp<TuningDetailsResp>> getTuningDetails(@Path("tuning_id") long j, @Path("lang_id") long j2);
  234.  
  235. @FormUrlEncoded
  236. @NotNull
  237. @POST("apiUser/GetUCarsList")
  238. Single<BaseItemsWithErrorResp<ShortCarResp>> getUserCars(@NotNull @Field("token") String str, @Field("user_id") long j);
  239.  
  240. @NotNull
  241. @GET("/json/data/Versions.json")
  242. Single<BaseItemsWithErrorResp<VersionsResp>> getVersion();
  243.  
  244. @NotNull
  245. @GET("api/getWheelsList")
  246. 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);
  247.  
  248. @NotNull
  249. @GET("api/getWheelsComments")
  250. Single<BaseItemsWithErrorResp<CommentResp>> getWheelsComments(@Query("wheel_id") long j, @Query("limit") int i, @Query("offset") int i2);
  251.  
  252. @NotNull
  253. @GET("json/langs/{lang_id}/wheels/items/{wheels_id}.json")
  254. Single<BaseItemWithErrorResp<WheelsDetailsResp>> getWheelsDetails(@Path("wheels_id") long j, @Path("lang_id") long j2);
  255.  
  256. @NotNull
  257. @FormUrlEncoded
  258. @POST("apiUser/AddTuningsShare/")
  259. Completable incrementTuningShareCount(@NotNull @Field("token") String str, @Field("wheel_id") long j, @Field("share_id") int i);
  260.  
  261. @NotNull
  262. @FormUrlEncoded
  263. @POST("apiUser/AddWheelsShare/")
  264. Completable incrementWheelsShareCount(@NotNull @Field("token") String str, @Field("wheel_id") long j, @Field("share_id") int i);
  265.  
  266. @NotNull
  267. @FormUrlEncoded
  268. @POST("/apiUser/UfpdateComment")
  269. Completable updateComment(@NotNull @Field("token") String str, @Field("comment_id") long j, @NotNull @Field("text") String str2);
  270. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×