@aepstore-dev/contracts 1.87.0 → 1.89.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/users.d.ts CHANGED
@@ -40,7 +40,7 @@ export interface User {
40
40
  bannedUntil: string;
41
41
  banReason: string;
42
42
  fullName: string;
43
- avatarBorderImageUrl: string;
43
+ avatarBorder: string;
44
44
  }
45
45
  export interface BanUserRequest {
46
46
  adminId: string;
@@ -131,7 +131,7 @@ export interface ProfileUser {
131
131
  username: string;
132
132
  avatarUrl: string;
133
133
  fullName: string;
134
- avatarBorderImageUrl: string;
134
+ avatarBorder: string;
135
135
  }
136
136
  export interface GetPublicProfileRequest {
137
137
  username: string;
@@ -383,6 +383,11 @@ export interface GetUserFieldsRequest {
383
383
  /** optional */
384
384
  viewerUserId: string;
385
385
  }
386
+ export interface UserFieldsOwner {
387
+ id: string;
388
+ username: string;
389
+ fullName: string;
390
+ }
386
391
  export interface GetUserFieldsResponse {
387
392
  videos: Video[];
388
393
  products: Product[];
@@ -391,6 +396,7 @@ export interface GetUserFieldsResponse {
391
396
  total: number;
392
397
  page: number;
393
398
  limit: number;
399
+ user: UserFieldsOwner | undefined;
394
400
  }
395
401
  export interface SubscriptionRequest {
396
402
  /** the authenticated user performing the action */
@@ -692,7 +698,7 @@ export interface AccountSettingsResponse {
692
698
  * client can render the current overlay without a second roundtrip.
693
699
  */
694
700
  avatarBorderId: string;
695
- avatarBorderImageUrl: string;
701
+ avatarBorder: string;
696
702
  profileColor: string;
697
703
  }
698
704
  export declare const USERS_V1_PACKAGE_NAME = "users.v1";
package/gen/users.ts CHANGED
@@ -54,7 +54,7 @@ export interface User {
54
54
  bannedUntil: string;
55
55
  banReason: string;
56
56
  fullName: string;
57
- avatarBorderImageUrl: string;
57
+ avatarBorder: string;
58
58
  }
59
59
 
60
60
  export interface BanUserRequest {
@@ -157,7 +157,7 @@ export interface ProfileUser {
157
157
  username: string;
158
158
  avatarUrl: string;
159
159
  fullName: string;
160
- avatarBorderImageUrl: string;
160
+ avatarBorder: string;
161
161
  }
162
162
 
163
163
  export interface GetPublicProfileRequest {
@@ -440,6 +440,12 @@ export interface GetUserFieldsRequest {
440
440
  viewerUserId: string;
441
441
  }
442
442
 
443
+ export interface UserFieldsOwner {
444
+ id: string;
445
+ username: string;
446
+ fullName: string;
447
+ }
448
+
443
449
  export interface GetUserFieldsResponse {
444
450
  videos: Video[];
445
451
  products: Product[];
@@ -448,6 +454,7 @@ export interface GetUserFieldsResponse {
448
454
  total: number;
449
455
  page: number;
450
456
  limit: number;
457
+ user: UserFieldsOwner | undefined;
451
458
  }
452
459
 
453
460
  export interface SubscriptionRequest {
@@ -796,7 +803,7 @@ export interface AccountSettingsResponse {
796
803
  * client can render the current overlay without a second roundtrip.
797
804
  */
798
805
  avatarBorderId: string;
799
- avatarBorderImageUrl: string;
806
+ avatarBorder: string;
800
807
  profileColor: string;
801
808
  }
802
809
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.87.0",
3
+ "version": "1.89.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/users.proto CHANGED
@@ -86,10 +86,10 @@ message User {
86
86
  string updated_at = 8;
87
87
  bool is_banned = 9;
88
88
  string banned_until = 10; // ISO 8601, empty = permanent/none
89
- string ban_reason = 11;
90
- string full_name = 12;
91
- string avatar_border_image_url = 13;
92
- }
89
+ string ban_reason = 11;
90
+ string full_name = 12;
91
+ string avatar_border = 13;
92
+ }
93
93
 
94
94
  message BanUserRequest {
95
95
  string admin_id = 1;
@@ -176,13 +176,13 @@ message ProfileStats {
176
176
  }
177
177
 
178
178
  // Compact public user card for subscriber/subscription lists — no email/ban data.
179
- message ProfileUser {
180
- string id = 1;
181
- string username = 2;
182
- string avatar_url = 3;
183
- string full_name = 4;
184
- string avatar_border_image_url = 5;
185
- }
179
+ message ProfileUser {
180
+ string id = 1;
181
+ string username = 2;
182
+ string avatar_url = 3;
183
+ string full_name = 4;
184
+ string avatar_border = 5;
185
+ }
186
186
 
187
187
  // =================================================================
188
188
  // GetPublicProfile
@@ -482,23 +482,30 @@ enum UserFieldsType {
482
482
  USER_FIELDS_TYPE_SUBSCRIBERS = 4;
483
483
  }
484
484
 
485
- message GetUserFieldsRequest {
486
- string username = 1;
487
- UserFieldsType type = 2;
488
- int32 page = 3;
489
- int32 limit = 4;
490
- string viewer_user_id = 5; // optional
491
- }
492
-
493
- message GetUserFieldsResponse {
494
- repeated Video videos = 1;
495
- repeated Product products = 2;
496
- repeated ProfileUser subscriptions = 3;
497
- repeated ProfileUser subscribers = 4;
498
- int32 total = 5;
499
- int32 page = 6;
500
- int32 limit = 7;
501
- }
485
+ message GetUserFieldsRequest {
486
+ string username = 1;
487
+ UserFieldsType type = 2;
488
+ int32 page = 3;
489
+ int32 limit = 4;
490
+ string viewer_user_id = 5; // optional
491
+ }
492
+
493
+ message UserFieldsOwner {
494
+ string id = 1;
495
+ string username = 2;
496
+ string full_name = 3;
497
+ }
498
+
499
+ message GetUserFieldsResponse {
500
+ repeated Video videos = 1;
501
+ repeated Product products = 2;
502
+ repeated ProfileUser subscriptions = 3;
503
+ repeated ProfileUser subscribers = 4;
504
+ int32 total = 5;
505
+ int32 page = 6;
506
+ int32 limit = 7;
507
+ UserFieldsOwner user = 8;
508
+ }
502
509
 
503
510
  // =================================================================
504
511
  // Subscriptions
@@ -857,10 +864,10 @@ message AccountSettingsResponse {
857
864
 
858
865
  repeated SocialMedia social_media = 30;
859
866
 
860
- // Premium customization snapshot — denormalised border image URL so the
861
- // client can render the current overlay without a second roundtrip.
862
- string avatar_border_id = 31;
863
- string avatar_border_image_url = 32;
867
+ // Premium customization snapshot — denormalised border image URL so the
868
+ // client can render the current overlay without a second roundtrip.
869
+ string avatar_border_id = 31;
870
+ string avatar_border = 32;
864
871
  reserved 33, 34;
865
872
  reserved "animated_avatar_url", "animated_banner_url";
866
873
  string profile_color = 35;