@restorecommerce/protos 4.1.1 → 4.2.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,19 @@
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
+ # [4.2.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@4.1.1...@restorecommerce/protos@4.2.0) (2023-07-21)
7
+
8
+
9
+ ### Features
10
+
11
+ * **protos:** add property type ([397aaaa](https://github.com/restorecommerce/libs/commit/397aaaae8b02459b816d71d6c4e161da8da0b3f1))
12
+ * **protos:** updated property proto for capital case and removed unused proto messages ([c185814](https://github.com/restorecommerce/libs/commit/c18581474ea98e45bf91e9029a701117aeb72a11))
13
+ * **rc-grpc-clients, facade:** regnerated typings due to changes in proto files ([df3f100](https://github.com/restorecommerce/libs/commit/df3f10038e10842b77e8fa6cd523d4870dfa2683))
14
+
15
+
16
+
17
+
18
+
6
19
  ## [4.1.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@4.1.0...@restorecommerce/protos@4.1.1) (2023-07-12)
7
20
 
8
21
 
@@ -6,8 +6,4 @@ message Attribute {
6
6
  optional string id = 1;
7
7
  optional string value = 2;
8
8
  repeated Attribute attributes = 3;
9
- }
10
-
11
- message AttributeObj {
12
- optional Attribute attributes = 1;
13
9
  }
@@ -16,12 +16,12 @@ message Subject {
16
16
 
17
17
  message Tokens {
18
18
  optional string name = 1; // token name
19
- optional google.protobuf.Timestamp expires_in = 2; // expiration date for token
19
+ optional double expires_in = 2; // expiration date for token
20
20
  optional string token = 3; // token
21
21
  repeated string scopes = 4; // identifier for role_association
22
22
  optional string type = 5; // type of token eg: access_token, refresh_token
23
23
  optional bool interactive = 6;
24
- optional google.protobuf.Timestamp last_login = 7;
24
+ optional double last_login = 7;
25
25
  }
26
26
 
27
27
  message HierarchicalScope {
@@ -12,5 +12,5 @@ message Meta {
12
12
  optional google.protobuf.Timestamp modified = 2; // timestamp
13
13
  optional string modified_by = 3; // ID from last User who modified it
14
14
  repeated io.restorecommerce.attribute.Attribute owners = 4;
15
- repeated io.restorecommerce.attribute.AttributeObj acls = 5;
15
+ repeated io.restorecommerce.attribute.Attribute acls = 5;
16
16
  }
@@ -0,0 +1,13 @@
1
+ syntax = "proto3";
2
+
3
+ package io.restorecommerce.property;
4
+
5
+ message Property {
6
+ optional string id = 1;
7
+ optional string value = 2;
8
+ optional string unit_code = 3;
9
+ }
10
+
11
+ message PropertyObj {
12
+ optional Property properties = 1;
13
+ }
@@ -8,14 +8,6 @@ message Status {
8
8
  string message = 3;
9
9
  }
10
10
 
11
- message StatusArray {
12
- repeated Status status = 1;
13
- }
14
-
15
- message StatusObj {
16
- Status status = 1;
17
- }
18
-
19
11
  message OperationStatusObj {
20
12
  OperationStatus operation_status = 1;
21
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "4.1.1",
3
+ "version": "4.2.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": "0b69448ada6429205437ec5642fded8495695360"
18
+ "gitHead": "901bcf20e37b332fbe4e31559ba05a5f7a8068c1"
19
19
  }