@restorecommerce/protos 6.8.10 → 6.8.12
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 +24 -0
- package/grpc/health/v1/health.proto +4 -1
- package/io/restorecommerce/currency.proto +1 -0
- package/io/restorecommerce/fulfillment_product.proto +12 -11
- package/io/restorecommerce/order.proto +1 -1
- package/io/restorecommerce/resource_base.proto +4 -0
- package/package.json +2 -2
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.12](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.11...@restorecommerce/protos@6.8.12) (2024-11-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **protos:** rename Packing --> Fulfillment ([9f87591](https://github.com/restorecommerce/libs/commit/9f87591bd8549028ab57cf3aaf5bc1c26bd12f9b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [6.8.11](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.10...@restorecommerce/protos@6.8.11) (2024-09-23)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **protos:** add Deleted message to resource-base for general usage ([9d1fbab](https://github.com/restorecommerce/libs/commit/9d1fbabb233caebc24b73f31ccf572403bac66c3))
|
|
23
|
+
* **protos:** health check should have query flag ([58117a3](https://github.com/restorecommerce/libs/commit/58117a3ae596e347a7de5e7f19101bd877fbce86))
|
|
24
|
+
* **ptotos:** add currency.precision i.e (-2) ==> 1.00 ([ca84487](https://github.com/restorecommerce/libs/commit/ca844877909249584f795163812cc5bbebc16d07))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [6.8.10](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.9...@restorecommerce/protos@6.8.10) (2024-08-26)
|
|
7
31
|
|
|
8
32
|
|
|
@@ -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
|
}
|
|
@@ -24,7 +24,7 @@ service FulfillmentProductService {
|
|
|
24
24
|
rpc Read (io.restorecommerce.resourcebase.ReadRequest) returns (FulfillmentProductListResponse) {
|
|
25
25
|
option (io.restorecommerce.options.is_query) = true;
|
|
26
26
|
};
|
|
27
|
-
rpc Find (
|
|
27
|
+
rpc Find (FulfillmentSolutionQueryList) returns (FulfillmentSolutionListResponse) {
|
|
28
28
|
option (io.restorecommerce.options.is_query) = true;
|
|
29
29
|
};
|
|
30
30
|
rpc Create (FulfillmentProductList) returns (FulfillmentProductListResponse);
|
|
@@ -34,11 +34,12 @@ service FulfillmentProductService {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
message Preferences {
|
|
37
|
-
|
|
38
|
-
repeated
|
|
37
|
+
optional bool partial_filfillment_allowed = 1;
|
|
38
|
+
repeated string couriers = 2; // ID of courier
|
|
39
|
+
repeated io.restorecommerce.attribute.Attribute options = 3; // Courier specific options such as C02 neutral delivery etc.
|
|
39
40
|
}
|
|
40
41
|
|
|
41
|
-
message
|
|
42
|
+
message FulfillmentSolutionQuery {
|
|
42
43
|
optional string customer_id = 1 [
|
|
43
44
|
(io.restorecommerce.options.resolver) = {
|
|
44
45
|
target_type: ".io.restorecommerce.customer.Customer",
|
|
@@ -64,8 +65,8 @@ message PackingSolutionQuery {
|
|
|
64
65
|
optional io.restorecommerce.reference.Reference reference = 7;
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
message
|
|
68
|
-
repeated
|
|
68
|
+
message FulfillmentSolutionQueryList {
|
|
69
|
+
repeated FulfillmentSolutionQuery items = 1;
|
|
69
70
|
optional uint32 total_count = 2;
|
|
70
71
|
optional io.restorecommerce.auth.Subject subject = 3;
|
|
71
72
|
}
|
|
@@ -126,7 +127,7 @@ message FulfillmentProductListResponse {
|
|
|
126
127
|
optional io.restorecommerce.status.OperationStatus operation_status = 3;
|
|
127
128
|
}
|
|
128
129
|
|
|
129
|
-
message
|
|
130
|
+
message FulfillmentSolution {
|
|
130
131
|
repeated io.restorecommerce.amount.Amount amounts = 1;
|
|
131
132
|
optional double compactness = 2;
|
|
132
133
|
optional double homogeneity = 3;
|
|
@@ -134,14 +135,14 @@ message PackingSolution {
|
|
|
134
135
|
repeated io.restorecommerce.fulfillment.Parcel parcels = 5;
|
|
135
136
|
}
|
|
136
137
|
|
|
137
|
-
message
|
|
138
|
+
message FulfillmentSolutionResponse {
|
|
138
139
|
optional io.restorecommerce.reference.Reference reference = 1;
|
|
139
|
-
repeated
|
|
140
|
+
repeated FulfillmentSolution solutions = 2;
|
|
140
141
|
optional io.restorecommerce.status.Status status = 3;
|
|
141
142
|
}
|
|
142
143
|
|
|
143
|
-
message
|
|
144
|
-
repeated
|
|
144
|
+
message FulfillmentSolutionListResponse {
|
|
145
|
+
repeated FulfillmentSolutionResponse items = 1;
|
|
145
146
|
optional uint32 total_count = 2;
|
|
146
147
|
optional io.restorecommerce.status.OperationStatus operation_status = 3;
|
|
147
148
|
}
|
|
@@ -40,7 +40,7 @@ service OrderService {
|
|
|
40
40
|
rpc Delete (io.restorecommerce.resourcebase.DeleteRequest) returns (io.restorecommerce.resourcebase.DeleteResponse);
|
|
41
41
|
|
|
42
42
|
// Requires Fulfillment Service
|
|
43
|
-
rpc
|
|
43
|
+
rpc QueryFulfillmentSolution (FulfillmentRequestList) returns (io.restorecommerce.fulfillment_product.FulfillmentSolutionListResponse);
|
|
44
44
|
// Requires Fulfillment Service
|
|
45
45
|
rpc CreateFulfillment (FulfillmentRequestList) returns (io.restorecommerce.fulfillment.FulfillmentListResponse);
|
|
46
46
|
// Requires Fulfillment Service
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@restorecommerce/protos",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.12",
|
|
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": "2cdfe2ff31f5c695c8789831fd7b797e5256e25d"
|
|
19
19
|
}
|