@restorecommerce/protos 6.11.11 → 6.13.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/CHANGELOG.md CHANGED
@@ -3,6 +3,34 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [6.13.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.12.0...@restorecommerce/protos@6.13.0) (2026-03-31)
7
+
8
+
9
+ ### Features
10
+
11
+ * 418 Impersonation ([#181](https://github.com/restorecommerce/libs/issues/181)) ([45c04ca](https://github.com/restorecommerce/libs/commit/45c04ca17965e330754355393e91b28d1b0f7d8e))
12
+
13
+
14
+
15
+
16
+
17
+ # [6.12.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.11.11...@restorecommerce/protos@6.12.0) (2026-02-06)
18
+
19
+
20
+ ### Features
21
+
22
+ * **facade:** performance upgrade via latent id buffering ([579d4b9](https://github.com/restorecommerce/libs/commit/579d4b947585848c48414989ca91446315d607b3))
23
+
24
+
25
+ ### Reverts
26
+
27
+ * Revert "chore(release): publish" ([d508e8a](https://github.com/restorecommerce/libs/commit/d508e8af9803a4a182d244f48172c5881b11ebd5))
28
+ * Revert "chore(release): publish" ([8db759f](https://github.com/restorecommerce/libs/commit/8db759fd05eef801dd6ae60727ef1b763f5baafb))
29
+
30
+
31
+
32
+
33
+
6
34
  ## [6.11.11](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.11.10...@restorecommerce/protos@6.11.11) (2025-10-24)
7
35
 
8
36
  **Note:** Version bump only for package @restorecommerce/protos
@@ -23,6 +23,7 @@ message Tokens {
23
23
  optional bool interactive = 6;
24
24
  optional google.protobuf.Timestamp last_login = 7;
25
25
  optional string client_id = 8;
26
+ optional string impersonated_by = 9; // ID of the impersonator
26
27
  }
27
28
 
28
29
  message HierarchicalScope {
@@ -22,6 +22,8 @@ message Resolver {
22
22
  string target_sub_service = 3;
23
23
  string target_method = 4;
24
24
  string field_name = 5;
25
+ optional uint32 limit = 6;
26
+ optional uint32 latency = 7;
25
27
  }
26
28
 
27
29
  extend google.protobuf.MessageOptions {
@@ -58,6 +58,8 @@ service UserService {
58
58
  rpc ResetTOTP (ResetTOTPRequest) returns (io.restorecommerce.status.OperationStatusObj);
59
59
  rpc MfaStatus (MfaStatusRequest) returns (MfaStatusResponse);
60
60
  rpc GetUnauthenticatedSubjectTokenForTenant(TenantRequest) returns (TenantResponse);
61
+ rpc Impersonate (ImpersonateRequest) returns (ImpersonateResponse);
62
+ rpc EndImpersonation (EndImpersonationRequest) returns (EndImpersonateResponse);
61
63
  }
62
64
 
63
65
  /**
@@ -70,6 +72,33 @@ message LoginRequest {
70
72
  optional string token = 3;
71
73
  }
72
74
 
75
+ message ImpersonateRequest {
76
+ optional string identifier = 1; // Username to impersonate
77
+ optional io.restorecommerce.auth.Subject subject = 2; // Impersonator's subject
78
+ }
79
+
80
+ message AccessTokenData {
81
+ optional string access_token = 1;
82
+ optional google.protobuf.Timestamp expires_in = 2;
83
+ optional string token_type = 3;
84
+ optional string scope = 4;
85
+ optional string token_name = 5;
86
+ }
87
+
88
+ message ImpersonateResponse {
89
+ optional io.restorecommerce.status.Status status = 1;
90
+ optional AccessTokenData payload = 2;
91
+ }
92
+
93
+ message EndImpersonationRequest {
94
+ optional io.restorecommerce.auth.Subject subject = 1;
95
+ }
96
+
97
+ message EndImpersonateResponse {
98
+ optional io.restorecommerce.status.Status status = 1;
99
+ optional AccessTokenData payload = 2;
100
+ }
101
+
73
102
  message LoginResponse {
74
103
  optional User payload = 1;
75
104
  optional io.restorecommerce.status.Status status = 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "6.11.11",
3
+ "version": "6.13.0",
4
4
  "description": "Protobuf descriptors for Restorecommerce services",
5
5
  "author": "n-fuse GmbH",
6
6
  "repository": {
@@ -15,5 +15,5 @@
15
15
  "protobufs"
16
16
  ],
17
17
  "scripts": {},
18
- "gitHead": "ce310669b0d9a0b60ff91220267b1b7298ddcd2a"
18
+ "gitHead": "be1ca65e5b0b1b2dd54b982992100fce49712ee4"
19
19
  }