@aepstore-dev/contracts 1.10.0 → 1.11.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.ts CHANGED
@@ -148,6 +148,8 @@ export interface UpdateUserRoleRequest {
148
148
  adminId: string;
149
149
  userId: string;
150
150
  role: string;
151
+ /** "grant" (default) | "revoke" */
152
+ action: string;
151
153
  }
152
154
 
153
155
  export interface GetUsersRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.10.0",
3
+ "version": "1.11.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
@@ -157,6 +157,7 @@ message UpdateUserRoleRequest {
157
157
  string admin_id = 1;
158
158
  string user_id = 2;
159
159
  string role = 3;
160
+ string action = 4; // "grant" (default) | "revoke"
160
161
  }
161
162
 
162
163
  // =================================================================