@restorecommerce/protos 6.8.9 → 6.8.11

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,31 @@
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.11](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.10...@restorecommerce/protos@6.8.11) (2024-09-23)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **protos:** add Deleted message to resource-base for general usage ([9d1fbab](https://github.com/restorecommerce/libs/commit/9d1fbabb233caebc24b73f31ccf572403bac66c3))
12
+ * **protos:** health check should have query flag ([58117a3](https://github.com/restorecommerce/libs/commit/58117a3ae596e347a7de5e7f19101bd877fbce86))
13
+ * **ptotos:** add currency.precision i.e (-2) ==> 1.00 ([ca84487](https://github.com/restorecommerce/libs/commit/ca844877909249584f795163812cc5bbebc16d07))
14
+
15
+
16
+
17
+
18
+
19
+ ## [6.8.10](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.9...@restorecommerce/protos@6.8.10) (2024-08-26)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * **decorator:** add decorator subject resolver, add query flag to odering.evaluate ([3e1064d](https://github.com/restorecommerce/libs/commit/3e1064d0aaf61ec3e149511b756f7f037ab2bc70))
25
+ * **protos:** flag graph traversal as query ([2359c1a](https://github.com/restorecommerce/libs/commit/2359c1a2be5b9bcf832d635ea18fc89a9c880eeb))
26
+
27
+
28
+
29
+
30
+
6
31
  ## [6.8.9](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.8...@restorecommerce/protos@6.8.9) (2024-08-14)
7
32
 
8
33
 
@@ -30,6 +30,7 @@
30
30
  syntax = "proto3";
31
31
 
32
32
  package grpc.health.v1;
33
+ import "io/restorecommerce/options.proto";
33
34
  option csharp_namespace = "Grpc.Health.V1";
34
35
 
35
36
  message HealthCheckRequest {
@@ -46,5 +47,7 @@ message HealthCheckResponse {
46
47
  }
47
48
 
48
49
  service Health {
49
- rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
50
+ rpc Check(HealthCheckRequest) returns (HealthCheckResponse) {
51
+ option (io.restorecommerce.options.is_query) = true;
52
+ };
50
53
  }
@@ -55,6 +55,7 @@ message Currency {
55
55
  * Regular rates are retrived from API by calling QueryExchangeRate.
56
56
  */
57
57
  repeated ExchangeRate custom_exchange_rates = 6;
58
+ optional int64 precision = 7; // -2 --> 1e^-2 --> 0.01
58
59
  }
59
60
 
60
61
  message ExchangeRate {
@@ -5,10 +5,13 @@ import "google/protobuf/any.proto";
5
5
  import "io/restorecommerce/auth.proto";
6
6
  import "io/restorecommerce/status.proto";
7
7
  import "io/restorecommerce/resource_base.proto";
8
+ import "io/restorecommerce/options.proto";
8
9
 
9
10
  // Service provides the CRUD operations
10
11
  service GraphService {
11
- rpc Traversal (TraversalRequest) returns (stream TraversalResponse);
12
+ rpc Traversal (TraversalRequest) returns (stream TraversalResponse) {
13
+ option (io.restorecommerce.options.is_query) = true;
14
+ };
12
15
  }
13
16
 
14
17
  message TraversalRequest {
@@ -31,7 +31,9 @@ service OrderService {
31
31
  rpc Create (OrderList) returns (OrderListResponse);
32
32
  rpc Update (OrderList) returns (OrderListResponse);
33
33
  rpc Upsert (OrderList) returns (OrderListResponse);
34
- rpc Evaluate (OrderList) returns (OrderListResponse);
34
+ rpc Evaluate (OrderList) returns (OrderListResponse) {
35
+ option (io.restorecommerce.options.is_query) = true;
36
+ };
35
37
  rpc Submit (OrderList) returns (OrderSubmitListResponse);
36
38
  rpc Withdraw (OrderIdList) returns (OrderListResponse);
37
39
  rpc Cancel (OrderIdList) returns (OrderListResponse);
@@ -138,3 +138,7 @@ message Resource {
138
138
  optional string id = 1;
139
139
  optional io.restorecommerce.meta.Meta meta = 2;
140
140
  }
141
+
142
+ message Deleted {
143
+ optional string id = 1;
144
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "6.8.9",
3
+ "version": "6.8.11",
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": "8f418a8b25c60c689c30baa02424856665eb5969"
18
+ "gitHead": "2dc8edfc5c7828a1ffe536ca0bf3426adcf1a57b"
19
19
  }