@restorecommerce/protos 6.10.4 → 6.10.5

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,17 @@
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.10.5](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.10.4...@restorecommerce/protos@6.10.5) (2025-01-21)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * add mfa status endpoint for users ([5583877](https://github.com/restorecommerce/libs/commit/5583877eac9150b0768ca00f8978bf2a13c1b074))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [6.10.4](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.10.3...@restorecommerce/protos@6.10.4) (2025-01-10)
7
18
 
8
19
 
@@ -56,6 +56,7 @@ service UserService {
56
56
  rpc ExchangeTOTP (ExchangeTOTPRequest) returns (UserResponse);
57
57
  rpc CreateBackupTOTPCodes (CreateBackupTOTPCodesRequest) returns (CreateBackupTOTPCodesResponse);
58
58
  rpc ResetTOTP (ResetTOTPRequest) returns (io.restorecommerce.status.OperationStatusObj);
59
+ rpc MfaStatus (MfaStatusRequest) returns (MfaStatusResponse);
59
60
  rpc GetUnauthenticatedSubjectTokenForTenant(TenantRequest) returns (TenantResponse);
60
61
  }
61
62
 
@@ -111,6 +112,17 @@ message ResetTOTPRequest {
111
112
  optional io.restorecommerce.auth.Subject subject = 2;
112
113
  }
113
114
 
115
+ message MfaStatusRequest {
116
+ optional string identifier = 1;
117
+ optional io.restorecommerce.auth.Subject subject = 2;
118
+ }
119
+
120
+ message MfaStatusResponse {
121
+ optional bool has_totp = 1;
122
+ optional bool has_backup_codes = 2;
123
+ optional io.restorecommerce.status.OperationStatus operation_status = 3;
124
+ }
125
+
114
126
  message TenantRequest {
115
127
  optional string domain = 1;
116
128
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "6.10.4",
3
+ "version": "6.10.5",
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": "66de138b77af7780a59b05743d25c8756038e658"
18
+ "gitHead": "c2f8a284289d5b1d5ec0eef82e0986192329a8cb"
19
19
  }