@restorecommerce/protos 6.1.1 → 6.2.0

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,36 @@
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.2.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.1.2...@restorecommerce/protos@6.2.0) (2023-10-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **proto:** fix user proto ([edbcd77](https://github.com/restorecommerce/libs/commit/edbcd77af9db0de1f1fab90148740983b42a6b3a))
12
+ * **proto:** update user proto to provide google protobuf any data for register request ([3b2e871](https://github.com/restorecommerce/libs/commit/3b2e871f839dd1cffb6ff1cea037911d3ae0aa9c))
13
+
14
+
15
+ ### Features
16
+
17
+ * **acs-decorators:** add decorators for simple access control ([713a464](https://github.com/restorecommerce/libs/commit/713a46409c79371d7b0940cb4aa448cbe8abaf5a))
18
+
19
+
20
+ ### Reverts
21
+
22
+ * **access_control.proto:** revert enum order ([8aaa4e6](https://github.com/restorecommerce/libs/commit/8aaa4e63675ec2bd040602236ff82b0fe80e6d14))
23
+
24
+
25
+
26
+
27
+
28
+ ## [6.1.2](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.1.1...@restorecommerce/protos@6.1.2) (2023-09-28)
29
+
30
+ **Note:** Version bump only for package @restorecommerce/protos
31
+
32
+
33
+
34
+
35
+
6
36
  ## [6.1.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.1.0...@restorecommerce/protos@6.1.1) (2023-09-18)
7
37
 
8
38
  **Note:** Version bump only for package @restorecommerce/protos
@@ -70,6 +70,7 @@ message RequestInvoiceNumber {
70
70
 
71
71
  message InvoiceNumberResponse {
72
72
  optional string invoice_number = 1;
73
+ optional io.restorecommerce.status.OperationStatus operation_status = 2;
73
74
  }
74
75
 
75
76
  message Deleted {
@@ -1,6 +1,6 @@
1
1
  syntax = "proto3";
2
2
 
3
- package io.restorecommerce.code;
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 CodeService {
12
- rpc Read (io.restorecommerce.resourcebase.ReadRequest) returns (CodeListResponse) {
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 (CodeList) returns (CodeListResponse);
15
+ rpc Create (UnitCodeList) returns (UnitCodeListResponse);
16
16
  rpc Delete (io.restorecommerce.resourcebase.DeleteRequest) returns (io.restorecommerce.resourcebase.DeleteResponse);
17
- rpc Update (CodeList) returns (CodeListResponse);
18
- rpc Upsert (CodeList) returns (CodeListResponse);
17
+ rpc Update (UnitCodeList) returns (UnitCodeListResponse);
18
+ rpc Upsert (UnitCodeList) returns (UnitCodeListResponse);
19
19
  }
20
20
 
21
- message CodeList {
22
- repeated Code items = 1;
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 CodeListResponse {
28
- repeated CodeResponse items = 1;
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 CodeResponse {
34
- optional Code payload = 1;
33
+ message UnitCodeResponse {
34
+ optional UnitCode payload = 1;
35
35
  optional io.restorecommerce.status.Status status = 2;
36
36
  }
37
37
 
38
- message Code {
38
+ message UnitCode {
39
39
  optional string id = 1;
40
40
  optional io.restorecommerce.meta.Meta meta = 2;
41
41
  optional StatusCode status = 3;
@@ -105,7 +105,8 @@ message RegisterRequest {
105
105
  optional string default_scope = 11; // default hierarchical scope
106
106
  optional UserType user_type = 12;
107
107
  optional string captcha_code = 13;
108
- }
108
+ optional google.protobuf.Any data = 14; // data
109
+ }
109
110
 
110
111
  message ActivateRequest {
111
112
  optional string identifier = 1; /// user name or email
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "6.1.1",
3
+ "version": "6.2.0",
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": "f4569b54d4a06a09d2bb3f9f92e954750b4d615c"
18
+ "gitHead": "fe7482031b7c07c4d0af62d4205eead80cbf7178"
19
19
  }