@restorecommerce/protos 6.10.1 → 6.10.3

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,28 @@
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.10.3](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.10.2...@restorecommerce/protos@6.10.3) (2024-11-20)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **protos:** mark ordering EvaluateFulfillment and QueryFulfillmentSolution as Query ([4ab2e7e](https://github.com/restorecommerce/libs/commit/4ab2e7ed2eb3ecb520a669772a835b05482bcce0))
12
+
13
+
14
+
15
+
16
+
17
+ ## [6.10.2](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.10.1...@restorecommerce/protos@6.10.2) (2024-11-19)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **proto:** add auto-resolver options to currency ([bb20527](https://github.com/restorecommerce/libs/commit/bb20527e30726f2be86f2c93ab9e166cb40c341d))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [6.10.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.10.0...@restorecommerce/protos@6.10.1) (2024-11-13)
7
29
 
8
30
 
@@ -44,7 +44,15 @@ message Currency {
44
44
  optional io.restorecommerce.meta.Meta meta = 2;
45
45
  optional string name = 3;
46
46
  optional string symbol = 4;
47
- repeated string country_ids = 5;
47
+ repeated string country_ids = 5 [
48
+ (io.restorecommerce.options.resolver) = {
49
+ target_type: ".io.restorecommerce.country.Country",
50
+ target_service: "master_data",
51
+ target_sub_service: "country",
52
+ target_method: "Read",
53
+ field_name: "countries",
54
+ }
55
+ ];
48
56
  /*
49
57
  * For custom exchange rates beyond market.
50
58
  * Regular rates should be retrived from any API.
@@ -41,9 +41,13 @@ service OrderService {
41
41
 
42
42
  // Requires Fulfillment Service
43
43
  // Evaluates plausibility of the Fulfillment that would result from given order.
44
- rpc EvaluateFulfillment (OrderList) returns (io.restorecommerce.status.StatusListResponse);
44
+ rpc EvaluateFulfillment (OrderList) returns (io.restorecommerce.status.StatusListResponse) {
45
+ option (io.restorecommerce.options.is_query) = true;
46
+ };
45
47
  // Requires Fulfillment Service
46
- rpc QueryFulfillmentSolution (FulfillmentRequestList) returns (io.restorecommerce.fulfillment_product.FulfillmentSolutionListResponse);
48
+ rpc QueryFulfillmentSolution (FulfillmentRequestList) returns (io.restorecommerce.fulfillment_product.FulfillmentSolutionListResponse) {
49
+ option (io.restorecommerce.options.is_query) = true;
50
+ };
47
51
  // Requires Fulfillment Service
48
52
  rpc CreateFulfillment (FulfillmentRequestList) returns (io.restorecommerce.fulfillment.FulfillmentListResponse);
49
53
  // Requires Fulfillment Service
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "6.10.1",
3
+ "version": "6.10.3",
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": "a36ced9a9cb26bf4d8a5c0a1e6d5a7434ec60731"
18
+ "gitHead": "07b0c45a94df93d89cdb04db2b0c893d6160adfa"
19
19
  }