@aepstore-dev/contracts 1.96.0 → 1.97.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/gen/payments.d.ts CHANGED
@@ -151,6 +151,7 @@ export interface WalletResponse {
151
151
  currency: string;
152
152
  lifetimeSales: number;
153
153
  currentCommissionPercent: string;
154
+ hideBalance: boolean;
154
155
  }
155
156
  export interface ListTransactionsRequest {
156
157
  userId: string;
package/gen/payments.ts CHANGED
@@ -176,6 +176,7 @@ export interface WalletResponse {
176
176
  currency: string;
177
177
  lifetimeSales: number;
178
178
  currentCommissionPercent: string;
179
+ hideBalance: boolean;
179
180
  }
180
181
 
181
182
  export interface ListTransactionsRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.96.0",
3
+ "version": "1.97.0",
4
4
  "description": "Protobuf definitions for aepstore microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -187,16 +187,17 @@ message RefundPurchaseRequest { string purchase_id = 1; string actor_user_id = 2
187
187
  // Wallet & statement
188
188
  // ---------------------------------------------------------------------------
189
189
  message GetWalletRequest { string user_id = 1; }
190
- message WalletResponse {
191
- string spending = 1;
192
- string pending = 2;
193
- string payout = 3;
194
- string spendable = 4; // spending + payout
190
+ message WalletResponse {
191
+ string spending = 1;
192
+ string pending = 2;
193
+ string payout = 3;
194
+ string spendable = 4; // spending + payout
195
195
  string withdrawable = 5; // payout
196
- string currency = 6;
197
- int32 lifetime_sales = 7;
198
- string current_commission_percent = 8;
199
- }
196
+ string currency = 6;
197
+ int32 lifetime_sales = 7;
198
+ string current_commission_percent = 8;
199
+ bool hide_balance = 9;
200
+ }
200
201
 
201
202
  message ListTransactionsRequest {
202
203
  string user_id = 1;