@restorecommerce/protos 6.2.0 → 6.2.2

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.2](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.2.1...@restorecommerce/protos@6.2.2) (2023-11-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ ## [6.2.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.2.0...@restorecommerce/protos@6.2.1) (2023-11-01)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **protos:** update order kafka topic ([d302554](https://github.com/restorecommerce/libs/commit/d30255408bfc4246478457fbd780fbcbb6d8aa5b))
23
+
24
+
25
+
26
+
27
+
6
28
  # [6.2.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.1.2...@restorecommerce/protos@6.2.0) (2023-10-14)
7
29
 
8
30
 
@@ -88,7 +88,7 @@ message Item {
88
88
  message Order {
89
89
  option (restorecommerce.options.kafka_subscriber) = {
90
90
  plural: "orders"
91
- topic: "io.restorecommerce.orders.resource"
91
+ topic: "io.restorecommerce.ordering.resource"
92
92
  created: "orderCreated"
93
93
  updated: "orderUpdated"
94
94
  deleted: "orderDeleted"
@@ -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 double expires_in = 3;
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 double last_access = 25;
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 double last_access = 25;
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.0",
3
+ "version": "6.2.2",
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": "fe7482031b7c07c4d0af62d4205eead80cbf7178"
18
+ "gitHead": "9876d507fa10e352fc66d11a5f27db8b4fa06020"
19
19
  }