@restorecommerce/protos 6.9.1 → 6.10.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,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.10.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.9.2...@restorecommerce/protos@6.10.0) (2024-11-12)
7
+
8
+
9
+ ### Features
10
+
11
+ * **protos:** add password hash history to user ([f7443ab](https://github.com/restorecommerce/libs/commit/f7443abdda1b8616d22df53edb5197234d390cb6))
12
+
13
+
14
+
15
+
16
+
17
+ ## [6.9.2](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.9.1...@restorecommerce/protos@6.9.2) (2024-11-08)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **protos:** functions besides CRUD are not allowed in standard resources ([da2c384](https://github.com/restorecommerce/libs/commit/da2c3844798c8f3f2cf1ed53bbb6f867b7e3f194))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [6.9.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@6.9.0...@restorecommerce/protos@6.9.1) (2024-11-06)
7
29
 
8
30
 
@@ -20,7 +20,6 @@ service CurrencyService {
20
20
  rpc Delete (io.restorecommerce.resourcebase.DeleteRequest) returns (io.restorecommerce.resourcebase.DeleteResponse);
21
21
  rpc Update (CurrencyList) returns (CurrencyListResponse);
22
22
  rpc Upsert (CurrencyList) returns (CurrencyListResponse);
23
- rpc QueryExchangeRate (ExchangeRateQueryList) returns (ExchangeRateListResponse);
24
23
  }
25
24
 
26
25
  message Deleted {
@@ -49,13 +48,13 @@ message Currency {
49
48
  optional io.restorecommerce.meta.Meta meta = 2;
50
49
  optional string name = 3;
51
50
  optional string symbol = 4;
52
- optional string country_id = 5;
51
+ repeated string country_ids = 5;
53
52
  /*
54
53
  * For custom exchange rates beyond market.
55
- * Regular rates are retrived from API by calling QueryExchangeRate.
54
+ * Regular rates should be retrived from any API.
56
55
  */
57
56
  repeated ExchangeRate custom_exchange_rates = 6;
58
- optional int64 precision = 7; // -2 --> 1e^-2 --> 0.01
57
+ optional int64 precision = 7;
59
58
  }
60
59
 
61
60
  message ExchangeRate {
@@ -64,28 +63,3 @@ message ExchangeRate {
64
63
  optional double expenses = 4; //fees
65
64
  optional double amount = 5; // leave empty == 1.0
66
65
  }
67
-
68
- message ExchangeRateQuery {
69
- optional string from_currency_id = 1;
70
- optional string to_currency_id = 2;
71
- optional google.protobuf.Timestamp datetime = 3; // now in general case
72
- optional double amount = 4; // leave empty == 1.0
73
- }
74
-
75
- message ExchangeRateQueryList {
76
- repeated ExchangeRate items = 1;
77
- optional uint32 total_count = 2;
78
- optional io.restorecommerce.auth.Subject subject = 3;
79
- }
80
-
81
- message ExchangeRateResponse {
82
- optional string from_currency_id = 1;
83
- optional ExchangeRate payload = 3;
84
- optional google.protobuf.Timestamp timestamp = 2;
85
- optional io.restorecommerce.status.Status status = 4;
86
- }
87
-
88
- message ExchangeRateListResponse {
89
- repeated ExchangeRateResponse items = 1;
90
- optional io.restorecommerce.status.OperationStatus operation_status = 3;
91
- }
@@ -349,6 +349,7 @@ message User {
349
349
  optional string totp_secret = 27; /// TOTP Secret
350
350
  optional string totp_secret_processing = 28; /// TOTP Secret before being confirmed
351
351
  repeated string totp_session_tokens = 29; /// TOTP Login session tokens
352
+ repeated string password_hash_history = 30; // List of historical password hashes
352
353
  }
353
354
 
354
355
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "6.9.1",
3
+ "version": "6.10.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": "82e454f58534b5adbf50eb4b2c0a6797fd1a4f9b"
18
+ "gitHead": "77770a2cc18aab0f59cf841291922f0283b41e2b"
19
19
  }