@aepstore-dev/contracts 1.53.0 → 1.55.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
@@ -110,6 +110,11 @@ export interface LogoutCurrentRequest {
110
110
  }
111
111
  export interface LogoutAllRequest {
112
112
  userId: string;
113
+ /**
114
+ * Current session's refresh token — excluded from the wipe so "log out
115
+ * everywhere" keeps THIS device signed in. Empty = revoke every session.
116
+ */
117
+ refreshToken: string;
113
118
  }
114
119
  export interface LogoutResponse {
115
120
  ok: boolean;
package/gen/auth.ts CHANGED
@@ -134,6 +134,11 @@ export interface LogoutCurrentRequest {
134
134
 
135
135
  export interface LogoutAllRequest {
136
136
  userId: string;
137
+ /**
138
+ * Current session's refresh token — excluded from the wipe so "log out
139
+ * everywhere" keeps THIS device signed in. Empty = revoke every session.
140
+ */
141
+ refreshToken: string;
137
142
  }
138
143
 
139
144
  export interface LogoutResponse {
package/gen/users.d.ts CHANGED
@@ -55,11 +55,17 @@ export interface Country {
55
55
  export interface SocialMedia {
56
56
  id: string;
57
57
  platform: string;
58
+ /** full link (built from username on read; empty for discord) */
58
59
  url: string;
60
+ /** handle for handle-based platforms; empty for website */
61
+ username: string;
59
62
  }
60
63
  export interface CreateSocialMedia {
61
64
  platform: string;
65
+ /** only for platform="website" */
62
66
  url: string;
67
+ /** handle for all other platforms */
68
+ username: string;
63
69
  }
64
70
  export interface ProductUser {
65
71
  id: string;
package/gen/users.ts CHANGED
@@ -72,12 +72,18 @@ export interface Country {
72
72
  export interface SocialMedia {
73
73
  id: string;
74
74
  platform: string;
75
+ /** full link (built from username on read; empty for discord) */
75
76
  url: string;
77
+ /** handle for handle-based platforms; empty for website */
78
+ username: string;
76
79
  }
77
80
 
78
81
  export interface CreateSocialMedia {
79
82
  platform: string;
83
+ /** only for platform="website" */
80
84
  url: string;
85
+ /** handle for all other platforms */
86
+ username: string;
81
87
  }
82
88
 
83
89
  export interface ProductUser {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.53.0",
3
+ "version": "1.55.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
@@ -157,6 +157,9 @@ message LogoutCurrentRequest {
157
157
 
158
158
  message LogoutAllRequest {
159
159
  string user_id = 1;
160
+ // Current session's refresh token — excluded from the wipe so "log out
161
+ // everywhere" keeps THIS device signed in. Empty = revoke every session.
162
+ string refresh_token = 2;
160
163
  }
161
164
 
162
165
  message LogoutResponse {
package/proto/users.proto CHANGED
@@ -110,12 +110,14 @@ message Country {
110
110
  message SocialMedia {
111
111
  string id = 1;
112
112
  string platform = 2;
113
- string url = 3;
113
+ string url = 3; // full link (built from username on read; empty for discord)
114
+ string username = 4; // handle for handle-based platforms; empty for website
114
115
  }
115
116
 
116
117
  message CreateSocialMedia {
117
118
  string platform = 1;
118
- string url = 2;
119
+ string url = 2; // only for platform="website"
120
+ string username = 3; // handle for all other platforms
119
121
  }
120
122
 
121
123
  message ProductUser {