@aepstore-dev/contracts 1.47.1 → 1.49.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 +32 -13
- package/gen/users.ts +34 -13
- package/package.json +1 -1
- package/proto/users.proto +27 -13
package/gen/users.d.ts
CHANGED
|
@@ -162,23 +162,33 @@ export interface PublicProfileResponse {
|
|
|
162
162
|
}
|
|
163
163
|
export interface UpdateProfileRequest {
|
|
164
164
|
userId: string;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
165
|
+
/**
|
|
166
|
+
* Every editable field is `optional` so the wire format preserves the
|
|
167
|
+
* "not set" state. A partial patch from the client (e.g. only avatarUrl)
|
|
168
|
+
* no longer accidentally wipes the other columns to proto3 defaults.
|
|
169
|
+
*/
|
|
170
|
+
fullName?: string | undefined;
|
|
171
|
+
aboutMe?: string | undefined;
|
|
172
|
+
newsletterSubscription?: boolean | undefined;
|
|
173
|
+
hideSubscriptions?: boolean | undefined;
|
|
174
|
+
avatarUrl?: string | undefined;
|
|
175
|
+
bannerUrl?: string | undefined;
|
|
176
|
+
countryId?: string | undefined;
|
|
177
|
+
timezone?: string | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* social_media remains repeated (an empty list is still a meaningful
|
|
180
|
+
* "replace with empty"); the gateway omits the field entirely when the
|
|
181
|
+
* client didn't send it so partial patches don't clear social links.
|
|
182
|
+
*/
|
|
173
183
|
socialMedia: CreateSocialMedia[];
|
|
174
184
|
/**
|
|
175
185
|
* Premium-only fields — rejected with FAILED_PRECONDITION when the caller
|
|
176
|
-
* has no active premium.
|
|
186
|
+
* has no active premium. `''` = no change, `__clear__` = explicit reset.
|
|
177
187
|
*/
|
|
178
|
-
profileColor
|
|
179
|
-
avatarBorderId
|
|
180
|
-
animatedAvatarUrl
|
|
181
|
-
animatedBannerUrl
|
|
188
|
+
profileColor?: string | undefined;
|
|
189
|
+
avatarBorderId?: string | undefined;
|
|
190
|
+
animatedAvatarUrl?: string | undefined;
|
|
191
|
+
animatedBannerUrl?: string | undefined;
|
|
182
192
|
}
|
|
183
193
|
export interface UpdateUserRequest {
|
|
184
194
|
userId: string;
|
|
@@ -503,6 +513,15 @@ export interface AccountSettingsResponse {
|
|
|
503
513
|
deletedAt: string;
|
|
504
514
|
scheduledForHardDelete: string;
|
|
505
515
|
socialMedia: SocialMedia[];
|
|
516
|
+
/**
|
|
517
|
+
* Premium customization snapshot — denormalised border image URL so the
|
|
518
|
+
* client can render the current overlay without a second roundtrip.
|
|
519
|
+
*/
|
|
520
|
+
avatarBorderId: string;
|
|
521
|
+
avatarBorderImageUrl: string;
|
|
522
|
+
animatedAvatarUrl: string;
|
|
523
|
+
animatedBannerUrl: string;
|
|
524
|
+
profileColor: string;
|
|
506
525
|
}
|
|
507
526
|
export declare const USERS_V1_PACKAGE_NAME = "users.v1";
|
|
508
527
|
export interface UsersServiceClient {
|
package/gen/users.ts
CHANGED
|
@@ -190,23 +190,35 @@ export interface PublicProfileResponse {
|
|
|
190
190
|
|
|
191
191
|
export interface UpdateProfileRequest {
|
|
192
192
|
userId: string;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
193
|
+
/**
|
|
194
|
+
* Every editable field is `optional` so the wire format preserves the
|
|
195
|
+
* "not set" state. A partial patch from the client (e.g. only avatarUrl)
|
|
196
|
+
* no longer accidentally wipes the other columns to proto3 defaults.
|
|
197
|
+
*/
|
|
198
|
+
fullName?: string | undefined;
|
|
199
|
+
aboutMe?: string | undefined;
|
|
200
|
+
newsletterSubscription?: boolean | undefined;
|
|
201
|
+
hideSubscriptions?: boolean | undefined;
|
|
202
|
+
avatarUrl?: string | undefined;
|
|
203
|
+
bannerUrl?: string | undefined;
|
|
204
|
+
countryId?: string | undefined;
|
|
205
|
+
timezone?:
|
|
206
|
+
| string
|
|
207
|
+
| undefined;
|
|
208
|
+
/**
|
|
209
|
+
* social_media remains repeated (an empty list is still a meaningful
|
|
210
|
+
* "replace with empty"); the gateway omits the field entirely when the
|
|
211
|
+
* client didn't send it so partial patches don't clear social links.
|
|
212
|
+
*/
|
|
201
213
|
socialMedia: CreateSocialMedia[];
|
|
202
214
|
/**
|
|
203
215
|
* Premium-only fields — rejected with FAILED_PRECONDITION when the caller
|
|
204
|
-
* has no active premium.
|
|
216
|
+
* has no active premium. `''` = no change, `__clear__` = explicit reset.
|
|
205
217
|
*/
|
|
206
|
-
profileColor
|
|
207
|
-
avatarBorderId
|
|
208
|
-
animatedAvatarUrl
|
|
209
|
-
animatedBannerUrl
|
|
218
|
+
profileColor?: string | undefined;
|
|
219
|
+
avatarBorderId?: string | undefined;
|
|
220
|
+
animatedAvatarUrl?: string | undefined;
|
|
221
|
+
animatedBannerUrl?: string | undefined;
|
|
210
222
|
}
|
|
211
223
|
|
|
212
224
|
export interface UpdateUserRequest {
|
|
@@ -584,6 +596,15 @@ export interface AccountSettingsResponse {
|
|
|
584
596
|
deletedAt: string;
|
|
585
597
|
scheduledForHardDelete: string;
|
|
586
598
|
socialMedia: SocialMedia[];
|
|
599
|
+
/**
|
|
600
|
+
* Premium customization snapshot — denormalised border image URL so the
|
|
601
|
+
* client can render the current overlay without a second roundtrip.
|
|
602
|
+
*/
|
|
603
|
+
avatarBorderId: string;
|
|
604
|
+
avatarBorderImageUrl: string;
|
|
605
|
+
animatedAvatarUrl: string;
|
|
606
|
+
animatedBannerUrl: string;
|
|
607
|
+
profileColor: string;
|
|
587
608
|
}
|
|
588
609
|
|
|
589
610
|
export const USERS_V1_PACKAGE_NAME = "users.v1";
|
package/package.json
CHANGED
package/proto/users.proto
CHANGED
|
@@ -221,21 +221,27 @@ message PublicProfileResponse {
|
|
|
221
221
|
|
|
222
222
|
message UpdateProfileRequest {
|
|
223
223
|
string user_id = 1;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
string
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
string
|
|
224
|
+
// Every editable field is `optional` so the wire format preserves the
|
|
225
|
+
// "not set" state. A partial patch from the client (e.g. only avatarUrl)
|
|
226
|
+
// no longer accidentally wipes the other columns to proto3 defaults.
|
|
227
|
+
optional string full_name = 2;
|
|
228
|
+
optional string about_me = 3;
|
|
229
|
+
optional bool newsletter_subscription = 4;
|
|
230
|
+
optional bool hide_subscriptions = 5;
|
|
231
|
+
optional string avatar_url = 6;
|
|
232
|
+
optional string banner_url = 7;
|
|
233
|
+
optional string country_id = 8;
|
|
234
|
+
optional string timezone = 9;
|
|
235
|
+
// social_media remains repeated (an empty list is still a meaningful
|
|
236
|
+
// "replace with empty"); the gateway omits the field entirely when the
|
|
237
|
+
// client didn't send it so partial patches don't clear social links.
|
|
232
238
|
repeated CreateSocialMedia social_media = 10;
|
|
233
239
|
// Premium-only fields — rejected with FAILED_PRECONDITION when the caller
|
|
234
|
-
// has no active premium.
|
|
235
|
-
string profile_color = 11;
|
|
236
|
-
string avatar_border_id = 12;
|
|
237
|
-
string animated_avatar_url = 13;
|
|
238
|
-
string animated_banner_url = 14;
|
|
240
|
+
// has no active premium. `''` = no change, `__clear__` = explicit reset.
|
|
241
|
+
optional string profile_color = 11;
|
|
242
|
+
optional string avatar_border_id = 12;
|
|
243
|
+
optional string animated_avatar_url = 13;
|
|
244
|
+
optional string animated_banner_url = 14;
|
|
239
245
|
}
|
|
240
246
|
|
|
241
247
|
// =================================================================
|
|
@@ -657,4 +663,12 @@ message AccountSettingsResponse {
|
|
|
657
663
|
string scheduled_for_hard_delete = 29;
|
|
658
664
|
|
|
659
665
|
repeated SocialMedia social_media = 30;
|
|
666
|
+
|
|
667
|
+
// Premium customization snapshot — denormalised border image URL so the
|
|
668
|
+
// client can render the current overlay without a second roundtrip.
|
|
669
|
+
string avatar_border_id = 31;
|
|
670
|
+
string avatar_border_image_url = 32;
|
|
671
|
+
string animated_avatar_url = 33;
|
|
672
|
+
string animated_banner_url = 34;
|
|
673
|
+
string profile_color = 35;
|
|
660
674
|
}
|