BitmojiApi.java
7.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
package com.bitstrips.imoji.api;
import com.bitstrips.imoji.abv3.model.AvatarAssets;
import com.bitstrips.imoji.abv3.model.AvatarChangeStyle;
import com.bitstrips.imoji.abv3.model.AvatarGetMappedOptionIdsResponse;
import com.bitstrips.imoji.abv3.model.AvatarGetV3;
import com.bitstrips.imoji.abv3.model.AvatarSaveResponseV3;
import com.bitstrips.imoji.abv3.model.AvatarSaveV3;
import com.bitstrips.imoji.abv3.model.AvatarStylePreviouslySaved;
import com.bitstrips.imoji.experiments.ExperimentsResult;
import com.bitstrips.imoji.models.AvatarInfo;
import com.bitstrips.imoji.models.BSUser;
import com.bitstrips.imoji.models.BatchAnalyticsEvent;
import com.bitstrips.imoji.models.JSONStringPayload;
import com.bitstrips.imoji.models.SCUser;
import com.bitstrips.imoji.models.StickerPacks;
import com.bitstrips.imoji.models.UserData;
import com.bitstrips.imoji.monouser.api.MonoUserLoginResponse;
import com.bitstrips.imoji.monouser.models.SnapchatUserData;
import retrofit.Callback;
import retrofit.client.Response;
import retrofit.http.Body;
import retrofit.http.DELETE;
import retrofit.http.Field;
import retrofit.http.FormUrlEncoded;
import retrofit.http.GET;
import retrofit.http.Header;
import retrofit.http.POST;
import retrofit.http.Path;
import retrofit.http.Query;
public abstract interface BitmojiApi
{
@POST("/user/accept-terms/{version}")
public abstract void acceptTerms(@Body String paramString, @Path("version") int paramInt, Callback<Void> paramCallback);
@GET("/avatar-builder-v3/assets")
public abstract void assetsV3(Callback<AvatarAssets> paramCallback);
@POST("/avatar-builder-v3/change-style")
public abstract void changeAvatarStyleV3(@Body AvatarChangeStyle paramAvatarChangeStyle, Callback<AvatarSaveResponseV3> paramCallback);
@POST("/snapchat/confirm-link/3")
public abstract void confirmLinkToSnapchat(@Body String paramString, Callback<Void> paramCallback);
@POST("/user")
public abstract void createUser(@Body BSUser paramBSUser, Callback<Void> paramCallback);
@DELETE("/user")
public abstract void deleteUserAccount(Callback<DeleteUserAccountResponse> paramCallback);
@GET("/user/exchange-tokens")
public abstract void exchangeTokens(@Query("fb_token") String paramString, @Query("app_id") int paramInt, Callback<BSAuthExchangeTokensResponse> paramCallback);
@GET("/user/v2/avatar?styles=1,4")
public abstract Response getAvatarInfo(@Query("app_id") int paramInt1, @Query("background") int paramInt2);
@GET("/user/v2/avatar")
public abstract void getAvatarInfo(@Query("app_id") int paramInt, @Query("styles") String paramString, Callback<AvatarInfo> paramCallback);
@GET("/user/v2/avatar?styles=1,4")
public abstract void getAvatarInfo(@Query("app_id") int paramInt, Callback<AvatarInfo> paramCallback);
@GET("/avatar-builder-v3/avatar-styles")
public abstract void getAvatarStyles(Callback<AvatarStylePreviouslySaved> paramCallback);
@GET("/avatar-builder-v3/avatar")
public abstract void getAvatarV3(Callback<AvatarGetV3> paramCallback);
@GET("/experiments")
public abstract void getExperiments(Callback<ExperimentsResult> paramCallback);
@GET("/experiments/global")
public abstract void getExperimentsGlobal(Callback<ExperimentsResult> paramCallback);
@GET("/avatar-builder-v3/mapped-option-ids/{style}")
public abstract void getMappedOptionIds(@Path("style") int paramInt, Callback<AvatarGetMappedOptionIdsResponse> paramCallback);
@GET("/snapchat/user-data")
public abstract void getSnapchatUserData(Callback<SnapchatUserData> paramCallback);
@FormUrlEncoded
@POST("/content/stickers?background=1&useuuid=true")
public abstract Response getStickerPacks(@Header("If-None-Match") String paramString1, @Header("Accept") String paramString2, @Field("page") String paramString3, @Field("time") String paramString4, @Field("locale") String paramString5, @Field("imageformat") String paramString6, @Field("experiment") String paramString7, @Field("use_white_background") boolean paramBoolean1, @Field("serve_predicted_content") boolean paramBoolean2, @Field("use_template_order_prediction") boolean paramBoolean3, @Query("app_id") int paramInt, @Query("app_name") String paramString8, @Query("platform") String paramString9);
@FormUrlEncoded
@POST("/content/stickers?background=1&useuuid=true")
public abstract void getStickerPacks(@Header("If-None-Match") String paramString1, @Header("Accept") String paramString2, @Field("page") String paramString3, @Field("time") String paramString4, @Field("locale") String paramString5, @Field("imageformat") String paramString6, @Field("experiment") String paramString7, @Field("use_white_background") boolean paramBoolean1, @Field("serve_predicted_content") boolean paramBoolean2, @Field("use_template_order_prediction") boolean paramBoolean3, @Query("app_id") int paramInt, @Query("app_name") String paramString8, @Query("platform") String paramString9, Callback<StickerPacks> paramCallback);
@FormUrlEncoded
@POST("/user/login")
public abstract void getToken(@Field("client_id") String paramString1, @Field("client_secret") String paramString2, @Field("grant_type") String paramString3, @Field("username") String paramString4, @Field("password") String paramString5, Callback<BSAuthResponse> paramCallback);
@GET("/user/test-401")
public abstract Response getUser401();
@GET("/user/data")
public abstract void getUserData(Callback<UserData> paramCallback);
@GET("/mirror/valid-geo-ip")
public abstract void hasValidMirrorGeoIp(Callback<MirrorValidGeoIpResponse> paramCallback);
@POST("/user/link-bsauth")
public abstract void linkBSAuth(@Body BSUser paramBSUser, Callback<BSAuthResponse> paramCallback);
@FormUrlEncoded
@POST("/snapchat/link")
public abstract void linkToSnapchat(@Field("request_token") String paramString, Callback<Void> paramCallback);
@POST("/user/monouser_login")
public abstract void loginMonoUser(@Body String paramString, Callback<MonoUserLoginResponse> paramCallback);
@FormUrlEncoded
@POST("/snapchat/login")
public abstract void loginToSnapchat(@Field("request_token") String paramString, Callback<SCUser> paramCallback);
@POST("/user/logout")
public abstract void logout(@Body String paramString, Callback<Void> paramCallback);
@POST("/mirror/image-upload-universal")
public abstract void mirrorImageUploadUniversal(@Body BitmojiMirrorImageUploadRequest paramBitmojiMirrorImageUploadRequest, Callback<Void> paramCallback);
@FormUrlEncoded
@POST("/user/push-device-token")
public abstract void postPushDeviceToken(@Field("device_token") String paramString, Callback<Void> paramCallback);
@FormUrlEncoded
@POST("/user/reset-password")
public abstract void resetPassword(@Field("email") String paramString, Callback<BSAuthPasswordResetResponse> paramCallback);
@POST("/user/avatar?styles=1,4")
public abstract void saveAvatar(@Query("app_id") int paramInt, @Body JSONStringPayload paramJSONStringPayload, Callback<AvatarInfo> paramCallback);
@POST("/avatar-builder-v3/avatar")
public abstract void saveAvatarV3(@Body AvatarSaveV3 paramAvatarSaveV3, Callback<AvatarSaveResponseV3> paramCallback);
@POST("/analytics/wevents")
public abstract void sendAnalyticsEvents(@Body BatchAnalyticsEvent paramBatchAnalyticsEvent, Callback<Void> paramCallback);
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/api/BitmojiApi.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/