@restorecommerce/protos 6.2.3 → 6.4.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.4.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.3.0...@restorecommerce/protos@6.4.0) (2023-11-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **proto:** add queue name to job protos ([0c09086](https://github.com/restorecommerce/libs/commit/0c09086c7e41a7759a62970ad182d9816c30e773))
12
+
13
+
14
+
15
+
16
+
17
+ # [6.3.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.2.3...@restorecommerce/protos@6.3.0) (2023-11-22)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * added created_by field to meta of proto ([3896a40](https://github.com/restorecommerce/libs/commit/3896a407365e8ae7ca4f37fab1369b31861a9aa9))
23
+
24
+
25
+ ### Features
26
+
27
+ * **proto:** ordering-srv submit response now includes fulfillments and invoices ([146dc70](https://github.com/restorecommerce/libs/commit/146dc70bef2c8a87fded0caff4816b0f428c878b))
28
+
29
+
30
+
31
+
32
+
6
33
  ## [6.2.3](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.2.2...@restorecommerce/protos@6.2.3) (2023-11-15)
7
34
 
8
35
 
@@ -56,13 +56,11 @@ message JobResponse {
56
56
  */
57
57
  message Job {
58
58
  optional string id = 1; // Job ID
59
-
60
- optional string type = 11; // Job type
61
- optional Data data = 12; // Job-specific data with variable payload
62
-
63
- optional string when = 21; // Used to specify the time at which the job is run
64
-
65
- optional JobOptions options = 30; // The job options
59
+ optional string type = 2; // Job type
60
+ optional Data data = 3; // Job-specific data with variable payload
61
+ optional string queue_name = 4; // Queue name to which the job should be added to
62
+ optional string when = 5; // Used to specify the time at which the job is run
63
+ optional JobOptions options = 6; // The job options
66
64
  }
67
65
 
68
66
  /**
@@ -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.3",
3
+ "version": "6.4.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": "ef3bd77c3235fd03f2a4963eecc19fde31b6bf1b"
18
+ "gitHead": "bb96733796f69fafdb0daf6062e4f2f49caecacf"
19
19
  }