@restorecommerce/protos 6.1.1 → 6.1.2
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,14 @@
|
|
|
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.1.2](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.1.1...@restorecommerce/protos@6.1.2) (2023-09-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @restorecommerce/protos
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [6.1.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.1.0...@restorecommerce/protos@6.1.1) (2023-09-18)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @restorecommerce/protos
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
|
|
3
|
-
package io.restorecommerce.
|
|
3
|
+
package io.restorecommerce.unit_code;
|
|
4
4
|
|
|
5
5
|
import "io/restorecommerce/resource_base.proto";
|
|
6
6
|
import "io/restorecommerce/meta.proto";
|
|
@@ -8,34 +8,34 @@ import "io/restorecommerce/auth.proto";
|
|
|
8
8
|
import "io/restorecommerce/status.proto";
|
|
9
9
|
import "io/restorecommerce/options.proto";
|
|
10
10
|
|
|
11
|
-
service
|
|
12
|
-
rpc Read (io.restorecommerce.resourcebase.ReadRequest) returns (
|
|
11
|
+
service UnitCodeService {
|
|
12
|
+
rpc Read (io.restorecommerce.resourcebase.ReadRequest) returns (UnitCodeListResponse) {
|
|
13
13
|
option (io.restorecommerce.options.is_query) = true;
|
|
14
14
|
};
|
|
15
|
-
rpc Create (
|
|
15
|
+
rpc Create (UnitCodeList) returns (UnitCodeListResponse);
|
|
16
16
|
rpc Delete (io.restorecommerce.resourcebase.DeleteRequest) returns (io.restorecommerce.resourcebase.DeleteResponse);
|
|
17
|
-
rpc Update (
|
|
18
|
-
rpc Upsert (
|
|
17
|
+
rpc Update (UnitCodeList) returns (UnitCodeListResponse);
|
|
18
|
+
rpc Upsert (UnitCodeList) returns (UnitCodeListResponse);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
message
|
|
22
|
-
repeated
|
|
21
|
+
message UnitCodeList {
|
|
22
|
+
repeated UnitCode items = 1;
|
|
23
23
|
optional uint32 total_count = 2;
|
|
24
24
|
optional io.restorecommerce.auth.Subject subject = 3;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
message
|
|
28
|
-
repeated
|
|
27
|
+
message UnitCodeListResponse {
|
|
28
|
+
repeated UnitCodeResponse items = 1;
|
|
29
29
|
optional uint32 total_count = 2;
|
|
30
30
|
optional io.restorecommerce.status.OperationStatus operation_status = 3;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
message
|
|
34
|
-
optional
|
|
33
|
+
message UnitCodeResponse {
|
|
34
|
+
optional UnitCode payload = 1;
|
|
35
35
|
optional io.restorecommerce.status.Status status = 2;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
message
|
|
38
|
+
message UnitCode {
|
|
39
39
|
optional string id = 1;
|
|
40
40
|
optional io.restorecommerce.meta.Meta meta = 2;
|
|
41
41
|
optional StatusCode status = 3;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@restorecommerce/protos",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.2",
|
|
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": "49a44b805bed0b3072587e2c95c2bd1488810eae"
|
|
19
19
|
}
|