@restorecommerce/protos 0.4.9 → 0.4.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,29 @@
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
+ ## [0.4.11](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.4.10...@restorecommerce/protos@0.4.11) (2021-12-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **protos:** updated access_control proto to include `obligation` in isAllowed and whatIsAllowed response. ([c2af601](https://github.com/restorecommerce/libs/commit/c2af60104bf8cbcde9296ee99a374b6bdddb132a))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.4.10](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.4.9...@restorecommerce/protos@0.4.10) (2021-12-06)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **protos:** fixed import and reference errors ([6efb6b1](https://github.com/restorecommerce/libs/commit/6efb6b1954bf6449f8c58e267f959b22c45e8066))
23
+ * **protos:** updated graph proto to include operation status ([dcf0a39](https://github.com/restorecommerce/libs/commit/dcf0a3920bcfd098efdd42d6186864359025b1fd))
24
+
25
+
26
+
27
+
28
+
6
29
  ## [0.4.9](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.4.8...@restorecommerce/protos@0.4.9) (2021-11-08)
7
30
 
8
31
 
@@ -6,6 +6,7 @@ import "google/protobuf/any.proto";
6
6
  import "io/restorecommerce/rule.proto";
7
7
  import "io/restorecommerce/policy_set.proto";
8
8
  import "io/restorecommerce/status.proto";
9
+ import "io/restorecommerce/attribute.proto";
9
10
 
10
11
  /**
11
12
  * Access control service interface.
@@ -32,14 +33,15 @@ message Response {
32
33
  INDETERMINATE = 3;
33
34
  }
34
35
  Decision decision = 1;
35
- string obligation = 2;
36
+ repeated io.restorecommerce.attribute.Attribute obligation = 2;
36
37
  bool evaluation_cacheable = 3;
37
38
  io.restorecommerce.status.OperationStatus operation_status = 4;
38
39
  }
39
40
 
40
41
  message ReverseQuery {
41
42
  repeated io.restorecommerce.policy_set.PolicySetRQ policy_sets = 1;
42
- io.restorecommerce.status.OperationStatus operation_status = 2;
43
+ repeated io.restorecommerce.attribute.Attribute obligation = 2;
44
+ io.restorecommerce.status.OperationStatus operation_status = 3;
43
45
  }
44
46
 
45
47
  service Service {
@@ -8,6 +8,7 @@ import "io/restorecommerce/auth.proto";
8
8
  import "io/restorecommerce/status.proto";
9
9
  import "io/restorecommerce/address.proto";
10
10
  import "io/restorecommerce/country.proto";
11
+ import "io/restorecommerce/meta.proto";
11
12
 
12
13
  /**
13
14
  Microservice definition.
@@ -92,7 +93,7 @@ message Address {
92
93
  Packstation packstation = 4;
93
94
  Branch branch = 5;
94
95
  };
95
- io.restorecommerce.counrty country = 6;
96
+ io.restorecommerce.country.Country country = 6;
96
97
  Contact contact = 7;
97
98
  }
98
99
 
@@ -6,6 +6,7 @@ import "io/restorecommerce/resource_base.proto";
6
6
  import "io/restorecommerce/meta.proto";
7
7
  import "io/restorecommerce/auth.proto";
8
8
  import "io/restorecommerce/status.proto";
9
+ import "google/protobuf/any.proto";
9
10
 
10
11
  /**
11
12
  Microservice defination
@@ -7,6 +7,8 @@ import "io/restorecommerce/meta.proto";
7
7
  import "io/restorecommerce/auth.proto";
8
8
  import "io/restorecommerce/status.proto";
9
9
  import "io/restorecommerce/fulfillment.proto";
10
+ import "io/restorecommerce/country.proto";
11
+ import "io/restorecommerce/attribute.proto";
10
12
 
11
13
  /**
12
14
  Microservice defination
@@ -57,12 +59,12 @@ message Product {
57
59
  string courier_id = 4;
58
60
  repeated io.restorecommerce.country.Country start_country = 5;
59
61
  repeated string start_zone = 6;
60
- repeated io.restorecommerce.country.Country destination_country = 5;
61
- repeated string destination_zone = 6;
62
- repeated string tax_id = 7;
63
- repeated io.restorecommerce.attribute.Attribute attributes = 8;
64
- repeated Variant variants = 9;
65
- io.restorecommerce.meta.Meta meta = 10;
62
+ repeated io.restorecommerce.country.Country destination_country = 7;
63
+ repeated string destination_zone = 8;
64
+ repeated string tax_id = 9;
65
+ repeated io.restorecommerce.attribute.Attribute attributes = 10;
66
+ repeated Variant variants = 11;
67
+ io.restorecommerce.meta.Meta meta = 12;
66
68
  }
67
69
 
68
70
  message Variant {
@@ -2,6 +2,7 @@ syntax = "proto3";
2
2
  package io.restorecommerce.graph;
3
3
  import "google/protobuf/any.proto";
4
4
  import "io/restorecommerce/auth.proto";
5
+ import "io/restorecommerce/status.proto";
5
6
 
6
7
  // Service provides the CRUD operations
7
8
  service Service {
@@ -33,6 +34,7 @@ message TraversalResponse {
33
34
  repeated VertexFields vertex_fields = 1;
34
35
  google.protobuf.Any paths = 2;
35
36
  google.protobuf.Any data = 3;
37
+ io.restorecommerce.status.OperationStatus operation_status = 4;
36
38
  }
37
39
 
38
40
  message VertexFields {
@@ -1,6 +1,5 @@
1
1
  syntax = "proto3";
2
2
  package io.restorecommerce.payment;
3
- import "google/protobuf/wrappers.proto";
4
3
  import "io/restorecommerce/auth.proto";
5
4
  import "io/restorecommerce/status.proto";
6
5
 
@@ -75,7 +75,7 @@ message Variant {
75
75
  repeated io.restorecommerce.image.Image image = 8;
76
76
  string stock_keeping_unit = 9;
77
77
  string template_variant = 10;
78
- repeated Attribute attributes = 11;
78
+ repeated io.restorecommerce.attribute.Attribute attributes = 11;
79
79
  }
80
80
 
81
81
  message Bundle {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "0.4.9",
3
+ "version": "0.4.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": "7675f7d05a53a7fcde45852b9a798a47099ca11f"
18
+ "gitHead": "162ea83a0b06d629c84f760e69bb07ca412800fe"
19
19
  }