@taskora-uni/contracts 7.0.0 → 8.0.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.
@@ -17,13 +17,12 @@ export interface ListUsersRequest {
17
17
  createdAtOrder?: SortOrder | undefined;
18
18
  }
19
19
  export interface User {
20
- id: string;
20
+ accountId: string;
21
21
  firstName: string;
22
22
  lastName: string;
23
23
  email: string;
24
24
  systemRole: SystemRole;
25
25
  createdAt: Timestamp | undefined;
26
- accountId: string;
27
26
  }
28
27
  export interface ListUsersResponse {
29
28
  users: User[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taskora-uni/contracts",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
4
4
  "description": "Shared protobuf contracts and generated TypeScript bindings for Taskora Uni backend services.",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
package/proto/user.proto CHANGED
@@ -26,13 +26,12 @@ message ListUsersRequest {
26
26
  }
27
27
 
28
28
  message User {
29
- string id = 1;
29
+ string account_id = 1;
30
30
  string first_name = 2;
31
31
  string last_name = 3;
32
32
  string email = 4;
33
33
  SystemRole system_role = 5;
34
34
  google.protobuf.Timestamp created_at = 6;
35
- string account_id = 7;
36
35
  }
37
36
 
38
37
  message ListUsersResponse {