@restorecommerce/protos 6.8.3 → 6.8.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,30 @@
|
|
|
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.8.5](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.4...@restorecommerce/protos@6.8.5) (2024-04-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **facade:** add templates, fix rc-grpc-client generate command ([a029445](https://github.com/restorecommerce/libs/commit/a029445c2a91226bfc1453a41913f7a95c9264fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [6.8.4](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.3...@restorecommerce/protos@6.8.4) (2024-04-25)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **template.proto:** add template resource ([fdc5dc2](https://github.com/restorecommerce/libs/commit/fdc5dc21e00f36b434b0fcb41276f674accb80fc))
|
|
23
|
+
* **template:** fix imports ([a981ad3](https://github.com/restorecommerce/libs/commit/a981ad343e5003f184edeff5863ea1d2631dd4c6))
|
|
24
|
+
* **templates:** fix templates, add settings to customer ([e726970](https://github.com/restorecommerce/libs/commit/e726970c27ec8b323e667fff37d90f76b0ed0365))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [6.8.3](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.2...@restorecommerce/protos@6.8.3) (2024-04-23)
|
|
7
31
|
|
|
8
32
|
|
|
@@ -5,6 +5,7 @@ package io.restorecommerce.customer;
|
|
|
5
5
|
import "io/restorecommerce/resource_base.proto";
|
|
6
6
|
import "io/restorecommerce/meta.proto";
|
|
7
7
|
import "io/restorecommerce/auth.proto";
|
|
8
|
+
import "io/restorecommerce/attribute.proto";
|
|
8
9
|
import "io/restorecommerce/status.proto";
|
|
9
10
|
import "io/restorecommerce/options.proto";
|
|
10
11
|
|
|
@@ -51,6 +52,7 @@ message Customer {
|
|
|
51
52
|
Commercial commercial = 4;
|
|
52
53
|
PublicSector public_sector = 5;
|
|
53
54
|
};
|
|
55
|
+
repeated io.restorecommerce.attribute.Attribute settings = 6;
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
message Private {
|
|
@@ -94,12 +94,12 @@ message ResponsePayloadWithStatus {
|
|
|
94
94
|
|
|
95
95
|
message ResponsePayload {
|
|
96
96
|
oneof response {
|
|
97
|
-
|
|
97
|
+
ResponsePdf pdf = 1;
|
|
98
98
|
ResponseS3Upload upload_result = 2;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
message
|
|
102
|
+
message ResponsePdf {
|
|
103
103
|
bytes data = 1;
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -125,10 +125,10 @@ message InfoResponse {
|
|
|
125
125
|
// Puppeteer
|
|
126
126
|
|
|
127
127
|
message PuppeteerOptions {
|
|
128
|
-
optional
|
|
128
|
+
optional PdfOptions pdf_options = 1;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
message
|
|
131
|
+
message PdfOptions {
|
|
132
132
|
enum PaperFormat {
|
|
133
133
|
A0 = 0;
|
|
134
134
|
A1 = 1;
|
|
@@ -5,6 +5,7 @@ package io.restorecommerce.shop;
|
|
|
5
5
|
import "io/restorecommerce/resource_base.proto";
|
|
6
6
|
import "io/restorecommerce/meta.proto";
|
|
7
7
|
import "io/restorecommerce/auth.proto";
|
|
8
|
+
import "io/restorecommerce/attribute.proto";
|
|
8
9
|
import "io/restorecommerce/status.proto";
|
|
9
10
|
import "io/restorecommerce/options.proto";
|
|
10
11
|
|
|
@@ -59,4 +60,5 @@ message Shop {
|
|
|
59
60
|
field_name: "organization",
|
|
60
61
|
}
|
|
61
62
|
];
|
|
63
|
+
repeated io.restorecommerce.attribute.Attribute settings = 8;
|
|
62
64
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package io.restorecommerce.template;
|
|
4
|
+
|
|
5
|
+
import "io/restorecommerce/resource_base.proto";
|
|
6
|
+
import "io/restorecommerce/attribute.proto";
|
|
7
|
+
import "io/restorecommerce/image.proto";
|
|
8
|
+
import "io/restorecommerce/file.proto";
|
|
9
|
+
import "io/restorecommerce/meta.proto";
|
|
10
|
+
import "io/restorecommerce/auth.proto";
|
|
11
|
+
import "io/restorecommerce/status.proto";
|
|
12
|
+
import "io/restorecommerce/reference.proto";
|
|
13
|
+
import "io/restorecommerce/options.proto";
|
|
14
|
+
|
|
15
|
+
/*
|
|
16
|
+
* Microservice definition.
|
|
17
|
+
*/
|
|
18
|
+
service TemplateService {
|
|
19
|
+
rpc Read (io.restorecommerce.resourcebase.ReadRequest) returns (TemplateListResponse) {
|
|
20
|
+
option (io.restorecommerce.options.is_query) = true;
|
|
21
|
+
};
|
|
22
|
+
rpc Create (TemplateList) returns (TemplateListResponse);
|
|
23
|
+
rpc Delete (io.restorecommerce.resourcebase.DeleteRequest) returns (io.restorecommerce.resourcebase.DeleteResponse);
|
|
24
|
+
rpc Update (TemplateList) returns (TemplateListResponse);
|
|
25
|
+
rpc Upsert (TemplateList) returns (TemplateListResponse);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
message Deleted {
|
|
29
|
+
optional string id = 1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message TemplateList {
|
|
33
|
+
repeated Template items = 1;
|
|
34
|
+
optional uint32 total_count = 2;
|
|
35
|
+
optional io.restorecommerce.auth.Subject subject = 3;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message TemplateListResponse {
|
|
39
|
+
repeated TemplateResponse items = 1;
|
|
40
|
+
optional uint32 total_count = 2;
|
|
41
|
+
optional io.restorecommerce.status.OperationStatus operation_status = 3;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
message TemplateResponse {
|
|
45
|
+
optional Template payload = 1;
|
|
46
|
+
optional io.restorecommerce.status.Status status = 2;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
message Template {
|
|
50
|
+
optional string id = 1;
|
|
51
|
+
optional io.restorecommerce.meta.Meta meta = 2;
|
|
52
|
+
optional string name = 3;
|
|
53
|
+
optional string description = 4;
|
|
54
|
+
optional io.restorecommerce.reference.Reference reference = 5;
|
|
55
|
+
repeated io.restorecommerce.file.File files = 6;
|
|
56
|
+
repeated io.restorecommerce.image.Image images = 7;
|
|
57
|
+
repeated io.restorecommerce.attribute.Attribute attributes = 8;
|
|
58
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@restorecommerce/protos",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.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": "
|
|
18
|
+
"gitHead": "dfda5ac80327ab080ed2f183162267a769a66076"
|
|
19
19
|
}
|