@restorecommerce/protos 6.10.3 → 6.10.4
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,18 @@
|
|
|
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.4](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.10.3...@restorecommerce/protos@6.10.4) (2025-01-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **protos:** add backup and reset for totp ([5a680c9](https://github.com/restorecommerce/libs/commit/5a680c930140e4f06f57038848f512844f3e2603))
|
|
12
|
+
* **proto:** template more use-cases ([e17251f](https://github.com/restorecommerce/libs/commit/e17251fcbe21d04842e0638721683ee90c2ecfff))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [6.10.3](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.10.2...@restorecommerce/protos@6.10.3) (2024-11-20)
|
|
7
19
|
|
|
8
20
|
|
|
@@ -63,9 +63,9 @@ message ContactPoint {
|
|
|
63
63
|
(io.restorecommerce.options.resolver) = {
|
|
64
64
|
target_type: ".io.restorecommerce.contact_point_type.ContactPointType",
|
|
65
65
|
target_service: "master_data",
|
|
66
|
-
target_sub_service: "
|
|
66
|
+
target_sub_service: "contact_point_types",
|
|
67
67
|
target_method: "Read",
|
|
68
|
-
field_name: "
|
|
68
|
+
field_name: "contactPointTypes",
|
|
69
69
|
}
|
|
70
70
|
];
|
|
71
71
|
optional string telephone = 8;
|
|
@@ -27,10 +27,14 @@ service TemplateService {
|
|
|
27
27
|
enum TemplateUseCase {
|
|
28
28
|
MISCELLANEOUS = 0;
|
|
29
29
|
INVOICE_PDF = 1;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
INVOICE_EMAIL_BODY = 2;
|
|
31
|
+
INVOICE_EMAIL_SUBJECT = 3;
|
|
32
|
+
INVITATION_EMAIL_BODY = 4;
|
|
33
|
+
INVITATION_EMAIL_SUBJECT = 5;
|
|
34
|
+
REGISTRATION_EMAIL_BODY = 6;
|
|
35
|
+
REGISTRATION_EMAIL_SUBJECT = 7;
|
|
36
|
+
CHANGE_PASSWORD_EMAIL_BODY = 8;
|
|
37
|
+
CHANGE_PASSWORD_EMAIL_SUBJECT = 9;
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
message Deleted {
|
|
@@ -55,8 +59,8 @@ message TemplateResponse {
|
|
|
55
59
|
}
|
|
56
60
|
|
|
57
61
|
message Localization {
|
|
58
|
-
repeated string
|
|
59
|
-
optional io.restorecommerce.file.File l10n = 2; // JSON
|
|
62
|
+
repeated string locales = 1; // locales suported by this file e.g. en, en_US, en_UK, ...
|
|
63
|
+
optional io.restorecommerce.file.File l10n = 2; // JSON or CSV
|
|
60
64
|
}
|
|
61
65
|
|
|
62
66
|
message Template {
|
|
@@ -67,10 +71,10 @@ message Template {
|
|
|
67
71
|
optional TemplateUseCase use_case = 5;
|
|
68
72
|
optional uint32 ordinal = 6; // sort number
|
|
69
73
|
optional string section = 7; // e.g. header, body, footer
|
|
70
|
-
|
|
71
|
-
|
|
74
|
+
repeated io.restorecommerce.file.File bodies = 8; // e.g. text/html
|
|
75
|
+
repeated io.restorecommerce.file.File layouts = 9;
|
|
72
76
|
repeated io.restorecommerce.file.File styles = 10; // e.g. application/css
|
|
73
77
|
repeated io.restorecommerce.image.Image images = 11;
|
|
74
|
-
repeated Localization
|
|
78
|
+
repeated Localization localizations = 12;
|
|
75
79
|
repeated io.restorecommerce.attribute.Attribute attributes = 14;
|
|
76
80
|
}
|
|
@@ -54,6 +54,8 @@ service UserService {
|
|
|
54
54
|
rpc SetupTOTP (SetupTOTPRequest) returns (SetupTOTPResponse);
|
|
55
55
|
rpc CompleteTOTPSetup (CompleteTOTPSetupRequest) returns (io.restorecommerce.status.OperationStatusObj);
|
|
56
56
|
rpc ExchangeTOTP (ExchangeTOTPRequest) returns (UserResponse);
|
|
57
|
+
rpc CreateBackupTOTPCodes (CreateBackupTOTPCodesRequest) returns (CreateBackupTOTPCodesResponse);
|
|
58
|
+
rpc ResetTOTP (ResetTOTPRequest) returns (io.restorecommerce.status.OperationStatusObj);
|
|
57
59
|
rpc GetUnauthenticatedSubjectTokenForTenant(TenantRequest) returns (TenantResponse);
|
|
58
60
|
}
|
|
59
61
|
|
|
@@ -94,6 +96,21 @@ message ExchangeTOTPRequest {
|
|
|
94
96
|
optional string totp_session_token = 3;
|
|
95
97
|
}
|
|
96
98
|
|
|
99
|
+
message CreateBackupTOTPCodesRequest {
|
|
100
|
+
optional string identifier = 1;
|
|
101
|
+
optional io.restorecommerce.auth.Subject subject = 2;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
message CreateBackupTOTPCodesResponse {
|
|
105
|
+
repeated string backup_codes = 1;
|
|
106
|
+
optional io.restorecommerce.status.OperationStatus operation_status = 2;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
message ResetTOTPRequest {
|
|
110
|
+
optional string identifier = 1;
|
|
111
|
+
optional io.restorecommerce.auth.Subject subject = 2;
|
|
112
|
+
}
|
|
113
|
+
|
|
97
114
|
message TenantRequest {
|
|
98
115
|
optional string domain = 1;
|
|
99
116
|
}
|
|
@@ -350,6 +367,7 @@ message User {
|
|
|
350
367
|
optional string totp_secret_processing = 28; /// TOTP Secret before being confirmed
|
|
351
368
|
repeated string totp_session_tokens = 29; /// TOTP Login session tokens
|
|
352
369
|
repeated string password_hash_history = 30; // List of historical password hashes
|
|
370
|
+
repeated string totp_recovery_codes = 31; // List of TOTP recovery codes
|
|
353
371
|
}
|
|
354
372
|
|
|
355
373
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@restorecommerce/protos",
|
|
3
|
-
"version": "6.10.
|
|
3
|
+
"version": "6.10.4",
|
|
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": "
|
|
18
|
+
"gitHead": "66de138b77af7780a59b05743d25c8756038e658"
|
|
19
19
|
}
|