@aepstore-dev/contracts 1.84.0 → 1.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gen/auth.d.ts +1 -0
- package/gen/auth.ts +1 -0
- package/gen/notifications.d.ts +2 -0
- package/gen/notifications.ts +2 -0
- package/gen/users.d.ts +4 -10
- package/gen/users.ts +4 -10
- package/package.json +1 -1
- package/proto/auth.proto +12 -11
- package/proto/notifications.proto +1 -0
- package/proto/users.proto +10 -10
package/gen/auth.d.ts
CHANGED
package/gen/auth.ts
CHANGED
package/gen/notifications.d.ts
CHANGED
package/gen/notifications.ts
CHANGED
package/gen/users.d.ts
CHANGED
|
@@ -168,9 +168,8 @@ export interface PublicProfileResponse {
|
|
|
168
168
|
*/
|
|
169
169
|
isPremium: boolean;
|
|
170
170
|
profileColor: string;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
animatedBannerUrl: string;
|
|
171
|
+
/** active border image URL, empty when absent */
|
|
172
|
+
avatarBorder: string;
|
|
174
173
|
/** ISO 8601, empty when not premium */
|
|
175
174
|
premiumExpiresAt: string;
|
|
176
175
|
}
|
|
@@ -201,8 +200,6 @@ export interface UpdateProfileRequest {
|
|
|
201
200
|
*/
|
|
202
201
|
profileColor?: string | undefined;
|
|
203
202
|
avatarBorderId?: string | undefined;
|
|
204
|
-
animatedAvatarUrl?: string | undefined;
|
|
205
|
-
animatedBannerUrl?: string | undefined;
|
|
206
203
|
}
|
|
207
204
|
export interface UpdateUserRequest {
|
|
208
205
|
userId: string;
|
|
@@ -316,9 +313,8 @@ export interface AdminUserPayout {
|
|
|
316
313
|
export interface AdminUserPremiumCustomization {
|
|
317
314
|
profileColor: string;
|
|
318
315
|
avatarBorderId: string;
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
animatedBannerUrl: string;
|
|
316
|
+
/** active border image URL, empty when absent */
|
|
317
|
+
avatarBorder: string;
|
|
322
318
|
}
|
|
323
319
|
export interface AdminUserStats {
|
|
324
320
|
subscribersCount: number;
|
|
@@ -697,8 +693,6 @@ export interface AccountSettingsResponse {
|
|
|
697
693
|
*/
|
|
698
694
|
avatarBorderId: string;
|
|
699
695
|
avatarBorderImageUrl: string;
|
|
700
|
-
animatedAvatarUrl: string;
|
|
701
|
-
animatedBannerUrl: string;
|
|
702
696
|
profileColor: string;
|
|
703
697
|
}
|
|
704
698
|
export declare const USERS_V1_PACKAGE_NAME = "users.v1";
|
package/gen/users.ts
CHANGED
|
@@ -196,9 +196,8 @@ export interface PublicProfileResponse {
|
|
|
196
196
|
*/
|
|
197
197
|
isPremium: boolean;
|
|
198
198
|
profileColor: string;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
animatedBannerUrl: string;
|
|
199
|
+
/** active border image URL, empty when absent */
|
|
200
|
+
avatarBorder: string;
|
|
202
201
|
/** ISO 8601, empty when not premium */
|
|
203
202
|
premiumExpiresAt: string;
|
|
204
203
|
}
|
|
@@ -232,8 +231,6 @@ export interface UpdateProfileRequest {
|
|
|
232
231
|
*/
|
|
233
232
|
profileColor?: string | undefined;
|
|
234
233
|
avatarBorderId?: string | undefined;
|
|
235
|
-
animatedAvatarUrl?: string | undefined;
|
|
236
|
-
animatedBannerUrl?: string | undefined;
|
|
237
234
|
}
|
|
238
235
|
|
|
239
236
|
export interface UpdateUserRequest {
|
|
@@ -362,9 +359,8 @@ export interface AdminUserPayout {
|
|
|
362
359
|
export interface AdminUserPremiumCustomization {
|
|
363
360
|
profileColor: string;
|
|
364
361
|
avatarBorderId: string;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
animatedBannerUrl: string;
|
|
362
|
+
/** active border image URL, empty when absent */
|
|
363
|
+
avatarBorder: string;
|
|
368
364
|
}
|
|
369
365
|
|
|
370
366
|
export interface AdminUserStats {
|
|
@@ -801,8 +797,6 @@ export interface AccountSettingsResponse {
|
|
|
801
797
|
*/
|
|
802
798
|
avatarBorderId: string;
|
|
803
799
|
avatarBorderImageUrl: string;
|
|
804
|
-
animatedAvatarUrl: string;
|
|
805
|
-
animatedBannerUrl: string;
|
|
806
800
|
profileColor: string;
|
|
807
801
|
}
|
|
808
802
|
|
package/package.json
CHANGED
package/proto/auth.proto
CHANGED
|
@@ -100,19 +100,20 @@ message GetProfileRequest {
|
|
|
100
100
|
// Responses
|
|
101
101
|
// ---------------------------------------------------------------------------
|
|
102
102
|
|
|
103
|
-
message AuthUser {
|
|
104
|
-
string id = 1;
|
|
105
|
-
string username = 2;
|
|
106
|
-
string email = 3;
|
|
107
|
-
string avatar_url = 4;
|
|
108
|
-
string banner_url = 5;
|
|
109
|
-
repeated string roles = 6;
|
|
103
|
+
message AuthUser {
|
|
104
|
+
string id = 1;
|
|
105
|
+
string username = 2;
|
|
106
|
+
string email = 3;
|
|
107
|
+
string avatar_url = 4;
|
|
108
|
+
string banner_url = 5;
|
|
109
|
+
repeated string roles = 6;
|
|
110
110
|
// Reserved: 7=role, 8=is_verified, 9=two_factor_type, 10=two_factor_enabled,
|
|
111
111
|
// 11=balance. Dropped in contracts 1.51.0 — clients read 2FA flags from
|
|
112
|
-
// AuthResult / /account/settings, balance from /payments/wallet.
|
|
113
|
-
reserved 7, 8, 9, 10, 11;
|
|
114
|
-
reserved "role", "is_verified", "two_factor_type", "two_factor_enabled", "balance";
|
|
115
|
-
|
|
112
|
+
// AuthResult / /account/settings, balance from /payments/wallet.
|
|
113
|
+
reserved 7, 8, 9, 10, 11;
|
|
114
|
+
reserved "role", "is_verified", "two_factor_type", "two_factor_enabled", "balance";
|
|
115
|
+
string avatar_border = 12;
|
|
116
|
+
}
|
|
116
117
|
|
|
117
118
|
// Unified result for login/register/createCode/verifyCode/refresh. Which fields
|
|
118
119
|
// are populated depends on the flow:
|
package/proto/users.proto
CHANGED
|
@@ -219,9 +219,9 @@ message PublicProfileResponse {
|
|
|
219
219
|
// empty strings / false.
|
|
220
220
|
bool is_premium = 20;
|
|
221
221
|
string profile_color = 21;
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
222
|
+
string avatar_border = 22; // active border image URL, empty when absent
|
|
223
|
+
reserved 23, 24;
|
|
224
|
+
reserved "animated_avatar_url", "animated_banner_url";
|
|
225
225
|
string premium_expires_at = 25; // ISO 8601, empty when not premium
|
|
226
226
|
}
|
|
227
227
|
|
|
@@ -250,8 +250,8 @@ message UpdateProfileRequest {
|
|
|
250
250
|
// has no active premium. `''` = no change, `__clear__` = explicit reset.
|
|
251
251
|
optional string profile_color = 11;
|
|
252
252
|
optional string avatar_border_id = 12;
|
|
253
|
-
|
|
254
|
-
|
|
253
|
+
reserved 13, 14;
|
|
254
|
+
reserved "animated_avatar_url", "animated_banner_url";
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
// =================================================================
|
|
@@ -387,9 +387,9 @@ message AdminUserPayout {
|
|
|
387
387
|
message AdminUserPremiumCustomization {
|
|
388
388
|
string profile_color = 1;
|
|
389
389
|
string avatar_border_id = 2;
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
390
|
+
string avatar_border = 3; // active border image URL, empty when absent
|
|
391
|
+
reserved 4, 5;
|
|
392
|
+
reserved "animated_avatar_url", "animated_banner_url";
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
message AdminUserStats {
|
|
@@ -861,7 +861,7 @@ message AccountSettingsResponse {
|
|
|
861
861
|
// client can render the current overlay without a second roundtrip.
|
|
862
862
|
string avatar_border_id = 31;
|
|
863
863
|
string avatar_border_image_url = 32;
|
|
864
|
-
|
|
865
|
-
|
|
864
|
+
reserved 33, 34;
|
|
865
|
+
reserved "animated_avatar_url", "animated_banner_url";
|
|
866
866
|
string profile_color = 35;
|
|
867
867
|
}
|