@restorecommerce/protos 6.2.1 → 6.2.3
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.2.3](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.2.2...@restorecommerce/protos@6.2.3) (2023-11-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **protos:** changed expries_in to timestamp and regenerated schema ([b519d8d](https://github.com/restorecommerce/libs/commit/b519d8d54cc39ecd9804401698fd452c219336a5))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [6.2.2](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.2.1...@restorecommerce/protos@6.2.2) (2023-11-14)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **proto:** changed expires_in and last_access on token and user proto respectively to google.protobuf.Time and regenrated types and schema. ([c3c4701](https://github.com/restorecommerce/libs/commit/c3c4701c01d9243cc26c20f52298ef9ee56e511e))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [6.2.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.2.0...@restorecommerce/protos@6.2.1) (2023-11-01)
|
|
7
29
|
|
|
8
30
|
|
|
@@ -16,12 +16,12 @@ message Subject {
|
|
|
16
16
|
|
|
17
17
|
message Tokens {
|
|
18
18
|
optional string name = 1; // token name
|
|
19
|
-
optional
|
|
19
|
+
optional google.protobuf.Timestamp 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
|
|
24
|
+
optional google.protobuf.Timestamp last_login = 7;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
message HierarchicalScope {
|
|
@@ -5,6 +5,7 @@ package io.restorecommerce.token;
|
|
|
5
5
|
import "io/restorecommerce/auth.proto";
|
|
6
6
|
import "google/protobuf/any.proto";
|
|
7
7
|
import "io/restorecommerce/options.proto";
|
|
8
|
+
import "google/protobuf/timestamp.proto";
|
|
8
9
|
|
|
9
10
|
/*
|
|
10
11
|
* Microservice definition.
|
|
@@ -22,7 +23,7 @@ service TokenService {
|
|
|
22
23
|
message TokenData {
|
|
23
24
|
optional string id = 1;
|
|
24
25
|
optional google.protobuf.Any payload = 2;
|
|
25
|
-
optional
|
|
26
|
+
optional google.protobuf.Timestamp expires_in = 3;
|
|
26
27
|
optional string type = 4;
|
|
27
28
|
optional io.restorecommerce.auth.Subject subject = 5;
|
|
28
29
|
}
|
|
@@ -11,6 +11,7 @@ import "io/restorecommerce/status.proto";
|
|
|
11
11
|
import "google/protobuf/any.proto";
|
|
12
12
|
import "io/restorecommerce/role.proto";
|
|
13
13
|
import "io/restorecommerce/options.proto";
|
|
14
|
+
import "google/protobuf/timestamp.proto";
|
|
14
15
|
|
|
15
16
|
// Used by resolvers
|
|
16
17
|
import "io/restorecommerce/timezone.proto";
|
|
@@ -304,7 +305,7 @@ message User {
|
|
|
304
305
|
optional string invited_by_user_first_name = 22; // First name of user inviting
|
|
305
306
|
optional string invited_by_user_last_name = 23; // Last name of user inviting
|
|
306
307
|
repeated io.restorecommerce.auth.Tokens tokens = 24;
|
|
307
|
-
optional
|
|
308
|
+
optional google.protobuf.Timestamp last_access = 25;
|
|
308
309
|
optional google.protobuf.Any data = 26; /// additional data
|
|
309
310
|
}
|
|
310
311
|
|
|
@@ -352,7 +353,7 @@ message UserRole {
|
|
|
352
353
|
optional string invited_by_user_first_name = 22; // First name of user inviting
|
|
353
354
|
optional string invited_by_user_last_name = 23; // Last name of user inviting
|
|
354
355
|
repeated io.restorecommerce.auth.Tokens tokens = 24;
|
|
355
|
-
optional
|
|
356
|
+
optional google.protobuf.Timestamp last_access = 25;
|
|
356
357
|
optional google.protobuf.Any data = 26; /// additional data
|
|
357
358
|
repeated io.restorecommerce.role.Role roles = 27;
|
|
358
359
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@restorecommerce/protos",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.3",
|
|
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": "ef3bd77c3235fd03f2a4963eecc19fde31b6bf1b"
|
|
19
19
|
}
|