@restorecommerce/protos 0.6.6 → 0.6.7
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 +8 -0
- package/io/restorecommerce/invoice.proto +15 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.6.7](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.6.6...@restorecommerce/protos@0.6.7) (2022-04-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @restorecommerce/protos
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.6.6](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.6.5...@restorecommerce/protos@0.6.6) (2022-04-05)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @restorecommerce/protos
|
|
@@ -18,6 +18,16 @@ service Service {
|
|
|
18
18
|
rpc Delete (io.restorecommerce.resourcebase.DeleteRequest) returns (io.restorecommerce.resourcebase.DeleteResponse);
|
|
19
19
|
rpc Update (InvoiceList) returns (InvoiceListResponse);
|
|
20
20
|
rpc Upsert (InvoiceList) returns (InvoiceListResponse);
|
|
21
|
+
rpc GenerateInvoiceNumber(RequestInvoiceNumber) returns (InvoiceNumberResponse);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message RequestInvoiceNumber {
|
|
25
|
+
google.protobuf.Any context = 1;
|
|
26
|
+
io.restorecommerce.auth.Subject subject = 3;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
message InvoiceNumberResponse {
|
|
30
|
+
string invoice_no = 1;
|
|
21
31
|
}
|
|
22
32
|
|
|
23
33
|
message Deleted {
|
|
@@ -77,11 +87,14 @@ message InvoicePositions {
|
|
|
77
87
|
io.restorecommerce.organization.Organization recipient_organization = 6;
|
|
78
88
|
io.restorecommerce.organization.Organization sender_organization = 7;
|
|
79
89
|
google.protobuf.Any payment_method_details = 8;
|
|
90
|
+
string invoice_no = 9; // optional invoice number if not it will be generated by service
|
|
91
|
+
double from_date = 10; // value performance from date
|
|
92
|
+
double to_date = 11; // value performance to date
|
|
80
93
|
}
|
|
81
94
|
|
|
82
95
|
message RecipientCustomer {
|
|
83
96
|
string id = 1; // customer id - used to store the resource in DB
|
|
84
|
-
string customer_number = 2; // displayed in invoice
|
|
97
|
+
string customer_number = 2; // displayed in invoice
|
|
85
98
|
}
|
|
86
99
|
|
|
87
100
|
message BillingAddress {
|
|
@@ -111,6 +124,7 @@ message InvoiceRow {
|
|
|
111
124
|
uint32 quantity = 3;
|
|
112
125
|
string vat = 4;
|
|
113
126
|
double amount = 5;
|
|
127
|
+
double contract_start_date = 6; // if there is any contract associated with product
|
|
114
128
|
}
|
|
115
129
|
|
|
116
130
|
message InvoicePrice {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@restorecommerce/protos",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7",
|
|
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": "bc9bea7088f12bf1e539559cb840ec4c66b2a5f9"
|
|
19
19
|
}
|