@restorecommerce/protos 3.0.0 → 3.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,17 @@
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
+ ## [3.0.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@3.0.0...@restorecommerce/protos@3.0.1) (2023-05-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **protos:** pluralize rendering proto ([f1f2afa](https://github.com/restorecommerce/libs/commit/f1f2afaa47755be6ba34fafda157ee797d2cb9fb))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.0.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@2.0.2...@restorecommerce/protos@3.0.0) (2023-05-22)
7
18
 
8
19
 
@@ -34,14 +34,14 @@ message Response {
34
34
  INDETERMINATE = 3;
35
35
  }
36
36
  Decision decision = 1;
37
- repeated io.restorecommerce.attribute.Attribute obligation = 2;
37
+ repeated io.restorecommerce.attribute.Attribute obligations = 2;
38
38
  bool evaluation_cacheable = 3;
39
39
  io.restorecommerce.status.OperationStatus operation_status = 4;
40
40
  }
41
41
 
42
42
  message ReverseQuery {
43
43
  repeated io.restorecommerce.policy_set.PolicySetRQ policy_sets = 1;
44
- repeated io.restorecommerce.attribute.Attribute obligation = 2;
44
+ repeated io.restorecommerce.attribute.Attribute obligations = 2;
45
45
  io.restorecommerce.status.OperationStatus operation_status = 3;
46
46
  }
47
47
 
@@ -5,9 +5,9 @@ package io.restorecommerce.attribute;
5
5
  message Attribute {
6
6
  optional string id = 1;
7
7
  optional string value = 2;
8
- repeated Attribute attribute = 3;
8
+ repeated Attribute attributes = 3;
9
9
  }
10
10
 
11
11
  message AttributeObj {
12
- optional Attribute attribute = 1;
12
+ optional Attribute attributes = 1;
13
13
  }
@@ -29,7 +29,7 @@ message Filter {
29
29
  }
30
30
 
31
31
  message FilterOp {
32
- repeated Filter filter = 1;
32
+ repeated Filter filters = 1;
33
33
  enum Operator {
34
34
  and = 0;
35
35
  or = 1;
@@ -156,7 +156,7 @@ message Fulfillment {
156
156
  optional Packaging packaging = 2; //filled by user
157
157
  optional io.restorecommerce.meta.Meta meta = 3;
158
158
  repeated Label labels = 4; //filled by service
159
- repeated Tracking tracking = 5; //filled by service
159
+ repeated Tracking trackings = 5; //filled by service
160
160
  optional State state = 6; //filled by service
161
161
  optional double total_price = 7;
162
162
  optional double total_vat = 8;
@@ -25,21 +25,21 @@ message TraversalRequest {
25
25
 
26
26
  message Vertices {
27
27
  string collection_name = 1;
28
- repeated string start_vertex_id = 2;
28
+ repeated string start_vertex_ids = 2;
29
29
  }
30
30
 
31
31
  message Collection {
32
32
  string collection_name = 1;
33
33
  uint32 limit = 2;
34
34
  uint32 offset = 3;
35
- repeated io.restorecommerce.resourcebase.Sort sort = 4;
35
+ repeated io.restorecommerce.resourcebase.Sort sorts = 4;
36
36
  }
37
37
 
38
38
  message Options {
39
- repeated string include_vertex = 1; // to include vertices
40
- repeated string exclude_vertex = 2; // to exclude vertices
41
- repeated string include_edge = 3; // to include vertices
42
- repeated string exclude_edge = 4; // to exclude vertices
39
+ repeated string include_vertexs = 1; // to include vertices
40
+ repeated string exclude_vertexs = 2; // to exclude vertices
41
+ repeated string include_edges = 3; // to include vertices
42
+ repeated string exclude_edges = 4; // to exclude vertices
43
43
  Direction direction = 5; // either inbound or outbound, defaults to outbound direction
44
44
  enum Direction {
45
45
  OUTBOUND = 0;
@@ -51,7 +51,7 @@ message Options {
51
51
  message Filters {
52
52
  optional string entity = 1; // entity on which the filters are applied
53
53
  optional string edge = 2; // if edge is specified depending on the direction filter are applied only for those entities
54
- repeated Filter filter = 3;
54
+ repeated Filter filters = 3;
55
55
  enum Operator {
56
56
  and = 0;
57
57
  or = 1;
@@ -89,7 +89,7 @@ message Invoice {
89
89
  * List of Invoice Positions data
90
90
  */
91
91
  message InvoicesPositionsData {
92
- repeated InvoicePositions invoices_positions_data = 1;
92
+ repeated InvoicePositions invoice_positions = 1;
93
93
  }
94
94
 
95
95
  message InvoicePositions {
@@ -128,7 +128,7 @@ message BillingAddress {
128
128
 
129
129
  message InvoicePosition {
130
130
  optional string currency = 1;
131
- repeated InvoiceRow tableList = 2;
131
+ repeated InvoiceRow invoiceRows = 2;
132
132
  optional InvoicePrice totalPrice = 3;
133
133
  }
134
134
 
@@ -165,7 +165,7 @@ message JobReadRequest {
165
165
  optional JobFilter filter = 4;
166
166
 
167
167
  // Fields selector
168
- repeated io.restorecommerce.resourcebase.FieldFilter field = 3;
168
+ repeated io.restorecommerce.resourcebase.FieldFilter fields = 3;
169
169
  io.restorecommerce.auth.Subject subject = 5;
170
170
  }
171
171
 
@@ -10,6 +10,6 @@ message Meta {
10
10
  optional double created = 1; // timestamp
11
11
  optional double modified = 2; // timestamp
12
12
  optional string modified_by = 3; // ID from last User who modified it
13
- repeated io.restorecommerce.attribute.Attribute owner = 4;
14
- repeated io.restorecommerce.attribute.AttributeObj acl = 5;
13
+ repeated io.restorecommerce.attribute.Attribute owners = 4;
14
+ repeated io.restorecommerce.attribute.AttributeObj acls = 5;
15
15
  }
@@ -30,7 +30,7 @@ message CopyRequestList {
30
30
  }
31
31
 
32
32
  message CopyResponseList {
33
- repeated copyResponsePayloadWithStatus response = 1;
33
+ repeated copyResponsePayloadWithStatus responses = 1;
34
34
  io.restorecommerce.status.OperationStatus operation_status = 2;
35
35
  }
36
36
 
@@ -104,7 +104,7 @@ message GetRequest {
104
104
  }
105
105
 
106
106
  message ListResponse {
107
- repeated ObjectsDataWithPayloadStatus response = 1;
107
+ repeated ObjectsDataWithPayloadStatus responses = 1;
108
108
  io.restorecommerce.status.OperationStatus operation_status = 2;
109
109
  }
110
110
 
@@ -175,7 +175,7 @@ message MoveRequestItem {
175
175
  }
176
176
 
177
177
  message MoveResponseList {
178
- repeated MoveResponsePayloadWithStatus response = 1;
178
+ repeated MoveResponsePayloadWithStatus responses = 1;
179
179
  io.restorecommerce.status.OperationStatus operation_status = 2;
180
180
  }
181
181
 
@@ -185,7 +185,7 @@ message VirtualVariant {
185
185
  message Bundle {
186
186
  optional string name = 1;
187
187
  optional string description = 2;
188
- repeated io.restorecommerce.image.Image image = 3;
188
+ repeated io.restorecommerce.image.Image images = 3;
189
189
  repeated BundleProduct products = 4;
190
190
  optional double price = 5;
191
191
  optional Package pre_packaged = 6;
@@ -25,10 +25,10 @@ message Payload {
25
25
  message RenderRequest {
26
26
  string id = 1; // identifies the render request payload
27
27
  // List of templates with associated data and rendering options
28
- repeated Payload payload = 2;
28
+ repeated Payload payloads = 2;
29
29
  }
30
30
 
31
31
  message RenderResponse {
32
32
  string id = 1;
33
- repeated google.protobuf.Any response = 2; // error or HTML contents
33
+ repeated google.protobuf.Any responses = 2; // error or HTML contents
34
34
  }
@@ -58,7 +58,7 @@ message Filter {
58
58
  }
59
59
 
60
60
  message FilterOp {
61
- repeated Filter filter = 1;
61
+ repeated Filter filters = 1;
62
62
  enum Operator {
63
63
  and = 0;
64
64
  or = 1;
@@ -75,13 +75,13 @@ message Search {
75
75
  message ReadRequest {
76
76
  optional uint32 offset = 1;
77
77
  optional uint32 limit = 2;
78
- repeated Sort sort = 3;
78
+ repeated Sort sorts = 3;
79
79
 
80
80
  /// Filter based on fieldName|operation, value|list
81
81
  repeated FilterOp filters = 4; // repeated filters
82
82
 
83
83
  /// Fields selector
84
- repeated FieldFilter field = 5;
84
+ repeated FieldFilter fields = 5;
85
85
 
86
86
  /** Check the query parameters of HTTP request.
87
87
  * If query parameter `locales` is given,
@@ -104,8 +104,8 @@ message DeleteRequest {
104
104
  /// Delete specified documents
105
105
  repeated string ids = 2;
106
106
  io.restorecommerce.auth.Subject subject = 3;
107
- repeated string view = 4; // list of views to be dropped
108
- repeated string analyzer = 5; // list of analyzers to be deleted
107
+ repeated string views = 4; // list of views to be dropped
108
+ repeated string analyzers = 5; // list of analyzers to be deleted
109
109
  }
110
110
 
111
111
  message DeleteResponse {
@@ -14,9 +14,9 @@ import "io/restorecommerce/options.proto";
14
14
  * Target specified by a Rule or a Request.
15
15
  */
16
16
  message Target {
17
- repeated io.restorecommerce.attribute.Attribute subject = 1;
17
+ repeated io.restorecommerce.attribute.Attribute subjects = 1;
18
18
  repeated io.restorecommerce.attribute.Attribute resources = 2;
19
- repeated io.restorecommerce.attribute.Attribute action = 3;
19
+ repeated io.restorecommerce.attribute.Attribute actions = 3;
20
20
  }
21
21
 
22
22
  /**
@@ -13,7 +13,7 @@ service SearchService {
13
13
  message SearchRequest {
14
14
  optional string collection = 1;
15
15
  optional string text = 2;
16
- repeated string acl = 3;
16
+ repeated string acls = 3;
17
17
  io.restorecommerce.auth.Subject subject = 4;
18
18
  }
19
19
 
@@ -353,5 +353,5 @@ message UserRole {
353
353
  repeated io.restorecommerce.auth.Tokens tokens = 24;
354
354
  double last_access = 25;
355
355
  google.protobuf.Any data = 26; /// additional data
356
- repeated io.restorecommerce.role.Role role = 27;
356
+ repeated io.restorecommerce.role.Role roles = 27;
357
357
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "3.0.0",
3
+ "version": "3.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": "95e7a13093fcfb008bb420881d1fdff5f081ed18"
18
+ "gitHead": "1c4ac0aaccaa55439930b96256d6db3884690cb0"
19
19
  }