@restorecommerce/protos 0.5.0 → 0.6.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,24 @@
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.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.5.0...@restorecommerce/protos@0.6.0) (2022-02-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **protos:** added type for location ([d332fdd](https://github.com/restorecommerce/libs/commit/d332fdd687b361381259b77beddc4d646ad6d718))
12
+ * **protos:** removed children_ids for location proto ([4908e7c](https://github.com/restorecommerce/libs/commit/4908e7c36312bb2a45e9402c357be8f0e0a5ffd0))
13
+ * **protos:** up organization proto to remove children_ids ([b0b8741](https://github.com/restorecommerce/libs/commit/b0b8741e2ad3b0cbec605ebbfdca75e50e7c0f61))
14
+
15
+
16
+ ### Features
17
+
18
+ * add oauth ([3e7798e](https://github.com/restorecommerce/libs/commit/3e7798e3aa10ef092872928f5254cd5fbb125f3b))
19
+
20
+
21
+
22
+
23
+
6
24
  # [0.5.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.4.11...@restorecommerce/protos@0.5.0) (2022-01-28)
7
25
 
8
26
 
@@ -47,7 +47,7 @@ message Location {
47
47
  string description = 4;
48
48
  string organization_id = 5; // Organization to which this location is linked
49
49
  string parent_id = 6; // Location which may contain this location; may be null
50
- repeated string children_ids = 7; // Locations contained in this location
51
50
  string address_id = 8;
52
51
  google.protobuf.Any data = 9; /// additional data
52
+ string type = 10; // location type
53
53
  }
@@ -0,0 +1,31 @@
1
+ syntax = "proto3";
2
+
3
+ package io.restorecommerce.oauth;
4
+
5
+ import "io/restorecommerce/user.proto";
6
+ import "google/protobuf/empty.proto";
7
+
8
+ service Service {
9
+ rpc AvailableServices(google.protobuf.Empty) returns (ServicesResponse);
10
+ rpc GenerateLinks(google.protobuf.Empty) returns (GenerateLinksResponse);
11
+ rpc ExchangeCode(ExchangeCodeRequest) returns (ExchangeCodeResponse);
12
+ }
13
+
14
+ message ServicesResponse {
15
+ repeated string services = 1;
16
+ }
17
+
18
+ message GenerateLinksResponse {
19
+ map<string, string> links = 1;
20
+ }
21
+
22
+ message ExchangeCodeRequest {
23
+ string service = 1;
24
+ string code = 2;
25
+ string state = 3;
26
+ }
27
+
28
+ message ExchangeCodeResponse {
29
+ io.restorecommerce.user.UserResponse user = 1;
30
+ string email = 2;
31
+ }
@@ -48,7 +48,6 @@ message Organization {
48
48
  io.restorecommerce.meta.Meta meta = 2;
49
49
  string address_id = 3; /// Address for the organization
50
50
  string parent_id = 4; // Hierarchically superior organization; may be null
51
- repeated string children_ids = 5; // Hierarchically inferior organizations; may be null/empty
52
51
  repeated string contact_point_ids = 6; // list of possible legal addresses of different types
53
52
  string website = 7;
54
53
  string email = 8;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "0.5.0",
3
+ "version": "0.6.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": "39da173ebfb2496f76bd0cb8f041925b2be775ea"
18
+ "gitHead": "97966555c4e421699a8a7c054f41ccc4385f618f"
19
19
  }