@aepstore-dev/contracts 1.91.0 → 1.92.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
@@ -156,7 +156,6 @@ export interface PublicProfileResponse {
156
156
  country: Country | undefined;
157
157
  avatarUrl: string;
158
158
  bannerUrl: string;
159
- role: string;
160
159
  createdAt: string;
161
160
  hideSubscriptions: boolean;
162
161
  /** Either populated lists or empty depending on hide_subscriptions */
@@ -165,17 +164,10 @@ export interface PublicProfileResponse {
165
164
  isOwner: boolean;
166
165
  /** viewer is subscribed to this profile (false when anonymous / self) */
167
166
  isSubscribed: boolean;
168
- /**
169
- * Premium fields — populated only when the profile owner has an active
170
- * PremiumSubscription. Non-premium viewers and non-premium profiles see
171
- * empty strings / false.
172
- */
173
- isPremium: boolean;
174
167
  profileColor: string;
175
168
  /** active border image URL, empty when absent */
176
169
  avatarBorder: string;
177
- /** ISO 8601, empty when not premium */
178
- premiumExpiresAt: string;
170
+ roles: string[];
179
171
  }
180
172
  export interface UpdateProfileRequest {
181
173
  userId: string;
package/gen/users.ts CHANGED
@@ -184,7 +184,6 @@ export interface PublicProfileResponse {
184
184
  country: Country | undefined;
185
185
  avatarUrl: string;
186
186
  bannerUrl: string;
187
- role: string;
188
187
  createdAt: string;
189
188
  hideSubscriptions: boolean;
190
189
  /** Either populated lists or empty depending on hide_subscriptions */
@@ -193,17 +192,10 @@ export interface PublicProfileResponse {
193
192
  isOwner: boolean;
194
193
  /** viewer is subscribed to this profile (false when anonymous / self) */
195
194
  isSubscribed: boolean;
196
- /**
197
- * Premium fields — populated only when the profile owner has an active
198
- * PremiumSubscription. Non-premium viewers and non-premium profiles see
199
- * empty strings / false.
200
- */
201
- isPremium: boolean;
202
195
  profileColor: string;
203
196
  /** active border image URL, empty when absent */
204
197
  avatarBorder: string;
205
- /** ISO 8601, empty when not premium */
206
- premiumExpiresAt: string;
198
+ roles: string[];
207
199
  }
208
200
 
209
201
  export interface UpdateProfileRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.91.0",
3
+ "version": "1.92.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
@@ -196,37 +196,38 @@ message GetPublicProfileRequest {
196
196
  string viewer_user_id = 2; // optional — present when caller is authenticated
197
197
  }
198
198
 
199
- message PublicProfileResponse {
200
- string id = 1;
201
- string username = 2;
202
- string full_name = 3;
199
+ message PublicProfileResponse {
200
+ string id = 1;
201
+ string username = 2;
202
+ string full_name = 3;
203
203
  string rating = 4; // Decimal as string
204
204
  string about_me = 5;
205
205
  repeated SocialMedia social_media = 6;
206
206
  ProfileStats stats = 7;
207
207
  repeated Video videos = 8;
208
- repeated Product products = 9;
209
- Country country = 10;
210
- string avatar_url = 11;
211
- string banner_url = 12;
212
- string role = 13;
213
- string created_at = 14;
214
- bool hide_subscriptions = 15;
215
- // Either populated lists or empty depending on hide_subscriptions
216
- repeated ProfileUser subscriptions = 16;
217
- repeated ProfileUser subscribers = 17;
218
- bool is_owner = 18;
219
- bool is_subscribed = 19; // viewer is subscribed to this profile (false when anonymous / self)
220
- // Premium fields populated only when the profile owner has an active
221
- // PremiumSubscription. Non-premium viewers and non-premium profiles see
222
- // empty strings / false.
223
- bool is_premium = 20;
224
- string profile_color = 21;
208
+ repeated Product products = 9;
209
+ Country country = 10;
210
+ string avatar_url = 11;
211
+ string banner_url = 12;
212
+ reserved 13;
213
+ reserved "role";
214
+ string created_at = 14;
215
+ bool hide_subscriptions = 15;
216
+ // Either populated lists or empty depending on hide_subscriptions
217
+ repeated ProfileUser subscriptions = 16;
218
+ repeated ProfileUser subscribers = 17;
219
+ bool is_owner = 18;
220
+ bool is_subscribed = 19; // viewer is subscribed to this profile (false when anonymous / self)
221
+ reserved 20;
222
+ reserved "is_premium";
223
+ string profile_color = 21;
225
224
  string avatar_border = 22; // active border image URL, empty when absent
226
225
  reserved 23, 24;
227
226
  reserved "animated_avatar_url", "animated_banner_url";
228
- string premium_expires_at = 25; // ISO 8601, empty when not premium
229
- }
227
+ reserved 25;
228
+ reserved "premium_expires_at";
229
+ repeated string roles = 26;
230
+ }
230
231
 
231
232
  // =================================================================
232
233
  // UpdateProfile