@aepstore-dev/contracts 1.95.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;
@@ -554,6 +555,8 @@ export interface GetMyPremiumPaymentsRequest {
554
555
  userId: string;
555
556
  page: number;
556
557
  limit: number;
558
+ /** optional: "true"|"false" */
559
+ refundable: string;
557
560
  }
558
561
  export interface GetPremiumPaymentRequest {
559
562
  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 {
@@ -626,6 +627,8 @@ export interface GetMyPremiumPaymentsRequest {
626
627
  userId: string;
627
628
  page: number;
628
629
  limit: number;
630
+ /** optional: "true"|"false" */
631
+ refundable: string;
629
632
  }
630
633
 
631
634
  export interface GetPremiumPaymentRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aepstore-dev/contracts",
3
- "version": "1.95.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;
@@ -480,11 +481,12 @@ message RefundPremiumResponse {
480
481
  bool subscription_revoked = 3; // true when rollback put expiresAt <= now
481
482
  }
482
483
 
483
- message GetMyPremiumPaymentsRequest {
484
- string user_id = 1;
485
- int32 page = 2;
486
- int32 limit = 3;
487
- }
484
+ message GetMyPremiumPaymentsRequest {
485
+ string user_id = 1;
486
+ int32 page = 2;
487
+ int32 limit = 3;
488
+ string refundable = 4; // optional: "true"|"false"
489
+ }
488
490
 
489
491
  message GetPremiumPaymentRequest {
490
492
  string user_id = 1;