@restorecommerce/protos 6.2.2 → 6.3.0

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,33 @@
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.3.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.2.3...@restorecommerce/protos@6.3.0) (2023-11-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * added created_by field to meta of proto ([3896a40](https://github.com/restorecommerce/libs/commit/3896a407365e8ae7ca4f37fab1369b31861a9aa9))
12
+
13
+
14
+ ### Features
15
+
16
+ * **proto:** ordering-srv submit response now includes fulfillments and invoices ([146dc70](https://github.com/restorecommerce/libs/commit/146dc70bef2c8a87fded0caff4816b0f428c878b))
17
+
18
+
19
+
20
+
21
+
22
+ ## [6.2.3](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.2.2...@restorecommerce/protos@6.2.3) (2023-11-15)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **protos:** changed expries_in to timestamp and regenerated schema ([b519d8d](https://github.com/restorecommerce/libs/commit/b519d8d54cc39ecd9804401698fd452c219336a5))
28
+
29
+
30
+
31
+
32
+
6
33
  ## [6.2.2](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.2.1...@restorecommerce/protos@6.2.2) (2023-11-14)
7
34
 
8
35
 
@@ -16,12 +16,12 @@ message Subject {
16
16
 
17
17
  message Tokens {
18
18
  optional string name = 1; // token name
19
- optional double expires_in = 2; // expiration date for token
19
+ optional google.protobuf.Timestamp expires_in = 2; // expiration date for token
20
20
  optional string token = 3; // token
21
21
  repeated string scopes = 4; // identifier for role_association
22
22
  optional string type = 5; // type of token eg: access_token, refresh_token
23
23
  optional bool interactive = 6;
24
- optional double last_login = 7;
24
+ optional google.protobuf.Timestamp last_login = 7;
25
25
  }
26
26
 
27
27
  message HierarchicalScope {
@@ -10,7 +10,8 @@ import "google/protobuf/timestamp.proto";
10
10
  message Meta {
11
11
  optional google.protobuf.Timestamp created = 1; // timestamp
12
12
  optional google.protobuf.Timestamp modified = 2; // timestamp
13
- optional string modified_by = 3; // ID from last User who modified it
13
+ optional string modified_by = 3; // ID from last User who modified resource
14
14
  repeated io.restorecommerce.attribute.Attribute owners = 4;
15
15
  repeated io.restorecommerce.attribute.Attribute acls = 5;
16
+ optional string created_by = 6; // ID from User who created resource
16
17
  }
@@ -31,7 +31,7 @@ service OrderService {
31
31
  rpc Update (OrderList) returns (OrderListResponse);
32
32
  rpc Upsert (OrderList) returns (OrderListResponse);
33
33
  rpc Evaluate (OrderList) returns (OrderListResponse);
34
- rpc Submit (OrderList) returns (OrderListResponse);
34
+ rpc Submit (OrderList) returns (OrderSubmitListResponse);
35
35
  rpc Withdraw (OrderIdList) returns (OrderListResponse);
36
36
  rpc Cancel (OrderIdList) returns (OrderListResponse);
37
37
  rpc Delete (io.restorecommerce.resourcebase.DeleteRequest) returns (io.restorecommerce.resourcebase.DeleteResponse);
@@ -147,6 +147,13 @@ message OrderList {
147
147
  optional io.restorecommerce.auth.Subject subject = 3;
148
148
  }
149
149
 
150
+ message OrderSubmitListResponse {
151
+ repeated OrderResponse orders = 1;
152
+ repeated io.restorecommerce.fulfillment.FulfillmentResponse fulfillments = 2;
153
+ repeated io.restorecommerce.invoice.InvoiceResponse invoices = 3;
154
+ optional io.restorecommerce.status.OperationStatus operation_status = 4;
155
+ }
156
+
150
157
  message OrderListResponse {
151
158
  repeated OrderResponse items = 1;
152
159
  optional uint32 total_count = 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "6.2.2",
3
+ "version": "6.3.0",
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": "9876d507fa10e352fc66d11a5f27db8b4fa06020"
18
+ "gitHead": "f03058bc61ef2e04bb7b63509cd77cf60829af11"
19
19
  }