@restorecommerce/protos 6.6.0 → 6.8.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,28 @@
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.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.7.0...@restorecommerce/protos@6.8.0) (2024-03-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **protos:** add tax_ids to Product.Variant, parenting in Order.Items ([2d66f4a](https://github.com/restorecommerce/libs/commit/2d66f4ac8831c84fd624d38c6a8e190f69a85703))
12
+
13
+
14
+
15
+
16
+
17
+ # [6.7.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.6.0...@restorecommerce/protos@6.7.0) (2024-01-24)
18
+
19
+
20
+ ### Features
21
+
22
+ * unauthenticated tokens ([fe89507](https://github.com/restorecommerce/libs/commit/fe895071c137bf15c68c03f1c5545612f2614bdc))
23
+
24
+
25
+
26
+
27
+
6
28
  # [6.6.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.4.1...@restorecommerce/protos@6.6.0) (2024-01-10)
7
29
 
8
30
 
@@ -77,9 +77,10 @@ message Item {
77
77
  }
78
78
  ];
79
79
  optional string variant_id = 3;
80
- optional int32 quantity = 4;
81
- optional io.restorecommerce.price.Price unit_price = 5; //Set by service
82
- optional io.restorecommerce.amount.Amount amount = 6; //Set by service
80
+ optional string parent_item_id = 4;
81
+ optional int32 quantity = 5;
82
+ optional io.restorecommerce.price.Price unit_price = 6; //Set by service
83
+ optional io.restorecommerce.amount.Amount amount = 7; //Set by service
83
84
  }
84
85
 
85
86
  /**
@@ -46,9 +46,10 @@ message Association {
46
46
  field_name: "product",
47
47
  }
48
48
  ];
49
- optional AssociationType type = 2;
50
- repeated string tags = 3;
51
- optional google.protobuf.Any data = 4;
49
+ optional string variant_id = 2;
50
+ optional AssociationType type = 3;
51
+ repeated string tags = 4;
52
+ optional google.protobuf.Any data = 5;
52
53
  }
53
54
 
54
55
  // Product resource entity
@@ -186,8 +187,17 @@ message PhysicalVariant {
186
187
  repeated io.restorecommerce.file.File files = 7;
187
188
  optional string stock_keeping_unit = 8;
188
189
  optional string parent_variant_id = 9;
189
- optional Package package = 10;
190
- repeated io.restorecommerce.property.Property properties = 11;
190
+ repeated io.restorecommerce.property.Property properties = 10;
191
+ repeated string tax_ids = 11 [
192
+ (io.restorecommerce.options.resolver) = {
193
+ target_type: ".io.restorecommerce.tax.Tax",
194
+ target_service: "master_data",
195
+ target_sub_service: "tax",
196
+ target_method: "Read",
197
+ field_name: "tax",
198
+ }
199
+ ];
200
+ optional Package package = 12;
191
201
  }
192
202
 
193
203
  message ServiceVariant {
@@ -201,6 +211,15 @@ message ServiceVariant {
201
211
  optional string stock_keeping_unit = 8;
202
212
  optional string parent_variant_id = 9;
203
213
  repeated io.restorecommerce.property.Property properties = 10;
214
+ repeated string tax_ids = 11 [
215
+ (io.restorecommerce.options.resolver) = {
216
+ target_type: ".io.restorecommerce.tax.Tax",
217
+ target_service: "master_data",
218
+ target_sub_service: "tax",
219
+ target_method: "Read",
220
+ field_name: "tax",
221
+ }
222
+ ];
204
223
  }
205
224
 
206
225
  message VirtualVariant {
@@ -214,6 +233,15 @@ message VirtualVariant {
214
233
  optional string stock_keeping_unit = 8;
215
234
  optional string parent_variant_id = 9;
216
235
  repeated io.restorecommerce.property.Property properties = 10;
236
+ repeated string tax_ids = 11 [
237
+ (io.restorecommerce.options.resolver) = {
238
+ target_type: ".io.restorecommerce.tax.Tax",
239
+ target_service: "master_data",
240
+ target_sub_service: "tax",
241
+ target_method: "Read",
242
+ field_name: "tax",
243
+ }
244
+ ];
217
245
  }
218
246
 
219
247
  message Bundle {
@@ -51,6 +51,7 @@ service UserService {
51
51
  option (io.restorecommerce.options.is_query) = true;
52
52
  };
53
53
  rpc SendActivationEmail (SendActivationEmailRequest) returns (io.restorecommerce.status.OperationStatusObj);
54
+ rpc GetUnauthenticatedSubjectTokenForTenant(TenantRequest) returns (TenantResponse);
54
55
  }
55
56
 
56
57
  /**
@@ -63,6 +64,14 @@ message LoginRequest {
63
64
  optional string token = 3;
64
65
  }
65
66
 
67
+ message TenantRequest {
68
+ optional string domain = 1;
69
+ }
70
+
71
+ message TenantResponse {
72
+ optional string token = 1;
73
+ }
74
+
66
75
  message OrgIDRequest {
67
76
  repeated string org_ids = 1;
68
77
  optional io.restorecommerce.auth.Subject subject = 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "6.6.0",
3
+ "version": "6.8.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": "362539831a3f3ccfcd23a5e5f9718d8f3c500dee"
18
+ "gitHead": "48456b8ea43fd3bfad46deaea7010ccd899ea074"
19
19
  }