@restorecommerce/protos 0.6.2 → 0.6.5

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,40 @@
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.5](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.6.4...@restorecommerce/protos@0.6.5) (2022-03-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **protos:** updated invoice proto ([c927dae](https://github.com/restorecommerce/libs/commit/c927dae3ee9a4b8f47b0844feaa615a15a7f1afd))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.6.4](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.6.3...@restorecommerce/protos@0.6.4) (2022-02-22)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **protos:** add token to code exchange ([9c17cb6](https://github.com/restorecommerce/libs/commit/9c17cb6e3a16761a85a4b9379c3c6996cc5422e8))
23
+
24
+
25
+
26
+
27
+
28
+ ## [0.6.3](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.6.0...@restorecommerce/protos@0.6.3) (2022-02-14)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **protos:** added data field for user and created time stamp for role associations ([cf14968](https://github.com/restorecommerce/libs/commit/cf14968aa1575ef83fde4b73780ba80fd3bf0188))
34
+ * **protos:** fix auth proto ([b5e7f41](https://github.com/restorecommerce/libs/commit/b5e7f410bad2c1786e69186555584f591cd0c48b))
35
+
36
+
37
+
38
+
39
+
6
40
  # [0.6.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.5.0...@restorecommerce/protos@0.6.0) (2022-02-09)
7
41
 
8
42
 
@@ -319,4 +353,4 @@ Updated user proto to include auth_context and roles proto to include `assignabl
319
353
 
320
354
  ### 0.0.1 (January 29th, 2020)
321
355
 
322
- Initial share.
356
+ Initial share
package/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) n-fuse GmbH and other contributors.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
@@ -105,15 +105,15 @@ message InvoicePosition {
105
105
 
106
106
  message InvoiceRow {
107
107
  string product = 1;
108
- uint32 pricePerUnit = 2;
108
+ double pricePerUnit = 2;
109
109
  uint32 quantity = 3;
110
110
  string vat = 4;
111
- uint32 amount = 5;
111
+ double amount = 5;
112
112
  }
113
113
 
114
114
  message InvoicePrice {
115
- uint32 gross = 1;
116
- uint32 net = 2;
115
+ double gross = 1;
116
+ double net = 2;
117
117
  }
118
118
 
119
119
  message TriggerInvoices {
@@ -2,6 +2,7 @@ syntax = "proto3";
2
2
 
3
3
  package io.restorecommerce.oauth;
4
4
 
5
+ import "io/restorecommerce/auth.proto";
5
6
  import "io/restorecommerce/user.proto";
6
7
  import "google/protobuf/empty.proto";
7
8
 
@@ -28,4 +29,5 @@ message ExchangeCodeRequest {
28
29
  message ExchangeCodeResponse {
29
30
  io.restorecommerce.user.UserResponse user = 1;
30
31
  string email = 2;
32
+ io.restorecommerce.auth.Tokens token = 3;
31
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "0.6.2",
3
+ "version": "0.6.5",
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": "0a6f7c94bfb1811c5dd60ab8c4912a41299b3717"
18
+ "gitHead": "971b655c0ca23f4d0a2ad9d4d8a697df575d4bf2"
19
19
  }