@aepstore-dev/contracts 1.85.0 → 1.87.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 CHANGED
@@ -66,6 +66,7 @@ export interface AuthUser {
66
66
  avatarUrl: string;
67
67
  bannerUrl: string;
68
68
  roles: string[];
69
+ avatarBorder: string;
69
70
  }
70
71
  /**
71
72
  * Unified result for login/register/createCode/verifyCode/refresh. Which fields
package/gen/auth.ts CHANGED
@@ -85,6 +85,7 @@ export interface AuthUser {
85
85
  avatarUrl: string;
86
86
  bannerUrl: string;
87
87
  roles: string[];
88
+ avatarBorder: string;
88
89
  }
89
90
 
90
91
  /**
package/gen/products.d.ts CHANGED
@@ -139,8 +139,6 @@ export interface ProductAttachment {
139
139
  id: string;
140
140
  fileName: string;
141
141
  fileSize: number;
142
- url: string;
143
- mimeType: string;
144
142
  }
145
143
  /** Compact product shape for "related products" — only the fields a card needs. */
146
144
  export interface RelatedProduct {
package/gen/products.ts CHANGED
@@ -159,8 +159,6 @@ export interface ProductAttachment {
159
159
  id: string;
160
160
  fileName: string;
161
161
  fileSize: number;
162
- url: string;
163
- mimeType: string;
164
162
  }
165
163
 
166
164
  /** Compact product shape for "related products" — only the fields a card needs. */
package/gen/users.d.ts CHANGED
@@ -168,9 +168,8 @@ export interface PublicProfileResponse {
168
168
  */
169
169
  isPremium: boolean;
170
170
  profileColor: string;
171
- avatarBorder: AvatarBorder | undefined;
172
- animatedAvatarUrl: string;
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
- avatarBorder: AvatarBorder | undefined;
320
- animatedAvatarUrl: string;
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
- avatarBorder: AvatarBorder | undefined;
200
- animatedAvatarUrl: string;
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
- avatarBorder: AvatarBorder | undefined;
366
- animatedAvatarUrl: string;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.85.0",
3
+ "version": "1.87.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
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:
@@ -168,8 +168,8 @@ message ProductAttachment {
168
168
  string id = 1;
169
169
  string file_name = 2;
170
170
  double file_size = 3;
171
- string url = 4;
172
- string mime_type = 5;
171
+ reserved 4, 5;
172
+ reserved "url", "mime_type";
173
173
  }
174
174
 
175
175
  // Compact product shape for "related products" — only the fields a card needs.
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
- AvatarBorder avatar_border = 22;
223
- string animated_avatar_url = 23;
224
- string animated_banner_url = 24;
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
- optional string animated_avatar_url = 13;
254
- optional string animated_banner_url = 14;
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
- AvatarBorder avatar_border = 3;
391
- string animated_avatar_url = 4;
392
- string animated_banner_url = 5;
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
- string animated_avatar_url = 33;
865
- string animated_banner_url = 34;
864
+ reserved 33, 34;
865
+ reserved "animated_avatar_url", "animated_banner_url";
866
866
  string profile_color = 35;
867
867
  }