@restorecommerce/protos 6.8.7 → 6.8.9
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,30 @@
|
|
|
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.8.9](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.8...@restorecommerce/protos@6.8.9) (2024-08-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **oauth:** flag oauth queries, make shop domain repeatable ([7d3eaac](https://github.com/restorecommerce/libs/commit/7d3eaac1037729adf2ba5dc1bbef2021ca56fac6))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [6.8.8](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.7...@restorecommerce/protos@6.8.8) (2024-07-24)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **customer_type:** move CustomerType enum to customer.proto ([533a28f](https://github.com/restorecommerce/libs/commit/533a28f968cd3b7b8e3f57cca713c90d6092df1b))
|
|
23
|
+
* **order.proto:** add customer_type and customer_vat_id ([0885d85](https://github.com/restorecommerce/libs/commit/0885d8598b766e4088fc40b8075a860c647a5993))
|
|
24
|
+
* **order.proto:** add payment_method_id ([5517842](https://github.com/restorecommerce/libs/commit/5517842726f197d1f39ea6f93908db27f663a600))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [6.8.7](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.8.6...@restorecommerce/protos@6.8.7) (2024-05-10)
|
|
7
31
|
|
|
8
32
|
|
|
@@ -27,6 +27,12 @@ service CustomerService {
|
|
|
27
27
|
rpc Upsert (CustomerList) returns (CustomerListResponse);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
enum CustomerType {
|
|
31
|
+
PRIVATE = 0;
|
|
32
|
+
COMMERCIAL = 1;
|
|
33
|
+
PUBLIC_SECTOR = 2;
|
|
34
|
+
}
|
|
35
|
+
|
|
30
36
|
message CustomerList {
|
|
31
37
|
repeated Customer items = 1;
|
|
32
38
|
optional uint32 total_count = 2;
|
|
@@ -5,13 +5,20 @@ package io.restorecommerce.oauth;
|
|
|
5
5
|
import "io/restorecommerce/auth.proto";
|
|
6
6
|
import "io/restorecommerce/user.proto";
|
|
7
7
|
import "io/restorecommerce/status.proto";
|
|
8
|
+
import "io/restorecommerce/options.proto";
|
|
8
9
|
import "google/protobuf/empty.proto";
|
|
9
10
|
|
|
10
11
|
service OAuthService {
|
|
11
|
-
rpc
|
|
12
|
-
|
|
12
|
+
rpc GenerateLinks(google.protobuf.Empty) returns (GenerateLinksResponse) {
|
|
13
|
+
option (io.restorecommerce.options.is_query) = true;
|
|
14
|
+
};
|
|
15
|
+
rpc GetToken(GetTokenRequest) returns (GetTokenResponse) {
|
|
16
|
+
option (io.restorecommerce.options.is_query) = true;
|
|
17
|
+
};
|
|
18
|
+
rpc AvailableServices(google.protobuf.Empty) returns (ServicesResponse){
|
|
19
|
+
option (io.restorecommerce.options.is_query) = true;
|
|
20
|
+
};
|
|
13
21
|
rpc ExchangeCode(ExchangeCodeRequest) returns (ExchangeCodeResponse);
|
|
14
|
-
rpc GetToken(GetTokenRequest) returns (GetTokenResponse);
|
|
15
22
|
}
|
|
16
23
|
|
|
17
24
|
message ServicesResponse {
|
|
@@ -130,7 +130,10 @@ message Order {
|
|
|
130
130
|
optional string notification_email = 11;
|
|
131
131
|
optional string customer_order_nr = 12;
|
|
132
132
|
optional string customer_remark = 13;
|
|
133
|
-
optional io.restorecommerce.
|
|
133
|
+
optional io.restorecommerce.customer.CustomerType customer_type = 14;
|
|
134
|
+
optional string customer_vat_id = 15;
|
|
135
|
+
optional io.restorecommerce.fulfillment_product.Preferences packaging_preferences = 16;
|
|
136
|
+
optional string payment_method_id = 17;
|
|
134
137
|
}
|
|
135
138
|
|
|
136
139
|
message OrderIdList {
|
|
@@ -50,7 +50,7 @@ message Shop {
|
|
|
50
50
|
optional string shop_number = 3;
|
|
51
51
|
optional string name = 4;
|
|
52
52
|
optional string description = 5;
|
|
53
|
-
|
|
53
|
+
repeated string domains = 6;
|
|
54
54
|
optional string organization_id = 7 [
|
|
55
55
|
(io.restorecommerce.options.resolver) = {
|
|
56
56
|
target_type: ".io.restorecommerce.organization.Organization",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@restorecommerce/protos",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.9",
|
|
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": "8f418a8b25c60c689c30baa02424856665eb5969"
|
|
19
19
|
}
|