@restorecommerce/protos 6.11.0 → 6.11.1
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,20 @@
|
|
|
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.11.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.11.0...@restorecommerce/protos@6.11.1) (2025-03-31)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **proto:** add layout to rendering template array ([bcf636f](https://github.com/restorecommerce/libs/commit/bcf636f3ea19662a9f30b110137976eda60a0abb))
|
|
12
|
+
* **protos:** rename template use-cases ([0a578ac](https://github.com/restorecommerce/libs/commit/0a578ac076b5f5ba2fcb784d8b9db3ba76168943))
|
|
13
|
+
* **protos:** render response with repeated bodies ([a2f4df9](https://github.com/restorecommerce/libs/commit/a2f4df979155721ba50af264648c41e99e5a2224))
|
|
14
|
+
* **protos:** resolve enum error ([22b33a1](https://github.com/restorecommerce/libs/commit/22b33a18e5504ef5a0f00a653dadcbc69ad81277))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
# [6.11.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.10.5...@restorecommerce/protos@6.11.0) (2025-03-28)
|
|
7
21
|
|
|
8
22
|
|
|
@@ -22,15 +22,17 @@ message RenderRequest {
|
|
|
22
22
|
message Template {
|
|
23
23
|
optional string id = 1; // snippit name
|
|
24
24
|
optional bytes body = 2;
|
|
25
|
-
optional
|
|
25
|
+
optional bytes layout = 3;
|
|
26
|
+
optional string charset = 4; // defaults to utf-8
|
|
26
27
|
}
|
|
27
28
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
optional
|
|
31
|
-
optional
|
|
32
|
-
optional
|
|
33
|
-
optional
|
|
29
|
+
optional string id = 1;
|
|
30
|
+
repeated Template templates = 2;
|
|
31
|
+
optional google.protobuf.Any data = 3; // data to fill template with
|
|
32
|
+
optional string style_url = 4; // stylesheet URL
|
|
33
|
+
optional Strategy strategy = 5; // inlining, copying CSS into <style>, etc...
|
|
34
|
+
optional google.protobuf.Any options = 6; // rendering options JSON object
|
|
35
|
+
optional string content_type = 7; // content type for rendering such as 'application/html' or 'application/text'
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
message RenderRequestList {
|
|
@@ -40,9 +42,15 @@ message RenderRequestList {
|
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
message RenderResult {
|
|
45
|
+
message Bodies {
|
|
46
|
+
optional string id = 1; // snippit name
|
|
47
|
+
optional bytes body = 2;
|
|
48
|
+
optional string charset = 3; // defaults to utf-8
|
|
49
|
+
}
|
|
50
|
+
|
|
43
51
|
optional string id = 1; // snippit name
|
|
44
|
-
|
|
45
|
-
optional string
|
|
52
|
+
repeated Bodies bodies = 2;
|
|
53
|
+
optional string content_type = 7; // content type for rendering such as 'application/html' or 'application/text'
|
|
46
54
|
}
|
|
47
55
|
|
|
48
56
|
message RenderResponse {
|
|
@@ -35,15 +35,18 @@ enum TemplateUseCase {
|
|
|
35
35
|
REGISTRATION_EMAIL_SUBJECT = 7;
|
|
36
36
|
CHANGE_PASSWORD_EMAIL_BODY = 8;
|
|
37
37
|
CHANGE_PASSWORD_EMAIL_SUBJECT = 9;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
ORDER_PRENDING_EMAIL = 10;
|
|
39
|
+
ORDER_SUBMITTED_EMAIL = 11;
|
|
40
|
+
ORDER_COMPLETION_EMAIL = 12;
|
|
41
|
+
ORDER_CANCELATION_EMAIL = 13;
|
|
42
|
+
ORDER_WITHDRAWN_EMAIL = 14;
|
|
43
|
+
ORDER_INVALID_EMAIL = 15;
|
|
44
|
+
FULFILLMENT_PENDING_EMAIL = 16;
|
|
45
|
+
FULFILLMENT_SUBMITTED_EMAIL = 17;
|
|
46
|
+
FULFILLMENT_COMPLETION_EMAIL = 18;
|
|
47
|
+
FULFILLMENT_CANCELATION_EMAIL = 19;
|
|
48
|
+
FULFILLMENT_WITHDRAWN_EMAIL = 20;
|
|
49
|
+
FULFILLMENT_FAILED_EMAIL = 21;
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
message Deleted {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@restorecommerce/protos",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.1",
|
|
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": "bbc9ec50fc18105dac297345e4f3377ee29a30cd"
|
|
19
19
|
}
|