@restorecommerce/protos 4.2.0 → 5.0.1
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,34 @@
|
|
|
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
|
+
## [5.0.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@5.0.0...@restorecommerce/protos@5.0.1) (2023-07-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **fulfillment_product:** productQueryList uses reference_id:string instead of reference:Reference ([278afa8](https://github.com/restorecommerce/libs/commit/278afa89b5359765420744e1debca2387e366e15))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [5.0.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@4.2.0...@restorecommerce/protos@5.0.0) (2023-07-21)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **invoice:** fix misstyped import, regenerate types ([88fe1fd](https://github.com/restorecommerce/libs/commit/88fe1fd55cec8f488d17bb8c60f9a34fa07455fe))
|
|
23
|
+
* **product, invoice:** add and use Properties in Product and Invoice ([ecd5a01](https://github.com/restorecommerce/libs/commit/ecd5a013f742761c2aa5944318c6f9e2450dce81))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### BREAKING CHANGES
|
|
27
|
+
|
|
28
|
+
* **product, invoice:** Code and data regarding to Attibutes in Product and Invoice must be fixed
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
6
34
|
# [4.2.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@4.1.1...@restorecommerce/protos@4.2.0) (2023-07-21)
|
|
7
35
|
|
|
8
36
|
|
|
@@ -43,17 +43,14 @@ message ProductQuery {
|
|
|
43
43
|
optional io.restorecommerce.address.ShippingAddress receiver = 2;
|
|
44
44
|
repeated io.restorecommerce.fulfillment.Item items = 3;
|
|
45
45
|
optional Preferences preferences = 4;
|
|
46
|
-
|
|
47
|
-
* A forigner_key using the following pattern: `${collection}/${id}`
|
|
48
|
-
* most likly an order_id or fulfillment_id.
|
|
49
|
-
*/
|
|
50
|
-
optional string reference_id = 5;
|
|
46
|
+
optional string reference = 5;
|
|
51
47
|
}
|
|
52
48
|
|
|
53
49
|
message ProductQueryList {
|
|
54
50
|
repeated ProductQuery items = 1;
|
|
55
51
|
optional uint32 total_count = 2;
|
|
56
52
|
io.restorecommerce.auth.Subject subject = 3;
|
|
53
|
+
optional io.restorecommerce.reference.Reference reference = 4;
|
|
57
54
|
}
|
|
58
55
|
|
|
59
56
|
message FulfillmentProduct {
|
|
@@ -15,6 +15,7 @@ import "io/restorecommerce/price.proto";
|
|
|
15
15
|
import "io/restorecommerce/file.proto";
|
|
16
16
|
import "io/restorecommerce/reference.proto";
|
|
17
17
|
import "io/restorecommerce/attribute.proto";
|
|
18
|
+
import "io/restorecommerce/property.proto";
|
|
18
19
|
|
|
19
20
|
// Used by resolvers
|
|
20
21
|
import "io/restorecommerce/user.proto";
|
|
@@ -213,4 +214,5 @@ message ManualItem {
|
|
|
213
214
|
optional string stock_keeping_unit = 1;
|
|
214
215
|
optional string name = 2;
|
|
215
216
|
optional string descritpion = 3;
|
|
217
|
+
repeated io.restorecommerce.property.Property properties = 4;
|
|
216
218
|
}
|
|
@@ -12,6 +12,7 @@ import "io/restorecommerce/status.proto";
|
|
|
12
12
|
import "io/restorecommerce/attribute.proto";
|
|
13
13
|
import "io/restorecommerce/geometry.proto";
|
|
14
14
|
import "io/restorecommerce/price.proto";
|
|
15
|
+
import "io/restorecommerce/property.proto";
|
|
15
16
|
import "io/restorecommerce/options.proto";
|
|
16
17
|
|
|
17
18
|
// Used by resolvers
|
|
@@ -176,7 +177,7 @@ message PhysicalVariant {
|
|
|
176
177
|
optional string stock_keeping_unit = 8;
|
|
177
178
|
optional string template_variant = 9;
|
|
178
179
|
optional Package package = 10;
|
|
179
|
-
repeated io.restorecommerce.
|
|
180
|
+
repeated io.restorecommerce.property.Property properties = 11;
|
|
180
181
|
}
|
|
181
182
|
|
|
182
183
|
message ServiceVariant {
|
|
@@ -189,7 +190,7 @@ message ServiceVariant {
|
|
|
189
190
|
repeated io.restorecommerce.file.File files = 7;
|
|
190
191
|
optional string stock_keeping_unit = 8;
|
|
191
192
|
optional string template_variant = 9;
|
|
192
|
-
repeated io.restorecommerce.
|
|
193
|
+
repeated io.restorecommerce.property.Property properties = 10;
|
|
193
194
|
}
|
|
194
195
|
|
|
195
196
|
message VirtualVariant {
|
|
@@ -202,7 +203,7 @@ message VirtualVariant {
|
|
|
202
203
|
repeated io.restorecommerce.file.File files = 7;
|
|
203
204
|
optional string stock_keeping_unit = 8;
|
|
204
205
|
optional string template_variant = 9;
|
|
205
|
-
repeated io.restorecommerce.
|
|
206
|
+
repeated io.restorecommerce.property.Property properties = 10;
|
|
206
207
|
}
|
|
207
208
|
|
|
208
209
|
message Bundle {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@restorecommerce/protos",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
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": "40b9b296f7a67f4003279130b4ce5d63e0c406a0"
|
|
19
19
|
}
|